|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("6MrE"),m=e.n(x)},"+QRC":function(R,N,e){"use strict";var A=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},x="Copy to clipboard: #{key}, Enter";function m(p){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,c)}function g(p,c){var s,a,n,i,d,t,l=!1;c||(c={}),s=c.debug||!1;try{n=A(),i=document.createRange(),d=document.getSelection(),t=document.createElement("span"),t.textContent=p,t.style.all="unset",t.style.position="fixed",t.style.top=0,t.style.clip="rect(0, 0, 0, 0)",t.style.whiteSpace="pre",t.style.webkitUserSelect="text",t.style.MozUserSelect="text",t.style.msUserSelect="text",t.style.userSelect="text",t.addEventListener("copy",function(o){if(o.stopPropagation(),c.format)if(o.preventDefault(),typeof o.clipboardData=="undefined"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=f[c.format]||f.default;window.clipboardData.setData(u,p)}else o.clipboardData.clearData(),o.clipboardData.setData(c.format,p);c.onCopy&&(o.preventDefault(),c.onCopy(o.clipboardData))}),document.body.appendChild(t),i.selectNodeContents(t),d.addRange(i);var r=document.execCommand("copy");if(!r)throw new Error("copy command was unsuccessful");l=!0}catch(o){s&&console.error("unable to copy using execCommand: ",o),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",p),c.onCopy&&c.onCopy(window.clipboardData),l=!0}catch(u){s&&console.error("unable to copy using clipboardData: ",u),s&&console.error("falling back to prompt"),a=m("message"in c?c.message:x),window.prompt(a,p)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(i):d.removeAllRanges()),t&&document.body.removeChild(t),n()}return l}R.exports=g},"+TT/":function(R,N,e){var A=e("bYtY"),f=e("mFDi"),x=e("OELB"),m=x.parsePercent,g=e("7aKB"),p=A.each,c=["left","right","top","bottom","width","height"],s=[["width","left","right"],["height","top","bottom"]];function a(b,E,v,w,O){var T=0,S=0;w==null&&(w=Infinity),O==null&&(O=Infinity);var C=0;E.eachChild(function(_,I){var k=_.position,F=_.getBoundingRect(),B=E.childAt(I+1),j=B&&B.getBoundingRect(),z,M;if(b==="horizontal"){var U=F.width+(j?-j.x+F.x:0);z=T+U,z>w||_.newline?(T=0,z=U,S+=C+v,C=F.height):C=Math.max(C,F.height)}else{var P=F.height+(j?-j.y+F.y:0);M=S+P,M>O||_.newline?(T+=C+v,S=0,M=P,C=F.width):C=Math.max(C,F.width)}if(_.newline)return;k[0]=T,k[1]=S,b==="horizontal"?T=z+v:S=M+v})}var n=a,i=A.curry(a,"vertical"),d=A.curry(a,"horizontal");function t(b,E,v){var w=E.width,O=E.height,T=m(b.x,w),S=m(b.y,O),C=m(b.x2,w),_=m(b.y2,O);return(isNaN(T)||isNaN(parseFloat(b.x)))&&(T=0),(isNaN(C)||isNaN(parseFloat(b.x2)))&&(C=w),(isNaN(S)||isNaN(parseFloat(b.y)))&&(S=0),(isNaN(_)||isNaN(parseFloat(b.y2)))&&(_=O),v=g.normalizeCssArray(v||0),{width:Math.max(C-T-v[1]-v[3],0),height:Math.max(_-S-v[0]-v[2],0)}}function l(b,E,v){v=g.normalizeCssArray(v||0);var w=E.width,O=E.height,T=m(b.left,w),S=m(b.top,O),C=m(b.right,w),_=m(b.bottom,O),I=m(b.width,w),k=m(b.height,O),F=v[2]+v[0],B=v[1]+v[3],j=b.aspect;isNaN(I)&&(I=w-C-B-T),isNaN(k)&&(k=O-_-F-S),j!=null&&(isNaN(I)&&isNaN(k)&&(j>w/O?I=w*.8:k=O*.8),isNaN(I)&&(I=j*k),isNaN(k)&&(k=I/j)),isNaN(T)&&(T=w-C-I-B),isNaN(S)&&(S=O-_-k-F);switch(b.left||b.right){case"center":T=w/2-I/2-v[3];break;case"right":T=w-I-B;break}switch(b.top||b.bottom){case"middle":case"center":S=O/2-k/2-v[0];break;case"bottom":S=O-k-F;break}T=T||0,S=S||0,isNaN(I)&&(I=w-B-T-(C||0)),isNaN(k)&&(k=O-F-S-(_||0));var z=new f(T+v[3],S+v[0],I,k);return z.margin=v,z}function r(b,E,v,w,O){var T=!O||!O.hv||O.hv[0],S=!O||!O.hv||O.hv[1],C=O&&O.boundingMode||"all";if(!T&&!S)return;var _;if(C==="raw")_=b.type==="group"?new f(0,0,+E.width||0,+E.height||0):b.getBoundingRect();else if(_=b.getBoundingRect(),b.needLocalTransform()){var I=b.getLocalTransform();_=_.clone(),_.applyTransform(I)}E=l(A.defaults({width:_.width,height:_.height},E),v,w);var k=b.position,F=T?E.x-_.x:0,B=S?E.y-_.y:0;b.attr("position",C==="raw"?[F,B]:[k[0]+F,k[1]+B])}function o(b,E){return b[s[E][0]]!=null||b[s[E][1]]!=null&&b[s[E][2]]!=null}function u(b,E,v){!A.isObject(v)&&(v={});var w=v.ignoreSize;!A.isArray(w)&&(w=[w,w]);var O=S(s[0],0),T=S(s[1],1);I(s[0],b,O),I(s[1],b,T);function S(k,F){var B={},j=0,z={},M=0,U=2;if(p(k,function(W){z[W]=b[W]}),p(k,function(W){C(E,W)&&(B[W]=z[W]=E[W]),_(B,W)&&j++,_(z,W)&&M++}),w[F])return _(E,k[1])?z[k[2]]=null:_(E,k[2])&&(z[k[1]]=null),z;if(M===U||!j)return z;if(j>=U)return B;for(var P=0;P<k.length;P++){var H=k[P];if(!C(B,H)&&C(b,H)){B[H]=b[H];break}}return B}function C(k,F){return k.hasOwnProperty(F)}function _(k,F){return k[F]!=null&&k[F]!=="auto"}function I(k,F,B){p(k,function(j){F[j]=B[j]})}}function h(b){return y({},b)}function y(b,E){return E&&b&&p(c,function(v){E.hasOwnProperty(v)&&(b[v]=E[v])}),b}N.LOCATION_PARAMS=c,N.HV_NAMES=s,N.box=n,N.vbox=i,N.hbox=d,N.getAvailableSize=t,N.getLayoutRect=l,N.positionElement=r,N.sizeCalculable=o,N.mergeLayoutParam=u,N.getLayoutParams=h,N.copyLayoutParams=y},"+Zaj":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("ugBc")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="CalendarOutlined";var s=m.forwardRef(c);N.default=s},"+d4F":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"+eQT":function(R,N,e){"use strict";var A=e("wd/R"),f=e.n(A),x=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(qt){var pr=qt.clone().locale("en_US");return pr.weekday()+pr.localeData().firstDayOfWeek()},getYear:function(qt){return qt.year()},getMonth:function(qt){return qt.month()},getDate:function(qt){return qt.date()},getHour:function(qt){return qt.hour()},getMinute:function(qt){return qt.minute()},getSecond:function(qt){return qt.second()},addYear:function(qt,pr){var ur=qt.clone();return ur.add(pr,"year")},addMonth:function(qt,pr){var ur=qt.clone();return ur.add(pr,"month")},addDate:function(qt,pr){var ur=qt.clone();return ur.add(pr,"day")},setYear:function(qt,pr){var ur=qt.clone();return ur.year(pr)},setMonth:function(qt,pr){var ur=qt.clone();return ur.month(pr)},setDate:function(qt,pr){var ur=qt.clone();return ur.date(pr)},setHour:function(qt,pr){var ur=qt.clone();return ur.hour(pr)},setMinute:function(qt,pr){var ur=qt.clone();return ur.minute(pr)},setSecond:function(qt,pr){var ur=qt.clone();return ur.second(pr)},isAfter:function(qt,pr){return qt.isAfter(pr)},isValidate:function(qt){return qt.isValid()},locale:{getWeekFirstDay:function(qt){var pr=f()().locale(qt);return pr.localeData().firstDayOfWeek()},getWeek:function(qt,pr){var ur=pr.clone(),$r=ur.locale(qt);return $r.week()},getShortWeekDays:function(qt){var pr=f()().locale(qt);return pr.localeData().weekdaysMin()},getShortMonths:function(qt){var pr=f()().locale(qt);return pr.localeData().monthsShort()},format:function(qt,pr,ur){var $r=pr.clone(),Er=$r.locale(qt);return Er.format(ur)},parse:function(qt,pr,ur){for(var $r=[],Er=0;Er<ur.length;Er+=1){var sr=ur[Er],dn=pr;if(sr.includes("wo")||sr.includes("Wo")){sr=sr.replace(/wo/g,"w").replace(/Wo/g,"W");var wr=sr.match(/[-YyMmDdHhSsWwGg]+/g),rn=dn.match(/[-\d]+/g);wr&&rn?(sr=wr.join(""),dn=rn.join("")):$r.push(sr.replace(/o/g,""))}var Fn=f()(dn,sr,qt,!0);if(Fn.isValid())return Fn}for(var Bn=0;Bn<$r.length;Bn+=1){var Tn=f()(pr,$r[Bn],qt,!1);if(Tn.isValid())return Object(x.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Tn}return null}}},g=m,p=e("pVnL"),c=e.n(p),s=e("q1tI"),a=e.n(s),n=e("2/Rp");function i(at){return s.createElement(n.a,c()({size:"small",type:"primary"},at))}var d=e("mr32");function t(at){return s.createElement(d.a,c()({color:"blue"},at))}var l=e("lSNA"),r=e.n(l),o=e("lwsE"),u=e.n(o),h=e("W8MJ"),y=e.n(h),b=e("7W2i"),E=e.n(b),v=e("LQ03"),w=e.n(v),O=e("TSYQ"),T=e.n(O),S=e("r/2G"),C=e.n(S),_=e("XzQk"),I=e.n(_),k=e("kbBi"),F=e.n(k),B=e("1OyB"),j=e("vuIU"),z=e("Ji7U"),M=e("LK+K"),U=e("rePB"),P=e("VTBJ"),H=e("ODXe"),W=e("6cGi"),X=e("U8pU"),K=e("4IlW"),$=s.createContext({}),ie=$,be={visibility:"hidden"};function te(at){var qt=at.prefixCls,pr=at.prevIcon,ur=pr===void 0?"\u2039":pr,$r=at.nextIcon,Er=$r===void 0?"\u203A":$r,sr=at.superPrevIcon,dn=sr===void 0?"\xAB":sr,wr=at.superNextIcon,rn=wr===void 0?"\xBB":wr,Fn=at.onSuperPrev,Bn=at.onSuperNext,Tn=at.onPrev,Kn=at.onNext,Mn=at.children,Un=s.useContext(ie),Vn=Un.hideNextBtn,si=Un.hidePrevBtn;return s.createElement("div",{className:qt},Fn&&s.createElement("button",{type:"button",onClick:Fn,tabIndex:-1,className:"".concat(qt,"-super-prev-btn"),style:si?be:{}},dn),Tn&&s.createElement("button",{type:"button",onClick:Tn,tabIndex:-1,className:"".concat(qt,"-prev-btn"),style:si?be:{}},ur),s.createElement("div",{className:"".concat(qt,"-view")},Mn),Kn&&s.createElement("button",{type:"button",onClick:Kn,tabIndex:-1,className:"".concat(qt,"-next-btn"),style:Vn?be:{}},Er),Bn&&s.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(qt,"-super-next-btn"),style:Vn?be:{}},rn))}var Te=te;function Ie(at){var qt=s.useContext(ie),pr=qt.hideHeader;if(pr)return null;var ur=at.prefixCls,$r=at.generateConfig,Er=at.locale,sr=at.value,dn=at.format,wr="".concat(ur,"-header");return s.createElement(Te,{prefixCls:wr},sr?$r.locale.format(Er.locale,sr,dn):"\xA0")}var Fe=Ie,Qe=e("YrtM"),fe=e("KQm4"),He=new Map;function se(at,qt,pr){if(He.get(at)&&cancelAnimationFrame(He.get(at)),pr<=0){He.set(at,requestAnimationFrame(function(){at.scrollTop=qt}));return}var ur=qt-at.scrollTop,$r=ur/pr*10;He.set(at,requestAnimationFrame(function(){at.scrollTop+=$r,at.scrollTop!==qt&&se(at,qt,pr-10)}))}function Ce(at,qt){var pr=qt.onLeftRight,ur=qt.onCtrlLeftRight,$r=qt.onUpDown,Er=qt.onPageUpDown,sr=qt.onEnter,dn=at.which,wr=at.ctrlKey,rn=at.metaKey;switch(dn){case K.a.LEFT:if(wr||rn){if(ur)return ur(-1),!0}else if(pr)return pr(-1),!0;break;case K.a.RIGHT:if(wr||rn){if(ur)return ur(1),!0}else if(pr)return pr(1),!0;break;case K.a.UP:if($r)return $r(-1),!0;break;case K.a.DOWN:if($r)return $r(1),!0;break;case K.a.PAGE_UP:if(Er)return Er(-1),!0;break;case K.a.PAGE_DOWN:if(Er)return Er(1),!0;break;case K.a.ENTER:if(sr)return sr(),!0;break}return!1}function mt(at,qt,pr,ur){var $r=at;if(!$r)switch(qt){case"time":$r=ur?"hh:mm:ss a":"HH:mm:ss";break;case"week":$r="gggg-wo";break;case"month":$r="YYYY-MM";break;case"quarter":$r="YYYY-[Q]Q";break;case"year":$r="YYYY";break;default:$r=pr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return $r}function Ne(at,qt){var pr=at==="time"?8:10;return Math.max(pr,qt.length)+2}var ae=null,ce=new Set;function le(at){return!ae&&typeof window!="undefined"&&window.addEventListener&&(ae=function(pr){Object(fe.a)(ce).forEach(function(ur){ur(pr)})},window.addEventListener("mousedown",ae)),ce.add(at),function(){ce.delete(at),ce.size===0&&(window.removeEventListener("mousedown",ae),ae=null)}}var je=function(qt){return qt==="month"||qt==="date"?"year":qt},Re=function(qt){return qt==="date"?"month":qt},Ze=function(qt){return qt==="month"||qt==="date"?"quarter":qt},De=function(qt){return qt==="date"?"week":qt},ne={year:je,month:Re,quarter:Ze,week:De,time:null,date:null};function he(at,qt){return at.some(function(pr){return pr&&pr.contains(qt)})}function pe(at){var qt=at.prefixCls,pr=at.units,ur=at.onSelect,$r=at.value,Er=at.active,sr=at.hideDisabledOptions,dn="".concat(qt,"-cell"),wr=s.useContext(ie),rn=wr.open,Fn=s.useRef(null),Bn=s.useRef(new Map);return s.useLayoutEffect(function(){var Tn=Bn.current.get($r);Tn&&rn!==!1&&se(Fn.current,Tn.offsetTop,120)},[$r]),s.useLayoutEffect(function(){if(rn){var Tn=Bn.current.get($r);Tn&&se(Fn.current,Tn.offsetTop,0)}},[rn]),s.createElement("ul",{className:T()("".concat(qt,"-column"),Object(U.a)({},"".concat(qt,"-column-active"),Er)),ref:Fn,style:{position:"relative"}},pr.map(function(Tn){var Kn;return sr&&Tn.disabled?null:s.createElement("li",{key:Tn.value,ref:function(Un){Bn.current.set(Tn.value,Un)},className:T()(dn,(Kn={},Object(U.a)(Kn,"".concat(dn,"-disabled"),Tn.disabled),Object(U.a)(Kn,"".concat(dn,"-selected"),$r===Tn.value),Kn)),onClick:function(){if(Tn.disabled)return;ur(Tn.value)}},s.createElement("div",{className:"".concat(dn,"-inner")},Tn.label))}))}var Xe=pe;function lt(at,qt){for(var pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",ur=String(at);ur.length<qt;)ur="".concat(pr).concat(at);return ur}var At=function(){for(var qt=arguments.length,pr=new Array(qt),ur=0;ur<qt;ur++)pr[ur]=arguments[ur];return pr};function Me(at){return at==null?[]:Array.isArray(at)?at:[at]}function Ht(at){var qt={};return Object.keys(at).forEach(function(pr){(pr.substr(0,5)==="data-"||pr.substr(0,5)==="aria-"||pr==="role"||pr==="name")&&pr.substr(0,7)!=="data-__"&&(qt[pr]=at[pr])}),qt}function tt(at,qt){return at?at[qt]:null}function Mt(at,qt,pr){var ur=[tt(at,0),tt(at,1)];return ur[pr]=typeof qt=="function"?qt(ur[pr]):qt,!ur[0]&&!ur[1]?null:ur}function jt(at,qt,pr,ur,$r){var Er=at.setHour(qt,pr);return Er=at.setMinute(Er,ur),Er=at.setSecond(Er,$r),Er}function kt(at,qt,pr,ur,$r,Er){var sr=Math.floor(at/ur)*ur;if(sr<at)return[sr,60-$r,60-Er];var dn=Math.floor(qt/$r)*$r;if(dn<qt)return[sr,dn,60-Er];var wr=Math.floor(pr/Er)*Er;return[sr,dn,wr]}function Tt(at,qt){if(at.length!==qt.length)return!0;for(var pr=0;pr<at.length;pr+=1)if(at[pr].disabled!==qt[pr].disabled)return!0;return!1}function Dt(at,qt,pr,ur){for(var $r=[],Er=at;Er<=qt;Er+=pr)$r.push({label:lt(Er,2),value:Er,disabled:(ur||[]).includes(Er)});return $r}function Ue(at){var qt=at.generateConfig,pr=at.prefixCls,ur=at.operationRef,$r=at.activeColumnIndex,Er=at.value,sr=at.showHour,dn=at.showMinute,wr=at.showSecond,rn=at.use12Hours,Fn=at.hourStep,Bn=Fn===void 0?1:Fn,Tn=at.minuteStep,Kn=Tn===void 0?1:Tn,Mn=at.secondStep,Un=Mn===void 0?1:Mn,Vn=at.disabledHours,si=at.disabledMinutes,Jn=at.disabledSeconds,Ai=at.hideDisabledOptions,Ji=at.onSelect,Oi=[],Mi="".concat(pr,"-content"),Li="".concat(pr,"-time-panel"),Ki,so=Er?qt.getHour(Er):-1,Pa=Er?qt.getMinute(Er):-1,Xi=Er?qt.getSecond(Er):-1,yi=function(Ua,aa,lo,Qo){var ro=Er||qt.getNow(),us=Math.max(0,aa),co=Math.max(0,lo),go=Math.max(0,Qo);return ro=jt(qt,ro,!rn||!Ua?us:us+12,co,go),ro},Bi=Dt(0,23,Bn,Vn&&Vn()),Zi=Object(Qe.a)(function(){return Bi},Bi,Tt);rn&&(Ki=so>=12,so%=12);var Fa=s.useMemo(function(){if(!rn)return[!1,!1];var Ia=[!0,!0];return Zi.forEach(function(Ua){var aa=Ua.disabled,lo=Ua.value;if(aa)return;lo>=12?Ia[1]=!1:Ia[0]=!1}),Ia},[rn,Zi]),ya=Object(H.a)(Fa,2),ja=ya[0],Wa=ya[1],wo=s.useMemo(function(){return rn?Zi.filter(Ki?function(Ia){return Ia.value>=12}:function(Ia){return Ia.value<12}).map(function(Ia){var Ua=Ia.value%12,aa=Ua===0?"12":lt(Ua,2);return Object(P.a)(Object(P.a)({},Ia),{},{label:aa,value:Ua})}):Zi},[rn,Zi]),Do=Dt(0,59,Kn,si&&si(so)),es=Dt(0,59,Un,Jn&&Jn(so,Pa));ur.current={onUpDown:function(Ua){var aa=Oi[$r];if(aa)for(var lo=aa.units.findIndex(function(co){return co.value===aa.value}),Qo=aa.units.length,ro=1;ro<Qo;ro+=1){var us=aa.units[(lo+Ua*ro+Qo)%Qo];if(us.disabled!==!0){aa.onSelect(us.value);break}}}};function To(Ia,Ua,aa,lo,Qo){Ia!==!1&&Oi.push({node:s.cloneElement(Ua,{prefixCls:Li,value:aa,active:$r===Oi.length,onSelect:Qo,units:lo,hideDisabledOptions:Ai}),onSelect:Qo,value:aa,units:lo})}To(sr,s.createElement(Xe,{key:"hour"}),so,wo,function(Ia){Ji(yi(Ki,Ia,Pa,Xi),"mouse")}),To(dn,s.createElement(Xe,{key:"minute"}),Pa,Do,function(Ia){Ji(yi(Ki,so,Ia,Xi),"mouse")}),To(wr,s.createElement(Xe,{key:"second"}),Xi,es,function(Ia){Ji(yi(Ki,so,Pa,Ia),"mouse")});var So=-1;return typeof Ki=="boolean"&&(So=Ki?1:0),To(rn===!0,s.createElement(Xe,{key:"12hours"}),So,[{label:"AM",value:0,disabled:ja},{label:"PM",value:1,disabled:Wa}],function(Ia){Ji(yi(!!Ia,so,Pa,Xi),"mouse")}),s.createElement("div",{className:Mi},Oi.map(function(Ia){var Ua=Ia.node;return Ua}))}var G=Ue,Y=function(qt){return qt.filter(function(pr){return pr!==!1}).length};function Pe(at){var qt=at.generateConfig,pr=at.format,ur=pr===void 0?"HH:mm:ss":pr,$r=at.prefixCls,Er=at.active,sr=at.operationRef,dn=at.showHour,wr=at.showMinute,rn=at.showSecond,Fn=at.use12Hours,Bn=Fn===void 0?!1:Fn,Tn=at.onSelect,Kn=at.value,Mn="".concat($r,"-time-panel"),Un=s.useRef(),Vn=s.useState(-1),si=Object(H.a)(Vn,2),Jn=si[0],Ai=si[1],Ji=Y([dn,wr,rn,Bn]);return sr.current={onKeyDown:function(Mi){return Ce(Mi,{onLeftRight:function(Ki){Ai((Jn+Ki+Ji)%Ji)},onUpDown:function(Ki){Jn===-1?Ai(0):Un.current&&Un.current.onUpDown(Ki)},onEnter:function(){Tn(Kn||qt.getNow(),"key"),Ai(-1)}})},onBlur:function(){Ai(-1)}},s.createElement("div",{className:T()(Mn,Object(U.a)({},"".concat(Mn,"-active"),Er))},s.createElement(Fe,Object.assign({},at,{format:ur,prefixCls:$r})),s.createElement(G,Object.assign({},at,{prefixCls:$r,activeColumnIndex:Jn,operationRef:Un})))}var Be=Pe,J=7;function St(at,qt){return!at&&!qt?!0:!at||!qt?!1:void 0}function bt(at,qt,pr){var ur=St(qt,pr);if(typeof ur=="boolean")return ur;var $r=Math.floor(at.getYear(qt)/10),Er=Math.floor(at.getYear(pr)/10);return $r===Er}function nt(at,qt,pr){var ur=St(qt,pr);return typeof ur=="boolean"?ur:at.getYear(qt)===at.getYear(pr)}function Rt(at,qt){var pr=Math.floor(at.getMonth(qt)/3);return pr+1}function zt(at,qt,pr){var ur=St(qt,pr);return typeof ur=="boolean"?ur:nt(at,qt,pr)&&Rt(at,qt)===Rt(at,pr)}function Fr(at,qt,pr){var ur=St(qt,pr);return typeof ur=="boolean"?ur:nt(at,qt,pr)&&at.getMonth(qt)===at.getMonth(pr)}function Jt(at,qt,pr){var ur=St(qt,pr);return typeof ur=="boolean"?ur:at.getYear(qt)===at.getYear(pr)&&at.getMonth(qt)===at.getMonth(pr)&&at.getDate(qt)===at.getDate(pr)}function ge(at,qt,pr){var ur=St(qt,pr);return typeof ur=="boolean"?ur:at.getHour(qt)===at.getHour(pr)&&at.getMinute(qt)===at.getMinute(pr)&&at.getSecond(qt)===at.getSecond(pr)}function ye(at,qt,pr,ur){var $r=St(pr,ur);return typeof $r=="boolean"?$r:at.locale.getWeek(qt,pr)===at.locale.getWeek(qt,ur)}function Le(at,qt,pr){return Jt(at,qt,pr)&&ge(at,qt,pr)}function we(at,qt,pr,ur){return!qt||!pr||!ur?!1:!Jt(at,qt,ur)&&!Jt(at,pr,ur)&&at.isAfter(ur,qt)&&at.isAfter(pr,ur)}function Ke(at,qt,pr){var ur=qt.locale.getWeekFirstDay(at),$r=qt.setDate(pr,1),Er=qt.getWeekDay($r),sr=qt.addDate($r,ur-Er);return qt.getMonth(sr)===qt.getMonth(pr)&&qt.getDate(sr)>1&&(sr=qt.addDate(sr,-7)),sr}function Je(at,qt,pr){var ur=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(qt){case"year":return pr.addYear(at,ur*10);case"quarter":case"month":return pr.addYear(at,ur);default:return pr.addMonth(at,ur)}}var ut=s.createContext({}),vt=ut;function _t(at){var qt=at.cellPrefixCls,pr=at.generateConfig,ur=at.rangedValue,$r=at.hoverRangedValue,Er=at.isInView,sr=at.isSameCell,dn=at.offsetCell,wr=at.today,rn=at.value;function Fn(Bn){var Tn,Kn=dn(Bn,-1),Mn=dn(Bn,1),Un=tt(ur,0),Vn=tt(ur,1),si=tt($r,0),Jn=tt($r,1),Ai=we(pr,si,Jn,Bn);function Ji(Pa){return sr(Un,Pa)}function Oi(Pa){return sr(Vn,Pa)}var Mi=sr(si,Bn),Li=sr(Jn,Bn),Ki=(Ai||Li)&&(!Er(Kn)||Oi(Kn)),so=(Ai||Mi)&&(!Er(Mn)||Ji(Mn));return Tn={},Object(U.a)(Tn,"".concat(qt,"-in-view"),Er(Bn)),Object(U.a)(Tn,"".concat(qt,"-in-range"),we(pr,Un,Vn,Bn)),Object(U.a)(Tn,"".concat(qt,"-range-start"),Ji(Bn)),Object(U.a)(Tn,"".concat(qt,"-range-end"),Oi(Bn)),Object(U.a)(Tn,"".concat(qt,"-range-start-single"),Ji(Bn)&&!Vn),Object(U.a)(Tn,"".concat(qt,"-range-end-single"),Oi(Bn)&&!Un),Object(U.a)(Tn,"".concat(qt,"-range-start-near-hover"),Ji(Bn)&&(sr(Kn,si)||we(pr,si,Jn,Kn))),Object(U.a)(Tn,"".concat(qt,"-range-end-near-hover"),Oi(Bn)&&(sr(Mn,Jn)||we(pr,si,Jn,Mn))),Object(U.a)(Tn,"".concat(qt,"-range-hover"),Ai),Object(U.a)(Tn,"".concat(qt,"-range-hover-start"),Mi),Object(U.a)(Tn,"".concat(qt,"-range-hover-end"),Li),Object(U.a)(Tn,"".concat(qt,"-range-hover-edge-start"),Ki),Object(U.a)(Tn,"".concat(qt,"-range-hover-edge-end"),so),Object(U.a)(Tn,"".concat(qt,"-range-hover-edge-start-near-range"),Ki&&sr(Kn,Vn)),Object(U.a)(Tn,"".concat(qt,"-range-hover-edge-end-near-range"),so&&sr(Mn,Un)),Object(U.a)(Tn,"".concat(qt,"-today"),sr(wr,Bn)),Object(U.a)(Tn,"".concat(qt,"-selected"),sr(rn,Bn)),Tn}return Fn}function Ut(at){for(var qt=at.prefixCls,pr=at.disabledDate,ur=at.onSelect,$r=at.rowNum,Er=at.colNum,sr=at.prefixColumn,dn=at.rowClassName,wr=at.baseDate,rn=at.getCellClassName,Fn=at.getCellText,Bn=at.getCellNode,Tn=at.getCellDate,Kn=at.titleCell,Mn=at.headerCells,Un=s.useContext(ie),Vn=Un.onDateMouseEnter,si=Un.onDateMouseLeave,Jn="".concat(qt,"-cell"),Ai=[],Ji=0;Ji<$r;Ji+=1){for(var Oi=[],Mi=void 0,Li=function(Pa){var Xi=Ji*Er+Pa,yi=Tn(wr,Xi),Bi=pr&&pr(yi);Pa===0&&(Mi=yi,sr&&Oi.push(sr(Mi))),Oi.push(s.createElement("td",{key:Pa,title:Kn&&Kn(yi),className:T()(Jn,Object(P.a)(Object(U.a)({},"".concat(Jn,"-disabled"),Bi),rn(yi))),onClick:function(){Bi||ur(yi)},onMouseEnter:function(){!Bi&&Vn&&Vn(yi)},onMouseLeave:function(){!Bi&&si&&si(yi)}},Bn?Bn(yi):s.createElement("div",{className:"".concat(Jn,"-inner")},Fn(yi))))},Ki=0;Ki<Er;Ki+=1)Li(Ki);Ai.push(s.createElement("tr",{key:Ji,className:dn&&dn(Mi)},Oi))}return s.createElement("div",{className:"".concat(qt,"-body")},s.createElement("table",{className:"".concat(qt,"-content")},Mn&&s.createElement("thead",null,s.createElement("tr",null,Mn)),s.createElement("tbody",null,Ai)))}function Bt(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.prefixColumn,$r=at.locale,Er=at.rowCount,sr=at.viewDate,dn=at.value,wr=at.dateRender,rn=s.useContext(vt),Fn=rn.rangedValue,Bn=rn.hoverRangedValue,Tn=Ke($r.locale,pr,sr),Kn="".concat(qt,"-cell"),Mn=pr.locale.getWeekFirstDay($r.locale),Un=pr.getNow(),Vn=[],si=$r.shortWeekDays||(pr.locale.getShortWeekDays?pr.locale.getShortWeekDays($r.locale):[]);ur&&Vn.push(s.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Jn=0;Jn<J;Jn+=1)Vn.push(s.createElement("th",{key:Jn},si[(Jn+Mn)%J]));var Ai=_t({cellPrefixCls:Kn,today:Un,value:dn,generateConfig:pr,rangedValue:ur?null:Fn,hoverRangedValue:ur?null:Bn,isSameCell:function(Mi,Li){return Jt(pr,Mi,Li)},isInView:function(Mi){return Fr(pr,Mi,sr)},offsetCell:function(Mi,Li){return pr.addDate(Mi,Li)}}),Ji=wr?function(Oi){return wr(Oi,Un)}:void 0;return s.createElement(Ut,Object.assign({},at,{rowNum:Er,colNum:J,baseDate:Tn,getCellNode:Ji,getCellText:pr.getDate,getCellClassName:Ai,getCellDate:pr.addDate,titleCell:function(Mi){return pr.locale.format($r.locale,Mi,"YYYY-MM-DD")},headerCells:Vn}))}var dr=Bt;function Oe(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.locale,$r=at.viewDate,Er=at.onNextMonth,sr=at.onPrevMonth,dn=at.onNextYear,wr=at.onPrevYear,rn=at.onYearClick,Fn=at.onMonthClick,Bn=s.useContext(ie),Tn=Bn.hideHeader;if(Tn)return null;var Kn="".concat(qt,"-header"),Mn=ur.shortMonths||(pr.locale.getShortMonths?pr.locale.getShortMonths(ur.locale):[]),Un=pr.getMonth($r),Vn=s.createElement("button",{type:"button",key:"year",onClick:rn,tabIndex:-1,className:"".concat(qt,"-year-btn")},pr.locale.format(ur.locale,$r,ur.yearFormat)),si=s.createElement("button",{type:"button",key:"month",onClick:Fn,tabIndex:-1,className:"".concat(qt,"-month-btn")},ur.monthFormat?pr.locale.format(ur.locale,$r,ur.monthFormat):Mn[Un]),Jn=ur.monthBeforeYear?[si,Vn]:[Vn,si];return s.createElement(Te,Object.assign({},at,{prefixCls:Kn,onSuperPrev:wr,onPrev:sr,onNext:Er,onSuperNext:dn}),Jn)}var xe=Oe,V=6;function q(at){var qt=at.prefixCls,pr=at.panelName,ur=pr===void 0?"date":pr,$r=at.keyboardConfig,Er=at.active,sr=at.operationRef,dn=at.generateConfig,wr=at.value,rn=at.viewDate,Fn=at.onViewDateChange,Bn=at.onPanelChange,Tn=at.onSelect,Kn="".concat(qt,"-").concat(ur,"-panel");sr.current={onKeyDown:function(si){return Ce(si,Object(P.a)({onLeftRight:function(Ai){Tn(dn.addDate(wr||rn,Ai),"key")},onCtrlLeftRight:function(Ai){Tn(dn.addYear(wr||rn,Ai),"key")},onUpDown:function(Ai){Tn(dn.addDate(wr||rn,Ai*J),"key")},onPageUpDown:function(Ai){Tn(dn.addMonth(wr||rn,Ai),"key")}},$r))}};var Mn=function(si){var Jn=dn.addYear(rn,si);Fn(Jn),Bn(null,Jn)},Un=function(si){var Jn=dn.addMonth(rn,si);Fn(Jn),Bn(null,Jn)};return s.createElement("div",{className:T()(Kn,Object(U.a)({},"".concat(Kn,"-active"),Er))},s.createElement(xe,Object.assign({},at,{prefixCls:qt,value:wr,viewDate:rn,onPrevYear:function(){Mn(-1)},onNextYear:function(){Mn(1)},onPrevMonth:function(){Un(-1)},onNextMonth:function(){Un(1)},onMonthClick:function(){Bn("month",rn)},onYearClick:function(){Bn("year",rn)}})),s.createElement(dr,Object.assign({},at,{onSelect:function(si){return Tn(si,"mouse")},prefixCls:qt,value:wr,viewDate:rn,rowCount:V})))}var ue=q;function me(at,qt,pr){if(!pr)return qt;var ur=qt;return ur=at.setHour(ur,at.getHour(pr)),ur=at.setMinute(ur,at.getMinute(pr)),ur=at.setSecond(ur,at.getSecond(pr)),ur}var Ee=At("date","time");function Ge(at){var qt=at.prefixCls,pr=at.operationRef,ur=at.generateConfig,$r=at.value,Er=at.defaultValue,sr=at.disabledTime,dn=at.showTime,wr=at.onSelect,rn="".concat(qt,"-datetime-panel"),Fn=s.useState(null),Bn=Object(H.a)(Fn,2),Tn=Bn[0],Kn=Bn[1],Mn=s.useRef({}),Un=s.useRef({}),Vn=Object(X.a)(dn)==="object"?Object(P.a)({},dn):{};function si(Oi){var Mi=Ee.indexOf(Tn)+Oi,Li=Ee[Mi]||null;return Li}var Jn=function(Mi){Un.current.onBlur&&Un.current.onBlur(Mi),Kn(null)};pr.current={onKeyDown:function(Mi){if(Mi.which===K.a.TAB){var Li=si(Mi.shiftKey?-1:1);return Kn(Li),Li&&Mi.preventDefault(),!0}if(Tn){var Ki=Tn==="date"?Mn:Un;return Ki.current&&Ki.current.onKeyDown&&Ki.current.onKeyDown(Mi),!0}return[K.a.LEFT,K.a.RIGHT,K.a.UP,K.a.DOWN].includes(Mi.which)?(Kn("date"),!0):!1},onBlur:Jn,onClose:Jn};var Ai=function(Mi,Li){var Ki=Mi;Li==="date"&&!$r&&Vn.defaultValue?(Ki=ur.setHour(Ki,ur.getHour(Vn.defaultValue)),Ki=ur.setMinute(Ki,ur.getMinute(Vn.defaultValue)),Ki=ur.setSecond(Ki,ur.getSecond(Vn.defaultValue))):Li==="time"&&!$r&&Er&&(Ki=ur.setYear(Ki,ur.getYear(Er)),Ki=ur.setMonth(Ki,ur.getMonth(Er)),Ki=ur.setDate(Ki,ur.getDate(Er))),wr&&wr(Ki,"mouse")},Ji=sr?sr($r||null):{};return s.createElement("div",{className:T()(rn,Object(U.a)({},"".concat(rn,"-active"),Tn))},s.createElement(ue,Object.assign({},at,{operationRef:Mn,active:Tn==="date",onSelect:function(Mi){Ai(me(ur,Mi,dn&&Object(X.a)(dn)==="object"?dn.defaultValue:null),"date")}})),s.createElement(Be,Object.assign({},at,{format:void 0},Vn,Ji,{defaultValue:void 0,operationRef:Un,active:Tn==="time",onSelect:function(Mi){Ai(Mi,"time")}})))}var dt=Ge;function Kt(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.locale,$r=at.value,Er="".concat(qt,"-cell"),sr=function(Fn){return s.createElement("td",{key:"week",className:T()(Er,"".concat(Er,"-week"))},pr.locale.getWeek(ur.locale,Fn))},dn="".concat(qt,"-week-panel-row"),wr=function(Fn){return T()(dn,Object(U.a)({},"".concat(dn,"-selected"),ye(pr,ur.locale,$r,Fn)))};return s.createElement(ue,Object.assign({},at,{panelName:"week",prefixColumn:sr,rowClassName:wr,keyboardConfig:{onLeftRight:null}}))}var tr=Kt;function wt(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.locale,$r=at.viewDate,Er=at.onNextYear,sr=at.onPrevYear,dn=at.onYearClick,wr=s.useContext(ie),rn=wr.hideHeader;if(rn)return null;var Fn="".concat(qt,"-header");return s.createElement(Te,Object.assign({},at,{prefixCls:Fn,onSuperPrev:sr,onSuperNext:Er}),s.createElement("button",{type:"button",onClick:dn,className:"".concat(qt,"-year-btn")},pr.locale.format(ur.locale,$r,ur.yearFormat)))}var It=wt,Lt=3,Nt=4;function $e(at){var qt=at.prefixCls,pr=at.locale,ur=at.value,$r=at.viewDate,Er=at.generateConfig,sr=at.monthCellRender,dn=s.useContext(vt),wr=dn.rangedValue,rn=dn.hoverRangedValue,Fn="".concat(qt,"-cell"),Bn=_t({cellPrefixCls:Fn,value:ur,generateConfig:Er,rangedValue:wr,hoverRangedValue:rn,isSameCell:function(Vn,si){return Fr(Er,Vn,si)},isInView:function(){return!0},offsetCell:function(Vn,si){return Er.addMonth(Vn,si)}}),Tn=pr.shortMonths||(Er.locale.getShortMonths?Er.locale.getShortMonths(pr.locale):[]),Kn=Er.setMonth($r,0),Mn=sr?function(Un){return sr(Un,pr)}:void 0;return s.createElement(Ut,Object.assign({},at,{rowNum:Nt,colNum:Lt,baseDate:Kn,getCellNode:Mn,getCellText:function(Vn){return pr.monthFormat?Er.locale.format(pr.locale,Vn,pr.monthFormat):Tn[Er.getMonth(Vn)]},getCellClassName:Bn,getCellDate:Er.addMonth,titleCell:function(Vn){return Er.locale.format(pr.locale,Vn,"YYYY-MM")}}))}var ot=$e;function ft(at){var qt=at.prefixCls,pr=at.operationRef,ur=at.onViewDateChange,$r=at.generateConfig,Er=at.value,sr=at.viewDate,dn=at.onPanelChange,wr=at.onSelect,rn="".concat(qt,"-month-panel");pr.current={onKeyDown:function(Tn){return Ce(Tn,{onLeftRight:function(Mn){wr($r.addMonth(Er||sr,Mn),"key")},onCtrlLeftRight:function(Mn){wr($r.addYear(Er||sr,Mn),"key")},onUpDown:function(Mn){wr($r.addMonth(Er||sr,Mn*Lt),"key")},onEnter:function(){dn("date",Er||sr)}})}};var Fn=function(Tn){var Kn=$r.addYear(sr,Tn);ur(Kn),dn(null,Kn)};return s.createElement("div",{className:rn},s.createElement(It,Object.assign({},at,{prefixCls:qt,onPrevYear:function(){Fn(-1)},onNextYear:function(){Fn(1)},onYearClick:function(){dn("year",sr)}})),s.createElement(ot,Object.assign({},at,{prefixCls:qt,onSelect:function(Tn){wr(Tn,"mouse"),dn("date",Tn)}})))}var ze=ft;function Ye(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.locale,$r=at.viewDate,Er=at.onNextYear,sr=at.onPrevYear,dn=at.onYearClick,wr=s.useContext(ie),rn=wr.hideHeader;if(rn)return null;var Fn="".concat(qt,"-header");return s.createElement(Te,Object.assign({},at,{prefixCls:Fn,onSuperPrev:sr,onSuperNext:Er}),s.createElement("button",{type:"button",onClick:dn,className:"".concat(qt,"-year-btn")},pr.locale.format(ur.locale,$r,ur.yearFormat)))}var qe=Ye,rt=4,ct=1;function st(at){var qt=at.prefixCls,pr=at.locale,ur=at.value,$r=at.viewDate,Er=at.generateConfig,sr=s.useContext(vt),dn=sr.rangedValue,wr=sr.hoverRangedValue,rn="".concat(qt,"-cell"),Fn=_t({cellPrefixCls:rn,value:ur,generateConfig:Er,rangedValue:dn,hoverRangedValue:wr,isSameCell:function(Kn,Mn){return zt(Er,Kn,Mn)},isInView:function(){return!0},offsetCell:function(Kn,Mn){return Er.addMonth(Kn,Mn*3)}}),Bn=Er.setDate(Er.setMonth($r,0),1);return s.createElement(Ut,Object.assign({},at,{rowNum:ct,colNum:rt,baseDate:Bn,getCellText:function(Kn){return Er.locale.format(pr.locale,Kn,pr.quarterFormat||"[Q]Q")},getCellClassName:Fn,getCellDate:function(Kn,Mn){return Er.addMonth(Kn,Mn*3)},titleCell:function(Kn){return Er.locale.format(pr.locale,Kn,"YYYY-[Q]Q")}}))}var et=st;function Ft(at){var qt=at.prefixCls,pr=at.operationRef,ur=at.onViewDateChange,$r=at.generateConfig,Er=at.value,sr=at.viewDate,dn=at.onPanelChange,wr=at.onSelect,rn="".concat(qt,"-quarter-panel");pr.current={onKeyDown:function(Tn){return Ce(Tn,{onLeftRight:function(Mn){wr($r.addMonth(Er||sr,Mn*3),"key")},onCtrlLeftRight:function(Mn){wr($r.addYear(Er||sr,Mn),"key")},onUpDown:function(Mn){wr($r.addYear(Er||sr,Mn),"key")}})}};var Fn=function(Tn){var Kn=$r.addYear(sr,Tn);ur(Kn),dn(null,Kn)};return s.createElement("div",{className:rn},s.createElement(qe,Object.assign({},at,{prefixCls:qt,onPrevYear:function(){Fn(-1)},onNextYear:function(){Fn(1)},onYearClick:function(){dn("year",sr)}})),s.createElement(et,Object.assign({},at,{prefixCls:qt,onSelect:function(Tn){wr(Tn,"mouse")}})))}var Ct=Ft;function ir(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.viewDate,$r=at.onPrevDecade,Er=at.onNextDecade,sr=at.onDecadeClick,dn=s.useContext(ie),wr=dn.hideHeader;if(wr)return null;var rn="".concat(qt,"-header"),Fn=pr.getYear(ur),Bn=Math.floor(Fn/mn)*mn,Tn=Bn+mn-1;return s.createElement(Te,Object.assign({},at,{prefixCls:rn,onSuperPrev:$r,onSuperNext:Er}),s.createElement("button",{type:"button",onClick:sr,className:"".concat(qt,"-decade-btn")},Bn,"-",Tn))}var Xt=ir,_r=3,Br=4;function Gr(at){var qt=at.prefixCls,pr=at.value,ur=at.viewDate,$r=at.locale,Er=at.generateConfig,sr=s.useContext(vt),dn=sr.rangedValue,wr=sr.hoverRangedValue,rn="".concat(qt,"-cell"),Fn=Er.getYear(ur),Bn=Math.floor(Fn/mn)*mn,Tn=Bn+mn-1,Kn=Er.setYear(ur,Bn-Math.ceil((_r*Br-mn)/2)),Mn=function(si){var Jn=Er.getYear(si);return Bn<=Jn&&Jn<=Tn},Un=_t({cellPrefixCls:rn,value:pr,generateConfig:Er,rangedValue:dn,hoverRangedValue:wr,isSameCell:function(si,Jn){return nt(Er,si,Jn)},isInView:Mn,offsetCell:function(si,Jn){return Er.addYear(si,Jn)}});return s.createElement(Ut,Object.assign({},at,{rowNum:Br,colNum:_r,baseDate:Kn,getCellText:Er.getYear,getCellClassName:Un,getCellDate:Er.addYear,titleCell:function(si){return Er.locale.format($r.locale,si,"YYYY")}}))}var un=Gr,mn=10;function _n(at){var qt=at.prefixCls,pr=at.operationRef,ur=at.onViewDateChange,$r=at.generateConfig,Er=at.value,sr=at.viewDate,dn=at.sourceMode,wr=at.onSelect,rn=at.onPanelChange,Fn="".concat(qt,"-year-panel");pr.current={onKeyDown:function(Kn){return Ce(Kn,{onLeftRight:function(Un){wr($r.addYear(Er||sr,Un),"key")},onCtrlLeftRight:function(Un){wr($r.addYear(Er||sr,Un*mn),"key")},onUpDown:function(Un){wr($r.addYear(Er||sr,Un*_r),"key")},onEnter:function(){rn(dn==="date"?"date":"month",Er||sr)}})}};var Bn=function(Kn){var Mn=$r.addYear(sr,Kn*10);ur(Mn),rn(null,Mn)};return s.createElement("div",{className:Fn},s.createElement(Xt,Object.assign({},at,{prefixCls:qt,onPrevDecade:function(){Bn(-1)},onNextDecade:function(){Bn(1)},onDecadeClick:function(){rn("decade",sr)}})),s.createElement(un,Object.assign({},at,{prefixCls:qt,onSelect:function(Kn){rn(dn==="date"?"date":"month",Kn),wr(Kn,"mouse")}})))}var qr=_n;function yn(at){var qt=at.prefixCls,pr=at.generateConfig,ur=at.viewDate,$r=at.onPrevDecades,Er=at.onNextDecades,sr=s.useContext(ie),dn=sr.hideHeader;if(dn)return null;var wr="".concat(qt,"-header"),rn=pr.getYear(ur),Fn=Math.floor(rn/En)*En,Bn=Fn+En-1;return s.createElement(Te,Object.assign({},at,{prefixCls:wr,onSuperPrev:$r,onSuperNext:Er}),Fn,"-",Bn)}var nn=yn,cr=3,Pr=4;function Ar(at){var qt=fn-1,pr=at.prefixCls,ur=at.viewDate,$r=at.generateConfig,Er=at.disabledDate,sr="".concat(pr,"-cell"),dn=$r.getYear(ur),wr=Math.floor(dn/fn)*fn,rn=Math.floor(dn/En)*En,Fn=rn+En-1,Bn=$r.setYear(ur,rn-Math.ceil((cr*Pr*fn-En)/2)),Tn=function(Mn){var Un,Vn=Er&&Er(Mn),si=$r.getYear(Mn),Jn=si+qt;return Un={},Object(U.a)(Un,"".concat(sr,"-disabled"),Vn),Object(U.a)(Un,"".concat(sr,"-in-view"),rn<=si&&Jn<=Fn),Object(U.a)(Un,"".concat(sr,"-selected"),si===wr),Un};return s.createElement(Ut,Object.assign({},at,{rowNum:Pr,colNum:cr,baseDate:Bn,getCellText:function(Mn){var Un=$r.getYear(Mn);return"".concat(Un,"-").concat(Un+qt)},getCellClassName:Tn,getCellDate:function(Mn,Un){return $r.addYear(Mn,Un*fn)}}))}var Mr=Ar,fn=10,En=fn*10;function Rn(at){var qt=at.prefixCls,pr=at.onViewDateChange,ur=at.generateConfig,$r=at.viewDate,Er=at.operationRef,sr=at.onSelect,dn=at.onPanelChange,wr="".concat(qt,"-decade-panel");Er.current={onKeyDown:function(Tn){return Ce(Tn,{onLeftRight:function(Mn){sr(ur.addYear($r,Mn*fn),"key")},onCtrlLeftRight:function(Mn){sr(ur.addYear($r,Mn*En),"key")},onUpDown:function(Mn){sr(ur.addYear($r,Mn*fn*cr),"key")},onEnter:function(){dn("year",$r)}})}};var rn=function(Tn){var Kn=ur.addYear($r,Tn*En);pr(Kn),dn(null,Kn)},Fn=function(Tn){sr(Tn,"mouse"),dn("year",Tn)};return s.createElement("div",{className:wr},s.createElement(nn,Object.assign({},at,{prefixCls:qt,onPrevDecades:function(){rn(-1)},onNextDecades:function(){rn(1)}})),s.createElement(Mr,Object.assign({},at,{prefixCls:qt,onSelect:Fn})))}var oi=Rn;function An(at,qt,pr){return pr?s.createElement("div",{className:"".concat(at,"-footer-extra")},pr(qt)):null}function mi(at){var qt=at.prefixCls,pr=at.rangeList,ur=pr===void 0?[]:pr,$r=at.components,Er=$r===void 0?{}:$r,sr=at.needConfirmButton,dn=at.onNow,wr=at.onOk,rn=at.okDisabled,Fn=at.showNow,Bn=at.locale,Tn,Kn;if(ur.length){var Mn=Er.rangeItem||"span";Tn=s.createElement(s.Fragment,null,ur.map(function(Vn){var si=Vn.label,Jn=Vn.onClick,Ai=Vn.onMouseEnter,Ji=Vn.onMouseLeave;return s.createElement("li",{key:si,className:"".concat(qt,"-preset")},s.createElement(Mn,{onClick:Jn,onMouseEnter:Ai,onMouseLeave:Ji},si))}))}if(sr){var Un=Er.button||"button";dn&&!Tn&&Fn!==!1&&(Tn=s.createElement("li",{className:"".concat(qt,"-now")},s.createElement("a",{className:"".concat(qt,"-now-btn"),onClick:dn},Bn.now))),Kn=sr&&s.createElement("li",{className:"".concat(qt,"-ok")},s.createElement(Un,{disabled:rn,onClick:wr},Bn.ok))}return!Tn&&!Kn?null:s.createElement("ul",{className:"".concat(qt,"-ranges")},Tn,Kn)}function ai(at){var qt,pr=at.prefixCls,ur=pr===void 0?"rc-picker":pr,$r=at.className,Er=at.style,sr=at.locale,dn=at.generateConfig,wr=at.value,rn=at.defaultValue,Fn=at.pickerValue,Bn=at.defaultPickerValue,Tn=at.disabledDate,Kn=at.mode,Mn=at.picker,Un=Mn===void 0?"date":Mn,Vn=at.tabIndex,si=Vn===void 0?0:Vn,Jn=at.showNow,Ai=at.showTime,Ji=at.showToday,Oi=at.renderExtraFooter,Mi=at.hideHeader,Li=at.onSelect,Ki=at.onChange,so=at.onPanelChange,Pa=at.onMouseDown,Xi=at.onPickerValueChange,yi=at.onOk,Bi=at.components,Zi=at.direction,Fa=at.hourStep,ya=Fa===void 0?1:Fa,ja=at.minuteStep,Wa=ja===void 0?1:ja,wo=at.secondStep,Do=wo===void 0?1:wo,es=Un==="date"&&!!Ai||Un==="time",To=24%ya===0,So=60%Wa===0,Ia=60%Do===0,Ua=s.useContext(ie),aa=Ua.operationRef,lo=Ua.panelRef,Qo=Ua.onSelect,ro=Ua.hideRanges,us=Ua.defaultOpenValue,co=s.useContext(vt),go=co.inRange,$o=co.panelPosition,Io=co.rangedValue,Bo=co.hoverRangedValue,Wr=s.useRef({}),hi=s.useRef(!0),Ds=Object(W.a)(null,{value:wr,defaultValue:rn,postState:function(jn){return!jn&&us&&Un==="time"?us:jn}}),ds=Object(H.a)(Ds,2),ts=ds[0],Ro=ds[1],is=Object(W.a)(null,{value:Fn,defaultValue:Bn||ts,postState:function(jn){return jn||dn.getNow()}}),vs=Object(H.a)(is,2),Yo=vs[0],Vo=vs[1],rs=function(jn){Vo(jn),Xi&&Xi(jn)},hs=function(jn){var ri=ne[Un];return ri?ri(jn):jn},as=Object(W.a)(function(){return Un==="time"?"time":hs("date")},{value:Kn}),io=Object(H.a)(as,2),Ga=io[0],Xo=io[1];s.useEffect(function(){Xo(Un)},[Un]);var Ho=s.useState(function(){return Ga}),Ra=Object(H.a)(Ho,2),Oo=Ra[0],xs=Ra[1],Po=function(jn,ri){var wi=hs(jn||Ga);xs(Ga),Xo(wi),so&&(Ga!==wi||Le(dn,Yo,Yo))&&so(ri,wi)},Zo=function(jn,ri){var wi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ga===Un||wi)&&(Ro(jn),Li&&Li(jn),Qo&&Qo(jn,ri),Ki&&!Le(dn,jn,ts)&&Ki(jn))},Vt=function(jn){return Wr.current&&Wr.current.onKeyDown?([K.a.LEFT,K.a.RIGHT,K.a.UP,K.a.DOWN,K.a.PAGE_UP,K.a.PAGE_DOWN,K.a.ENTER].includes(jn.which)&&jn.preventDefault(),Wr.current.onKeyDown(jn)):(Object(x.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},re=function(jn){Wr.current&&Wr.current.onBlur&&Wr.current.onBlur(jn)};aa&&$o!=="right"&&(aa.current={onKeyDown:Vt,onClose:function(){Wr.current&&Wr.current.onClose&&Wr.current.onClose()}}),s.useEffect(function(){wr&&!hi.current&&Vo(wr)},[wr]),s.useEffect(function(){hi.current=!1},[]);var ve,Se=Object(P.a)(Object(P.a)({},at),{},{operationRef:Wr,prefixCls:ur,viewDate:Yo,value:ts,onViewDateChange:rs,sourceMode:Oo,onPanelChange:Po,disabledDate:Ga!=="decade"?Tn:void 0});delete Se.onChange,delete Se.onSelect;switch(Ga){case"decade":ve=s.createElement(oi,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;case"year":ve=s.createElement(qr,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;case"month":ve=s.createElement(ze,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;case"quarter":ve=s.createElement(Ct,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;case"week":ve=s.createElement(tr,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;case"time":delete Se.showTime,ve=s.createElement(Be,Object.assign({},Se,Object(X.a)(Ai)==="object"?Ai:null,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}));break;default:Ai?ve=s.createElement(dt,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}})):ve=s.createElement(ue,Object.assign({},Se,{onSelect:function(jn,ri){rs(jn),Zo(jn,ri)}}))}var We,xt,Qt=function(){var jn=dn.getNow(),ri=kt(dn.getHour(jn),dn.getMinute(jn),dn.getSecond(jn),To?ya:1,So?Wa:1,Ia?Do:1),wi=jt(dn,jn,ri[0],ri[1],ri[2]);Zo(wi,"submit")};ro||(We=An(ur,Ga,Oi),xt=mi({prefixCls:ur,components:Bi,needConfirmButton:es,okDisabled:!ts||Tn&&Tn(ts),locale:sr,showNow:Jn,onNow:es&&Qt,onOk:function(){ts&&(Zo(ts,"submit",!0),yi&&yi(ts))}}));var Or;if(Ji&&Ga==="date"&&Un==="date"&&!Ai){var Ur=dn.getNow(),on="".concat(ur,"-today-btn"),Dn=Tn&&Tn(Ur);Or=s.createElement("a",{className:T()(on,Dn&&"".concat(on,"-disabled")),"aria-disabled":Dn,onClick:function(){Dn||Zo(Ur,"mouse",!0)}},sr.today)}return s.createElement(ie.Provider,{value:Object(P.a)(Object(P.a)({},Ua),{},{hideHeader:"hideHeader"in at?Mi:Ua.hideHeader,hidePrevBtn:go&&$o==="right",hideNextBtn:go&&$o==="left"})},s.createElement("div",{tabIndex:si,className:T()("".concat(ur,"-panel"),$r,(qt={},Object(U.a)(qt,"".concat(ur,"-panel-has-range"),Io&&Io[0]&&Io[1]),Object(U.a)(qt,"".concat(ur,"-panel-has-range-hover"),Bo&&Bo[0]&&Bo[1]),Object(U.a)(qt,"".concat(ur,"-panel-rtl"),Zi==="rtl"),qt)),style:Er,onKeyDown:Vt,onBlur:re,onMouseDown:Pa,ref:lo},ve,We||xt||Or?s.createElement("div",{className:"".concat(ur,"-footer")},We,xt,Or):null))}var Xr=ai,pn=e("JX7q"),Ln=e("i8i4"),tn=e.n(Ln),$t=e("l4aY"),yr=e("m+aA"),kr=e("c+Xe"),gr=e("zT1h"),Kr=e("QC+M");function sn(at,qt,pr){return pr?at[0]===qt[0]:at[0]===qt[0]&&at[1]===qt[1]}function Ir(at,qt,pr){var ur=at[qt]||{};return Object(P.a)(Object(P.a)({},ur),pr)}function Rr(at,qt,pr,ur){for(var $r=pr.points,Er=Object.keys(at),sr=0;sr<Er.length;sr+=1){var dn=Er[sr];if(sn(at[dn].points,$r,ur))return"".concat(qt,"-placement-").concat(dn)}return""}var ar=e("Ff2n"),Tr=e("xEkU"),br=e.n(Tr),fr=e("9mu1"),zr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function wn(at,qt){var pr={};return pr[at.toLowerCase()]=qt.toLowerCase(),pr["Webkit".concat(at)]="webkit".concat(qt),pr["Moz".concat(at)]="moz".concat(qt),pr["ms".concat(at)]="MS".concat(qt),pr["O".concat(at)]="o".concat(qt.toLowerCase()),pr}function On(at,qt){var pr={animationend:wn("Animation","AnimationEnd"),transitionend:wn("Transition","TransitionEnd")};return at&&("AnimationEvent"in qt||delete pr.animationend.animation,"TransitionEvent"in qt||delete pr.transitionend.transition),pr}var Wn=On(zr,typeof window!="undefined"?window:{}),Xn={};if(zr){var ii=document.createElement("div");Xn=ii.style}var li={};function bi(at){if(li[at])return li[at];var qt=Wn[at];if(qt)for(var pr=Object.keys(qt),ur=pr.length,$r=0;$r<ur;$r+=1){var Er=pr[$r];if(Object.prototype.hasOwnProperty.call(qt,Er)&&Er in Xn)return li[at]=qt[Er],li[at]}return""}var gi=bi("animationend"),Ni=bi("transitionend"),ki=!!(gi&&Ni);function sa(at,qt){if(!at)return null;if(Object(X.a)(at)==="object"){var pr=qt.replace(/-\w/g,function(ur){return ur[1].toUpperCase()});return at[pr]}return"".concat(at,"-").concat(qt)}var Wi="none",Ta="appear",La="enter",ta="leave";function Ka(at){var qt=at,pr=!!s.forwardRef;Object(X.a)(at)==="object"&&(qt=at.transitionSupport,pr="forwardRef"in at?at.forwardRef:pr);function ur(Er){return!!(Er.motionName&&qt)}var $r=function(Er){Object(z.a)(dn,Er);var sr=Object(M.a)(dn);function dn(){var wr;return Object(B.a)(this,dn),wr=sr.apply(this,arguments),wr.$cacheEle=null,wr.node=null,wr.raf=null,wr.destroyed=!1,wr.deadlineId=null,wr.state={status:Wi,statusActive:!1,newStatus:!1,statusStyle:null},wr.onDomUpdate=function(){var rn=wr.state,Fn=rn.status,Bn=rn.newStatus,Tn=wr.props,Kn=Tn.onAppearStart,Mn=Tn.onEnterStart,Un=Tn.onLeaveStart,Vn=Tn.onAppearActive,si=Tn.onEnterActive,Jn=Tn.onLeaveActive,Ai=Tn.motionAppear,Ji=Tn.motionEnter,Oi=Tn.motionLeave;if(!ur(wr.props))return;var Mi=wr.getElement();wr.$cacheEle!==Mi&&(wr.removeEventListener(wr.$cacheEle),wr.addEventListener(Mi),wr.$cacheEle=Mi),Bn&&Fn===Ta&&Ai?wr.updateStatus(Kn,null,null,function(){wr.updateActiveStatus(Vn,Ta)}):Bn&&Fn===La&&Ji?wr.updateStatus(Mn,null,null,function(){wr.updateActiveStatus(si,La)}):Bn&&Fn===ta&&Oi&&wr.updateStatus(Un,null,null,function(){wr.updateActiveStatus(Jn,ta)})},wr.onMotionEnd=function(rn){if(rn&&!rn.deadline&&rn.target!==wr.getElement())return;var Fn=wr.state,Bn=Fn.status,Tn=Fn.statusActive,Kn=wr.props,Mn=Kn.onAppearEnd,Un=Kn.onEnterEnd,Vn=Kn.onLeaveEnd;Bn===Ta&&Tn?wr.updateStatus(Mn,{status:Wi},rn):Bn===La&&Tn?wr.updateStatus(Un,{status:Wi},rn):Bn===ta&&Tn&&wr.updateStatus(Vn,{status:Wi},rn)},wr.setNodeRef=function(rn){var Fn=wr.props.internalRef;wr.node=rn,Object(kr.b)(Fn,rn)},wr.getElement=function(){try{return Object(yr.a)(wr.node||Object(pn.a)(wr))}catch(rn){return wr.$cacheEle}},wr.addEventListener=function(rn){if(!rn)return;rn.addEventListener(Ni,wr.onMotionEnd),rn.addEventListener(gi,wr.onMotionEnd)},wr.removeEventListener=function(rn){if(!rn)return;rn.removeEventListener(Ni,wr.onMotionEnd),rn.removeEventListener(gi,wr.onMotionEnd)},wr.updateStatus=function(rn,Fn,Bn,Tn){var Kn=rn?rn(wr.getElement(),Bn):null;if(Kn===!1||wr.destroyed)return;var Mn;Tn&&(Mn=function(){wr.nextFrame(Tn)}),wr.setState(Object(P.a)({statusStyle:Object(X.a)(Kn)==="object"?Kn:null,newStatus:!1},Fn),Mn)},wr.updateActiveStatus=function(rn,Fn){wr.nextFrame(function(){var Bn=wr.state.status;if(Bn!==Fn)return;var Tn=wr.props.motionDeadline;wr.updateStatus(rn,{statusActive:!0}),Tn>0&&(wr.deadlineId=setTimeout(function(){wr.onMotionEnd({deadline:!0})},Tn))})},wr.nextFrame=function(rn){wr.cancelNextFrame(),wr.raf=br()(rn)},wr.cancelNextFrame=function(){wr.raf&&(br.a.cancel(wr.raf),wr.raf=null)},wr}return Object(j.a)(dn,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var rn,Fn=this.state,Bn=Fn.status,Tn=Fn.statusActive,Kn=Fn.statusStyle,Mn=this.props,Un=Mn.children,Vn=Mn.motionName,si=Mn.visible,Jn=Mn.removeOnLeave,Ai=Mn.leavedClassName,Ji=Mn.eventProps;return Un?Bn===Wi||!ur(this.props)?si?Un(Object(P.a)({},Ji),this.setNodeRef):Jn?null:Un(Object(P.a)(Object(P.a)({},Ji),{},{className:Ai}),this.setNodeRef):Un(Object(P.a)(Object(P.a)({},Ji),{},{className:T()(sa(Vn,Bn),(rn={},Object(U.a)(rn,sa(Vn,"".concat(Bn,"-active")),Tn),Object(U.a)(rn,Vn,typeof Vn=="string"),rn)),style:Kn}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(rn,Fn){var Bn=Fn.prevProps,Tn=Fn.status;if(!ur(rn))return{};var Kn=rn.visible,Mn=rn.motionAppear,Un=rn.motionEnter,Vn=rn.motionLeave,si=rn.motionLeaveImmediately,Jn={prevProps:rn};return(Tn===Ta&&!Mn||Tn===La&&!Un||Tn===ta&&!Vn)&&(Jn.status=Wi,Jn.statusActive=!1,Jn.newStatus=!1),!Bn&&Kn&&Mn&&(Jn.status=Ta,Jn.statusActive=!1,Jn.newStatus=!0),Bn&&!Bn.visible&&Kn&&Un&&(Jn.status=La,Jn.statusActive=!1,Jn.newStatus=!0),(Bn&&Bn.visible&&!Kn&&Vn||!Bn&&si&&!Kn&&Vn)&&(Jn.status=ta,Jn.statusActive=!1,Jn.newStatus=!0),Jn}}]),dn}(s.Component);return $r.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},pr?s.forwardRef(function(Er,sr){return s.createElement($r,Object.assign({internalRef:sr},Er))}):$r}var ni=Ka(ki),zi="add",Va="keep",Za="remove",Oa="removed";function ma(at){var qt;return at&&Object(X.a)(at)==="object"&&"key"in at?qt=at:qt={key:at},Object(P.a)(Object(P.a)({},qt),{},{key:String(qt.key)})}function xr(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return at.map(ma)}function nr(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pr=[],ur=0,$r=qt.length,Er=xr(at),sr=xr(qt);Er.forEach(function(rn){for(var Fn=!1,Bn=ur;Bn<$r;Bn+=1){var Tn=sr[Bn];if(Tn.key===rn.key){ur<Bn&&(pr=pr.concat(sr.slice(ur,Bn).map(function(Kn){return Object(P.a)(Object(P.a)({},Kn),{},{status:zi})})),ur=Bn),pr.push(Object(P.a)(Object(P.a)({},Tn),{},{status:Va})),ur+=1,Fn=!0;break}}Fn||pr.push(Object(P.a)(Object(P.a)({},rn),{},{status:Za}))}),ur<$r&&(pr=pr.concat(sr.slice(ur).map(function(rn){return Object(P.a)(Object(P.a)({},rn),{},{status:zi})})));var dn={};pr.forEach(function(rn){var Fn=rn.key;dn[Fn]=(dn[Fn]||0)+1});var wr=Object.keys(dn).filter(function(rn){return dn[rn]>1});return wr.forEach(function(rn){pr=pr.filter(function(Fn){var Bn=Fn.key,Tn=Fn.status;return Bn!==rn||Tn!==Za}),pr.forEach(function(Fn){Fn.key===rn&&(Fn.status=Va)})}),pr}var ln=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function er(at){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ni,pr=function(ur){Object(z.a)(Er,ur);var $r=Object(M.a)(Er);function Er(){var sr;return Object(B.a)(this,Er),sr=$r.apply(this,arguments),sr.state={keyEntities:[]},sr.removeKey=function(dn){sr.setState(function(wr){var rn=wr.keyEntities;return{keyEntities:rn.map(function(Fn){return Fn.key!==dn?Fn:Object(P.a)(Object(P.a)({},Fn),{},{status:Oa})})}})},sr}return Object(j.a)(Er,[{key:"render",value:function(){var dn=this,wr=this.state.keyEntities,rn=this.props,Fn=rn.component,Bn=rn.children,Tn=Object(ar.a)(rn,["component","children"]),Kn=Fn||s.Fragment,Mn={};return ln.forEach(function(Un){Mn[Un]=Tn[Un],delete Tn[Un]}),delete Tn.keys,s.createElement(Kn,Object.assign({},Tn),wr.map(function(Un){var Vn=Un.status,si=Object(ar.a)(Un,["status"]),Jn=Vn===zi||Vn===Va;return s.createElement(qt,Object.assign({},Mn,{key:si.key,visible:Jn,eventProps:si,onLeaveEnd:function(){Mn.onLeaveEnd&&Mn.onLeaveEnd.apply(Mn,arguments),dn.removeKey(si.key)}}),Bn)}))}}],[{key:"getDerivedStateFromProps",value:function(dn,wr){var rn=dn.keys,Fn=wr.keyEntities,Bn=xr(rn);if(!at)return{keyEntities:Bn.map(function(Mn){return Object(P.a)(Object(P.a)({},Mn),{},{status:Va})})};var Tn=nr(Fn,Bn),Kn=Fn.length;return{keyEntities:Tn.filter(function(Mn){for(var Un=null,Vn=0;Vn<Kn;Vn+=1){var si=Fn[Vn];if(si.key===Mn.key){Un=si;break}}return!(Un&&Un.status===Oa&&Mn.status===Za)})}}}]),Er}(s.Component);return pr.defaultProps={component:"div"},pr}var hr=er(ki),Dr=ni,Vr=function(qt,pr){var ur=qt.prefixCls,$r=qt.className,Er=qt.style,sr=qt.children,dn=qt.onMouseEnter,wr=qt.onMouseLeave,rn=qt.onMouseDown,Fn=qt.onTouchStart,Bn=sr;return s.Children.count(sr)>1&&(Bn=s.createElement("div",{className:"".concat(ur,"-content")},sr)),s.createElement("div",{ref:pr,className:$r,onMouseEnter:dn,onMouseLeave:wr,onMouseDown:rn,onTouchStart:Fn,style:Er},Bn)},an=s.forwardRef(Vr);an.displayName="PopupInner";var Ot=an;function lr(at){var qt=at.prefixCls,pr=at.motion,ur=at.animation,$r=at.transitionName;return pr||(ur?{motionName:"".concat(qt,"-").concat(ur)}:$r?{motionName:$r}:null)}function vr(at){return at&&at.motionName}var Cr=function(at){Object(z.a)(pr,at);var qt=Object(M.a)(pr);function pr(){var ur;return Object(B.a)(this,pr),ur=qt.apply(this,arguments),ur.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},ur.popupRef=a.a.createRef(),ur.alignRef=a.a.createRef(),ur.nextFrameState=null,ur.nextFrameId=null,ur.onAlign=function($r,Er){var sr=ur.state.status,dn=ur.props,wr=dn.getClassNameFromAlign,rn=dn.onAlign,Fn=wr(Er);sr==="align"?ur.setState({alignClassName:Fn,status:"aligned"},function(){ur.alignRef.current.forceAlign()}):sr==="aligned"?(ur.setState({alignClassName:Fn,status:"afterAlign"}),rn($r,Er)):ur.setState({alignClassName:Fn})},ur.onMotionEnd=function(){var $r=ur.props.visible;ur.setState({status:$r?"AfterMotion":"stable",inMotion:!1})},ur.setStateOnNextFrame=function($r){ur.cancelFrameState(),ur.nextFrameState=Object(P.a)(Object(P.a)({},ur.nextFrameState),$r),ur.nextFrameId=br()(function(){var Er=Object(P.a)({},ur.nextFrameState);ur.nextFrameState=null,ur.setState(Er)})},ur.getMotion=function(){return Object(P.a)({},lr(ur.props))},ur.getAlignTarget=function(){var $r=ur.props,Er=$r.point,sr=$r.getRootDomNode;return Er||sr},ur.cancelFrameState=function(){br.a.cancel(ur.nextFrameId)},ur.renderPopupElement=function(){var $r=ur.state,Er=$r.status,sr=$r.targetHeight,dn=$r.targetWidth,wr=$r.alignClassName,rn=ur.props,Fn=rn.prefixCls,Bn=rn.className,Tn=rn.style,Kn=rn.stretch,Mn=rn.visible,Un=rn.align,Vn=rn.destroyPopupOnHide,si=rn.onMouseEnter,Jn=rn.onMouseLeave,Ai=rn.onMouseDown,Ji=rn.onTouchStart,Oi=rn.children,Mi=T()(Fn,Bn,wr),Li="".concat(Fn,"-hidden"),Ki={};Kn&&(Kn.indexOf("height")!==-1?Ki.height=sr:Kn.indexOf("minHeight")!==-1&&(Ki.minHeight=sr),Kn.indexOf("width")!==-1?Ki.width=dn:Kn.indexOf("minWidth")!==-1&&(Ki.minWidth=dn));var so=Object(P.a)(Object(P.a)(Object(P.a)(Object(P.a)({},Ki),ur.getZIndexStyle()),Tn),{},{opacity:Er==="stable"||!Mn?void 0:0,pointerEvents:Er==="stable"||!Mn?void 0:"none"}),Pa=ur.getMotion(),Xi=Mn;Mn&&Er!=="beforeMotion"&&Er!=="motion"&&Er!=="stable"&&(Pa.motionAppear=!1,Pa.motionEnter=!1,Pa.motionLeave=!1),(Er==="afterAlign"||Er==="beforeMotion")&&(Xi=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(Zi){var Fa=Pa==null?void 0:Pa[Zi];Pa[Zi]=function(){for(var ya=arguments.length,ja=new Array(ya),Wa=0;Wa<ya;Wa++)ja[Wa]=arguments[Wa];Fa==null||Fa.apply(void 0,ja),ur.setState({inMotion:!0})}});var yi=!Mn||Er!=="align"&&Er!=="aligned"&&Er!=="stable",Bi=!0;return Er==="stable"&&(Bi=Mn),Vn&&!Bi?null:a.a.createElement(Dr,Object.assign({visible:Xi},Pa,{removeOnLeave:!1,onEnterEnd:ur.onMotionEnd,onLeaveEnd:ur.onMotionEnd,leavedClassName:Li}),function(Zi,Fa){var ya=Zi.style,ja=Zi.className;return a.a.createElement(fr.a,{target:ur.getAlignTarget(),key:"popup",ref:ur.alignRef,monitorWindowResize:!0,disabled:yi,align:Un,onAlign:ur.onAlign},a.a.createElement(Ot,{prefixCls:Fn,className:T()(Mi,ja),ref:Object(kr.a)(Fa,ur.popupRef),onMouseEnter:si,onMouseLeave:Jn,onMouseDown:Ai,onTouchStart:Ji,style:Object(P.a)(Object(P.a)({},so),ya)},Oi))})},ur.renderMaskElement=function(){var $r=ur.props,Er=$r.mask,sr=$r.maskMotion,dn=$r.maskTransitionName,wr=$r.maskAnimation,rn=$r.prefixCls,Fn=$r.visible;if(!Er)return null;var Bn={};return sr&&sr.motionName&&(Bn=Object(P.a)({motionAppear:!0},lr({motion:sr,prefixCls:rn,transitionName:dn,animation:wr}))),a.a.createElement(Dr,Object.assign({},Bn,{visible:Fn,removeOnLeave:!0}),function(Tn){var Kn=Tn.className;return a.a.createElement("div",{style:ur.getZIndexStyle(),key:"mask",className:T()("".concat(rn,"-mask"),Kn)})})},ur}return Object(j.a)(pr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var $r=this.state.status,Er=this.props,sr=Er.getRootDomNode,dn=Er.visible,wr=Er.stretch;if(this.cancelFrameState(),dn&&$r!=="stable")switch($r){case null:{this.setStateOnNextFrame({status:wr?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:vr(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var rn=["measure","align",null,"beforeMotion","motion"],Fn=rn.indexOf($r),Bn=rn[Fn+1];Fn!==-1&&Bn&&this.setStateOnNextFrame({status:Bn})}}if($r==="measure"){var Tn=sr();Tn&&this.setStateOnNextFrame({targetHeight:Tn.offsetHeight,targetWidth:Tn.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var $r=this.props.zIndex;return{zIndex:$r}}},{key:"render",value:function(){return a.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function($r,Er){var sr=$r.visible,dn=Object(ar.a)($r,["visible"]),wr=Er.prevVisible,rn=Er.status,Fn=Er.inMotion,Bn={prevVisible:sr,status:rn},Tn=lr(dn);return wr===null&&sr===!1?(Bn.status="stable",Bn.inMotion=!1):sr!==wr&&(Bn.inMotion=!1,sr||vr(Tn)&&Fn?Bn.status=null:Bn.status="stable",sr&&(Bn.alignClassName=null)),Bn}}]),pr}(s.Component),Hr=Cr,cn=s.createContext(null),Qr=cn;function gt(){}function Gt(){return""}function Sr(){return window.document}var Zr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function en(at){var qt=function(pr){Object(z.a)($r,pr);var ur=Object(M.a)($r);function $r(Er){var sr;Object(B.a)(this,$r),sr=ur.call(this,Er),sr.popupRef=a.a.createRef(),sr.triggerRef=a.a.createRef(),sr.onMouseEnter=function(wr){var rn=sr.props.mouseEnterDelay;sr.fireEvents("onMouseEnter",wr),sr.delaySetPopupVisible(!0,rn,rn?null:wr)},sr.onMouseMove=function(wr){sr.fireEvents("onMouseMove",wr),sr.setPoint(wr)},sr.onMouseLeave=function(wr){sr.fireEvents("onMouseLeave",wr),sr.delaySetPopupVisible(!1,sr.props.mouseLeaveDelay)},sr.onPopupMouseEnter=function(){sr.clearDelayTimer()},sr.onPopupMouseLeave=function(wr){if(wr.relatedTarget&&!wr.relatedTarget.setTimeout&&sr.popupRef.current&&sr.popupRef.current.popupRef.current&&Object($t.a)(sr.popupRef.current.popupRef.current,wr.relatedTarget))return;sr.delaySetPopupVisible(!1,sr.props.mouseLeaveDelay)},sr.onFocus=function(wr){sr.fireEvents("onFocus",wr),sr.clearDelayTimer(),sr.isFocusToShow()&&(sr.focusTime=Date.now(),sr.delaySetPopupVisible(!0,sr.props.focusDelay))},sr.onMouseDown=function(wr){sr.fireEvents("onMouseDown",wr),sr.preClickTime=Date.now()},sr.onTouchStart=function(wr){sr.fireEvents("onTouchStart",wr),sr.preTouchTime=Date.now()},sr.onBlur=function(wr){sr.fireEvents("onBlur",wr),sr.clearDelayTimer(),sr.isBlurToHide()&&sr.delaySetPopupVisible(!1,sr.props.blurDelay)},sr.onContextMenu=function(wr){wr.preventDefault(),sr.fireEvents("onContextMenu",wr),sr.setPopupVisible(!0,wr)},sr.onContextMenuClose=function(){sr.isContextMenuToShow()&&sr.close()},sr.onClick=function(wr){if(sr.fireEvents("onClick",wr),sr.focusTime){var rn;if(sr.preClickTime&&sr.preTouchTime?rn=Math.min(sr.preClickTime,sr.preTouchTime):sr.preClickTime?rn=sr.preClickTime:sr.preTouchTime&&(rn=sr.preTouchTime),Math.abs(rn-sr.focusTime)<20)return;sr.focusTime=0}sr.preClickTime=0,sr.preTouchTime=0,sr.isClickToShow()&&(sr.isClickToHide()||sr.isBlurToHide())&&wr&&wr.preventDefault&&wr.preventDefault();var Fn=!sr.state.popupVisible;(sr.isClickToHide()&&!Fn||Fn&&sr.isClickToShow())&&sr.setPopupVisible(!sr.state.popupVisible,wr)},sr.onPopupMouseDown=function(){if(sr.hasPopupMouseDown=!0,clearTimeout(sr.mouseDownTimeout),sr.mouseDownTimeout=window.setTimeout(function(){sr.hasPopupMouseDown=!1},0),sr.context){var wr;(wr=sr.context).onPopupMouseDown.apply(wr,arguments)}},sr.onDocumentClick=function(wr){if(sr.props.mask&&!sr.props.maskClosable)return;var rn=wr.target,Fn=sr.getRootDomNode(),Bn=sr.getPopupDomNode();!Object($t.a)(Fn,rn)&&!Object($t.a)(Bn,rn)&&!sr.hasPopupMouseDown&&sr.close()},sr.getRootDomNode=function(){var wr=sr.props.getTriggerDOMNode;if(wr)return wr(sr.triggerRef.current);try{var rn=Object(yr.a)(sr.triggerRef.current);if(rn)return rn}catch(Fn){}return tn.a.findDOMNode(Object(pn.a)(sr))},sr.getPopupClassNameFromAlign=function(wr){var rn=[],Fn=sr.props,Bn=Fn.popupPlacement,Tn=Fn.builtinPlacements,Kn=Fn.prefixCls,Mn=Fn.alignPoint,Un=Fn.getPopupClassNameFromAlign;return Bn&&Tn&&rn.push(Rr(Tn,Kn,wr,Mn)),Un&&rn.push(Un(wr)),rn.join(" ")},sr.getComponent=function(){var wr=sr.props,rn=wr.prefixCls,Fn=wr.destroyPopupOnHide,Bn=wr.popupClassName,Tn=wr.onPopupAlign,Kn=wr.popupMotion,Mn=wr.popupAnimation,Un=wr.popupTransitionName,Vn=wr.popupStyle,si=wr.mask,Jn=wr.maskAnimation,Ai=wr.maskTransitionName,Ji=wr.maskMotion,Oi=wr.zIndex,Mi=wr.popup,Li=wr.stretch,Ki=wr.alignPoint,so=sr.state,Pa=so.popupVisible,Xi=so.point,yi=sr.getPopupAlign(),Bi={};return sr.isMouseEnterToShow()&&(Bi.onMouseEnter=sr.onPopupMouseEnter),sr.isMouseLeaveToHide()&&(Bi.onMouseLeave=sr.onPopupMouseLeave),Bi.onMouseDown=sr.onPopupMouseDown,Bi.onTouchStart=sr.onPopupMouseDown,a.a.createElement(Hr,Object.assign({prefixCls:rn,destroyPopupOnHide:Fn,visible:Pa,point:Ki&&Xi,className:Bn,align:yi,onAlign:Tn,animation:Mn,getClassNameFromAlign:sr.getPopupClassNameFromAlign},Bi,{stretch:Li,getRootDomNode:sr.getRootDomNode,style:Vn,mask:si,zIndex:Oi,transitionName:Un,maskAnimation:Jn,maskTransitionName:Ai,maskMotion:Ji,ref:sr.popupRef,motion:Kn}),typeof Mi=="function"?Mi():Mi)},sr.getContainer=function(){var wr=Object(pn.a)(sr),rn=wr.props,Fn=document.createElement("div");Fn.style.position="absolute",Fn.style.top="0",Fn.style.left="0",Fn.style.width="100%";var Bn=rn.getPopupContainer?rn.getPopupContainer(sr.getRootDomNode()):rn.getDocument().body;return Bn.appendChild(Fn),Fn},sr.setPoint=function(wr){var rn=sr.props.alignPoint;if(!rn||!wr)return;sr.setState({point:{pageX:wr.pageX,pageY:wr.pageY}})},sr.handlePortalUpdate=function(){sr.state.prevPopupVisible!==sr.state.popupVisible&&sr.props.afterPopupVisibleChange(sr.state.popupVisible)};var dn;return"popupVisible"in Er?dn=!!Er.popupVisible:dn=!!Er.defaultPopupVisible,sr.state={prevPopupVisible:dn,popupVisible:dn},Zr.forEach(function(wr){sr["fire".concat(wr)]=function(rn){sr.fireEvents(wr,rn)}}),sr}return Object(j.a)($r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var sr=this.props,dn=this.state;if(dn.popupVisible){var wr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(wr=sr.getDocument(),this.clickOutsideHandler=Object(gr.a)(wr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(wr=wr||sr.getDocument(),this.touchOutsideHandler=Object(gr.a)(wr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(wr=wr||sr.getDocument(),this.contextMenuOutsideHandler1=Object(gr.a)(wr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(gr.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var sr=this.props,dn=sr.popupPlacement,wr=sr.popupAlign,rn=sr.builtinPlacements;return dn&&rn?Ir(rn,dn,wr):wr}},{key:"setPopupVisible",value:function(sr,dn){var wr=this.props.alignPoint,rn=this.state.popupVisible;this.clearDelayTimer(),rn!==sr&&("popupVisible"in this.props||this.setState({popupVisible:sr,prevPopupVisible:rn}),this.props.onPopupVisibleChange(sr)),wr&&dn&&this.setPoint(dn)}},{key:"delaySetPopupVisible",value:function(sr,dn,wr){var rn=this,Fn=dn*1e3;if(this.clearDelayTimer(),Fn){var Bn=wr?{pageX:wr.pageX,pageY:wr.pageY}:null;this.delayTimer=window.setTimeout(function(){rn.setPopupVisible(sr,Bn),rn.clearDelayTimer()},Fn)}else this.setPopupVisible(sr,wr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(sr){var dn=this.props.children.props,wr=this.props;return dn[sr]&&wr[sr]?this["fire".concat(sr)]:dn[sr]||wr[sr]}},{key:"isClickToShow",value:function(){var sr=this.props,dn=sr.action,wr=sr.showAction;return dn.indexOf("click")!==-1||wr.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var sr=this.props,dn=sr.action,wr=sr.showAction;return dn.indexOf("contextMenu")!==-1||wr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var sr=this.props,dn=sr.action,wr=sr.hideAction;return dn.indexOf("click")!==-1||wr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var sr=this.props,dn=sr.action,wr=sr.showAction;return dn.indexOf("hover")!==-1||wr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var sr=this.props,dn=sr.action,wr=sr.hideAction;return dn.indexOf("hover")!==-1||wr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var sr=this.props,dn=sr.action,wr=sr.showAction;return dn.indexOf("focus")!==-1||wr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var sr=this.props,dn=sr.action,wr=sr.hideAction;return dn.indexOf("focus")!==-1||wr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(sr,dn){var wr=this.props.children.props[sr];wr&&wr(dn);var rn=this.props[sr];rn&&rn(dn)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var sr=this.state.popupVisible,dn=this.props,wr=dn.children,rn=dn.forceRender,Fn=dn.alignPoint,Bn=dn.className,Tn=dn.autoDestroy,Kn=a.a.Children.only(wr),Mn={key:"trigger"};this.isContextMenuToShow()?Mn.onContextMenu=this.onContextMenu:Mn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Mn.onClick=this.onClick,Mn.onMouseDown=this.onMouseDown,Mn.onTouchStart=this.onTouchStart):(Mn.onClick=this.createTwoChains("onClick"),Mn.onMouseDown=this.createTwoChains("onMouseDown"),Mn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Mn.onMouseEnter=this.onMouseEnter,Fn&&(Mn.onMouseMove=this.onMouseMove)):Mn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Mn.onMouseLeave=this.onMouseLeave:Mn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Mn.onFocus=this.onFocus,Mn.onBlur=this.onBlur):(Mn.onFocus=this.createTwoChains("onFocus"),Mn.onBlur=this.createTwoChains("onBlur"));var Un=T()(Kn&&Kn.props&&Kn.props.className,Bn);Un&&(Mn.className=Un);var Vn=Object(P.a)({},Mn);Object(kr.c)(Kn)&&(Vn.ref=Object(kr.a)(this.triggerRef,Kn.ref));var si=a.a.cloneElement(Kn,Vn),Jn;return(sr||this.popupRef.current||rn)&&(Jn=a.a.createElement(at,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!sr&&Tn&&(Jn=null),a.a.createElement(Qr.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},si,Jn)}}],[{key:"getDerivedStateFromProps",value:function(sr,dn){var wr=sr.popupVisible,rn={};return wr!==void 0&&dn.popupVisible!==wr&&(rn.popupVisible=wr,rn.prevPopupVisible=dn.popupVisible),rn}}]),$r}(a.a.Component);return qt.contextType=Qr,qt.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Gt,getDocument:Sr,onPopupVisibleChange:gt,afterPopupVisibleChange:gt,onPopupAlign:gt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},qt}var xn=en(Kr.a),kn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Zn(at){var qt,pr=at.prefixCls,ur=at.popupElement,$r=at.popupStyle,Er=at.visible,sr=at.dropdownClassName,dn=at.dropdownAlign,wr=at.transitionName,rn=at.getPopupContainer,Fn=at.children,Bn=at.range,Tn=at.popupPlacement,Kn=at.direction,Mn="".concat(pr,"-dropdown"),Un=function(){return Tn!==void 0?Tn:Kn==="rtl"?"bottomRight":"bottomLeft"};return s.createElement(xn,{showAction:[],hideAction:[],popupPlacement:Un(),builtinPlacements:kn,prefixCls:Mn,popupTransitionName:wr,popup:ur,popupAlign:dn,popupVisible:Er,popupClassName:T()(sr,(qt={},Object(U.a)(qt,"".concat(Mn,"-range"),Bn),Object(U.a)(qt,"".concat(Mn,"-rtl"),Kn==="rtl"),qt)),popupStyle:$r,getPopupContainer:rn},Fn)}var ui=Zn;function ti(at){var qt=at.open,pr=at.value,ur=at.isClickOutside,$r=at.triggerOpen,Er=at.forwardKeyDown,sr=at.blurToCancel,dn=at.onSubmit,wr=at.onCancel,rn=at.onFocus,Fn=at.onBlur,Bn=Object(s.useState)(!1),Tn=Object(H.a)(Bn,2),Kn=Tn[0],Mn=Tn[1],Un=Object(s.useState)(!1),Vn=Object(H.a)(Un,2),si=Vn[0],Jn=Vn[1],Ai=Object(s.useRef)(!1),Ji=Object(s.useRef)(!1),Oi={onMouseDown:function(){Mn(!0),$r(!0)},onKeyDown:function(Li){switch(Li.which){case K.a.ENTER:{qt?dn()!==!1&&Mn(!0):$r(!0),Li.preventDefault();return}case K.a.TAB:{Kn&&qt&&!Li.shiftKey?(Mn(!1),Li.preventDefault()):!Kn&&qt&&(!Er(Li)&&Li.shiftKey&&(Mn(!0),Li.preventDefault()));return}case K.a.ESC:{Mn(!0),wr();return}}!qt&&![K.a.SHIFT].includes(Li.which)?$r(!0):Kn||Er(Li)},onFocus:function(Li){Mn(!0),Jn(!0),rn&&rn(Li)},onBlur:function(Li){if(Ai.current||!ur(document.activeElement)){Ai.current=!1;return}sr?setTimeout(function(){ur(document.activeElement)&&wr()},0):qt&&($r(!1),Ji.current&&dn()),Jn(!1),Fn&&Fn(Li)}};return Object(s.useEffect)(function(){Ji.current=!1},[qt]),Object(s.useEffect)(function(){Ji.current=!0},[pr]),Object(s.useEffect)(function(){return le(function(Mi){var Li=Mi.target;qt&&(ur(Li)?si||$r(!1):(Ai.current=!0,requestAnimationFrame(function(){Ai.current=!1})))})}),[Oi,{focused:si,typing:Kn}]}function Qn(at){var qt=at.valueTexts,pr=at.onTextChange,ur=s.useState(""),$r=Object(H.a)(ur,2),Er=$r[0],sr=$r[1],dn=s.useRef([]);dn.current=qt;function wr(Fn){sr(Fn),pr(Fn)}function rn(){sr(dn.current[0])}return s.useEffect(function(){qt.every(function(Fn){return Fn!==Er})&&rn()},[qt.join("||")]),[Er,wr,rn]}var $n=e("Gytx"),Si=e.n($n);function Ci(at,qt){var pr=qt.formatList,ur=qt.generateConfig,$r=qt.locale;return Object(Qe.a)(function(){if(!at)return[[""],""];for(var Er="",sr=[],dn=0;dn<pr.length;dn+=1){var wr=pr[dn],rn=ur.locale.format($r.locale,at,wr);sr.push(rn),dn===0&&(Er=rn)}return[sr,Er]},[at,pr],function(Er,sr){return Er[0]!==sr[0]||!Si()(Er[1],sr[1])})}function vi(at,qt){var pr=qt.formatList,ur=qt.generateConfig,$r=qt.locale,Er=Object(s.useState)(null),sr=Object(H.a)(Er,2),dn=sr[0],wr=sr[1],rn=Object(s.useRef)(null);function Fn(Vn){var si=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(rn.current),si){wr(Vn);return}rn.current=requestAnimationFrame(function(){wr(Vn)})}var Bn=Ci(dn,{formatList:pr,generateConfig:ur,locale:$r}),Tn=Object(H.a)(Bn,2),Kn=Tn[1];function Mn(Vn){Fn(Vn)}function Un(){var Vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Fn(null,Vn)}return Object(s.useEffect)(function(){Un(!0)},[at]),Object(s.useEffect)(function(){return function(){return cancelAnimationFrame(rn.current)}},[]),[Kn,Mn,Un]}function xi(at){var qt,pr=at.prefixCls,ur=pr===void 0?"rc-picker":pr,$r=at.id,Er=at.tabIndex,sr=at.style,dn=at.className,wr=at.dropdownClassName,rn=at.dropdownAlign,Fn=at.popupStyle,Bn=at.transitionName,Tn=at.generateConfig,Kn=at.locale,Mn=at.inputReadOnly,Un=at.allowClear,Vn=at.autoFocus,si=at.showTime,Jn=at.picker,Ai=Jn===void 0?"date":Jn,Ji=at.format,Oi=at.use12Hours,Mi=at.value,Li=at.defaultValue,Ki=at.open,so=at.defaultOpen,Pa=at.defaultOpenValue,Xi=at.suffixIcon,yi=at.clearIcon,Bi=at.disabled,Zi=at.disabledDate,Fa=at.placeholder,ya=at.getPopupContainer,ja=at.pickerRef,Wa=at.panelRender,wo=at.onChange,Do=at.onOpenChange,es=at.onFocus,To=at.onBlur,So=at.onMouseDown,Ia=at.onMouseUp,Ua=at.onMouseEnter,aa=at.onMouseLeave,lo=at.onContextMenu,Qo=at.onClick,ro=at.direction,us=at.autoComplete,co=us===void 0?"off":us,go=s.useRef(null),$o=Ai==="date"&&!!si||Ai==="time",Io=Me(mt(Ji,Ai,si,Oi)),Bo=s.useRef(null),Wr=s.useRef(null),hi=Object(W.a)(null,{value:Mi,defaultValue:Li}),Ds=Object(H.a)(hi,2),ds=Ds[0],ts=Ds[1],Ro=s.useState(ds),is=Object(H.a)(Ro,2),vs=is[0],Yo=is[1],Vo=s.useRef(null),rs=Object(W.a)(!1,{value:Ki,defaultValue:so,postState:function(Ha){return Bi?!1:Ha},onChange:function(Ha){Do&&Do(Ha),!Ha&&Vo.current&&Vo.current.onClose&&Vo.current.onClose()}}),hs=Object(H.a)(rs,2),as=hs[0],io=hs[1],Ga=Ci(vs,{formatList:Io,generateConfig:Tn,locale:Kn}),Xo=Object(H.a)(Ga,2),Ho=Xo[0],Ra=Xo[1],Oo=Qn({valueTexts:Ho,onTextChange:function(Ha){var ns=Tn.locale.parse(Kn.locale,Ha,Io);ns&&(!Zi||!Zi(ns))&&Yo(ns)}}),xs=Object(H.a)(Oo,3),Po=xs[0],Zo=xs[1],Vt=xs[2],re=function(Ha){Yo(Ha),ts(Ha),wo&&!Le(Tn,ds,Ha)&&wo(Ha,Ha?Tn.locale.format(Kn.locale,Ha,Io[0]):"")},ve=function(Ha){if(Bi&&Ha)return;io(Ha)},Se=function(Ha){return as&&Vo.current&&Vo.current.onKeyDown?Vo.current.onKeyDown(Ha):(Object(x.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},We=function(){Ia&&Ia.apply(void 0,arguments),go.current&&(go.current.focus(),ve(!0))},xt=ti({blurToCancel:$o,open:as,value:Po,triggerOpen:ve,forwardKeyDown:Se,isClickOutside:function(Ha){return!he([Bo.current,Wr.current],Ha)},onSubmit:function(){return Zi&&Zi(vs)?!1:(re(vs),ve(!1),Vt(),!0)},onCancel:function(){ve(!1),Yo(ds),Vt()},onFocus:es,onBlur:To}),Qt=Object(H.a)(xt,2),Or=Qt[0],Ur=Qt[1],on=Ur.focused,Dn=Ur.typing;s.useEffect(function(){as||(Yo(ds),!Ho.length||Ho[0]===""?Zo(""):Ra!==Po&&Vt())},[as,Ho]),s.useEffect(function(){as||Vt()},[Ai]),s.useEffect(function(){Yo(ds)},[ds]),ja&&(ja.current={focus:function(){go.current&&go.current.focus()},blur:function(){go.current&&go.current.blur()}});var Hn=Object(P.a)(Object(P.a)({},at),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),jn=s.createElement(Xr,Object.assign({},Hn,{generateConfig:Tn,className:T()(Object(U.a)({},"".concat(ur,"-panel-focused"),!Dn)),value:vs,locale:Kn,tabIndex:-1,onChange:Yo,direction:ro}));Wa&&(jn=Wa(jn));var ri=s.createElement("div",{className:"".concat(ur,"-panel-container"),onMouseDown:function(Ha){Ha.preventDefault()}},jn),wi;Xi&&(wi=s.createElement("span",{className:"".concat(ur,"-suffix")},Xi));var Gi;Un&&ds&&!Bi&&(Gi=s.createElement("span",{onMouseDown:function(Ha){Ha.preventDefault(),Ha.stopPropagation()},onMouseUp:function(Ha){Ha.preventDefault(),Ha.stopPropagation(),re(null),ve(!1)},className:"".concat(ur,"-clear")},yi||s.createElement("span",{className:"".concat(ur,"-clear-btn")})));var xa=function(Ha,ns){(ns==="submit"||ns!=="key"&&!$o)&&(re(Ha),ve(!1))},no=ro==="rtl"?"bottomRight":"bottomLeft",uo=vi(Po,{formatList:Io,generateConfig:Tn,locale:Kn}),Ja=Object(H.a)(uo,3),Go=Ja[0],_o=Ja[1],xo=Ja[2];return s.createElement(ie.Provider,{value:{operationRef:Vo,hideHeader:Ai==="time",panelRef:Bo,onSelect:xa,open:as,defaultOpenValue:Pa,onDateMouseEnter:_o,onDateMouseLeave:xo}},s.createElement(ui,{visible:as,popupElement:ri,popupStyle:Fn,prefixCls:ur,dropdownClassName:wr,dropdownAlign:rn,getPopupContainer:ya,transitionName:Bn,popupPlacement:no,direction:ro},s.createElement("div",{className:T()(ur,dn,(qt={},Object(U.a)(qt,"".concat(ur,"-disabled"),Bi),Object(U.a)(qt,"".concat(ur,"-focused"),on),Object(U.a)(qt,"".concat(ur,"-rtl"),ro==="rtl"),qt)),style:sr,onMouseDown:So,onMouseUp:We,onMouseEnter:Ua,onMouseLeave:aa,onContextMenu:lo,onClick:Qo},s.createElement("div",{className:T()("".concat(ur,"-input"),Object(U.a)({},"".concat(ur,"-input-placeholder"),!!Go)),ref:Wr},s.createElement("input",Object.assign({id:$r,tabIndex:Er,disabled:Bi,readOnly:Mn||!Dn,value:Go||Po,onChange:function(Ha){Zo(Ha.target.value)},autoFocus:Vn,placeholder:Fa,ref:go,title:Po},Or,{size:Ne(Ai,Io[0])},Ht(at),{autoComplete:co})),wi,Gi))))}var Ei=function(at){Object(z.a)(pr,at);var qt=Object(M.a)(pr);function pr(){var ur;return Object(B.a)(this,pr),ur=qt.apply(this,arguments),ur.pickerRef=s.createRef(),ur.focus=function(){ur.pickerRef.current&&ur.pickerRef.current.focus()},ur.blur=function(){ur.pickerRef.current&&ur.pickerRef.current.blur()},ur}return Object(j.a)(pr,[{key:"render",value:function(){return s.createElement(xi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),pr}(s.Component),di=Ei;function pi(at,qt,pr){var ur=at.picker,$r=at.locale,Er=at.selectedValue,sr=at.disabledDate,dn=at.disabled,wr=at.generateConfig,rn=tt(Er,0),Fn=tt(Er,1);function Bn(Vn){var si=wr.getYear(Vn),Jn=wr.locale.getWeek($r.locale,Vn);return si*100+Jn}function Tn(Vn){var si=wr.getYear(Vn),Jn=wr.getMonth(Vn);return si*100+Jn}function Kn(Vn){var si=wr.getYear(Vn),Jn=Rt(wr,Vn);return si*10+Jn}var Mn=s.useCallback(function(Vn){if(sr&&sr(Vn))return!0;if(dn[1]&&Fn)return!Jt(wr,Vn,Fn)&&wr.isAfter(Vn,Fn);if(qt&&Fn)switch(ur){case"quarter":return Kn(Vn)>Kn(Fn);case"month":return Tn(Vn)>Tn(Fn);case"week":return Bn(Vn)>Bn(Fn);default:return!Jt(wr,Vn,Fn)&&wr.isAfter(Vn,Fn)}return!1},[sr,dn[1],Fn,qt]),Un=s.useCallback(function(Vn){if(sr&&sr(Vn))return!0;if(dn[0]&&rn)return!Jt(wr,Vn,Fn)&&wr.isAfter(rn,Vn);if(pr&&rn)switch(ur){case"quarter":return Kn(Vn)<Kn(rn);case"month":return Tn(Vn)<Tn(rn);case"week":return Bn(Vn)<Bn(rn);default:return!Jt(wr,Vn,rn)&&wr.isAfter(rn,Vn)}return!1},[sr,dn[0],rn,pr]);return[Mn,Un]}function _i(at,qt,pr,ur){var $r=Je(at,pr,ur,1);function Er(sr){return sr(at,qt)?"same":sr($r,qt)?"closing":"far"}switch(pr){case"year":return Er(function(sr,dn){return bt(ur,sr,dn)});case"quarter":case"month":return Er(function(sr,dn){return nt(ur,sr,dn)});default:return Er(function(sr,dn){return Fr(ur,sr,dn)})}}function Ri(at,qt,pr,ur){var $r=tt(at,0),Er=tt(at,1);if(qt===0)return $r;if($r&&Er){var sr=_i($r,Er,pr,ur);switch(sr){case"same":return $r;case"closing":return $r;default:return Je(Er,pr,ur,-1)}}return $r}function Vi(at){var qt=at.values,pr=at.picker,ur=at.defaultDates,$r=at.generateConfig,Er=s.useState(function(){return[tt(ur,0),tt(ur,1)]}),sr=Object(H.a)(Er,2),dn=sr[0],wr=sr[1],rn=s.useState(null),Fn=Object(H.a)(rn,2),Bn=Fn[0],Tn=Fn[1],Kn=tt(qt,0),Mn=tt(qt,1);function Un(si){return dn[si]?dn[si]:tt(Bn,si)||Ri(qt,si,pr,$r)||Kn||Mn||$r.getNow()}function Vn(si,Jn){if(si){var Ai=Mt(Bn,si,Jn);wr(Mt(dn,null,Jn)||[null,null]);var Ji=(Jn+1)%2;tt(qt,Ji)||(Ai=Mt(Ai,si,Ji)),Tn(Ai)}else(Kn||Mn)&&Tn(null)}return[Un,Vn]}function Ii(at,qt){return at&&at[0]&&at[1]&&qt.isAfter(at[0],at[1])?[at[1],at[0]]:at}function ba(at,qt,pr,ur){return at||ur&&ur[qt]?!0:!!pr[(qt+1)%2]}function ga(at){var qt,pr,ur,$r=at.prefixCls,Er=$r===void 0?"rc-picker":$r,sr=at.id,dn=at.style,wr=at.className,rn=at.popupStyle,Fn=at.dropdownClassName,Bn=at.transitionName,Tn=at.dropdownAlign,Kn=at.getPopupContainer,Mn=at.generateConfig,Un=at.locale,Vn=at.placeholder,si=at.autoFocus,Jn=at.disabled,Ai=at.format,Ji=at.picker,Oi=Ji===void 0?"date":Ji,Mi=at.showTime,Li=at.use12Hours,Ki=at.separator,so=Ki===void 0?"~":Ki,Pa=at.value,Xi=at.defaultValue,yi=at.defaultPickerValue,Bi=at.open,Zi=at.defaultOpen,Fa=at.disabledDate,ya=at.disabledTime,ja=at.dateRender,Wa=at.panelRender,wo=at.ranges,Do=at.allowEmpty,es=at.allowClear,To=at.suffixIcon,So=at.clearIcon,Ia=at.pickerRef,Ua=at.inputReadOnly,aa=at.mode,lo=at.renderExtraFooter,Qo=at.onChange,ro=at.onOpenChange,us=at.onPanelChange,co=at.onCalendarChange,go=at.onFocus,$o=at.onBlur,Io=at.onOk,Bo=at.components,Wr=at.order,hi=at.direction,Ds=at.activePickerIndex,ds=at.autoComplete,ts=ds===void 0?"off":ds,Ro=Oi==="date"&&!!Mi||Oi==="time",is=Object(s.useRef)({}),vs=Object(s.useRef)(null),Yo=Object(s.useRef)(null),Vo=Object(s.useRef)(null),rs=Object(s.useRef)(null),hs=Object(s.useRef)(null),as=Object(s.useRef)(null),io=Object(s.useRef)(null),Ga=Me(mt(Ai,Oi,Mi,Li)),Xo=Object(W.a)(0,{value:Ds}),Ho=Object(H.a)(Xo,2),Ra=Ho[0],Oo=Ho[1],xs=Object(s.useRef)(null),Po=s.useMemo(function(){return Array.isArray(Jn)?Jn:[Jn||!1,Jn||!1]},[Jn]),Zo=Object(W.a)(null,{value:Pa,defaultValue:Xi,postState:function(ua){return Oi==="time"&&!Wr?ua:Ii(ua,Mn)}}),Vt=Object(H.a)(Zo,2),re=Vt[0],ve=Vt[1],Se=Vi({values:re,picker:Oi,defaultDates:yi,generateConfig:Mn}),We=Object(H.a)(Se,2),xt=We[0],Qt=We[1],Or=Object(W.a)(re,{postState:function(ua){var eo=ua;if(Po[0]&&Po[1])return eo;for(var No=0;No<2;No+=1)Po[No]&&!tt(eo,No)&&!tt(Do,No)&&(eo=Mt(eo,Mn.getNow(),No));return eo}}),Ur=Object(H.a)(Or,2),on=Ur[0],Dn=Ur[1],Hn=Object(W.a)([Oi,Oi],{value:aa}),jn=Object(H.a)(Hn,2),ri=jn[0],wi=jn[1];Object(s.useEffect)(function(){wi([Oi,Oi])},[Oi]);var Gi=function(ua,eo){wi(ua),us&&us(eo,ua)},xa=pi({picker:Oi,selectedValue:on,locale:Un,disabled:Po,disabledDate:Fa,generateConfig:Mn},is.current[1],is.current[0]),no=Object(H.a)(xa,2),uo=no[0],Ja=no[1],Go=Object(W.a)(!1,{value:Bi,defaultValue:Zi,postState:function(ua){return Po[Ra]?!1:ua},onChange:function(ua){ro&&ro(ua),!ua&&xs.current&&xs.current.onClose&&xs.current.onClose()}}),_o=Object(H.a)(Go,2),xo=_o[0],Na=_o[1],Ha=xo&&Ra===0,ns=xo&&Ra===1,ps=Object(s.useState)(0),Wo=Object(H.a)(ps,2),Cs=Wo[0],Ts=Wo[1];Object(s.useEffect)(function(){!xo&&vs.current&&Ts(vs.current.offsetWidth)},[xo]);var Os=s.useRef();function Mo(bo,ua){if(bo)clearTimeout(Os.current),is.current[ua]=!0,Oo(ua),Na(bo),xo||Qt(null,ua);else if(Ra===ua){Na(bo);var eo=is.current;Os.current=setTimeout(function(){eo===is.current&&(is.current={})})}}function Ps(bo){Mo(!0,bo),setTimeout(function(){var ua=[as,io][bo];ua.current&&ua.current.focus()},0)}function ms(bo,ua){var eo=bo,No=tt(eo,0),bs=tt(eo,1);No&&bs&&Mn.isAfter(No,bs)&&(Oi==="week"&&!ye(Mn,Un.locale,No,bs)||Oi==="quarter"&&!zt(Mn,No,bs)||Oi!=="week"&&Oi!=="quarter"&&Oi!=="time"&&!Jt(Mn,No,bs)?(ua===0?(eo=[No,null],bs=null):(No=null,eo=[null,bs]),is.current=Object(U.a)({},ua,!0)):(Oi!=="time"||Wr!==!1)&&(eo=Ii(eo,Mn))),Dn(eo);var gl=eo&&eo[0]?Mn.locale.format(Un.locale,eo[0],Ga[0]):"",cl=eo&&eo[1]?Mn.locale.format(Un.locale,eo[1],Ga[0]):"";if(co){var Ys={range:ua===0?"start":"end"};co(eo,[gl,cl],Ys)}var el=ba(No,0,Po,Do),dl=ba(bs,1,Po,Do),Al=eo===null||el&&dl;Al&&(ve(eo),Qo&&(!Le(Mn,tt(re,0),No)||!Le(Mn,tt(re,1),bs))&&Qo(eo,[gl,cl]));var Ls=null;ua===0&&!Po[1]?Ls=1:ua===1&&!Po[0]&&(Ls=0),Ls!==null&&Ls!==Ra&&(!is.current[Ls]||!tt(eo,Ls))&&tt(eo,ua)?Ps(Ls):Mo(!1,ua)}var wl=function(ua){return xo&&xs.current&&xs.current.onKeyDown?xs.current.onKeyDown(ua):(Object(x.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},El={formatList:Ga,generateConfig:Mn,locale:Un},Qs=Ci(tt(on,0),El),os=Object(H.a)(Qs,2),Qi=os[0],nl=os[1],sl=Ci(tt(on,1),El),po=Object(H.a)(sl,2),Ca=po[0],Eo=po[1],ko=function(ua,eo){var No=Mn.locale.parse(Un.locale,ua,Ga),bs=eo===0?uo:Ja;No&&!bs(No)&&(Dn(Mt(on,No,eo)),Qt(No,eo))},Ko=Qn({valueTexts:Qi,onTextChange:function(ua){return ko(ua,0)}}),Ao=Object(H.a)(Ko,3),ss=Ao[0],ys=Ao[1],Rs=Ao[2],Us=Qn({valueTexts:Ca,onTextChange:function(ua){return ko(ua,1)}}),Ws=Object(H.a)(Us,3),hl=Ws[0],ll=Ws[1],zl=Ws[2],pu=Object(s.useState)(null),Bl=Object(H.a)(pu,2),Pl=Bl[0],ul=Bl[1],Cl=Object(s.useState)(null),Tl=Object(H.a)(Cl,2),Sl=Tl[0],mu=Tl[1],gu=vi(ss,{formatList:Ga,generateConfig:Mn,locale:Un}),js=Object(H.a)(gu,3),fl=js[0],Ol=js[1],Au=js[2],vu=vi(hl,{formatList:Ga,generateConfig:Mn,locale:Un}),nu=Object(H.a)(vu,3),yu=nu[0],_l=nu[1],Hs=nu[2],Vl=function(ua){mu(Mt(on,ua,Ra)),Ra===0?Ol(ua):_l(ua)},iu=function(){mu(Mt(on,null,Ra)),Ra===0?Au():Hs()},Xl=function(ua,eo){return{blurToCancel:Ro,forwardKeyDown:wl,onBlur:$o,isClickOutside:function(bs){return!he([Yo.current,Vo.current,rs.current],bs)},onFocus:function(bs){Oo(ua),go&&go(bs)},triggerOpen:function(bs){Mo(bs,ua)},onSubmit:function(){ms(on,ua),eo()},onCancel:function(){Mo(!1,ua),Dn(re),eo()}}},bu=ti(Object(P.a)(Object(P.a)({},Xl(0,Rs)),{},{open:Ha,value:ss})),Gl=Object(H.a)(bu,2),au=Gl[0],Ll=Gl[1],ou=Ll.focused,Ul=Ll.typing,wu=ti(Object(P.a)(Object(P.a)({},Xl(1,zl)),{},{open:ns,value:hl})),il=Object(H.a)(wu,2),Il=il[0],xl=il[1],Nl=xl.focused,al=xl.typing,Nu=function(ua){!xo&&!as.current.contains(ua.target)&&!io.current.contains(ua.target)&&(Po[0]?Po[1]||Ps(1):Ps(0))},zs=function(ua){xo&&(ou||Nl)&&!as.current.contains(ua.target)&&!io.current.contains(ua.target)&&ua.preventDefault()},$s=re&&re[0]?Mn.locale.format(Un.locale,re[0],"YYYYMMDDHHmmss"):"",jl=re&&re[1]?Mn.locale.format(Un.locale,re[1],"YYYYMMDDHHmmss"):"";Object(s.useEffect)(function(){xo||(Dn(re),!Qi.length||Qi[0]===""?ys(""):nl!==ss&&Rs(),!Ca.length||Ca[0]===""?ll(""):Eo!==hl&&zl())},[xo,Qi,Ca]),Object(s.useEffect)(function(){Dn(re)},[$s,jl]),Ia&&(Ia.current={focus:function(){as.current&&as.current.focus()},blur:function(){as.current&&as.current.blur(),io.current&&io.current.blur()}});var Su=Object.keys(wo||{}),Ql=Su.map(function(bo){var ua=wo[bo],eo=typeof ua=="function"?ua():ua;return{label:bo,onClick:function(){ms(eo,null),Mo(!1,Ra)},onMouseEnter:function(){ul(eo)},onMouseLeave:function(){ul(null)}}});function pl(){var bo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ua=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},eo=null;xo&&Sl&&Sl[0]&&Sl[1]&&Mn.isAfter(Sl[1],Sl[0])&&(eo=Sl);var No=Mi;if(Mi&&Object(X.a)(Mi)==="object"&&Mi.defaultValue){var bs=Mi.defaultValue;No=Object(P.a)(Object(P.a)({},Mi),{},{defaultValue:tt(bs,Ra)||void 0})}var gl=null;return ja&&(gl=function(Ys,el){return ja(Ys,el,{range:Ra?"end":"start"})}),s.createElement(vt.Provider,{value:{inRange:!0,panelPosition:bo,rangedValue:Pl||on,hoverRangedValue:eo}},s.createElement(Xr,Object.assign({},at,ua,{dateRender:gl,showTime:No,mode:ri[Ra],generateConfig:Mn,style:void 0,direction:hi,disabledDate:Ra===0?uo:Ja,disabledTime:function(Ys){return ya?ya(Ys,Ra===0?"start":"end"):!1},className:T()(Object(U.a)({},"".concat(Er,"-panel-focused"),Ra===0?!Ul:!al)),value:tt(on,Ra),locale:Un,tabIndex:-1,onPanelChange:function(Ys,el){Gi(Mt(ri,el,Ra),Mt(on,Ys,Ra));var dl=Ys;bo==="right"&&ri[Ra]===el&&(dl=Je(dl,el,Mn,-1)),Qt(dl,Ra)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Js=0,Yl=0;Ra&&Vo.current&&hs.current&&Yo.current&&(Js=Vo.current.offsetWidth+hs.current.offsetWidth,Yo.current.offsetWidth&&Js>Yo.current.offsetWidth&&(Yl=Js));var su=hi==="rtl"?{right:Js}:{left:Js};function lu(){var bo,ua=An(Er,ri[Ra],lo),eo=mi({prefixCls:Er,components:Bo,needConfirmButton:Ro,okDisabled:!tt(on,Ra)||Fa&&Fa(on[Ra]),locale:Un,rangeList:Ql,onOk:function(){tt(on,Ra)&&(ms(on,Ra),Io&&Io(on))}});if(Oi!=="time"&&!Mi){var No=xt(Ra),bs=Je(No,Oi,Mn),gl=ri[Ra],cl=gl===Oi,Ys=pl(cl?"left":!1,{pickerValue:No,onPickerValueChange:function(Ls){Qt(Ls,Ra)}}),el=pl("right",{pickerValue:bs,onPickerValueChange:function(Ls){Qt(Je(Ls,Oi,Mn,-1),Ra)}});hi==="rtl"?bo=s.createElement(s.Fragment,null,el,cl&&Ys):bo=s.createElement(s.Fragment,null,Ys,cl&&el)}else bo=pl();var dl=s.createElement(s.Fragment,null,s.createElement("div",{className:"".concat(Er,"-panels")},bo),(ua||eo)&&s.createElement("div",{className:"".concat(Er,"-footer")},ua,eo));return Wa&&(dl=Wa(dl)),s.createElement("div",{className:"".concat(Er,"-panel-container"),style:{marginLeft:Yl},ref:Yo,onMouseDown:function(Ls){Ls.preventDefault()}},dl)}var uu=s.createElement("div",{className:T()("".concat(Er,"-range-wrapper"),"".concat(Er,"-").concat(Oi,"-range-wrapper")),style:{minWidth:Cs}},s.createElement("div",{className:"".concat(Er,"-range-arrow"),style:su}),lu()),ml;To&&(ml=s.createElement("span",{className:"".concat(Er,"-suffix")},To));var Hl;es&&(tt(re,0)&&!Po[0]||tt(re,1)&&!Po[1])&&(Hl=s.createElement("span",{onMouseDown:function(ua){ua.preventDefault(),ua.stopPropagation()},onMouseUp:function(ua){ua.preventDefault(),ua.stopPropagation();var eo=re;Po[0]||(eo=Mt(eo,null,0)),Po[1]||(eo=Mt(eo,null,1)),ms(eo,null),Mo(!1,Ra)},className:"".concat(Er,"-clear")},So||s.createElement("span",{className:"".concat(Er,"-clear-btn")})));var Dl={size:Ne(Oi,Ga[0])},Kl=0,Es=0;Vo.current&&rs.current&&hs.current&&(Ra===0?Es=Vo.current.offsetWidth:(Kl=Js,Es=rs.current.offsetWidth));var Wl=hi==="rtl"?{right:Kl}:{left:Kl},Du=function(ua,eo){var No=Mt(on,ua,Ra);eo==="submit"||eo!=="key"&&!Ro?(ms(No,Ra),Ra===0?Au():Hs()):Dn(No)};return s.createElement(ie.Provider,{value:{operationRef:xs,hideHeader:Oi==="time",onDateMouseEnter:Vl,onDateMouseLeave:iu,hideRanges:!0,onSelect:Du,open:xo}},s.createElement(ui,{visible:xo,popupElement:uu,popupStyle:rn,prefixCls:Er,dropdownClassName:Fn,dropdownAlign:Tn,getPopupContainer:Kn,transitionName:Bn,range:!0,direction:hi},s.createElement("div",Object.assign({ref:vs,className:T()(Er,"".concat(Er,"-range"),wr,(qt={},Object(U.a)(qt,"".concat(Er,"-disabled"),Po[0]&&Po[1]),Object(U.a)(qt,"".concat(Er,"-focused"),Ra===0?ou:Nl),Object(U.a)(qt,"".concat(Er,"-rtl"),hi==="rtl"),qt)),style:dn,onClick:Nu,onMouseDown:zs},Ht(at)),s.createElement("div",{className:T()("".concat(Er,"-input"),(pr={},Object(U.a)(pr,"".concat(Er,"-input-active"),Ra===0),Object(U.a)(pr,"".concat(Er,"-input-placeholder"),!!fl),pr)),ref:Vo},s.createElement("input",Object.assign({id:sr,disabled:Po[0],readOnly:Ua||!Ul,value:fl||ss,onChange:function(ua){ys(ua.target.value)},autoFocus:si,placeholder:tt(Vn,0)||"",ref:as},au,Dl,{autoComplete:ts}))),s.createElement("div",{className:"".concat(Er,"-range-separator"),ref:hs},so),s.createElement("div",{className:T()("".concat(Er,"-input"),(ur={},Object(U.a)(ur,"".concat(Er,"-input-active"),Ra===1),Object(U.a)(ur,"".concat(Er,"-input-placeholder"),!!yu),ur)),ref:rs},s.createElement("input",Object.assign({disabled:Po[1],readOnly:Ua||!al,value:yu||hl,onChange:function(ua){ll(ua.target.value)},placeholder:tt(Vn,1)||"",ref:io},Il,Dl,{autoComplete:ts}))),s.createElement("div",{className:"".concat(Er,"-active-bar"),style:Object(P.a)(Object(P.a)({},Wl),{},{width:Es,position:"absolute"})}),ml,Hl)))}var Aa=function(at){Object(z.a)(pr,at);var qt=Object(M.a)(pr);function pr(){var ur;return Object(B.a)(this,pr),ur=qt.apply(this,arguments),ur.pickerRef=s.createRef(),ur.focus=function(){ur.pickerRef.current&&ur.pickerRef.current.focus()},ur.blur=function(){ur.pickerRef.current&&ur.pickerRef.current.blur()},ur}return Object(j.a)(pr,[{key:"render",value:function(){return s.createElement(ga,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),pr}(s.Component),ha=Aa,vo=di,la=e("61s2");function Ba(at,qt,pr){return pr!==void 0?pr:at==="year"&&qt.lang.yearPlaceholder?qt.lang.yearPlaceholder:at==="quarter"&&qt.lang.quarterPlaceholder?qt.lang.quarterPlaceholder:at==="month"&&qt.lang.monthPlaceholder?qt.lang.monthPlaceholder:at==="week"&&qt.lang.weekPlaceholder?qt.lang.weekPlaceholder:at==="time"&&qt.timePickerLocale.placeholder?qt.timePickerLocale.placeholder:qt.lang.placeholder}function pa(at,qt,pr){return pr!==void 0?pr:at==="year"&&qt.lang.yearPlaceholder?qt.lang.rangeYearPlaceholder:at==="month"&&qt.lang.monthPlaceholder?qt.lang.rangeMonthPlaceholder:at==="week"&&qt.lang.weekPlaceholder?qt.lang.rangeWeekPlaceholder:at==="time"&&qt.timePickerLocale.placeholder?qt.timePickerLocale.rangePlaceholder:qt.lang.rangePlaceholder}var to=e("uaoM"),qa=e("H84U"),Yi=e("YMnH"),oo=e("3Nzz"),Ya=function(at,qt){var pr={};for(var ur in at)Object.prototype.hasOwnProperty.call(at,ur)&&qt.indexOf(ur)<0&&(pr[ur]=at[ur]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $r=0,ur=Object.getOwnPropertySymbols(at);$r<ur.length;$r++)qt.indexOf(ur[$r])<0&&Object.prototype.propertyIsEnumerable.call(at,ur[$r])&&(pr[ur[$r]]=at[ur[$r]]);return pr};function wa(at){function qt(wr,rn){var Fn=function(Bn){E()(Kn,Bn);var Tn=w()(Kn);function Kn(Mn){var Un;return u()(this,Kn),Un=Tn.call(this,Mn),Un.pickerRef=s.createRef(),Un.focus=function(){Un.pickerRef.current&&Un.pickerRef.current.focus()},Un.blur=function(){Un.pickerRef.current&&Un.pickerRef.current.blur()},Un.getDefaultLocale=function(){var Vn=Un.props.locale,si=c()(c()({},la.a),Vn);return si.lang=c()(c()({},si.lang),(Vn||{}).lang),si},Un.renderPicker=function(Vn){var si=Un.context,Jn=si.getPrefixCls,Ai=si.direction,Ji=si.getPopupContainer,Oi=Un.props,Mi=Oi.prefixCls,Li=Oi.getPopupContainer,Ki=Oi.className,so=Oi.size,Pa=Oi.bordered,Xi=Pa===void 0?!0:Pa,yi=Oi.placeholder,Bi=Ya(Oi,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Zi=Un.props,Fa=Zi.format,ya=Zi.showTime,ja=Jn("picker",Mi),Wa={showToday:!0},wo={};wr&&(wo.picker=wr);var Do=wr||Un.props.picker;return wo=c()(c()(c()({},wo),ya?Hi(c()({format:Fa,picker:Do},ya)):{}),Do==="time"?Hi(c()(c()({format:Fa},Un.props),{picker:Do})):{}),s.createElement(oo.b.Consumer,null,function(es){var To,So=so||es;return s.createElement(vo,c()({ref:Un.pickerRef,placeholder:Ba(Do,Vn,yi),suffixIcon:Do==="time"?s.createElement(I.a,null):s.createElement(C.a,null),clearIcon:s.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Wa,Bi,wo,{locale:Vn.lang,className:T()(Ki,(To={},r()(To,"".concat(ja,"-").concat(So),So),r()(To,"".concat(ja,"-borderless"),!Xi),To)),prefixCls:ja,getPopupContainer:Li||Ji,generateConfig:at,prevIcon:s.createElement("span",{className:"".concat(ja,"-prev-icon")}),nextIcon:s.createElement("span",{className:"".concat(ja,"-next-icon")}),superPrevIcon:s.createElement("span",{className:"".concat(ja,"-super-prev-icon")}),superNextIcon:s.createElement("span",{className:"".concat(ja,"-super-next-icon")}),components:yo,direction:Ai}))})},Object(to.a)(wr!=="quarter",rn,"DatePicker.".concat(rn," is legacy usage. Please use DatePicker[picker='").concat(wr,"'] directly.")),Un}return y()(Kn,[{key:"render",value:function(){return s.createElement(Yi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Kn}(s.Component);return Fn.contextType=qa.b,rn&&(Fn.displayName=rn),Fn}var pr=qt(),ur=qt("week","WeekPicker"),$r=qt("month","MonthPicker"),Er=qt("year","YearPicker"),sr=qt("time","TimePicker"),dn=qt("quarter","QuarterPicker");return{DatePicker:pr,WeekPicker:ur,MonthPicker:$r,YearPicker:Er,TimePicker:sr,QuarterPicker:dn}}var $a=e("8ISB"),Fi=e.n($a),Sa=function(at,qt){var pr={};for(var ur in at)Object.prototype.hasOwnProperty.call(at,ur)&&qt.indexOf(ur)<0&&(pr[ur]=at[ur]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $r=0,ur=Object.getOwnPropertySymbols(at);$r<ur.length;$r++)qt.indexOf(ur[$r])<0&&Object.prototype.propertyIsEnumerable.call(at,ur[$r])&&(pr[ur[$r]]=at[ur[$r]]);return pr};function Ea(at){var qt=function(pr){E()($r,pr);var ur=w()($r);function $r(){var Er;return u()(this,$r),Er=ur.apply(this,arguments),Er.pickerRef=s.createRef(),Er.focus=function(){Er.pickerRef.current&&Er.pickerRef.current.focus()},Er.blur=function(){Er.pickerRef.current&&Er.pickerRef.current.blur()},Er.getDefaultLocale=function(){var sr=Er.props.locale,dn=c()(c()({},la.a),sr);return dn.lang=c()(c()({},dn.lang),(sr||{}).lang),dn},Er.renderPicker=function(sr){var dn=Er.context,wr=dn.getPrefixCls,rn=dn.direction,Fn=dn.getPopupContainer,Bn=Er.props,Tn=Bn.prefixCls,Kn=Bn.getPopupContainer,Mn=Bn.className,Un=Bn.size,Vn=Bn.bordered,si=Vn===void 0?!0:Vn,Jn=Bn.placeholder,Ai=Sa(Bn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Ji=Er.props,Oi=Ji.format,Mi=Ji.showTime,Li=Ji.picker,Ki=wr("picker",Tn),so={};return so=c()(c()(c()({},so),Mi?Hi(c()({format:Oi,picker:Li},Mi)):{}),Li==="time"?Hi(c()(c()({format:Oi},Er.props),{picker:Li})):{}),s.createElement(oo.b.Consumer,null,function(Pa){var Xi,yi=Un||Pa;return s.createElement(ha,c()({separator:s.createElement("span",{"aria-label":"to",className:"".concat(Ki,"-separator")},s.createElement(Fi.a,null)),ref:Er.pickerRef,placeholder:pa(Li,sr,Jn),suffixIcon:Li==="time"?s.createElement(I.a,null):s.createElement(C.a,null),clearIcon:s.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Ai,so,{className:T()(Mn,(Xi={},r()(Xi,"".concat(Ki,"-").concat(yi),yi),r()(Xi,"".concat(Ki,"-borderless"),!si),Xi)),locale:sr.lang,prefixCls:Ki,getPopupContainer:Kn||Fn,generateConfig:at,prevIcon:s.createElement("span",{className:"".concat(Ki,"-prev-icon")}),nextIcon:s.createElement("span",{className:"".concat(Ki,"-next-icon")}),superPrevIcon:s.createElement("span",{className:"".concat(Ki,"-super-prev-icon")}),superNextIcon:s.createElement("span",{className:"".concat(Ki,"-super-next-icon")}),components:yo,direction:rn}))})},Er}return y()($r,[{key:"render",value:function(){return s.createElement(Yi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),$r}(s.Component);return qt.contextType=qa.b,qt}var yo={button:i,rangeItem:t};function _a(at){return at?Array.isArray(at)?at:[at]:[]}function Hi(at){var qt=at.format,pr=at.picker,ur=at.showHour,$r=at.showMinute,Er=at.showSecond,sr=at.use12Hours,dn=_a(qt)[0],wr=c()({},at);return dn&&(!dn.includes("s")&&Er===void 0&&(wr.showSecond=!1),!dn.includes("m")&&$r===void 0&&(wr.showMinute=!1),!dn.includes("H")&&!dn.includes("h")&&ur===void 0&&(wr.showHour=!1),(dn.includes("a")||dn.includes("A"))&&sr===void 0&&(wr.use12Hours=!0)),pr==="time"?wr:{showTime:wr}}function Xa(at){var qt=wa(at),pr=qt.DatePicker,ur=qt.WeekPicker,$r=qt.MonthPicker,Er=qt.YearPicker,sr=qt.TimePicker,dn=qt.QuarterPicker,wr=Ea(at),rn=pr;return rn.WeekPicker=ur,rn.MonthPicker=$r,rn.YearPicker=Er,rn.RangePicker=wr,rn.TimePicker=sr,rn.QuarterPicker=dn,rn}var Da=Xa,va=Da(g),Di=N.a=va},"+lIL":function(R,N,e){var A=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),x=e("7Phj");A.registerVisual(f),A.registerLayout(x)},"+nKL":function(R,N,e){"use strict";var A=e("q1tI"),f=e("TSYQ"),x=e.n(f),m=e("t23M");function g(G,Y){var Pe=Object.keys(G);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(G);Y&&(Be=Be.filter(function(J){return Object.getOwnPropertyDescriptor(G,J).enumerable})),Pe.push.apply(Pe,Be)}return Pe}function p(G){for(var Y=1;Y<arguments.length;Y++){var Pe=arguments[Y]!=null?arguments[Y]:{};Y%2?g(Object(Pe),!0).forEach(function(Be){c(G,Be,Pe[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(Pe)):g(Object(Pe)).forEach(function(Be){Object.defineProperty(G,Be,Object.getOwnPropertyDescriptor(Pe,Be))})}return G}function c(G,Y,Pe){return Y in G?Object.defineProperty(G,Y,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):G[Y]=Pe,G}var s=A.forwardRef(function(G,Y){var Pe=G.height,Be=G.offset,J=G.children,St=G.prefixCls,bt=G.onInnerResize,nt={},Rt={display:"flex",flexDirection:"column"};return Be!==void 0&&(nt={height:Pe,position:"relative",overflow:"hidden"},Rt=p(p({},Rt),{},{transform:"translateY(".concat(Be,"px)"),position:"absolute",left:0,right:0,top:0})),A.createElement("div",{style:nt},A.createElement(m.a,{onResize:function(Fr){var Jt=Fr.offsetHeight;Jt&&bt&&bt()}},A.createElement("div",{style:Rt,className:x()(c({},"".concat(St,"-holder-inner"),St)),ref:Y},J)))});s.displayName="Filler";var a=s,n=e("wgJM");function i(G){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(Pe){return typeof Pe}:i=function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},i(G)}function d(G,Y,Pe){return Y in G?Object.defineProperty(G,Y,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):G[Y]=Pe,G}function t(G,Y){if(!(G instanceof Y))throw new TypeError("Cannot call a class as a function")}function l(G,Y){for(var Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(G,Be.key,Be)}}function r(G,Y,Pe){return Y&&l(G.prototype,Y),Pe&&l(G,Pe),G}function o(G,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(Y&&Y.prototype,{constructor:{value:G,writable:!0,configurable:!0}}),Y&&u(G,Y)}function u(G,Y){return u=Object.setPrototypeOf||function(Be,J){return Be.__proto__=J,Be},u(G,Y)}function h(G){var Y=E();return function(){var Be=v(G),J;if(Y){var St=v(this).constructor;J=Reflect.construct(Be,arguments,St)}else J=Be.apply(this,arguments);return y(this,J)}}function y(G,Y){return Y&&(i(Y)==="object"||typeof Y=="function")?Y:b(G)}function b(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(G){return!1}}function v(G){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},v(G)}var w=20;function O(G){return"touches"in G?G.touches[0].pageY:G.pageY}var T=function(G){o(Pe,G);var Y=h(Pe);function Pe(){var Be;t(this,Pe);for(var J=arguments.length,St=new Array(J),bt=0;bt<J;bt++)St[bt]=arguments[bt];return Be=Y.call.apply(Y,[this].concat(St)),Be.moveRaf=null,Be.scrollbarRef=A.createRef(),Be.thumbRef=A.createRef(),Be.visibleTimeout=null,Be.state={dragging:!1,pageY:null,startTop:null,visible:!1},Be.delayHidden=function(){clearTimeout(Be.visibleTimeout),Be.setState({visible:!0}),Be.visibleTimeout=setTimeout(function(){Be.setState({visible:!1})},2e3)},Be.onScrollbarTouchStart=function(nt){nt.preventDefault()},Be.onContainerMouseDown=function(nt){nt.stopPropagation(),nt.preventDefault()},Be.patchEvents=function(){window.addEventListener("mousemove",Be.onMouseMove),window.addEventListener("mouseup",Be.onMouseUp),Be.thumbRef.current.addEventListener("touchmove",Be.onMouseMove),Be.thumbRef.current.addEventListener("touchend",Be.onMouseUp)},Be.removeEvents=function(){window.removeEventListener("mousemove",Be.onMouseMove),window.removeEventListener("mouseup",Be.onMouseUp),Be.scrollbarRef.current.removeEventListener("touchstart",Be.onScrollbarTouchStart),Be.thumbRef.current.removeEventListener("touchstart",Be.onMouseDown),Be.thumbRef.current.removeEventListener("touchmove",Be.onMouseMove),Be.thumbRef.current.removeEventListener("touchend",Be.onMouseUp),n.a.cancel(Be.moveRaf)},Be.onMouseDown=function(nt){var Rt=Be.props.onStartMove;Be.setState({dragging:!0,pageY:O(nt),startTop:Be.getTop()}),Rt(),Be.patchEvents(),nt.stopPropagation(),nt.preventDefault()},Be.onMouseMove=function(nt){var Rt=Be.state,zt=Rt.dragging,Fr=Rt.pageY,Jt=Rt.startTop,ge=Be.props.onScroll;if(n.a.cancel(Be.moveRaf),zt){var ye=O(nt)-Fr,Le=Jt+ye,we=Be.getEnableScrollRange(),Ke=Be.getEnableHeightRange(),Je=Ke?Le/Ke:0,ut=Math.ceil(Je*we);Be.moveRaf=Object(n.a)(function(){ge(ut)})}},Be.onMouseUp=function(){var nt=Be.props.onStopMove;Be.setState({dragging:!1}),nt(),Be.removeEvents()},Be.getSpinHeight=function(){var nt=Be.props,Rt=nt.height,zt=nt.count,Fr=Rt/zt*10;return Fr=Math.max(Fr,w),Fr=Math.min(Fr,Rt/2),Math.floor(Fr)},Be.getEnableScrollRange=function(){var nt=Be.props,Rt=nt.scrollHeight,zt=nt.height;return Rt-zt||0},Be.getEnableHeightRange=function(){var nt=Be.props.height,Rt=Be.getSpinHeight();return nt-Rt||0},Be.getTop=function(){var nt=Be.props.scrollTop,Rt=Be.getEnableScrollRange(),zt=Be.getEnableHeightRange();if(nt===0||Rt===0)return 0;var Fr=nt/Rt;return Fr*zt},Be.showScroll=function(){var nt=Be.props,Rt=nt.height,zt=nt.scrollHeight;return zt>Rt},Be}return r(Pe,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(J){J.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var J=this.state,St=J.dragging,bt=J.visible,nt=this.props.prefixCls,Rt=this.getSpinHeight(),zt=this.getTop(),Fr=this.showScroll(),Jt=Fr&&bt;return A.createElement("div",{ref:this.scrollbarRef,className:x()("".concat(nt,"-scrollbar"),d({},"".concat(nt,"-scrollbar-show"),Fr)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Jt?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},A.createElement("div",{ref:this.thumbRef,className:x()("".concat(nt,"-scrollbar-thumb"),d({},"".concat(nt,"-scrollbar-thumb-moving"),St)),style:{width:"100%",height:Rt,top:zt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Pe}(A.Component);function S(G){var Y=G.children,Pe=G.setRef,Be=A.useCallback(function(J){Pe(J)},[]);return A.cloneElement(Y,{ref:Be})}function C(G,Y,Pe,Be,J,St){var bt=St.getKey;return G.slice(Y,Pe+1).map(function(nt,Rt){var zt=Y+Rt,Fr=J(nt,zt,{}),Jt=bt(nt);return A.createElement(S,{key:Jt,setRef:function(ye){return Be(nt,ye)}},Fr)})}var _=e("m+aA");function I(G,Y){if(!(G instanceof Y))throw new TypeError("Cannot call a class as a function")}function k(G,Y){for(var Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(G,Be.key,Be)}}function F(G,Y,Pe){return Y&&k(G.prototype,Y),Pe&&k(G,Pe),G}var B=function(){function G(){I(this,G),this.maps=void 0,this.maps={},this.maps.prototype=null}return F(G,[{key:"set",value:function(Pe,Be){this.maps[Pe]=Be}},{key:"get",value:function(Pe){return this.maps[Pe]}}]),G}(),j=B;function z(G,Y){return W(G)||H(G,Y)||U(G,Y)||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 U(G,Y){if(!G)return;if(typeof G=="string")return P(G,Y);var Pe=Object.prototype.toString.call(G).slice(8,-1);if(Pe==="Object"&&G.constructor&&(Pe=G.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(G);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return P(G,Y)}function P(G,Y){(Y==null||Y>G.length)&&(Y=G.length);for(var Pe=0,Be=new Array(Y);Pe<Y;Pe++)Be[Pe]=G[Pe];return Be}function H(G,Y){var Pe=G==null?null:typeof Symbol!="undefined"&&G[Symbol.iterator]||G["@@iterator"];if(Pe==null)return;var Be=[],J=!0,St=!1,bt,nt;try{for(Pe=Pe.call(G);!(J=(bt=Pe.next()).done)&&!(Be.push(bt.value),Y&&Be.length===Y);J=!0);}catch(Rt){St=!0,nt=Rt}finally{try{!J&&Pe.return!=null&&Pe.return()}finally{if(St)throw nt}}return Be}function W(G){if(Array.isArray(G))return G}function X(G,Y,Pe){var Be=A.useState(0),J=z(Be,2),St=J[0],bt=J[1],nt=Object(A.useRef)(new Map),Rt=Object(A.useRef)(new j),zt=Object(A.useRef)(0);function Fr(){zt.current+=1;var ge=zt.current;Promise.resolve().then(function(){if(ge!==zt.current)return;nt.current.forEach(function(ye,Le){if(ye&&ye.offsetParent){var we=Object(_.a)(ye),Ke=we.offsetHeight;Rt.current.get(Le)!==Ke&&Rt.current.set(Le,we.offsetHeight)}}),bt(function(ye){return ye+1})})}function Jt(ge,ye){var Le=G(ge),we=nt.current.get(Le);ye?(nt.current.set(Le,ye),Fr()):nt.current.delete(Le),!we!==!ye&&(ye?Y==null||Y(ge):Pe==null||Pe(ge))}return[Jt,Fr,Rt.current,St]}function K(G){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K=function(Pe){return typeof Pe}:K=function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},K(G)}function $(G,Y,Pe,Be,J,St,bt,nt){var Rt=A.useRef();return function(zt){if(zt==null){nt();return}if(n.a.cancel(Rt.current),typeof zt=="number")bt(zt);else if(zt&&K(zt)==="object"){var Fr,Jt=zt.align;"index"in zt?Fr=zt.index:Fr=Y.findIndex(function(we){return J(we)===zt.key});var ge=zt.offset,ye=ge===void 0?0:ge,Le=function we(Ke,Je){if(Ke<0||!G.current)return;var ut=G.current.clientHeight,vt=!1,_t=Je;if(ut){for(var Ut=Je||Jt,Bt=0,dr=0,Oe=0,xe=Math.min(Y.length,Fr),V=0;V<=xe;V+=1){var q=J(Y[V]);dr=Bt;var ue=Pe.get(q);Oe=dr+(ue===void 0?Be:ue),Bt=Oe,V===Fr&&ue===void 0&&(vt=!0)}var me=null;switch(Ut){case"top":me=dr-ye;break;case"bottom":me=Oe-ut+ye;break;default:{var Ee=G.current.scrollTop,Ge=Ee+ut;dr<Ee?_t="top":Oe>Ge&&(_t="bottom")}}me!==null&&me!==G.current.scrollTop&&bt(me)}Rt.current=Object(n.a)(function(){vt&&St(),we(Ke-1,_t)})};Le(3)}}}function ie(G,Y,Pe,Be){var J=Pe-G,St=Y-Pe,bt=Math.min(J,St)*2;if(Be<=bt){var nt=Math.floor(Be/2);return Be%2?Pe+nt+1:Pe-nt}return J>St?Pe-(Be-St):Pe+(Be-J)}function be(G,Y,Pe){var Be=G.length,J=Y.length,St,bt;if(Be===0&&J===0)return null;Be<J?(St=G,bt=Y):(St=Y,bt=G);var nt={__EMPTY_ITEM__:!0};function Rt(Le){return Le!==void 0?Pe(Le):nt}for(var zt=null,Fr=Math.abs(Be-J)!==1,Jt=0;Jt<bt.length;Jt+=1){var ge=Rt(St[Jt]),ye=Rt(bt[Jt]);if(ge!==ye){zt=Jt,Fr=Fr||ge!==Rt(bt[Jt+1]);break}}return zt===null?null:{index:zt,multiple:Fr}}function te(G,Y){return fe(G)||Qe(G,Y)||Ie(G,Y)||Te()}function Te(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ie(G,Y){if(!G)return;if(typeof G=="string")return Fe(G,Y);var Pe=Object.prototype.toString.call(G).slice(8,-1);if(Pe==="Object"&&G.constructor&&(Pe=G.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(G);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return Fe(G,Y)}function Fe(G,Y){(Y==null||Y>G.length)&&(Y=G.length);for(var Pe=0,Be=new Array(Y);Pe<Y;Pe++)Be[Pe]=G[Pe];return Be}function Qe(G,Y){var Pe=G==null?null:typeof Symbol!="undefined"&&G[Symbol.iterator]||G["@@iterator"];if(Pe==null)return;var Be=[],J=!0,St=!1,bt,nt;try{for(Pe=Pe.call(G);!(J=(bt=Pe.next()).done)&&!(Be.push(bt.value),Y&&Be.length===Y);J=!0);}catch(Rt){St=!0,nt=Rt}finally{try{!J&&Pe.return!=null&&Pe.return()}finally{if(St)throw nt}}return Be}function fe(G){if(Array.isArray(G))return G}function He(G,Y,Pe){var Be=A.useState(G),J=te(Be,2),St=J[0],bt=J[1],nt=A.useState(null),Rt=te(nt,2),zt=Rt[0],Fr=Rt[1];return A.useEffect(function(){var Jt=be(St||[],G||[],Y);(Jt==null?void 0:Jt.index)!==void 0&&(Pe==null||Pe(Jt.index),Fr(G[Jt.index])),bt(G)},[G]),[zt]}function se(G){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?se=function(Pe){return typeof Pe}:se=function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},se(G)}var Ce=(typeof navigator=="undefined"?"undefined":se(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),mt=Ce,Ne=function(G,Y){var Pe=Object(A.useRef)(!1),Be=Object(A.useRef)(null);function J(){clearTimeout(Be.current),Pe.current=!0,Be.current=setTimeout(function(){Pe.current=!1},50)}var St=Object(A.useRef)({top:G,bottom:Y});return St.current.top=G,St.current.bottom=Y,function(bt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=bt<0&&St.current.top||bt>0&&St.current.bottom;return nt&&Rt?(clearTimeout(Be.current),Pe.current=!1):(!Rt||Pe.current)&&J(),!Pe.current&&Rt}};function ae(G,Y,Pe,Be){var J=Object(A.useRef)(0),St=Object(A.useRef)(null),bt=Object(A.useRef)(null),nt=Object(A.useRef)(!1),Rt=Ne(Y,Pe);function zt(Jt){if(!G)return;n.a.cancel(St.current);var ge=Jt.deltaY;if(J.current+=ge,bt.current=ge,Rt(ge))return;mt||Jt.preventDefault(),St.current=Object(n.a)(function(){var ye=nt.current?10:1;Be(J.current*ye),J.current=0})}function Fr(Jt){if(!G)return;nt.current=Jt.detail===bt.current}return[zt,Fr]}var ce=14/15;function le(G,Y,Pe){var Be=Object(A.useRef)(!1),J=Object(A.useRef)(0),St=Object(A.useRef)(null),bt=Object(A.useRef)(null),nt,Rt=function(ge){if(Be.current){var ye=Math.ceil(ge.touches[0].pageY),Le=J.current-ye;J.current=ye,Pe(Le)&&ge.preventDefault(),clearInterval(bt.current),bt.current=setInterval(function(){Le*=ce,(!Pe(Le,!0)||Math.abs(Le)<=.1)&&clearInterval(bt.current)},16)}},zt=function(){Be.current=!1,nt()},Fr=function(ge){nt(),ge.touches.length===1&&!Be.current&&(Be.current=!0,J.current=Math.ceil(ge.touches[0].pageY),St.current=ge.target,St.current.addEventListener("touchmove",Rt),St.current.addEventListener("touchend",zt))};nt=function(){St.current&&(St.current.removeEventListener("touchmove",Rt),St.current.removeEventListener("touchend",zt))},A.useLayoutEffect(function(){return G&&Y.current.addEventListener("touchstart",Fr),function(){Y.current.removeEventListener("touchstart",Fr),nt(),clearInterval(bt.current)}},[G])}var je=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Re(){return Re=Object.assign||function(G){for(var Y=1;Y<arguments.length;Y++){var Pe=arguments[Y];for(var Be in Pe)Object.prototype.hasOwnProperty.call(Pe,Be)&&(G[Be]=Pe[Be])}return G},Re.apply(this,arguments)}function Ze(G,Y){var Pe=Object.keys(G);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(G);Y&&(Be=Be.filter(function(J){return Object.getOwnPropertyDescriptor(G,J).enumerable})),Pe.push.apply(Pe,Be)}return Pe}function De(G){for(var Y=1;Y<arguments.length;Y++){var Pe=arguments[Y]!=null?arguments[Y]:{};Y%2?Ze(Object(Pe),!0).forEach(function(Be){ne(G,Be,Pe[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(Pe)):Ze(Object(Pe)).forEach(function(Be){Object.defineProperty(G,Be,Object.getOwnPropertyDescriptor(Pe,Be))})}return G}function ne(G,Y,Pe){return Y in G?Object.defineProperty(G,Y,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):G[Y]=Pe,G}function he(G,Y){return Me(G)||At(G,Y)||Xe(G,Y)||pe()}function pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xe(G,Y){if(!G)return;if(typeof G=="string")return lt(G,Y);var Pe=Object.prototype.toString.call(G).slice(8,-1);if(Pe==="Object"&&G.constructor&&(Pe=G.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(G);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return lt(G,Y)}function lt(G,Y){(Y==null||Y>G.length)&&(Y=G.length);for(var Pe=0,Be=new Array(Y);Pe<Y;Pe++)Be[Pe]=G[Pe];return Be}function At(G,Y){var Pe=G==null?null:typeof Symbol!="undefined"&&G[Symbol.iterator]||G["@@iterator"];if(Pe==null)return;var Be=[],J=!0,St=!1,bt,nt;try{for(Pe=Pe.call(G);!(J=(bt=Pe.next()).done)&&!(Be.push(bt.value),Y&&Be.length===Y);J=!0);}catch(Rt){St=!0,nt=Rt}finally{try{!J&&Pe.return!=null&&Pe.return()}finally{if(St)throw nt}}return Be}function Me(G){if(Array.isArray(G))return G}function Ht(G,Y){if(G==null)return{};var Pe=tt(G,Y),Be,J;if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(G);for(J=0;J<St.length;J++){if(Be=St[J],Y.indexOf(Be)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(G,Be))continue;Pe[Be]=G[Be]}}return Pe}function tt(G,Y){if(G==null)return{};var Pe={},Be=Object.keys(G),J,St;for(St=0;St<Be.length;St++){if(J=Be[St],Y.indexOf(J)>=0)continue;Pe[J]=G[J]}return Pe}var Mt=[],jt={overflowY:"auto",overflowAnchor:"none"};function kt(G,Y){var Pe=G.prefixCls,Be=Pe===void 0?"rc-virtual-list":Pe,J=G.className,St=G.height,bt=G.itemHeight,nt=G.fullHeight,Rt=nt===void 0?!0:nt,zt=G.style,Fr=G.data,Jt=G.children,ge=G.itemKey,ye=G.virtual,Le=G.component,we=Le===void 0?"div":Le,Ke=G.onScroll,Je=G.onVisibleChange,ut=Ht(G,je),vt=!!(ye!==!1&&St&&bt),_t=vt&&Fr&&bt*Fr.length>St,Ut=Object(A.useState)(0),Bt=he(Ut,2),dr=Bt[0],Oe=Bt[1],xe=Object(A.useState)(!1),V=he(xe,2),q=V[0],ue=V[1],me=x()(Be,J),Ee=Fr||Mt,Ge=Object(A.useRef)(),dt=Object(A.useRef)(),Kt=Object(A.useRef)(),tr=A.useCallback(function(Rn){return typeof ge=="function"?ge(Rn):Rn==null?void 0:Rn[ge]},[ge]),wt={getKey:tr};function It(Rn){Oe(function(oi){var An;typeof Rn=="function"?An=Rn(oi):An=Rn;var mi=Gr(An);return Ge.current.scrollTop=mi,mi})}var Lt=Object(A.useRef)({start:0,end:Ee.length}),Nt=Object(A.useRef)(),$e=He(Ee,tr),ot=he($e,1),ft=ot[0];Nt.current=ft;var ze=X(tr,null,null),Ye=he(ze,4),qe=Ye[0],rt=Ye[1],ct=Ye[2],st=Ye[3],et=A.useMemo(function(){if(!vt)return{scrollHeight:void 0,start:0,end:Ee.length-1,offset:void 0};if(!_t){var Rn;return{scrollHeight:((Rn=dt.current)===null||Rn===void 0?void 0:Rn.offsetHeight)||0,start:0,end:Ee.length-1,offset:void 0}}for(var oi=0,An,mi,ai,Xr=Ee.length,pn=0;pn<Xr;pn+=1){var Ln=Ee[pn],tn=tr(Ln),$t=ct.get(tn),yr=oi+($t===void 0?bt:$t);yr>=dr&&An===void 0&&(An=pn,mi=oi),yr>dr+St&&ai===void 0&&(ai=pn),oi=yr}return An===void 0&&(An=0,mi=0),ai===void 0&&(ai=Ee.length-1),ai=Math.min(ai+1,Ee.length),{scrollHeight:oi,start:An,end:ai,offset:mi}},[_t,vt,dr,Ee,st,St]),Ft=et.scrollHeight,Ct=et.start,ir=et.end,Xt=et.offset;Lt.current.start=Ct,Lt.current.end=ir;var _r=Ft-St,Br=Object(A.useRef)(_r);Br.current=_r;function Gr(Rn){var oi=Rn;return Number.isNaN(Br.current)||(oi=Math.min(oi,Br.current)),oi=Math.max(oi,0),oi}var un=dr<=0,mn=dr>=_r,_n=Ne(un,mn);function qr(Rn){var oi=Rn;It(oi)}function yn(Rn){var oi=Rn.currentTarget.scrollTop;oi!==dr&&It(oi),Ke==null||Ke(Rn)}var nn=ae(vt,un,mn,function(Rn){It(function(oi){var An=oi+Rn;return An})}),cr=he(nn,2),Pr=cr[0],Ar=cr[1];le(vt,Ge,function(Rn,oi){return _n(Rn,oi)?!1:(Pr({preventDefault:function(){},deltaY:Rn}),!0)}),Object(A.useLayoutEffect)(function(){function Rn(oi){vt&&oi.preventDefault()}return Ge.current.addEventListener("wheel",Pr),Ge.current.addEventListener("DOMMouseScroll",Ar),Ge.current.addEventListener("MozMousePixelScroll",Rn),function(){Ge.current.removeEventListener("wheel",Pr),Ge.current.removeEventListener("DOMMouseScroll",Ar),Ge.current.removeEventListener("MozMousePixelScroll",Rn)}},[vt]);var Mr=$(Ge,Ee,ct,bt,tr,rt,It,function(){var Rn;(Rn=Kt.current)===null||Rn===void 0||Rn.delayHidden()});A.useImperativeHandle(Y,function(){return{scrollTo:Mr}}),Object(A.useLayoutEffect)(function(){if(Je){var Rn=Ee.slice(Ct,ir+1);Je(Rn,Ee)}},[Ct,ir,Ee]);var fn=C(Ee,Ct,ir,qe,Jt,wt),En=null;return St&&(En=De(ne({},Rt?"height":"maxHeight",St),jt),vt&&(En.overflowY="hidden",q&&(En.pointerEvents="none"))),A.createElement("div",Re({style:De(De({},zt),{},{position:"relative"}),className:me},ut),A.createElement(we,{className:"".concat(Be,"-holder"),style:En,ref:Ge,onScroll:yn},A.createElement(a,{prefixCls:Be,height:Ft,offset:Xt,onInnerResize:rt,ref:dt},fn)),vt&&A.createElement(T,{ref:Kt,prefixCls:Be,scrollTop:dr,height:St,scrollHeight:Ft,count:Ee.length,onScroll:qr,onStartMove:function(){ue(!0)},onStopMove:function(){ue(!1)}}))}var Tt=A.forwardRef(kt);Tt.displayName="List";var Dt=Tt,Ue=N.a=Dt},"+rIm":function(R,N,e){var A=e("bYtY"),f=A.retrieve,x=A.defaults,m=A.extend,g=A.each,p=e("7aKB"),c=e("IwbS"),s=e("Qxkt"),a=e("OELB"),n=a.isRadianAroundZero,i=a.remRadian,d=e("oVpE"),t=d.createSymbol,l=e("Fofx"),r=e("QBsz"),o=r.applyTransform,u=e("aX7z"),h=u.shouldShowAllLabels,y=Math.PI,b=function(M,U){this.opt=U,this.axisModel=M,x(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var P=new c.Group({position:U.position.slice(),rotation:U.rotation});P.updateTransform(),this._transform=P.transform,this._dumbGroup=P};b.prototype={constructor:b,hasBuilder:function(M){return!!E[M]},add:function(M){E[M].call(this)},getGroup:function(){return this.group}};var E={axisLine:function(){var M=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var P=this.axisModel.axis.getExtent(),H=this._transform,W=[P[0],0],X=[P[1],0];H&&(o(W,W,H),o(X,X,H));var K=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:X[0],y2:X[1]},style:K,strokeContainThreshold:M.strokeContainThreshold||5,silent:!0,z2:1}));var $=U.get("axisLine.symbol"),ie=U.get("axisLine.symbolSize"),be=U.get("axisLine.symbolOffset")||0;if(typeof be=="number"&&(be=[be,be]),$!=null){typeof $=="string"&&($=[$,$]),(typeof ie=="string"||typeof ie=="number")&&(ie=[ie,ie]);var te=ie[0],Te=ie[1];g([{rotate:M.rotation+Math.PI/2,offset:be[0],r:0},{rotate:M.rotation-Math.PI/2,offset:be[1],r:Math.sqrt((W[0]-X[0])*(W[0]-X[0])+(W[1]-X[1])*(W[1]-X[1]))}],function(Ie,Fe){if($[Fe]!=="none"&&$[Fe]!=null){var Qe=t($[Fe],-te/2,-Te/2,te,Te,K.stroke,!0),fe=Ie.r+Ie.offset,He=[W[0]+fe*Math.cos(M.rotation),W[1]-fe*Math.sin(M.rotation)];Qe.attr({rotation:Ie.rotate,position:He,silent:!0,z2:11}),this.group.add(Qe)}},this)}},axisTickLabel:function(){var M=this.axisModel,U=this.opt,P=F(this,M,U),H=j(this,M,U);S(M,H,P),B(this,M,U)},axisName:function(){var M=this.opt,U=this.axisModel,P=f(M.axisName,U.get("name"));if(!P)return;var H=U.get("nameLocation"),W=M.nameDirection,X=U.getModel("nameTextStyle"),K=U.get("nameGap")||0,$=this.axisModel.axis.getExtent(),ie=$[0]>$[1]?-1:1,be=[H==="start"?$[0]-ie*K:H==="end"?$[1]+ie*K:($[0]+$[1])/2,I(H)?M.labelOffset+W*K:0],te,Te=U.get("nameRotate");Te!=null&&(Te=Te*y/180);var Ie;I(H)?te=w(M.rotation,Te!=null?Te:M.rotation,W):(te=O(M,H,Te||0,$),Ie=M.axisNameAvailableWidth,Ie!=null&&(Ie=Math.abs(Ie/Math.sin(te.rotation)),!isFinite(Ie)&&(Ie=null)));var Fe=X.getFont(),Qe=U.get("nameTruncate",!0)||{},fe=Qe.ellipsis,He=f(M.nameTruncateMaxWidth,Qe.maxWidth,Ie),se=fe!=null&&He!=null?p.truncateText(P,He,Fe,fe,{minChar:2,placeholder:Qe.placeholder}):P,Ce=U.get("tooltip",!0),mt=U.mainType,Ne={componentType:mt,name:P,$vars:["name"]};Ne[mt+"Index"]=U.componentIndex;var ae=new c.Text({anid:"name",__fullText:P,__truncatedText:se,position:be,rotation:te.rotation,silent:T(U),z2:1,tooltip:Ce&&Ce.show?m({content:P,formatter:function(){return P},formatterParams:Ne},Ce):null});c.setTextStyle(ae.style,X,{text:se,textFont:Fe,textFill:X.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:X.get("align")||te.textAlign,textVerticalAlign:X.get("verticalAlign")||te.textVerticalAlign}),U.get("triggerEvent")&&(ae.eventData=v(U),ae.eventData.targetType="axisName",ae.eventData.name=P),this._dumbGroup.add(ae),ae.updateTransform(),this.group.add(ae),ae.decomposeTransform()}},v=b.makeAxisEventDataBase=function(M){var U={componentType:M.mainType,componentIndex:M.componentIndex};return U[M.mainType+"Index"]=M.componentIndex,U},w=b.innerTextLayout=function(M,U,P){var H=i(U-M),W,X;return n(H)?(X=P>0?"top":"bottom",W="center"):n(H-y)?(X=P>0?"bottom":"top",W="center"):(X="middle",H>0&&H<y?W=P>0?"right":"left":W=P>0?"left":"right"),{rotation:H,textAlign:W,textVerticalAlign:X}};function O(M,U,P,H){var W=i(P-M.rotation),X,K,$=H[0]>H[1],ie=U==="start"&&!$||U!=="start"&&$;return n(W-y/2)?(K=ie?"bottom":"top",X="center"):n(W-y*1.5)?(K=ie?"top":"bottom",X="center"):(K="middle",W<y*1.5&&W>y/2?X=ie?"left":"right":X=ie?"right":"left"),{rotation:W,textAlign:X,textVerticalAlign:K}}var T=b.isLabelSilent=function(M){var U=M.get("tooltip");return M.get("silent")||!(M.get("triggerEvent")||U&&U.show)};function S(M,U,P){if(h(M.axis))return;var H=M.get("axisLabel.showMinLabel"),W=M.get("axisLabel.showMaxLabel");U=U||[],P=P||[];var X=U[0],K=U[1],$=U[U.length-1],ie=U[U.length-2],be=P[0],te=P[1],Te=P[P.length-1],Ie=P[P.length-2];H===!1?(C(X),C(be)):_(X,K)&&(H?(C(K),C(te)):(C(X),C(be))),W===!1?(C($),C(Te)):_(ie,$)&&(W?(C(ie),C(Ie)):(C($),C(Te)))}function C(M){M&&(M.ignore=!0)}function _(M,U,P){var H=M&&M.getBoundingRect().clone(),W=U&&U.getBoundingRect().clone();if(!H||!W)return;var X=l.identity([]);return l.rotate(X,X,-M.rotation),H.applyTransform(l.mul([],X,M.getLocalTransform())),W.applyTransform(l.mul([],X,U.getLocalTransform())),H.intersect(W)}function I(M){return M==="middle"||M==="center"}function k(M,U,P,H,W){for(var X=[],K=[],$=[],ie=0;ie<M.length;ie++){var be=M[ie].coord;K[0]=be,K[1]=0,$[0]=be,$[1]=P,U&&(o(K,K,U),o($,$,U));var te=new c.Line({anid:W+"_"+M[ie].tickValue,subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:$[0],y2:$[1]},style:H,z2:2,silent:!0});X.push(te)}return X}function F(M,U,P){var H=U.axis,W=U.getModel("axisTick");if(!W.get("show")||H.scale.isBlank())return;for(var X=W.getModel("lineStyle"),K=P.tickDirection*W.get("length"),$=H.getTicksCoords(),ie=k($,M._transform,K,x(X.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),be=0;be<ie.length;be++)M.group.add(ie[be]);return ie}function B(M,U,P){var H=U.axis,W=U.getModel("minorTick");if(!W.get("show")||H.scale.isBlank())return;var X=H.getMinorTicksCoords();if(!X.length)return;for(var K=W.getModel("lineStyle"),$=P.tickDirection*W.get("length"),ie=x(K.getLineStyle(),x(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),be=0;be<X.length;be++)for(var te=k(X[be],M._transform,$,ie,"minorticks_"+be),Te=0;Te<te.length;Te++)M.group.add(te[Te])}function j(M,U,P){var H=U.axis,W=f(P.axisLabelShow,U.get("axisLabel.show"));if(!W||H.scale.isBlank())return;var X=U.getModel("axisLabel"),K=X.get("margin"),$=H.getViewLabels(),ie=(f(P.labelRotate,X.get("rotate"))||0)*y/180,be=w(P.rotation,ie,P.labelDirection),te=U.getCategories&&U.getCategories(!0),Te=[],Ie=T(U),Fe=U.get("triggerEvent");return g($,function(Qe,fe){var He=Qe.tickValue,se=Qe.formattedLabel,Ce=Qe.rawLabel,mt=X;te&&te[He]&&te[He].textStyle&&(mt=new s(te[He].textStyle,X,U.ecModel));var Ne=mt.getTextColor()||U.get("axisLine.lineStyle.color"),ae=H.dataToCoord(He),ce=[ae,P.labelOffset+P.labelDirection*K],le=new c.Text({anid:"label_"+He,position:ce,rotation:be.rotation,silent:Ie,z2:10});c.setTextStyle(le.style,mt,{text:se,textAlign:mt.getShallow("align",!0)||be.textAlign,textVerticalAlign:mt.getShallow("verticalAlign",!0)||mt.getShallow("baseline",!0)||be.textVerticalAlign,textFill:typeof Ne=="function"?Ne(H.type==="category"?Ce:H.type==="value"?He+"":He,fe):Ne}),Fe&&(le.eventData=v(U),le.eventData.targetType="axisLabel",le.eventData.value=Ce),M._dumbGroup.add(le),le.updateTransform(),Te.push(le),M.group.add(le),le.decomposeTransform()}),Te}var z=b;R.exports=z},"+wW9":function(R,N,e){var A=e("bYtY"),f=A.each,x=A.isArray,m=A.isObject,g=e("JuEJ"),p=e("4NO4"),c=p.normalizeToArray;function s(l,r){r=r.split(",");for(var o=l,u=0;u<r.length&&!(o=o&&o[r[u]],o==null);u++);return o}function a(l,r,o,u){r=r.split(",");for(var h=l,y,b=0;b<r.length-1;b++)y=r[b],h[y]==null&&(h[y]={}),h=h[y];(u||h[r[b]]==null)&&(h[r[b]]=o)}function n(l){f(i,function(r){r[0]in l&&!(r[1]in l)&&(l[r[1]]=l[r[0]])})}var i=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],d=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function t(l,r){g(l,r),l.series=c(l.series),f(l.series,function(o){if(!m(o))return;var u=o.type;if(u==="line")o.clipOverflow!=null&&(o.clip=o.clipOverflow);else if(u==="pie"||u==="gauge")o.clockWise!=null&&(o.clockwise=o.clockWise);else if(u==="gauge"){var h=s(o,"pointer.color");h!=null&&a(o,"itemStyle.color",h)}n(o)}),l.dataRange&&(l.visualMap=l.dataRange),f(d,function(o){var u=l[o];u&&(x(u)||(u=[u]),f(u,function(h){n(h)}))})}R.exports=t},"/IIm":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("H6uX"),g=e("IwbS"),p=e("pP6R"),c=e("gPAo"),s=x.curry,a=x.each,n=x.map,i=Math.min,d=Math.max,t=Math.pow,l=1e4,r=6,o=6,u="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},y={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},E=0;function v(ne){m.call(this),this._zr=ne,this.group=new g.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={},a(ce,function(he,pe){this._handlers[pe]=x.bind(he,this)},this)}v.prototype={constructor:v,enableBrush:function(ne){return this._brushType&&O(this),ne.brushType&&w(this,ne),this},setPanels:function(ne){if(ne&&ne.length){var he=this._panels={};x.each(ne,function(pe){he[pe.panelId]=x.clone(pe)})}else this._panels=null;return this},mount:function(ne){ne=ne||{},this._enableGlobalPan=ne.enableGlobalPan;var he=this.group;return this._zr.add(he),he.attr({position:ne.position||[0,0],rotation:ne.rotation||0,scale:ne.scale||[1,1]}),this._transform=he.getLocalTransform(),this},eachCover:function(ne,he){a(this._covers,ne,he)},updateCovers:function(ne){ne=x.map(ne,function(jt){return x.merge(x.clone(b),jt,!0)});var he="\0-brush-index-",pe=this._covers,Xe=this._covers=[],lt=this,At=this._creatingCover;return new c(pe,ne,Ht,Me).add(tt).update(tt).remove(Mt).execute(),this;function Me(jt,kt){return(jt.id!=null?jt.id:he+kt)+"-"+jt.brushType}function Ht(jt,kt){return Me(jt.__brushOption,kt)}function tt(jt,kt){var Tt=ne[jt];if(kt!=null&&pe[kt]===At)Xe[jt]=pe[kt];else{var Dt=Xe[jt]=kt!=null?(pe[kt].__brushOption=Tt,pe[kt]):_(lt,C(lt,Tt));F(lt,Dt)}}function Mt(jt){pe[jt]!==At&<.group.remove(pe[jt])}},unmount:function(){return this.enableBrush(!1),M(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},x.mixin(v,m);function w(ne,he){var pe=ne._zr;ne._enableGlobalPan||p.take(pe,u,ne._uid),T(pe,ne._handlers),ne._brushType=he.brushType,ne._brushOption=x.merge(x.clone(b),he,!0)}function O(ne){var he=ne._zr;p.release(he,u,ne._uid),S(he,ne._handlers),ne._brushType=ne._brushOption=null}function T(ne,he){a(he,function(pe,Xe){ne.on(Xe,pe)})}function S(ne,he){a(he,function(pe,Xe){ne.off(Xe,pe)})}function C(ne,he){var pe=Re[he.brushType].createCover(ne,he);return pe.__brushOption=he,k(pe,he),ne.group.add(pe),pe}function _(ne,he){var pe=B(he);return pe.endCreating&&(pe.endCreating(ne,he),k(he,he.__brushOption)),he}function I(ne,he){var pe=he.__brushOption;B(he).updateCoverShape(ne,he,pe.range,pe)}function k(ne,he){var pe=he.z;pe==null&&(pe=l),ne.traverse(function(Xe){Xe.z=pe,Xe.z2=pe})}function F(ne,he){B(he).updateCommon(ne,he),I(ne,he)}function B(ne){return Re[ne.__brushOption.brushType]}function j(ne,he,pe){var Xe=ne._panels;if(!Xe)return!0;var lt,At=ne._transform;return a(Xe,function(Me){Me.isTargetByCursor(he,pe,At)&&(lt=Me)}),lt}function z(ne,he){var pe=ne._panels;if(!pe)return!0;var Xe=he.__brushOption.panelId;return Xe!=null?pe[Xe]:!0}function M(ne){var he=ne._covers,pe=he.length;return a(he,function(Xe){ne.group.remove(Xe)},ne),he.length=0,!!pe}function U(ne,he){var pe=n(ne._covers,function(Xe){var lt=Xe.__brushOption,At=x.clone(lt.range);return{brushType:lt.brushType,panelId:lt.panelId,range:At}});ne.trigger("brush",pe,{isEnd:!!he.isEnd,removeOnClick:!!he.removeOnClick})}function P(ne){var he=ne._track;if(!he.length)return!1;var pe=he[he.length-1],Xe=he[0],lt=pe[0]-Xe[0],At=pe[1]-Xe[1],Me=t(lt*lt+At*At,.5);return Me>r}function H(ne){var he=ne.length-1;return he<0&&(he=0),[ne[0],ne[he]]}function W(ne,he,pe,Xe){var lt=new g.Group;return lt.add(new g.Rect({name:"main",style:ie(pe),silent:!0,draggable:!0,cursor:"move",drift:s(ne,he,lt,"nswe"),ondragend:s(U,he,{isEnd:!0})})),a(Xe,function(At){lt.add(new g.Rect({name:At,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:s(ne,he,lt,At),ondragend:s(U,he,{isEnd:!0})}))}),lt}function X(ne,he,pe,Xe){var lt=Xe.brushStyle.lineWidth||0,At=d(lt,o),Me=pe[0][0],Ht=pe[1][0],tt=Me-lt/2,Mt=Ht-lt/2,jt=pe[0][1],kt=pe[1][1],Tt=jt-At+lt/2,Dt=kt-At+lt/2,Ue=jt-Me,G=kt-Ht,Y=Ue+lt,Pe=G+lt;$(ne,he,"main",Me,Ht,Ue,G),Xe.transformable&&($(ne,he,"w",tt,Mt,At,Pe),$(ne,he,"e",Tt,Mt,At,Pe),$(ne,he,"n",tt,Mt,Y,At),$(ne,he,"s",tt,Dt,Y,At),$(ne,he,"nw",tt,Mt,At,At),$(ne,he,"ne",Tt,Mt,At,At),$(ne,he,"sw",tt,Dt,At,At),$(ne,he,"se",Tt,Dt,At,At))}function K(ne,he){var pe=he.__brushOption,Xe=pe.transformable,lt=he.childAt(0);lt.useStyle(ie(pe)),lt.attr({silent:!Xe,cursor:Xe?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],function(At){var Me=he.childOfName(At),Ht=Te(ne,At);Me&&Me.attr({silent:!Xe,invisible:!Xe,cursor:Xe?y[Ht]+"-resize":null})})}function $(ne,he,pe,Xe,lt,At,Me){var Ht=he.childOfName(pe);Ht&&Ht.setShape(He(fe(ne,he,[[Xe,lt],[Xe+At,lt+Me]])))}function ie(ne){return x.defaults({strokeNoScale:!0},ne.brushStyle)}function be(ne,he,pe,Xe){var lt=[i(ne,pe),i(he,Xe)],At=[d(ne,pe),d(he,Xe)];return[[lt[0],At[0]],[lt[1],At[1]]]}function te(ne){return g.getTransform(ne.group)}function Te(ne,he){if(he.length>1){he=he.split("");var pe=[Te(ne,he[0]),Te(ne,he[1])];return(pe[0]==="e"||pe[0]==="w")&&pe.reverse(),pe.join("")}else{var Xe={w:"left",e:"right",n:"top",s:"bottom"},lt={left:"w",right:"e",top:"n",bottom:"s"},pe=g.transformDirection(Xe[he],te(ne));return lt[pe]}}function Ie(ne,he,pe,Xe,lt,At,Me,Ht){var tt=Xe.__brushOption,Mt=ne(tt.range),jt=Qe(pe,At,Me);a(lt.split(""),function(kt){var Tt=h[kt];Mt[Tt[0]][Tt[1]]+=jt[Tt[0]]}),tt.range=he(be(Mt[0][0],Mt[1][0],Mt[0][1],Mt[1][1])),F(pe,Xe),U(pe,{isEnd:!1})}function Fe(ne,he,pe,Xe,lt){var At=he.__brushOption.range,Me=Qe(ne,pe,Xe);a(At,function(Ht){Ht[0]+=Me[0],Ht[1]+=Me[1]}),F(ne,he),U(ne,{isEnd:!1})}function Qe(ne,he,pe){var Xe=ne.group,lt=Xe.transformCoordToLocal(he,pe),At=Xe.transformCoordToLocal(0,0);return[lt[0]-At[0],lt[1]-At[1]]}function fe(ne,he,pe){var Xe=z(ne,he);return Xe&&Xe!==!0?Xe.clipPath(pe,ne._transform):x.clone(pe)}function He(ne){var he=i(ne[0][0],ne[1][0]),pe=i(ne[0][1],ne[1][1]),Xe=d(ne[0][0],ne[1][0]),lt=d(ne[0][1],ne[1][1]);return{x:he,y:pe,width:Xe-he,height:lt-pe}}function se(ne,he,pe){if(!ne._brushType||je(ne,he))return;var Xe=ne._zr,lt=ne._covers,At=j(ne,he,pe);if(!ne._dragging)for(var Me=0;Me<lt.length;Me++){var Ht=lt[Me].__brushOption;if(At&&(At===!0||Ht.panelId===At.panelId)&&Re[Ht.brushType].contain(lt[Me],pe[0],pe[1]))return}At&&Xe.setCursorStyle("crosshair")}function Ce(ne){var he=ne.event;he.preventDefault&&he.preventDefault()}function mt(ne,he,pe){return ne.childOfName("main").contain(he,pe)}function Ne(ne,he,pe,Xe){var lt=ne._creatingCover,At=ne._creatingPanel,Me=ne._brushOption,Ht;if(ne._track.push(pe.slice()),P(ne)||lt){if(At&&!lt){Me.brushMode==="single"&&M(ne);var tt=x.clone(Me);tt.brushType=ae(tt.brushType,At),tt.panelId=At===!0?null:At.panelId,lt=ne._creatingCover=C(ne,tt),ne._covers.push(lt)}if(lt){var Mt=Re[ae(ne._brushType,At)],jt=lt.__brushOption;jt.range=Mt.getCreatingRange(fe(ne,lt,ne._track)),Xe&&(_(ne,lt),Mt.updateCommon(ne,lt)),I(ne,lt),Ht={isEnd:Xe}}}else Xe&&Me.brushMode==="single"&&Me.removeOnClick&&(j(ne,he,pe)&&M(ne)&&(Ht={isEnd:Xe,removeOnClick:!0}));return Ht}function ae(ne,he){return ne==="auto"?he.defaultBrushType:ne}var ce={mousedown:function(ne){if(this._dragging)le(this,ne);else if(!ne.target||!ne.target.draggable){Ce(ne);var he=this.group.transformCoordToLocal(ne.offsetX,ne.offsetY);this._creatingCover=null;var pe=this._creatingPanel=j(this,ne,he);pe&&(this._dragging=!0,this._track=[he.slice()])}},mousemove:function(ne){var he=ne.offsetX,pe=ne.offsetY,Xe=this.group.transformCoordToLocal(he,pe);if(se(this,ne,Xe),this._dragging){Ce(ne);var lt=Ne(this,ne,Xe,!1);lt&&U(this,lt)}},mouseup:function(ne){le(this,ne)}};function le(ne,he){if(ne._dragging){Ce(he);var pe=he.offsetX,Xe=he.offsetY,lt=ne.group.transformCoordToLocal(pe,Xe),At=Ne(ne,he,lt,!0);ne._dragging=!1,ne._track=[],ne._creatingCover=null,At&&U(ne,At)}}function je(ne,he,pe){var Xe=ne._zr;return he<0||he>Xe.getWidth()||pe<0||pe>Xe.getHeight()}var Re={lineX:Ze(0),lineY:Ze(1),rect:{createCover:function(ne,he){return W(s(Ie,function(pe){return pe},function(pe){return pe}),ne,he,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ne){var he=H(ne);return be(he[1][0],he[1][1],he[0][0],he[0][1])},updateCoverShape:function(ne,he,pe,Xe){X(ne,he,pe,Xe)},updateCommon:K,contain:mt},polygon:{createCover:function(ne,he){var pe=new g.Group;return pe.add(new g.Polyline({name:"main",style:ie(he),silent:!0})),pe},getCreatingRange:function(ne){return ne},endCreating:function(ne,he){he.remove(he.childAt(0)),he.add(new g.Polygon({name:"main",draggable:!0,drift:s(Fe,ne,he),ondragend:s(U,ne,{isEnd:!0})}))},updateCoverShape:function(ne,he,pe,Xe){he.childAt(0).setShape({points:fe(ne,he,pe)})},updateCommon:K,contain:mt}};function Ze(ne){return{createCover:function(he,pe){return W(s(Ie,function(Xe){var lt=[Xe,[0,100]];return ne&<.reverse(),lt},function(Xe){return Xe[ne]}),he,pe,[["w","e"],["n","s"]][ne])},getCreatingRange:function(he){var pe=H(he),Xe=i(pe[0][ne],pe[1][ne]),lt=d(pe[0][ne],pe[1][ne]);return[Xe,lt]},updateCoverShape:function(he,pe,Xe,lt){var At,Me=z(he,pe);if(Me!==!0&&Me.getLinearBrushOtherExtent)At=Me.getLinearBrushOtherExtent(ne,he._transform);else{var Ht=he._zr;At=[0,[Ht.getWidth(),Ht.getHeight()][1-ne]]}var tt=[Xe,At];ne&&tt.reverse(),X(he,pe,tt,lt)},updateCommon:K,contain:mt}}var De=v;R.exports=De},"/MfK":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="DeleteOutlined";var c=N.a=f.forwardRef(p)},"/POA":function(R,N,e){!function(A,f){if(!0)R.exports=f();else var x,m}(window,function(){return function(A){var f={};function x(m){if(f[m])return f[m].exports;var g=f[m]={i:m,l:!1,exports:{}};return A[m].call(g.exports,g,g.exports,x),g.l=!0,g.exports}return x.m=A,x.c=f,x.d=function(m,g,p){x.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:p})},x.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},x.t=function(m,g){if(1&g&&(m=x(m)),8&g)return m;if(4&g&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(x.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),2&g&&typeof m!="string")for(var c in m)x.d(p,c,function(s){return m[s]}.bind(null,c));return p},x.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return x.d(g,"a",g),g},x.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},x.p="",x(x.s=34)}([function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function g(){this._listeners=[],this._disposed=!1}return Object.defineProperty(g.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(s){return c._listeners.push(s),{dispose:function(){if(!c._disposed){for(var n=0;n<c._listeners.length;n++)if(c._listeners[n]===s)return void c._listeners.splice(n,1)}}}}),this._event},enumerable:!1,configurable:!0}),g.prototype.fire=function(p,c){for(var s=[],a=0;a<this._listeners.length;a++)s.push(this._listeners[a]);for(a=0;a<s.length;a++)s[a].call(void 0,p,c)},g.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},g}();f.EventEmitter=m,f.forwardEvent=function(g,p){return g(function(c){return p.fire(c)})}},function(A,f,x){"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=x(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(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var m=function(){function p(){this._disposables=[],this._isDisposed=!1}return p.prototype.dispose=function(){this._isDisposed=!0;for(var c=0,s=this._disposables;c<s.length;c++)s[c].dispose();this._disposables.length=0},p.prototype.register=function(c){return this._disposables.push(c),c},p.prototype.unregister=function(c){var s=this._disposables.indexOf(c);s!==-1&&this._disposables.splice(s,1)},p}();function g(p){for(var c=0,s=p;c<s.length;c++)s[c].dispose();p.length=0}f.Disposable=m,f.disposeArray=g,f.getDisposeArrayDisposable=function(p){return{dispose:function(){return g(p)}}}},function(A,f,x){"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(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(i,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var r in l)l.hasOwnProperty(r)&&(t[r]=l[r])})(i,d)},function(n,i){function d(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(d.prototype=i.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var p=x(8),c=x(3),s=x(6),a=function(n){function i(){var d=n!==null&&n.apply(this,arguments)||this;return d.content=0,d.fg=0,d.bg=0,d.extended=new s.ExtendedAttrs,d.combinedData="",d}return g(i,n),i.fromCharData=function(d){var t=new i;return t.setFromCharData(d),t},i.prototype.isCombined=function(){return 2097152&this.content},i.prototype.getWidth=function(){return this.content>>22},i.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?p.stringFromCodePoint(2097151&this.content):""},i.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},i.prototype.setFromCharData=function(d){this.fg=d[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(d[c.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(d[c.CHAR_DATA_CHAR_INDEX].length===2){var l=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var r=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(l-55296)+r-56320+65536|d[c.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|d[c.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=d[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|d[c.CHAR_DATA_WIDTH_INDEX]<<22)},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(s.AttributeData);f.CellData=a},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=x(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(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var m=function(){function p(){this.fg=0,this.bg=0,this.extended=new g}return p.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},p.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},p.prototype.clone=function(){var c=new p;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},p.prototype.isInverse=function(){return 67108864&this.fg},p.prototype.isBold=function(){return 134217728&this.fg},p.prototype.isUnderline=function(){return 268435456&this.fg},p.prototype.isBlink=function(){return 536870912&this.fg},p.prototype.isInvisible=function(){return 1073741824&this.fg},p.prototype.isItalic=function(){return 67108864&this.bg},p.prototype.isDim=function(){return 134217728&this.bg},p.prototype.getFgColorMode=function(){return 50331648&this.fg},p.prototype.getBgColorMode=function(){return 50331648&this.bg},p.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},p.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},p.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},p.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},p.prototype.isFgDefault=function(){return(50331648&this.fg)==0},p.prototype.isBgDefault=function(){return(50331648&this.bg)==0},p.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},p.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},p.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},p.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},p.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},p.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()},p.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},p.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},p.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},p.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},p.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},p}();f.AttributeData=m;var g=function(){function p(c,s){c===void 0&&(c=0),s===void 0&&(s=-1),this.underlineStyle=c,this.underlineColor=s}return p.prototype.clone=function(){return new p(this.underlineStyle,this.underlineColor)},p.prototype.isEmpty=function(){return this.underlineStyle===0},p}();f.ExtendedAttrs=g},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,g,p,c){m.addEventListener(g,p,c);var s=!1;return{dispose:function(){s||(s=!0,m.removeEventListener(g,p,c))}}}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(p){return p>65535?(p-=65536,String.fromCharCode(55296+(p>>10))+String.fromCharCode(p%1024+56320)):String.fromCharCode(p)},f.utf32ToString=function(p,c,s){c===void 0&&(c=0),s===void 0&&(s=p.length);for(var a="",n=c;n<s;++n){var i=p[n];i>65535?(i-=65536,a+=String.fromCharCode(55296+(i>>10))+String.fromCharCode(i%1024+56320)):a+=String.fromCharCode(i)}return a};var m=function(){function p(){this._interim=0}return p.prototype.clear=function(){this._interim=0},p.prototype.decode=function(c,s){var a=c.length;if(!a)return 0;var n=0,i=0;this._interim&&(56320<=(l=c.charCodeAt(i++))&&l<=57343?s[n++]=1024*(this._interim-55296)+l-56320+65536:(s[n++]=this._interim,s[n++]=l),this._interim=0);for(var d=i;d<a;++d){var t=c.charCodeAt(d);if(55296<=t&&t<=56319){if(++d>=a)return this._interim=t,n;var l;56320<=(l=c.charCodeAt(d))&&l<=57343?s[n++]=1024*(t-55296)+l-56320+65536:(s[n++]=t,s[n++]=l)}else s[n++]=t}return n},p}();f.StringToUtf32=m;var g=function(){function p(){this.interim=new Uint8Array(3)}return p.prototype.clear=function(){this.interim.fill(0)},p.prototype.decode=function(c,s){var a=c.length;if(!a)return 0;var n,i,d,t,l=0,r=0,o=0;if(this.interim[0]){var u=!1,h=this.interim[0];h&=(224&h)==192?31:(240&h)==224?15:7;for(var y=0,b=void 0;(b=63&this.interim[++y])&&y<4;)h<<=6,h|=b;for(var E=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,v=E-y;o<v;){if(o>=a)return 0;if((192&(b=c[o++]))!=128){o--,u=!0;break}this.interim[y++]=b,h<<=6,h|=63&b}u||(E===2?h<128?o--:s[l++]=h:E===3?h<2048||h>=55296&&h<=57343||(s[l++]=h):h<65536||h>1114111||(s[l++]=h)),this.interim.fill(0)}for(var w=a-4,O=o;O<a;){for(;!(!(O<w)||128&(n=c[O])||128&(i=c[O+1])||128&(d=c[O+2])||128&(t=c[O+3]));)s[l++]=n,s[l++]=i,s[l++]=d,s[l++]=t,O+=4;if((n=c[O++])<128)s[l++]=n;else if((224&n)==192){if(O>=a)return this.interim[0]=n,l;if((192&(i=c[O++]))!=128){O--;continue}if((r=(31&n)<<6|63&i)<128){O--;continue}s[l++]=r}else if((240&n)==224){if(O>=a)return this.interim[0]=n,l;if((192&(i=c[O++]))!=128){O--;continue}if(O>=a)return this.interim[0]=n,this.interim[1]=i,l;if((192&(d=c[O++]))!=128){O--;continue}if((r=(15&n)<<12|(63&i)<<6|63&d)<2048||r>=55296&&r<=57343)continue;s[l++]=r}else if((248&n)==240){if(O>=a)return this.interim[0]=n,l;if((192&(i=c[O++]))!=128){O--;continue}if(O>=a)return this.interim[0]=n,this.interim[1]=i,l;if((192&(d=c[O++]))!=128){O--;continue}if(O>=a)return this.interim[0]=n,this.interim[1]=i,this.interim[2]=d,l;if((192&(t=c[O++]))!=128){O--;continue}if((r=(7&n)<<18|(63&i)<<12|(63&d)<<6|63&t)<65536||r>1114111)continue;s[l++]=r}}return l},p}();f.Utf8ToUtf32=g},function(A,f,x){"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(A,f,x){"use strict";var m,g,p,c;function s(n){var i=n.toString(16);return i.length<2?"0"+i:i}function a(n,i){return n<i?(i+.05)/(n+.05):(n+.05)/(i+.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(i,d,t,l){return l!==void 0?"#"+s(i)+s(d)+s(t)+s(l):"#"+s(i)+s(d)+s(t)},n.toRgba=function(i,d,t,l){return l===void 0&&(l=255),(i<<24|d<<16|t<<8|l)>>>0}}(m=f.channels||(f.channels={})),(g=f.color||(f.color={})).blend=function(n,i){var d=(255&i.rgba)/255;if(d===1)return{css:i.css,rgba:i.rgba};var t=i.rgba>>24&255,l=i.rgba>>16&255,r=i.rgba>>8&255,o=n.rgba>>24&255,u=n.rgba>>16&255,h=n.rgba>>8&255,y=o+Math.round((t-o)*d),b=u+Math.round((l-u)*d),E=h+Math.round((r-h)*d);return{css:m.toCss(y,b,E),rgba:m.toRgba(y,b,E)}},g.isOpaque=function(n){return(255&n.rgba)==255},g.ensureContrastRatio=function(n,i,d){var t=c.ensureContrastRatio(n.rgba,i.rgba,d);if(t)return c.toColor(t>>24&255,t>>16&255,t>>8&255)},g.opaque=function(n){var i=(255|n.rgba)>>>0,d=c.toChannels(i),t=d[0],l=d[1],r=d[2];return{css:m.toCss(t,l,r),rgba:i}},g.opacity=function(n,i){var d=Math.round(255*i),t=c.toChannels(n.rgba),l=t[0],r=t[1],o=t[2];return{css:m.toCss(l,r,o,d),rgba:m.toRgba(l,r,o,d)}},(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 i(d,t,l){var r=d/255,o=t/255,u=l/255;return .2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}n.relativeLuminance=function(d){return i(d>>16&255,d>>8&255,255&d)},n.relativeLuminance2=i}(p=f.rgb||(f.rgb={})),function(n){function i(t,l,r){for(var o=t>>24&255,u=t>>16&255,h=t>>8&255,y=l>>24&255,b=l>>16&255,E=l>>8&255,v=a(p.relativeLuminance2(y,E,b),p.relativeLuminance2(o,u,h));v<r&&(y>0||b>0||E>0);)y-=Math.max(0,Math.ceil(.1*y)),b-=Math.max(0,Math.ceil(.1*b)),E-=Math.max(0,Math.ceil(.1*E)),v=a(p.relativeLuminance2(y,E,b),p.relativeLuminance2(o,u,h));return(y<<24|b<<16|E<<8|255)>>>0}function d(t,l,r){for(var o=t>>24&255,u=t>>16&255,h=t>>8&255,y=l>>24&255,b=l>>16&255,E=l>>8&255,v=a(p.relativeLuminance2(y,E,b),p.relativeLuminance2(o,u,h));v<r&&(y<255||b<255||E<255);)y=Math.min(255,y+Math.ceil(.1*(255-y))),b=Math.min(255,b+Math.ceil(.1*(255-b))),E=Math.min(255,E+Math.ceil(.1*(255-E))),v=a(p.relativeLuminance2(y,E,b),p.relativeLuminance2(o,u,h));return(y<<24|b<<16|E<<8|255)>>>0}n.ensureContrastRatio=function(t,l,r){var o=p.relativeLuminance(t>>8),u=p.relativeLuminance(l>>8);if(a(o,u)<r)return u<o?i(t,l,r):d(t,l,r)},n.reduceLuminance=i,n.increaseLuminance=d,n.toChannels=function(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]},n.toColor=function(t,l,r){return{css:m.toCss(t,l,r),rgba:m.toRgba(t,l,r)}}}(c=f.rgba||(f.rgba={})),f.toPaddedHex=s,f.contrastRatio=a},function(A,f,x){"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",g=m?"node":navigator.userAgent,p=m?"node":navigator.platform;function c(s,a){return s.indexOf(a)>=0}f.isFirefox=!!~g.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(g),f.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],p),f.isIpad=p==="iPad",f.isIphone=p==="iPhone",f.isWindows=c(["Windows","Win16","Win32","WinCE"],p),f.isLinux=p.indexOf("Linux")>=0},function(A,f,x){"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(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=x(3),g=x(9),p=x(25),c=x(6),s=x(28),a=x(10),n=x(17),i=function(){function d(t,l,r,o,u,h,y,b){this._container=t,this._alpha=o,this._colors=u,this._rendererId=h,this._bufferService=y,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=r.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return d.prototype.dispose=function(){var t;n.removeElementFromParent(this._canvas),(t=this._charAtlas)===null||t===void 0||t.dispose()},d.prototype._initCanvas=function(){this._ctx=s.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},d.prototype.onOptionsChanged=function(){},d.prototype.onBlur=function(){},d.prototype.onFocus=function(){},d.prototype.onCursorMove=function(){},d.prototype.onGridChanged=function(t,l){},d.prototype.onSelectionChanged=function(t,l,r){r===void 0&&(r=!1)},d.prototype.setColors=function(t){this._refreshCharAtlas(t)},d.prototype._setTransparency=function(t){if(t!==this._alpha){var l=this._canvas;this._alpha=t,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},d.prototype._refreshCharAtlas=function(t){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=p.acquireCharAtlas(this._optionsService.options,this._rendererId,t,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},d.prototype.resize=function(t){this._scaledCellWidth=t.scaledCellWidth,this._scaledCellHeight=t.scaledCellHeight,this._scaledCharWidth=t.scaledCharWidth,this._scaledCharHeight=t.scaledCharHeight,this._scaledCharLeft=t.scaledCharLeft,this._scaledCharTop=t.scaledCharTop,this._canvas.width=t.scaledCanvasWidth,this._canvas.height=t.scaledCanvasHeight,this._canvas.style.width=t.canvasWidth+"px",this._canvas.style.height=t.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},d.prototype._fillCells=function(t,l,r,o){this._ctx.fillRect(t*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight)},d.prototype._fillBottomLineAtCells=function(t,l,r){r===void 0&&(r=1),this._ctx.fillRect(t*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,r*this._scaledCellWidth,window.devicePixelRatio)},d.prototype._fillLeftLineAtCell=function(t,l,r){this._ctx.fillRect(t*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*r,this._scaledCellHeight)},d.prototype._strokeRectAtCell=function(t,l,r,o){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(t*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,r*this._scaledCellWidth-window.devicePixelRatio,o*this._scaledCellHeight-window.devicePixelRatio)},d.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},d.prototype._clearCells=function(t,l,r,o){this._alpha?this._ctx.clearRect(t*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(t*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight))},d.prototype._fillCharTrueColor=function(t,l,r){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(r),this._ctx.fillText(t.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},d.prototype._drawChars=function(t,l,r){var o,u,h=this._getContrastColor(t);h||t.isFgRGB()||t.isBgRGB()?this._drawUncachedChars(t,l,r,h):(t.isInverse()?(o=t.isBgDefault()?g.INVERTED_DEFAULT_COLOR:t.getBgColor(),u=t.isFgDefault()?g.INVERTED_DEFAULT_COLOR:t.getFgColor()):(u=t.isBgDefault()?m.DEFAULT_COLOR:t.getBgColor(),o=t.isFgDefault()?m.DEFAULT_COLOR:t.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=t.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=t.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!t.isBold(),this._currentGlyphIdentifier.dim=!!t.isDim(),this._currentGlyphIdentifier.italic=!!t.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(t,l,r))},d.prototype._drawUncachedChars=function(t,l,r,o){if(this._ctx.save(),this._ctx.font=this._getFont(!!t.isBold(),!!t.isItalic()),this._ctx.textBaseline="middle",t.isInverse())if(o)this._ctx.fillStyle=o.css;else if(t.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(t.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(t.getBgColor()).join(",")+")";else{var u=t.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(o)this._ctx.fillStyle=o.css;else if(t.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(t.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(t.getFgColor()).join(",")+")";else{var h=t.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}this._clipRow(r),t.isDim()&&(this._ctx.globalAlpha=g.DIM_OPACITY),this._ctx.fillText(t.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},d.prototype._clipRow=function(t){this._ctx.beginPath(),this._ctx.rect(0,t*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},d.prototype._getFont=function(t,l){return(l?"italic":"")+" "+(t?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},d.prototype._getContrastColor=function(t){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(t.bg,t.fg);if(l!==void 0)return l||void 0;var r=t.getFgColor(),o=t.getFgColorMode(),u=t.getBgColor(),h=t.getBgColorMode(),y=!!t.isInverse(),b=!!t.isInverse();if(y){var E=r;r=u,u=E;var v=o;o=h,h=v}var w=this._resolveBackgroundRgba(h,u,y),O=this._resolveForegroundRgba(o,r,y,b),T=a.rgba.ensureContrastRatio(w,O,this._optionsService.options.minimumContrastRatio);if(T){var S={css:a.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(t.bg,t.fg,S),S}this._colors.contrastCache.setColor(t.bg,t.fg,null)}},d.prototype._resolveBackgroundRgba=function(t,l,r){switch(t){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return r?this._colors.foreground.rgba:this._colors.background.rgba}},d.prototype._resolveForegroundRgba=function(t,l,r,o){switch(t){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&o&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return r?this._colors.background.rgba:this._colors.foreground.rgba}},d}();f.BaseRenderLayer=i},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(g,p,c){p.di$target===p?p.di$dependencies.push({id:g,index:c}):(p.di$dependencies=[{id:g,index:c}],p.di$target=p)}f.serviceRegistry=new Map,f.getServiceDependencies=function(g){return g.di$dependencies||[]},f.createDecorator=function(g){if(f.serviceRegistry.has(g))return f.serviceRegistry.get(g);var p=function c(s,a,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(c,s,n)};return p.toString=function(){return g},f.serviceRegistry.set(g,p),p}},function(A,f,x){"use strict";function m(g,p,c,s){if(c===void 0&&(c=0),s===void 0&&(s=g.length),c>=g.length)return g;c=(g.length+c)%g.length,s=s>=g.length?g.length:(g.length+s)%g.length;for(var a=c;a<s;++a)g[a]=p;return g}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(g,p,c,s){return g.fill?g.fill(p,c,s):m(g,p,c,s)},f.fillFallback=m,f.concat=function(g,p){var c=new g.constructor(g.length+p.length);return c.set(g),c.set(p,g.length),c}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=x(8),g=x(3),p=x(4),c=x(6);f.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var s=function(){function a(n,i,d){d===void 0&&(d=!1),this.isWrapped=d,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*n);for(var t=i||p.CellData.fromCharData([0,g.NULL_CELL_CHAR,g.NULL_CELL_WIDTH,g.NULL_CELL_CODE]),l=0;l<n;++l)this.setCell(l,t);this.length=n}return a.prototype.get=function(n){var i=this._data[3*n+0],d=2097151&i;return[this._data[3*n+1],2097152&i?this._combined[n]:d?m.stringFromCodePoint(d):"",i>>22,2097152&i?this._combined[n].charCodeAt(this._combined[n].length-1):d]},a.prototype.set=function(n,i){this._data[3*n+1]=i[g.CHAR_DATA_ATTR_INDEX],i[g.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=i[1],this._data[3*n+0]=2097152|n|i[g.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*n+0]=i[g.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[g.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(n){return this._data[3*n+0]>>22},a.prototype.hasWidth=function(n){return 12582912&this._data[3*n+0]},a.prototype.getFg=function(n){return this._data[3*n+1]},a.prototype.getBg=function(n){return this._data[3*n+2]},a.prototype.hasContent=function(n){return 4194303&this._data[3*n+0]},a.prototype.getCodePoint=function(n){var i=this._data[3*n+0];return 2097152&i?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&i},a.prototype.isCombined=function(n){return 2097152&this._data[3*n+0]},a.prototype.getString=function(n){var i=this._data[3*n+0];return 2097152&i?this._combined[n]:2097151&i?m.stringFromCodePoint(2097151&i):""},a.prototype.loadCell=function(n,i){var d=3*n;return i.content=this._data[d+0],i.fg=this._data[d+1],i.bg=this._data[d+2],2097152&i.content&&(i.combinedData=this._combined[n]),268435456&i.bg&&(i.extended=this._extendedAttrs[n]),i},a.prototype.setCell=function(n,i){2097152&i.content&&(this._combined[n]=i.combinedData),268435456&i.bg&&(this._extendedAttrs[n]=i.extended),this._data[3*n+0]=i.content,this._data[3*n+1]=i.fg,this._data[3*n+2]=i.bg},a.prototype.setCellFromCodePoint=function(n,i,d,t,l,r){268435456&l&&(this._extendedAttrs[n]=r),this._data[3*n+0]=i|d<<22,this._data[3*n+1]=t,this._data[3*n+2]=l},a.prototype.addCodepointToCell=function(n,i){var d=this._data[3*n+0];2097152&d?this._combined[n]+=m.stringFromCodePoint(i):(2097151&d?(this._combined[n]=m.stringFromCodePoint(2097151&d)+m.stringFromCodePoint(i),d&=-2097152,d|=2097152):d=i|1<<22,this._data[3*n+0]=d)},a.prototype.insertCells=function(n,i,d,t){if((n%=this.length)&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs),i<this.length-n){for(var l=new p.CellData,r=this.length-n-i-1;r>=0;--r)this.setCell(n+i+r,this.loadCell(n+r,l));for(r=0;r<i;++r)this.setCell(n+r,d)}else for(r=n;r<this.length;++r)this.setCell(r,d);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs)},a.prototype.deleteCells=function(n,i,d,t){if(n%=this.length,i<this.length-n){for(var l=new p.CellData,r=0;r<this.length-n-i;++r)this.setCell(n+r,this.loadCell(n+i+r,l));for(r=this.length-i;r<this.length;++r)this.setCell(r,d)}else for(r=n;r<this.length;++r)this.setCell(r,d);n&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs),this.getWidth(n)!==0||this.hasContent(n)||this.setCellFromCodePoint(n,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs)},a.prototype.replaceCells=function(n,i,d,t){for(n&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs),i<this.length&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new c.ExtendedAttrs);n<i&&n<this.length;)this.setCell(n++,d)},a.prototype.resize=function(n,i){if(n!==this.length){if(n>this.length){var d=new Uint32Array(3*n);this.length&&(3*n<this._data.length?d.set(this._data.subarray(0,3*n)):d.set(this._data)),this._data=d;for(var t=this.length;t<n;++t)this.setCell(t,i)}else if(n){(d=new Uint32Array(3*n)).set(this._data.subarray(0,3*n)),this._data=d;var l=Object.keys(this._combined);for(t=0;t<l.length;t++){var r=parseInt(l[t],10);r>=n&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},a.prototype.fill=function(n){this._combined={},this._extendedAttrs={};for(var i=0;i<this.length;++i)this.setCell(i,n)},a.prototype.copyFrom=function(n){for(var i 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[i]=n._combined[i];for(var i in this._extendedAttrs={},n._extendedAttrs)this._extendedAttrs[i]=n._extendedAttrs[i];this.isWrapped=n.isWrapped},a.prototype.clone=function(){var n=new a(0);for(var i in n._data=new Uint32Array(this._data),n.length=this.length,this._combined)n._combined[i]=this._combined[i];for(var i in this._extendedAttrs)n._extendedAttrs[i]=this._extendedAttrs[i];return n.isWrapped=this.isWrapped,n},a.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},a.prototype.copyCellsFrom=function(n,i,d,t,l){var r=n._data;if(l)for(var o=t-1;o>=0;o--)for(var u=0;u<3;u++)this._data[3*(d+o)+u]=r[3*(i+o)+u];else for(o=0;o<t;o++)for(u=0;u<3;u++)this._data[3*(d+o)+u]=r[3*(i+o)+u];var h=Object.keys(n._combined);for(u=0;u<h.length;u++){var y=parseInt(h[u],10);y>=i&&(this._combined[y-i+d]=n._combined[y])}},a.prototype.translateToString=function(n,i,d){n===void 0&&(n=!1),i===void 0&&(i=0),d===void 0&&(d=this.length),n&&(d=Math.min(d,this.getTrimmedLength()));for(var t="";i<d;){var l=this._data[3*i+0],r=2097151&l;t+=2097152&l?this._combined[i]:r?m.stringFromCodePoint(r):g.WHITESPACE_CELL_CHAR,i+=l>>22||1}return t},a}();f.BufferLine=s},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];for(var c=0,s=g;c<s.length;c++){var a=s[c];(m=a==null?void 0:a.parentElement)===null||m===void 0||m.removeChild(a)}}},function(A,f,x){"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(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(T,S){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var I in _)_.hasOwnProperty(I)&&(C[I]=_[I])})(T,S)},function(O,T){function S(){this.constructor=O}m(O,T),O.prototype=T===null?Object.create(T):(S.prototype=T.prototype,new S)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var p,c=x(12),s=x(20),a=x(39),n=x(2),i=x(15),d=x(8),t=x(16),l=x(0),r=x(3),o=x(4),u=x(6),h=x(22),y=x(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function E(O,T){if(O>24)return T.setWinLines||!1;switch(O){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(O){O[O.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",O[O.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(p=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var v=function(){function O(T,S,C,_){this._bufferService=T,this._coreService=S,this._logService=C,this._optionsService=_,this._data=new Uint32Array(0)}return O.prototype.hook=function(T){this._data=new Uint32Array(0)},O.prototype.put=function(T,S,C){this._data=i.concat(this._data,T.subarray(S,C))},O.prototype.unhook=function(T){if(T){var S=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),S){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 _={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return _-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+_+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",S),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},O}(),w=function(O){function T(S,C,_,I,k,F,B,j,z){z===void 0&&(z=new a.EscapeSequenceParser);var M=O.call(this)||this;M._bufferService=S,M._charsetService=C,M._coreService=_,M._dirtyRowService=I,M._logService=k,M._optionsService=F,M._coreMouseService=B,M._unicodeService=j,M._parser=z,M._parseBuffer=new Uint32Array(4096),M._stringDecoder=new d.StringToUtf32,M._utf8Decoder=new d.Utf8ToUtf32,M._workCell=new o.CellData,M._windowTitle="",M._iconName="",M._windowTitleStack=[],M._iconNameStack=[],M._curAttrData=t.DEFAULT_ATTR_DATA.clone(),M._eraseAttrDataInternal=t.DEFAULT_ATTR_DATA.clone(),M._onRequestBell=new l.EventEmitter,M._onRequestRefreshRows=new l.EventEmitter,M._onRequestReset=new l.EventEmitter,M._onRequestScroll=new l.EventEmitter,M._onRequestSyncScrollBar=new l.EventEmitter,M._onRequestWindowsOptionsReport=new l.EventEmitter,M._onA11yChar=new l.EventEmitter,M._onA11yTab=new l.EventEmitter,M._onCursorMove=new l.EventEmitter,M._onLineFeed=new l.EventEmitter,M._onScroll=new l.EventEmitter,M._onTitleChange=new l.EventEmitter,M.register(M._parser),M._parser.setCsiHandlerFallback(function(W,X){M._logService.debug("Unknown CSI code: ",{identifier:M._parser.identToString(W),params:X.toArray()})}),M._parser.setEscHandlerFallback(function(W){M._logService.debug("Unknown ESC code: ",{identifier:M._parser.identToString(W)})}),M._parser.setExecuteHandlerFallback(function(W){M._logService.debug("Unknown EXECUTE code: ",{code:W})}),M._parser.setOscHandlerFallback(function(W,X,K){M._logService.debug("Unknown OSC code: ",{identifier:W,action:X,data:K})}),M._parser.setDcsHandlerFallback(function(W,X,K){X==="HOOK"&&(K=K.toArray()),M._logService.debug("Unknown DCS code: ",{identifier:M._parser.identToString(W),action:X,payload:K})}),M._parser.setPrintHandler(function(W,X,K){return M.print(W,X,K)}),M._parser.setCsiHandler({final:"@"},function(W){return M.insertChars(W)}),M._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return M.scrollLeft(W)}),M._parser.setCsiHandler({final:"A"},function(W){return M.cursorUp(W)}),M._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return M.scrollRight(W)}),M._parser.setCsiHandler({final:"B"},function(W){return M.cursorDown(W)}),M._parser.setCsiHandler({final:"C"},function(W){return M.cursorForward(W)}),M._parser.setCsiHandler({final:"D"},function(W){return M.cursorBackward(W)}),M._parser.setCsiHandler({final:"E"},function(W){return M.cursorNextLine(W)}),M._parser.setCsiHandler({final:"F"},function(W){return M.cursorPrecedingLine(W)}),M._parser.setCsiHandler({final:"G"},function(W){return M.cursorCharAbsolute(W)}),M._parser.setCsiHandler({final:"H"},function(W){return M.cursorPosition(W)}),M._parser.setCsiHandler({final:"I"},function(W){return M.cursorForwardTab(W)}),M._parser.setCsiHandler({final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({final:"L"},function(W){return M.insertLines(W)}),M._parser.setCsiHandler({final:"M"},function(W){return M.deleteLines(W)}),M._parser.setCsiHandler({final:"P"},function(W){return M.deleteChars(W)}),M._parser.setCsiHandler({final:"S"},function(W){return M.scrollUp(W)}),M._parser.setCsiHandler({final:"T"},function(W){return M.scrollDown(W)}),M._parser.setCsiHandler({final:"X"},function(W){return M.eraseChars(W)}),M._parser.setCsiHandler({final:"Z"},function(W){return M.cursorBackwardTab(W)}),M._parser.setCsiHandler({final:"`"},function(W){return M.charPosAbsolute(W)}),M._parser.setCsiHandler({final:"a"},function(W){return M.hPositionRelative(W)}),M._parser.setCsiHandler({final:"b"},function(W){return M.repeatPrecedingCharacter(W)}),M._parser.setCsiHandler({final:"c"},function(W){return M.sendDeviceAttributesPrimary(W)}),M._parser.setCsiHandler({prefix:">",final:"c"},function(W){return M.sendDeviceAttributesSecondary(W)}),M._parser.setCsiHandler({final:"d"},function(W){return M.linePosAbsolute(W)}),M._parser.setCsiHandler({final:"e"},function(W){return M.vPositionRelative(W)}),M._parser.setCsiHandler({final:"f"},function(W){return M.hVPosition(W)}),M._parser.setCsiHandler({final:"g"},function(W){return M.tabClear(W)}),M._parser.setCsiHandler({final:"h"},function(W){return M.setMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return M.setModePrivate(W)}),M._parser.setCsiHandler({final:"l"},function(W){return M.resetMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return M.resetModePrivate(W)}),M._parser.setCsiHandler({final:"m"},function(W){return M.charAttributes(W)}),M._parser.setCsiHandler({final:"n"},function(W){return M.deviceStatus(W)}),M._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return M.deviceStatusPrivate(W)}),M._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return M.softReset(W)}),M._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return M.setCursorStyle(W)}),M._parser.setCsiHandler({final:"r"},function(W){return M.setScrollRegion(W)}),M._parser.setCsiHandler({final:"s"},function(W){return M.saveCursor(W)}),M._parser.setCsiHandler({final:"t"},function(W){return M.windowOptions(W)}),M._parser.setCsiHandler({final:"u"},function(W){return M.restoreCursor(W)}),M._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return M.insertColumns(W)}),M._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return M.deleteColumns(W)}),M._parser.setExecuteHandler(c.C0.BEL,function(){return M.bell()}),M._parser.setExecuteHandler(c.C0.LF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(c.C0.VT,function(){return M.lineFeed()}),M._parser.setExecuteHandler(c.C0.FF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(c.C0.CR,function(){return M.carriageReturn()}),M._parser.setExecuteHandler(c.C0.BS,function(){return M.backspace()}),M._parser.setExecuteHandler(c.C0.HT,function(){return M.tab()}),M._parser.setExecuteHandler(c.C0.SO,function(){return M.shiftOut()}),M._parser.setExecuteHandler(c.C0.SI,function(){return M.shiftIn()}),M._parser.setExecuteHandler(c.C1.IND,function(){return M.index()}),M._parser.setExecuteHandler(c.C1.NEL,function(){return M.nextLine()}),M._parser.setExecuteHandler(c.C1.HTS,function(){return M.tabSet()}),M._parser.setOscHandler(0,new h.OscHandler(function(W){M.setTitle(W),M.setIconName(W)})),M._parser.setOscHandler(1,new h.OscHandler(function(W){return M.setIconName(W)})),M._parser.setOscHandler(2,new h.OscHandler(function(W){return M.setTitle(W)})),M._parser.setEscHandler({final:"7"},function(){return M.saveCursor()}),M._parser.setEscHandler({final:"8"},function(){return M.restoreCursor()}),M._parser.setEscHandler({final:"D"},function(){return M.index()}),M._parser.setEscHandler({final:"E"},function(){return M.nextLine()}),M._parser.setEscHandler({final:"H"},function(){return M.tabSet()}),M._parser.setEscHandler({final:"M"},function(){return M.reverseIndex()}),M._parser.setEscHandler({final:"="},function(){return M.keypadApplicationMode()}),M._parser.setEscHandler({final:">"},function(){return M.keypadNumericMode()}),M._parser.setEscHandler({final:"c"},function(){return M.fullReset()}),M._parser.setEscHandler({final:"n"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"o"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"|"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"}"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"~"},function(){return M.setgLevel(1)}),M._parser.setEscHandler({intermediates:"%",final:"@"},function(){return M.selectDefaultCharset()}),M._parser.setEscHandler({intermediates:"%",final:"G"},function(){return M.selectDefaultCharset()});var U=function(X){P._parser.setEscHandler({intermediates:"(",final:X},function(){return M.selectCharset("("+X)}),P._parser.setEscHandler({intermediates:")",final:X},function(){return M.selectCharset(")"+X)}),P._parser.setEscHandler({intermediates:"*",final:X},function(){return M.selectCharset("*"+X)}),P._parser.setEscHandler({intermediates:"+",final:X},function(){return M.selectCharset("+"+X)}),P._parser.setEscHandler({intermediates:"-",final:X},function(){return M.selectCharset("-"+X)}),P._parser.setEscHandler({intermediates:".",final:X},function(){return M.selectCharset("."+X)}),P._parser.setEscHandler({intermediates:"/",final:X},function(){return M.selectCharset("/"+X)})},P=this;for(var H in s.CHARSETS)U(H);return M._parser.setEscHandler({intermediates:"#",final:"8"},function(){return M.screenAlignmentPattern()}),M._parser.setErrorHandler(function(W){return M._logService.error("Parsing error: ",W),W}),M._parser.setDcsHandler({intermediates:"$",final:"q"},new v(M._bufferService,M._coreService,M._logService,M._optionsService)),M}return g(T,O),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){O.prototype.dispose.call(this)},T.prototype.parse=function(S){var C=this._bufferService.buffer,_=C.x,I=C.y;if(this._logService.debug("parsing data",S),this._parseBuffer.length<S.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(S.length,131072))),this._dirtyRowService.clearRange(),S.length>131072)for(var k=0;k<S.length;k+=131072){var F=k+131072<S.length?k+131072:S.length,B=typeof S=="string"?this._stringDecoder.decode(S.substring(k,F),this._parseBuffer):this._utf8Decoder.decode(S.subarray(k,F),this._parseBuffer);this._parser.parse(this._parseBuffer,B)}else B=typeof S=="string"?this._stringDecoder.decode(S,this._parseBuffer):this._utf8Decoder.decode(S,this._parseBuffer),this._parser.parse(this._parseBuffer,B);(C=this._bufferService.buffer).x===_&&C.y===I||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(S,C,_){var I,k,F=this._bufferService.buffer,B=this._charsetService.charset,j=this._optionsService.options.screenReaderMode,z=this._bufferService.cols,M=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,P=this._curAttrData,H=F.lines.get(F.ybase+F.y);this._dirtyRowService.markDirty(F.y),F.x&&_-C>0&&H.getWidth(F.x-1)===2&&H.setCellFromCodePoint(F.x-1,0,1,P.fg,P.bg,P.extended);for(var W=C;W<_;++W){if(I=S[W],k=this._unicodeService.wcwidth(I),I<127&&B){var X=B[String.fromCharCode(I)];X&&(I=X.charCodeAt(0))}if(j&&this._onA11yChar.fire(d.stringFromCodePoint(I)),k||!F.x){if(F.x+k-1>=z){if(M){for(;F.x<z;)H.setCellFromCodePoint(F.x++,0,1,P.fg,P.bg,P.extended);F.x=0,F.y++,F.y===F.scrollBottom+1?(F.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(F.y>=this._bufferService.rows&&(F.y=this._bufferService.rows-1),F.lines.get(F.ybase+F.y).isWrapped=!0),H=F.lines.get(F.ybase+F.y)}else if(F.x=z-1,k===2)continue}if(U&&(H.insertCells(F.x,k,F.getNullCell(P),P),H.getWidth(z-1)===2&&H.setCellFromCodePoint(z-1,r.NULL_CELL_CODE,r.NULL_CELL_WIDTH,P.fg,P.bg,P.extended)),H.setCellFromCodePoint(F.x++,I,k,P.fg,P.bg,P.extended),k>0)for(;--k;)H.setCellFromCodePoint(F.x++,0,0,P.fg,P.bg,P.extended)}else H.getWidth(F.x-1)?H.addCodepointToCell(F.x-1,I):H.addCodepointToCell(F.x-2,I)}_-C>0&&(H.loadCell(F.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),F.x<z&&_-C>0&&H.getWidth(F.x)===0&&!H.hasContent(F.x)&&H.setCellFromCodePoint(F.x,0,1,P.fg,P.bg,P.extended),this._dirtyRowService.markDirty(F.y)},T.prototype.addCsiHandler=function(S,C){var _=this;return S.final!=="t"||S.prefix||S.intermediates?this._parser.addCsiHandler(S,C):this._parser.addCsiHandler(S,function(I){return!E(I.params[0],_._optionsService.options.windowOptions)||C(I)})},T.prototype.addDcsHandler=function(S,C){return this._parser.addDcsHandler(S,new y.DcsHandler(C))},T.prototype.addEscHandler=function(S,C){return this._parser.addEscHandler(S,C)},T.prototype.addOscHandler=function(S,C){return this._parser.addOscHandler(S,new h.OscHandler(C))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var S=this._bufferService.buffer;this._dirtyRowService.markDirty(S.y),this._optionsService.options.convertEol&&(S.x=0),S.y++,S.y===S.scrollBottom+1?(S.y--,this._onRequestScroll.fire(this._eraseAttrData())):S.y>=this._bufferService.rows&&(S.y=this._bufferService.rows-1),S.x>=this._bufferService.cols&&S.x--,this._dirtyRowService.markDirty(S.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var S,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&&((S=C.lines.get(C.ybase+C.y))===null||S===void 0?void 0:S.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var _=C.lines.get(C.ybase+C.y);_.hasWidth(C.x)&&!_.hasContent(C.x)&&C.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var S=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-S)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(S){S===void 0&&(S=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(S,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)},T.prototype._setCursor=function(S,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=S,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=S,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(S,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+S,this._bufferService.buffer.y+C)},T.prototype.cursorUp=function(S){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,S.params[0]||1)):this._moveCursor(0,-(S.params[0]||1))},T.prototype.cursorDown=function(S){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,S.params[0]||1)):this._moveCursor(0,S.params[0]||1)},T.prototype.cursorForward=function(S){this._moveCursor(S.params[0]||1,0)},T.prototype.cursorBackward=function(S){this._moveCursor(-(S.params[0]||1),0)},T.prototype.cursorNextLine=function(S){this.cursorDown(S),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(S){this.cursorUp(S),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(S){this._setCursor(S.length>=2?(S.params[1]||1)-1:0,(S.params[0]||1)-1)},T.prototype.charPosAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(S){this._moveCursor(S.params[0]||1,0)},T.prototype.linePosAbsolute=function(S){this._setCursor(this._bufferService.buffer.x,(S.params[0]||1)-1)},T.prototype.vPositionRelative=function(S){this._moveCursor(0,S.params[0]||1)},T.prototype.hVPosition=function(S){this.cursorPosition(S)},T.prototype.tabClear=function(S){var C=S.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=S.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=S.params[0]||1,_=this._bufferService.buffer;C--;)_.x=_.prevStop()},T.prototype._eraseInBufferLine=function(S,C,_,I){I===void 0&&(I=!1);var k=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);k.replaceCells(C,_,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),I&&(k.isWrapped=!1)},T.prototype._resetBufferLine=function(S){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},T.prototype.eraseInDisplay=function(S){var C;switch(this._restrictCursor(),S.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 _=this._bufferService.buffer.lines.length-this._bufferService.rows;_>0&&(this._bufferService.buffer.lines.trimStart(_),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-_,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-_,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(S){switch(this._restrictCursor(),S.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)},T.prototype.insertLines=function(S){this._restrictCursor();var C=S.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=_.ybase+_.y,k=this._bufferService.rows-1-_.scrollBottom,F=this._bufferService.rows-1+_.ybase-k+1;C--;)_.lines.splice(F-1,1),_.lines.splice(I,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.deleteLines=function(S){this._restrictCursor();var C=S.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){var I,k=_.ybase+_.y;for(I=this._bufferService.rows-1-_.scrollBottom,I=this._bufferService.rows-1+_.ybase-I;C--;)_.lines.splice(k,1),_.lines.splice(I,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.insertChars=function(S){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(S){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(S){for(var C=S.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollTop,1),_.lines.splice(_.ybase+_.scrollBottom,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollDown=function(S){for(var C=S.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollBottom,1),_.lines.splice(_.ybase+_.scrollTop,0,_.getBlankLine(t.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollLeft=function(S){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=S.params[0]||1,I=C.scrollTop;I<=C.scrollBottom;++I){var k=C.lines.get(C.ybase+I);k.deleteCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.scrollRight=function(S){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=S.params[0]||1,I=C.scrollTop;I<=C.scrollBottom;++I){var k=C.lines.get(C.ybase+I);k.insertCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.insertColumns=function(S){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=S.params[0]||1,I=C.scrollTop;I<=C.scrollBottom;++I){var k=this._bufferService.buffer.lines.get(C.ybase+I);k.insertCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.deleteColumns=function(S){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=S.params[0]||1,I=C.scrollTop;I<=C.scrollBottom;++I){var k=C.lines.get(C.ybase+I);k.deleteCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.eraseChars=function(S){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+(S.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(S){if(this._parser.precedingCodepoint){for(var C=S.params[0]||1,_=new Uint32Array(C),I=0;I<C;++I)_[I]=this._parser.precedingCodepoint;this.print(_,0,_.length)}},T.prototype.sendDeviceAttributesPrimary=function(S){S.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"))},T.prototype.sendDeviceAttributesSecondary=function(S){S.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(S.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(S){return(this._optionsService.options.termName+"").indexOf(S)===0},T.prototype.setMode=function(S){for(var C=0;C<S.length;C++)switch(S.params[C]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(S){for(var C=0;C<S.length;C++)switch(S.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,s.DEFAULT_CHARSET),this._charsetService.setgCharset(1,s.DEFAULT_CHARSET),this._charsetService.setgCharset(2,s.DEFAULT_CHARSET),this._charsetService.setgCharset(3,s.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}},T.prototype.resetMode=function(S){for(var C=0;C<S.length;C++)switch(S.params[C]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(S){for(var C=0;C<S.length;C++)switch(S.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(),S.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}},T.prototype._updateAttrColor=function(S,C,_,I,k){return C===2?(S|=50331648,S&=-16777216,S|=u.AttributeData.fromColorRGB([_,I,k])):C===5&&(S&=-50331904,S|=33554432|255&_),S},T.prototype._extractColor=function(S,C,_){var I=[0,0,-1,0,0,0],k=0,F=0;do{if(I[F+k]=S.params[C+F],S.hasSubParams(C+F)){var B=S.getSubParams(C+F),j=0;do I[1]===5&&(k=1),I[F+j+1+k]=B[j];while(++j<B.length&&j+F+1+k<I.length);break}if(I[1]===5&&F+k>=2||I[1]===2&&F+k>=5)break;I[1]&&(k=1)}while(++F+C<S.length&&F+k<I.length);for(j=2;j<I.length;++j)I[j]===-1&&(I[j]=0);switch(I[0]){case 38:_.fg=this._updateAttrColor(_.fg,I[1],I[3],I[4],I[5]);break;case 48:_.bg=this._updateAttrColor(_.bg,I[1],I[3],I[4],I[5]);break;case 58:_.extended=_.extended.clone(),_.extended.underlineColor=this._updateAttrColor(_.extended.underlineColor,I[1],I[3],I[4],I[5])}return F},T.prototype._processUnderline=function(S,C){C.extended=C.extended.clone(),(!~S||S>5)&&(S=1),C.extended.underlineStyle=S,C.fg|=268435456,S===0&&(C.fg&=-268435457),C.updateExtended()},T.prototype.charAttributes=function(S){if(S.length===1&&S.params[0]===0)return this._curAttrData.fg=t.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=t.DEFAULT_ATTR_DATA.bg);for(var C,_=S.length,I=this._curAttrData,k=0;k<_;k++)(C=S.params[k])>=30&&C<=37?(I.fg&=-50331904,I.fg|=16777216|C-30):C>=40&&C<=47?(I.bg&=-50331904,I.bg|=16777216|C-40):C>=90&&C<=97?(I.fg&=-50331904,I.fg|=16777224|C-90):C>=100&&C<=107?(I.bg&=-50331904,I.bg|=16777224|C-100):C===0?(I.fg=t.DEFAULT_ATTR_DATA.fg,I.bg=t.DEFAULT_ATTR_DATA.bg):C===1?I.fg|=134217728:C===3?I.bg|=67108864:C===4?(I.fg|=268435456,this._processUnderline(S.hasSubParams(k)?S.getSubParams(k)[0]:1,I)):C===5?I.fg|=536870912:C===7?I.fg|=67108864:C===8?I.fg|=1073741824:C===2?I.bg|=134217728:C===21?this._processUnderline(2,I):C===22?(I.fg&=-134217729,I.bg&=-134217729):C===23?I.bg&=-67108865:C===24?I.fg&=-268435457:C===25?I.fg&=-536870913:C===27?I.fg&=-67108865:C===28?I.fg&=-1073741825:C===39?(I.fg&=-67108864,I.fg|=16777215&t.DEFAULT_ATTR_DATA.fg):C===49?(I.bg&=-67108864,I.bg|=16777215&t.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?k+=this._extractColor(S,k,I):C===59?(I.extended=I.extended.clone(),I.extended.underlineColor=-1,I.updateExtended()):C===100?(I.fg&=-67108864,I.fg|=16777215&t.DEFAULT_ATTR_DATA.fg,I.bg&=-67108864,I.bg|=16777215&t.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},T.prototype.deviceStatus=function(S){switch(S.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+C+";"+_+"R")}},T.prototype.deviceStatusPrivate=function(S){switch(S.params[0]){case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+C+";"+_+"R")}},T.prototype.softReset=function(S){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=t.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},T.prototype.setCursorStyle=function(S){var C=S.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 _=C%2==1;this._optionsService.options.cursorBlink=_},T.prototype.setScrollRegion=function(S){var C,_=S.params[0]||1;(S.length<2||(C=S.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>_&&(this._bufferService.buffer.scrollTop=_-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},T.prototype.windowOptions=function(S){if(E(S.params[0],this._optionsService.options.windowOptions)){var C=S.length>1?S.params[1]:0;switch(S.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(p.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(p.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())}}},T.prototype.saveCursor=function(S){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},T.prototype.restoreCursor=function(S){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()},T.prototype.setTitle=function(S){this._windowTitle=S,this._onTitleChange.fire(S)},T.prototype.setIconName=function(S){this._iconName=S},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,s.DEFAULT_CHARSET)},T.prototype.selectCharset=function(S){S.length===2?S[0]!=="/"&&this._charsetService.setgCharset(b[S[0]],s.CHARSETS[S[1]]||s.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var S=this._bufferService.buffer;this._bufferService.buffer.y++,S.y===S.scrollBottom+1?(S.y--,this._onRequestScroll.fire(this._eraseAttrData())):S.y>=this._bufferService.rows&&(S.y=this._bufferService.rows-1),this._restrictCursor()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.prototype.reverseIndex=function(){this._restrictCursor();var S=this._bufferService.buffer;if(S.y===S.scrollTop){var C=S.scrollBottom-S.scrollTop;S.lines.shiftElements(S.ybase+S.y,C,1),S.lines.set(S.ybase+S.y,S.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}else S.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=t.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=t.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(S){this._charsetService.setgLevel(S)},T.prototype.screenAlignmentPattern=function(){var S=new o.CellData;S.content=1<<22|"E".charCodeAt(0),S.fg=this._curAttrData.fg,S.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var _=0;_<this._bufferService.rows;++_){var I=C.ybase+C.y+_,k=C.lines.get(I);k&&(k.fill(S),k.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(n.Disposable);f.InputHandler=w},function(A,f,x){"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(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function g(p,c){if(p===void 0&&(p=32),c===void 0&&(c=32),this.maxLength=p,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(p),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(p),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return g.fromArray=function(p){var c=new g;if(!p.length)return c;for(var s=p[0]instanceof Array?1:0;s<p.length;++s){var a=p[s];if(a instanceof Array)for(var n=0;n<a.length;++n)c.addSubParam(a[n]);else c.addParam(a)}return c},g.prototype.clone=function(){var p=new g(this.maxLength,this.maxSubParamsLength);return p.params.set(this.params),p.length=this.length,p._subParams.set(this._subParams),p._subParamsLength=this._subParamsLength,p._subParamsIdx.set(this._subParamsIdx),p._rejectDigits=this._rejectDigits,p._rejectSubDigits=this._rejectSubDigits,p._digitIsSub=this._digitIsSub,p},g.prototype.toArray=function(){for(var p=[],c=0;c<this.length;++c){p.push(this.params[c]);var s=this._subParamsIdx[c]>>8,a=255&this._subParamsIdx[c];a-s>0&&p.push(Array.prototype.slice.call(this._subParams,s,a))}return p},g.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},g.prototype.addParam=function(p){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(p<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=p>2147483647?2147483647:p}},g.prototype.addSubParam=function(p){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(p<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=p>2147483647?2147483647:p,this._subParamsIdx[this.length-1]++}},g.prototype.hasSubParams=function(p){return(255&this._subParamsIdx[p])-(this._subParamsIdx[p]>>8)>0},g.prototype.getSubParams=function(p){var c=this._subParamsIdx[p]>>8,s=255&this._subParamsIdx[p];return s-c>0?this._subParams.subarray(c,s):null},g.prototype.getSubParamsAll=function(){for(var p={},c=0;c<this.length;++c){var s=this._subParamsIdx[c]>>8,a=255&this._subParamsIdx[c];a-s>0&&(p[c]=this._subParams.slice(s,a))}return p},g.prototype.addDigit=function(p){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var s=this._digitIsSub?this._subParams:this.params,a=s[c-1];s[c-1]=~a?Math.min(10*a+p,2147483647):p}},g}();f.Params=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=x(23),g=x(8),p=function(){function s(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return s.prototype.addHandler=function(a,n){this._handlers[a]===void 0&&(this._handlers[a]=[]);var i=this._handlers[a];return i.push(n),{dispose:function(){var t=i.indexOf(n);t!==-1&&i.splice(t,1)}}},s.prototype.setHandler=function(a,n){this._handlers[a]=[n]},s.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},s.prototype.setHandlerFallback=function(a){this._handlerFb=a},s.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},s.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},s.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var n=a.length-1;n>=0;n--)a[n].start();else this._handlerFb(this._id,"START")},s.prototype._put=function(a,n,i){var d=this._handlers[this._id];if(d)for(var t=d.length-1;t>=0;t--)d[t].put(a,n,i);else this._handlerFb(this._id,"PUT",g.utf32ToString(a,n,i))},s.prototype._end=function(a){var n=this._handlers[this._id];if(n){for(var i=n.length-1;i>=0&&n[i].end(a)===!1;i--);for(i--;i>=0;i--)n[i].end(!1)}else this._handlerFb(this._id,"END",a)},s.prototype.start=function(){this.reset(),this._id=-1,this._state=1},s.prototype.put=function(a,n,i){if(this._state!==3){if(this._state===1)for(;n<i;){var d=a[n++];if(d===59){this._state=2,this._start();break}if(d<48||57<d)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+d-48}this._state===2&&i-n>0&&this._put(a,n,i)}},s.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},s}();f.OscParser=p;var c=function(){function s(a){this._handler=a,this._data="",this._hitLimit=!1}return s.prototype.start=function(){this._data="",this._hitLimit=!1},s.prototype.put=function(a,n,i){this._hitLimit||(this._data+=g.utf32ToString(a,n,i),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},s.prototype.end=function(a){var n;return this._hitLimit?n=!1:a&&(n=this._handler(this._data)),this._data="",this._hitLimit=!1,n},s}();f.OscHandler=c},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=x(8),g=x(21),p=x(23),c=[],s=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(i,d){this._handlers[i]===void 0&&(this._handlers[i]=[]);var t=this._handlers[i];return t.push(d),{dispose:function(){var r=t.indexOf(d);r!==-1&&t.splice(r,1)}}},n.prototype.setHandler=function(i,d){this._handlers[i]=[d]},n.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},n.prototype.setHandlerFallback=function(i){this._handlerFb=i},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=c,this._ident=0},n.prototype.hook=function(i,d){if(this.reset(),this._ident=i,this._active=this._handlers[i]||c,this._active.length)for(var t=this._active.length-1;t>=0;t--)this._active[t].hook(d);else this._handlerFb(this._ident,"HOOK",d)},n.prototype.put=function(i,d,t){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(i,d,t);else this._handlerFb(this._ident,"PUT",m.utf32ToString(i,d,t))},n.prototype.unhook=function(i){if(this._active.length){for(var d=this._active.length-1;d>=0&&this._active[d].unhook(i)===!1;d--);for(d--;d>=0;d--)this._active[d].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",i);this._active=c,this._ident=0},n}();f.DcsParser=s;var a=function(){function n(i){this._handler=i,this._data="",this._hitLimit=!1}return n.prototype.hook=function(i){this._params=i.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(i,d,t){this._hitLimit||(this._data+=m.utf32ToString(i,d,t),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(i){var d;return this._hitLimit?d=!1:i&&(d=this._handler(this._data,this._params||new g.Params)),this._params=void 0,this._data="",this._hitLimit=!1,d},n}();f.DcsHandler=a},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=x(26),g=x(43),p=[];f.acquireCharAtlas=function(c,s,a,n,i){for(var d=m.generateConfig(n,i,c,a),t=0;t<p.length;t++){var l=(r=p[t]).ownedBy.indexOf(s);if(l>=0){if(m.configEquals(r.config,d))return r.atlas;r.ownedBy.length===1?(r.atlas.dispose(),p.splice(t,1)):r.ownedBy.splice(l,1);break}}for(t=0;t<p.length;t++){var r=p[t];if(m.configEquals(r.config,d))return r.ownedBy.push(s),r.atlas}var o={atlas:new g.DynamicCharAtlas(document,d),config:d,ownedBy:[s]};return p.push(o),o.atlas},f.removeTerminalFromCache=function(c){for(var s=0;s<p.length;s++){var a=p[s].ownedBy.indexOf(c);if(a!==-1){p[s].ownedBy.length===1?(p[s].atlas.dispose(),p.splice(s,1)):p[s].ownedBy.splice(a,1);break}}}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=x(3);f.generateConfig=function(g,p,c,s){var a={foreground:s.foreground,background:s.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:s.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:g,scaledCharHeight:p,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:a}},f.configEquals=function(g,p){for(var c=0;c<g.colors.ansi.length;c++)if(g.colors.ansi[c].rgba!==p.colors.ansi[c].rgba)return!1;return g.devicePixelRatio===p.devicePixelRatio&&g.fontFamily===p.fontFamily&&g.fontSize===p.fontSize&&g.fontWeight===p.fontWeight&&g.fontWeightBold===p.fontWeightBold&&g.allowTransparency===p.allowTransparency&&g.scaledCharWidth===p.scaledCharWidth&&g.scaledCharHeight===p.scaledCharHeight&&g.colors.foreground===p.colors.foreground&&g.colors.background===p.colors.background},f.is256Color=function(g){return g<m.DEFAULT_COLOR}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=x(10),g=x(45),p=m.css.toColor("#ffffff"),c=m.css.toColor("#000000"),s=m.css.toColor("#ffffff"),a=m.css.toColor("#000000"),n={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var d=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],l=0;l<216;l++){var r=t[l/36%6|0],o=t[l/6%6|0],u=t[l%6];d.push({css:m.channels.toCss(r,o,u),rgba:m.channels.toRgba(r,o,u)})}for(l=0;l<24;l++){var h=8+10*l;d.push({css:m.channels.toCss(h,h,h),rgba:m.channels.toRgba(h,h,h)})}return d}();var i=function(){function d(t,l){this.allowTransparency=l;var r=t.createElement("canvas");r.width=1,r.height=1;var o=r.getContext("2d");if(!o)throw new Error("Could not get rendering context");this._ctx=o,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new g.ColorContrastCache,this.colors={foreground:p,background:c,cursor:s,cursorAccent:a,selectionTransparent:n,selectionOpaque:m.color.blend(c,n),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return d.prototype.onOptionsChange=function(t){t==="minimumContrastRatio"&&this._contrastCache.clear()},d.prototype.setTheme=function(t){(t===void 0&&(t={}),this.colors.foreground=this._parseColor(t.foreground,p),this.colors.background=this._parseColor(t.background,c),this.colors.cursor=this._parseColor(t.cursor,s,!0),this.colors.cursorAccent=this._parseColor(t.cursorAccent,a,!0),this.colors.selectionTransparent=this._parseColor(t.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(t.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(t.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(t.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(t.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(t.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(t.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(t.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(t.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(t.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(t.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(t.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(t.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(t.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(t.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(t.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(t.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},d.prototype._parseColor=function(t,l,r){if(r===void 0&&(r=this.allowTransparency),t===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=t,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+t+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var o=this._ctx.getImageData(0,0,1,1).data;if(o[3]!==255){if(!r)return console.warn("Color: "+t+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(w){return Number(w)}),h=u[0],y=u[1],b=u[2],E=u[3],v=Math.round(255*E);return{rgba:m.channels.toRgba(h,y,b,v),css:t}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(o[0],o[1],o[2],o[3])}},d}();f.ColorManager=i},function(A,f,x){"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(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(d,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,r){l.__proto__=r}||function(l,r){for(var o in r)r.hasOwnProperty(o)&&(l[o]=r[o])})(d,t)},function(i,d){function t(){this.constructor=i}m(i,d),i.prototype=d===null?Object.create(d):(t.prototype=d.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var p=x(6),c=x(3),s=x(4),a=function(i){function d(t,l,r){var o=i.call(this)||this;return o.content=0,o.combinedData="",o.fg=t.fg,o.bg=t.bg,o.combinedData=l,o._width=r,o}return g(d,i),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(t){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(p.AttributeData);f.JoinedCellData=a;var n=function(){function i(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new s.CellData}return i.prototype.registerCharacterJoiner=function(d){var t={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(t),t.id},i.prototype.deregisterCharacterJoiner=function(d){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===d)return this._characterJoiners.splice(t,1),!0;return!1},i.prototype.getJoinedCharacters=function(d){if(this._characterJoiners.length===0)return[];var t=this._bufferService.buffer.lines.get(d);if(!t||t.length===0)return[];for(var l=[],r=t.translateToString(!0),o=0,u=0,h=0,y=t.getFg(0),b=t.getBg(0),E=0;E<t.getTrimmedLength();E++)if(t.loadCell(E,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==y||this._workCell.bg!==b){if(E-o>1)for(var v=this._getJoinedRanges(r,h,u,t,o),w=0;w<v.length;w++)l.push(v[w]);o=E,h=u,y=this._workCell.fg,b=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-o>1)for(v=this._getJoinedRanges(r,h,u,t,o),w=0;w<v.length;w++)l.push(v[w]);return l},i.prototype._getJoinedRanges=function(d,t,l,r,o){for(var u=d.substring(t,l),h=this._characterJoiners[0].handler(u),y=1;y<this._characterJoiners.length;y++)for(var b=this._characterJoiners[y].handler(u),E=0;E<b.length;E++)i._mergeRanges(h,b[E]);return this._stringRangesToCellRanges(h,r,o),h},i.prototype._stringRangesToCellRanges=function(d,t,l){var r=0,o=!1,u=0,h=d[r];if(h){for(var y=l;y<this._bufferService.cols;y++){var b=t.getWidth(y),E=t.getString(y).length||c.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!o&&h[0]<=u&&(h[0]=y,o=!0),h[1]<=u){if(h[1]=y,!(h=d[++r]))break;h[0]<=u?(h[0]=y,o=!0):o=!1}u+=E}}h&&(h[1]=this._bufferService.cols)}},i._mergeRanges=function(d,t){for(var l=!1,r=0;r<d.length;r++){var o=d[r];if(l){if(t[1]<=o[0])return d[r-1][1]=t[1],d;if(t[1]<=o[1])return d[r-1][1]=Math.max(t[1],o[1]),d.splice(r,1),d;d.splice(r,1),r--}else{if(t[1]<=o[0])return d.splice(r,0,t),d;if(t[1]<=o[1])return o[0]=Math.min(t[0],o[0]),d;t[0]<o[1]&&(o[0]=Math.min(t[0],o[0]),l=!0)}}return l?d[d.length-1][1]=t[1]:d.push(t),d},i}();f.CharacterJoinerRegistry=n},function(A,f,x){"use strict";function m(g,p){var c=p.getBoundingClientRect();return[g.clientX-c.left,g.clientY-c.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(g,p,c,s,a,n,i,d){if(a){var t=m(g,p);if(t)return t[0]=Math.ceil((t[0]+(d?n/2:0))/n),t[1]=Math.ceil(t[1]/i),t[0]=Math.min(Math.max(t[0],1),c+(d?1:0)),t[1]=Math.min(Math.max(t[1],1),s),t}},f.getRawByteCoords=function(g){if(g)return{x:g[0]+32,y:g[1]+32}}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function g(p){this._renderCallback=p}return g.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},g.prototype.refresh=function(p,c,s){var a=this;this._rowCount=s,p=p!==void 0?p:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,p):p,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return a._innerRefresh()}))},g.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var p=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(p,c)}},g}();f.RenderDebouncer=m},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(s,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)i.hasOwnProperty(d)&&(n[d]=i[d])})(s,a)},function(c,s){function a(){this.constructor=c}m(c,s),c.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var p=function(c){function s(){var a=c!==null&&c.apply(this,arguments)||this;return a._currentDevicePixelRatio=window.devicePixelRatio,a}return g(s,c),s.prototype.setListener=function(a){var n=this;this._listener&&this.clearListener(),this._listener=a,this._outerListener=function(){n._listener&&(n._listener(window.devicePixelRatio,n._currentDevicePixelRatio),n._updateDpr())},this._updateDpr()},s.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},s.prototype._updateDpr=function(){var a;this._outerListener&&((a=this._resolutionMediaMatchList)===null||a===void 0||a.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},s.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)},s}(x(2).Disposable);f.ScreenDprMonitor=p},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(g,p){if(p===void 0&&(p=5),typeof g!="object")return g;var c=Array.isArray(g)?[]:{};for(var s in g)c[s]=p<=1?g[s]:g[s]?m(g[s],p-1):g[s];return c}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=x(4),g=x(35),p=x(18),c=x(0),s=x(83),a=function(){function r(o){this._core=new g.Terminal(o),this._addonManager=new s.AddonManager}return r.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(r.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new t(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"buffer",{get:function(){return this._checkProposedApi(),new i(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),r.prototype.blur=function(){this._core.blur()},r.prototype.focus=function(){this._core.focus()},r.prototype.resize=function(o,u){this._verifyIntegers(o,u),this._core.resize(o,u)},r.prototype.open=function(o){this._core.open(o)},r.prototype.attachCustomKeyEventHandler=function(o){this._core.attachCustomKeyEventHandler(o)},r.prototype.registerLinkMatcher=function(o,u,h){return this._checkProposedApi(),this._core.registerLinkMatcher(o,u,h)},r.prototype.deregisterLinkMatcher=function(o){this._checkProposedApi(),this._core.deregisterLinkMatcher(o)},r.prototype.registerLinkProvider=function(o){return this._checkProposedApi(),this._core.registerLinkProvider(o)},r.prototype.registerCharacterJoiner=function(o){return this._checkProposedApi(),this._core.registerCharacterJoiner(o)},r.prototype.deregisterCharacterJoiner=function(o){this._checkProposedApi(),this._core.deregisterCharacterJoiner(o)},r.prototype.registerMarker=function(o){return this._checkProposedApi(),this._verifyIntegers(o),this._core.addMarker(o)},r.prototype.addMarker=function(o){return this.registerMarker(o)},r.prototype.hasSelection=function(){return this._core.hasSelection()},r.prototype.select=function(o,u,h){this._verifyIntegers(o,u,h),this._core.select(o,u,h)},r.prototype.getSelection=function(){return this._core.getSelection()},r.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},r.prototype.clearSelection=function(){this._core.clearSelection()},r.prototype.selectAll=function(){this._core.selectAll()},r.prototype.selectLines=function(o,u){this._verifyIntegers(o,u),this._core.selectLines(o,u)},r.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},r.prototype.scrollLines=function(o){this._verifyIntegers(o),this._core.scrollLines(o)},r.prototype.scrollPages=function(o){this._verifyIntegers(o),this._core.scrollPages(o)},r.prototype.scrollToTop=function(){this._core.scrollToTop()},r.prototype.scrollToBottom=function(){this._core.scrollToBottom()},r.prototype.scrollToLine=function(o){this._verifyIntegers(o),this._core.scrollToLine(o)},r.prototype.clear=function(){this._core.clear()},r.prototype.write=function(o,u){this._core.write(o,u)},r.prototype.writeUtf8=function(o,u){this._core.write(o,u)},r.prototype.writeln=function(o,u){this._core.write(o),this._core.write(`\r
|
|
|
`,u)},r.prototype.paste=function(o){this._core.paste(o)},r.prototype.getOption=function(o){return this._core.optionsService.getOption(o)},r.prototype.setOption=function(o,u){this._core.optionsService.setOption(o,u)},r.prototype.refresh=function(o,u){this._verifyIntegers(o,u),this._core.refresh(o,u)},r.prototype.reset=function(){this._core.reset()},r.prototype.loadAddon=function(o){return this._addonManager.loadAddon(this,o)},Object.defineProperty(r,"strings",{get:function(){return p},enumerable:!1,configurable:!0}),r.prototype._verifyIntegers=function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];for(var h=0,y=o;h<y.length;h++){var b=y[h];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},r}();f.Terminal=a;var n=function(){function r(o,u){this._buffer=o,this.type=u}return r.prototype.init=function(o){return this._buffer=o,this},Object.defineProperty(r.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),r.prototype.getLine=function(o){var u=this._buffer.lines.get(o);if(u)return new d(u)},r.prototype.getNullCell=function(){return new m.CellData},r}(),i=function(){function r(o){var u=this;this._buffers=o,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 u._onBufferChange.fire(u.active)})}return Object.defineProperty(r.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.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(r.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),r}(),d=function(){function r(o){this._line=o}return Object.defineProperty(r.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),r.prototype.getCell=function(o,u){if(!(o<0||o>=this._line.length))return u?(this._line.loadCell(o,u),u):this._line.loadCell(o,new m.CellData)},r.prototype.translateToString=function(o,u,h){return this._line.translateToString(o,u,h)},r}(),t=function(){function r(o){this._core=o}return r.prototype.registerCsiHandler=function(o,u){return this._core.addCsiHandler(o,function(h){return u(h.toArray())})},r.prototype.addCsiHandler=function(o,u){return this.registerCsiHandler(o,u)},r.prototype.registerDcsHandler=function(o,u){return this._core.addDcsHandler(o,function(h,y){return u(h,y.toArray())})},r.prototype.addDcsHandler=function(o,u){return this.registerDcsHandler(o,u)},r.prototype.registerEscHandler=function(o,u){return this._core.addEscHandler(o,u)},r.prototype.addEscHandler=function(o,u){return this.registerEscHandler(o,u)},r.prototype.registerOscHandler=function(o,u){return this._core.addOscHandler(o,u)},r.prototype.addOscHandler=function(o,u){return this.registerOscHandler(o,u)},r}(),l=function(){function r(o){this._core=o}return r.prototype.register=function(o){this._core.unicodeService.register(o)},Object.defineProperty(r.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),r}()},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(M,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,H){P.__proto__=H}||function(P,H){for(var W in H)H.hasOwnProperty(W)&&(P[W]=H[W])})(M,U)},function(z,M){function U(){this.constructor=z}m(z,M),z.prototype=M===null?Object.create(M):(U.prototype=M.prototype,new U)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var p=x(36),c=x(37),s=x(38),a=x(12),n=x(19),i=x(40),d=x(50),t=x(51),l=x(11),r=x(7),o=x(18),u=x(54),h=x(55),y=x(56),b=x(57),E=x(59),v=x(0),w=x(16),O=x(27),T=x(60),S=x(5),C=x(61),_=x(62),I=x(63),k=x(64),F=x(65),B=typeof window!="undefined"?window.document:null,j=function(z){function M(U){U===void 0&&(U={});var P=z.call(this,U)||this;return P.browser=l,P._keyDownHandled=!1,P._onCursorMove=new v.EventEmitter,P._onKey=new v.EventEmitter,P._onRender=new v.EventEmitter,P._onSelectionChange=new v.EventEmitter,P._onTitleChange=new v.EventEmitter,P._onFocus=new v.EventEmitter,P._onBlur=new v.EventEmitter,P._onA11yCharEmitter=new v.EventEmitter,P._onA11yTabEmitter=new v.EventEmitter,P._setup(),P.linkifier=P._instantiationService.createInstance(d.Linkifier),P.linkifier2=P.register(P._instantiationService.createInstance(I.Linkifier2)),P.register(P._inputHandler.onRequestBell(function(){return P.bell()})),P.register(P._inputHandler.onRequestRefreshRows(function(H,W){return P.refresh(H,W)})),P.register(P._inputHandler.onRequestReset(function(){return P.reset()})),P.register(P._inputHandler.onRequestScroll(function(H,W){return P.scroll(H,W||void 0)})),P.register(P._inputHandler.onRequestWindowsOptionsReport(function(H){return P._reportWindowsOptions(H)})),P.register(v.forwardEvent(P._inputHandler.onCursorMove,P._onCursorMove)),P.register(v.forwardEvent(P._inputHandler.onTitleChange,P._onTitleChange)),P.register(v.forwardEvent(P._inputHandler.onA11yChar,P._onA11yCharEmitter)),P.register(v.forwardEvent(P._inputHandler.onA11yTab,P._onA11yTabEmitter)),P.register(P._bufferService.onResize(function(H){return P._afterResize(H.cols,H.rows)})),P}return g(M,z),Object.defineProperty(M.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){var U,P,H;this._isDisposed||(z.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(P=this.element)===null||P===void 0?void 0:P.parentNode)===null||H===void 0||H.removeChild(this.element))},M.prototype._setup=function(){z.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},M.prototype._updateOptions=function(U){var P,H,W,X;switch(z.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(P=this._renderService)===null||P===void 0||P.clear(),(H=this._charSizeService)===null||H===void 0||H.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(W=this.viewport)===null||W===void 0||W.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new y.AccessibilityManager(this,this._renderService)):((X=this._accessibilityManager)===null||X===void 0||X.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},M.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},M.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},M.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},M.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),P=this._bufferService.buffer.y*U,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=P+"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"}},M.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(r.addDisposableDomListener(this.element,"copy",function(H){U.hasSelection()&&s.copyHandler(H,U._selectionService)}));var P=function(W){return s.handlePasteEvent(W,U.textarea,U._coreService)};this.register(r.addDisposableDomListener(this.textarea,"paste",P)),this.register(r.addDisposableDomListener(this.element,"paste",P)),l.isFirefox?this.register(r.addDisposableDomListener(this.element,"mousedown",function(H){H.button===2&&s.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(r.addDisposableDomListener(this.element,"contextmenu",function(H){s.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(r.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&s.moveTextAreaUnderMouseCursor(H,U.textarea,U.screenElement)}))},M.prototype._bindKeys=function(){var U=this;this.register(r.addDisposableDomListener(this.textarea,"keyup",function(P){return U._keyUp(P)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keydown",function(P){return U._keyDown(P)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keypress",function(P){return U._keyPress(P)},!0)),this.register(r.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(r.addDisposableDomListener(this.textarea,"compositionupdate",function(P){return U._compositionHelper.compositionupdate(P)})),this.register(r.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(P){return U._queueLinkification(P.start,P.end)}))},M.prototype.open=function(U){var P=this;if(!U)throw new Error("Terminal requires a parent element.");B.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var H=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",o.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(r.addDisposableDomListener(this.textarea,"focus",function(K){return P._onTextAreaFocus(K)})),this.register(r.addDisposableDomListener(this.textarea,"blur",function(){return P._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(k.CoreBrowserService,this.textarea);this._instantiationService.setService(S.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(S.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(p.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(H),this._theme=this.options.theme||this._theme,this._colorManager=new O.ColorManager(B,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(K){return P._colorManager.onOptionsChange(K)})),this._colorManager.setTheme(this._theme);var X=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,X,this.rows,this.screenElement)),this._instantiationService.setService(S.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(K){return P._onRender.fire(K)})),this.onResize(function(K){return P._renderService.resize(K.cols,K.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(S.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(_.MouseService),this._instantiationService.setService(S.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(K,$){return P.scrollLines(K,$)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return P.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){P._renderService.onCursorMove(),P._syncTextArea()})),this.register(this.onResize(function(){return P._renderService.onResize(P.cols,P.rows)})),this.register(this.onBlur(function(){return P._renderService.onBlur()})),this.register(this.onFocus(function(){return P._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return P.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(t.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(S.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(K){return P.scrollLines(K.amount,K.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return P._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(K){return P._renderService.onSelectionChanged(K.start,K.end,K.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(K){P.textarea.value=K,P.textarea.focus(),P.textarea.select()})),this.register(this.onScroll(function(){P.viewport.syncScrollArea(),P._selectionService.refresh()})),this.register(r.addDisposableDomListener(this._viewportElement,"scroll",function(){return P._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return P._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(r.addDisposableDomListener(this.element,"mousedown",function(K){return P._selectionService.onMouseDown(K)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new y.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},M.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(i.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},M.prototype._setTheme=function(U){var P,H,W;this._theme=U,(P=this._colorManager)===null||P===void 0||P.setTheme(U),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},M.prototype.bindMouse=function(){var U=this,P=this,H=this.element;function W(te){var Te,Ie,Fe=P._mouseService.getRawByteCoords(te,P.screenElement,P.cols,P.rows);if(!Fe)return!1;switch(te.overrideType||te.type){case"mousemove":Ie=32,te.buttons===void 0?(Te=3,te.button!==void 0&&(Te=te.button<3?te.button:3)):Te=1&te.buttons?0:4&te.buttons?1:2&te.buttons?2:3;break;case"mouseup":Ie=0,Te=te.button<3?te.button:3;break;case"mousedown":Ie=1,Te=te.button<3?te.button:3;break;case"wheel":te.deltaY!==0&&(Ie=te.deltaY<0?0:1),Te=4;break;default:return!1}return!(Ie===void 0||Te===void 0||Te>4)&&P._coreMouseService.triggerMouseEvent({col:Fe.x-33,row:Fe.y-33,button:Te,action:Ie,ctrl:te.ctrlKey,alt:te.altKey,shift:te.shiftKey})}var X={mouseup:null,wheel:null,mousedrag:null,mousemove:null},K=function(Te){return W(Te),Te.buttons||(U._document.removeEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.removeEventListener("mousemove",X.mousedrag)),U.cancel(Te)},$=function(Te){return W(Te),Te.preventDefault(),U.cancel(Te)},ie=function(Te){Te.buttons&&W(Te)},be=function(Te){Te.buttons||W(Te)};this.register(this._coreMouseService.onProtocolChange(function(te){te?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(te)),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&te?X.mousemove||(H.addEventListener("mousemove",be),X.mousemove=be):(H.removeEventListener("mousemove",X.mousemove),X.mousemove=null),16&te?X.wheel||(H.addEventListener("wheel",$,{passive:!1}),X.wheel=$):(H.removeEventListener("wheel",X.wheel),X.wheel=null),2&te?X.mouseup||(X.mouseup=K):(U._document.removeEventListener("mouseup",X.mouseup),X.mouseup=null),4&te?X.mousedrag||(X.mousedrag=ie):(U._document.removeEventListener("mousemove",X.mousedrag),X.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(r.addDisposableDomListener(H,"mousedown",function(te){if(te.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(te))return W(te),X.mouseup&&U._document.addEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.addEventListener("mousemove",X.mousedrag),U.cancel(te)})),this.register(r.addDisposableDomListener(H,"wheel",function(te){if(!X.wheel){if(!U.buffer.hasScrollback){var Te=U.viewport.getLinesScrolled(te);if(Te===0)return;for(var Ie=a.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(te.deltaY<0?"A":"B"),Fe="",Qe=0;Qe<Math.abs(Te);Qe++)Fe+=Ie;U._coreService.triggerDataEvent(Fe,!0)}}},{passive:!0})),this.register(r.addDisposableDomListener(H,"wheel",function(te){if(!X.wheel)return U.viewport.onWheel(te)?void 0:U.cancel(te)},{passive:!1})),this.register(r.addDisposableDomListener(H,"touchstart",function(te){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(te),U.cancel(te)},{passive:!0})),this.register(r.addDisposableDomListener(H,"touchmove",function(te){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(te)?void 0:U.cancel(te)},{passive:!1}))},M.prototype.refresh=function(U,P){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(U,P)},M.prototype._queueLinkification=function(U,P){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(U,P)},M.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},M.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},M.prototype.scrollLines=function(U,P){z.prototype.scrollLines.call(this,U,P),this.refresh(0,this.rows-1)},M.prototype.paste=function(U){s.paste(U,this.textarea,this._coreService)},M.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},M.prototype.registerLinkMatcher=function(U,P,H){var W=this.linkifier.registerLinkMatcher(U,P,H);return this.refresh(0,this.rows-1),W},M.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},M.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},M.prototype.registerCharacterJoiner=function(U){var P=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),P},M.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(M.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),M.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},M.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},M.prototype.select=function(U,P,H){this._selectionService.setSelection(U,P,H)},M.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},M.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]}},M.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},M.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},M.prototype.selectLines=function(U,P){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(U,P)},M.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 P=E.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),P.type===3||P.type===2){var H=this.rows-1;return this.scrollLines(P.type===2?-H:H),this.cancel(U,!0)}return P.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(P.cancel&&this.cancel(U,!0),!P.key||(P.key!==a.C0.ETX&&P.key!==a.C0.CR||(this.textarea.value=""),this._onKey.fire({key:P.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(P.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},M.prototype._isThirdLevelShift=function(U,P){var H=U.isMac&&!this.options.macOptionIsMeta&&P.altKey&&!P.ctrlKey&&!P.metaKey||U.isWindows&&P.altKey&&P.ctrlKey&&!P.metaKey;return P.type==="keypress"?H:H&&(!P.keyCode||P.keyCode>47)},M.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(P){return P.keyCode===16||P.keyCode===17||P.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},M.prototype._keyPress=function(U){var P;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)P=U.charCode;else if(U.which===null||U.which===void 0)P=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;P=U.which}return!(!P||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(P=String.fromCharCode(P),this._onKey.fire({key:P,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(P,!0),!0)},M.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},M.prototype.resize=function(U,P){U!==this.cols||P!==this.rows?z.prototype.resize.call(this,U,P):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},M.prototype._afterResize=function(U,P){var H,W;(H=this._charSizeService)===null||H===void 0||H.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},M.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(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},M.prototype.reset=function(){var U,P;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),z.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(P=this.viewport)===null||P===void 0||P.syncScrollArea()},M.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case n.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var P=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+H+";"+P+"t");break;case n.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var W=this._renderService.dimensions.scaledCellWidth.toFixed(0),X=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+X+";"+W+"t")}},M.prototype.cancel=function(U,P){if(this.options.cancelEvents||P)return U.preventDefault(),U.stopPropagation(),!1},M.prototype._visualBell=function(){return!1},M.prototype._soundBell=function(){return this.options.bellStyle==="sound"},M}(F.CoreTerminal);f.Terminal=j},function(A,f,x){"use strict";var m=this&&this.__decorate||function(a,n,i,d){var t,l=arguments.length,r=l<3?n:d===null?d=Object.getOwnPropertyDescriptor(n,i):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(a,n,i,d);else for(var o=a.length-1;o>=0;o--)(t=a[o])&&(r=(l<3?t(r):l>3?t(n,i,r):t(n,i))||r);return l>3&&r&&Object.defineProperty(n,i,r),r},g=this&&this.__param||function(a,n){return function(i,d){n(i,d,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var p=x(5),c=x(1),s=function(){function a(n,i,d,t,l,r){this._textarea=n,this._compositionView=i,this._bufferService=d,this._optionsService=t,this._charSizeService=l,this._coreService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(n){var i=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout(function(){i._compositionPosition.end=i._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.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)},a.prototype._finalizeComposition=function(n){var i=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,n){var d={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(i._isSendingComposition){i._isSendingComposition=!1;var l=void 0;l=i._isComposing?i._textarea.value.substring(d.start,d.end):i._textarea.value.substring(d.start),i._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var t=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(t,!0)}},a.prototype._handleAnyTextareaChanges=function(){var n=this,i=this._textarea.value;setTimeout(function(){if(!n._isComposing){var d=n._textarea.value.replace(i,"");d.length>0&&n._coreService.triggerDataEvent(d,!0)}},0)},a.prototype.updateCompositionElements=function(n){var i=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var d=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),t=this._bufferService.buffer.y*d,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=t+"px",this._compositionView.style.height=d+"px",this._compositionView.style.lineHeight=d+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var r=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=t+"px",this._textarea.style.width=r.width+"px",this._textarea.style.height=r.height+"px",this._textarea.style.lineHeight=r.height+"px"}n||setTimeout(function(){return i.updateCompositionElements(!0)},0)}},a=m([g(2,c.IBufferService),g(3,c.IOptionsService),g(4,p.ICharSizeService),g(5,c.ICoreService)],a)}();f.CompositionHelper=s},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),p=this&&this.__decorate||function(t,l,r,o){var u,h=arguments.length,y=h<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,l,r,o);else for(var b=t.length-1;b>=0;b--)(u=t[b])&&(y=(h<3?u(y):h>3?u(l,r,y):u(l,r))||y);return h>3&&y&&Object.defineProperty(l,r,y),y},c=this&&this.__param||function(t,l){return function(r,o){l(r,o,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var s=x(2),a=x(7),n=x(5),i=x(1),d=function(t){function l(r,o,u,h,y,b,E){var v=t.call(this)||this;return v._scrollLines=r,v._viewportElement=o,v._scrollArea=u,v._bufferService=h,v._optionsService=y,v._charSizeService=b,v._renderService=E,v.scrollBarWidth=0,v._currentRowHeight=0,v._lastRecordedBufferLength=0,v._lastRecordedViewportHeight=0,v._lastRecordedBufferHeight=0,v._lastTouchY=0,v._lastScrollTop=0,v._wheelPartialScroll=0,v._refreshAnimationFrame=null,v._ignoreNextScrollEvent=!1,v.scrollBarWidth=v._viewportElement.offsetWidth-v._scrollArea.offsetWidth||15,v.register(a.addDisposableDomListener(v._viewportElement,"scroll",v._onScroll.bind(v))),setTimeout(function(){return v.syncScrollArea()},0),v}return g(l,t),l.prototype.onThemeChange=function(r){this._viewportElement.style.backgroundColor=r.background.css},l.prototype._refresh=function(r){var o=this;if(r)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return o._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var r=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==r&&(this._lastRecordedBufferHeight=r,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==o&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=o),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(r){if(r===void 0&&(r=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(r);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===o&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(r)}else this._refresh(r)},l.prototype._onScroll=function(r){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var o=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(o,!0)}},l.prototype._bubbleScroll=function(r,o){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(o<0&&this._viewportElement.scrollTop!==0||o>0&&u<this._lastRecordedBufferHeight)||(r.cancelable&&r.preventDefault(),!1)},l.prototype.onWheel=function(r){var o=this._getPixelsScrolled(r);return o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(r,o))},l.prototype._getPixelsScrolled=function(r){if(r.deltaY===0)return 0;var o=this._applyScrollModifier(r.deltaY,r);return r.deltaMode===WheelEvent.DOM_DELTA_LINE?o*=this._currentRowHeight:r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._currentRowHeight*this._bufferService.rows),o},l.prototype.getLinesScrolled=function(r){if(r.deltaY===0)return 0;var o=this._applyScrollModifier(r.deltaY,r);return r.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(o/=this._currentRowHeight+0,this._wheelPartialScroll+=o,o=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._bufferService.rows),o},l.prototype._applyScrollModifier=function(r,o){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&o.altKey||u==="ctrl"&&o.ctrlKey||u==="shift"&&o.shiftKey?r*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:r*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(r){this._lastTouchY=r.touches[0].pageY},l.prototype.onTouchMove=function(r){var o=this._lastTouchY-r.touches[0].pageY;return this._lastTouchY=r.touches[0].pageY,o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(r,o))},l=p([c(3,i.IBufferService),c(4,i.IOptionsService),c(5,n.ICharSizeService),c(6,n.IRenderService)],l)}(s.Disposable);f.Viewport=d},function(A,f,x){"use strict";function m(s){return s.replace(/\r?\n/g,"\r")}function g(s,a){return a?"[200~"+s+"[201~":s}function p(s,a,n){s=g(s=m(s),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(s,!0),a.value=""}function c(s,a,n){var i=n.getBoundingClientRect(),d=s.clientX-i.left-10,t=s.clientY-i.top-10;a.style.width="20px",a.style.height="20px",a.style.left=d+"px",a.style.top=t+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(f,"__esModule",{value:!0}),f.rightClickHandler=f.moveTextAreaUnderMouseCursor=f.paste=f.handlePasteEvent=f.copyHandler=f.bracketTextForPaste=f.prepareTextForTerminal=void 0,f.prepareTextForTerminal=m,f.bracketTextForPaste=g,f.copyHandler=function(s,a){s.clipboardData&&s.clipboardData.setData("text/plain",a.selectionText),s.preventDefault()},f.handlePasteEvent=function(s,a,n){s.stopPropagation(),s.clipboardData&&p(s.clipboardData.getData("text/plain"),a,n)},f.paste=p,f.moveTextAreaUnderMouseCursor=c,f.rightClickHandler=function(s,a,n,i,d){c(s,a,n),d&&!i.isClickInSelection(s)&&i.selectWordAtCursor(s),a.value=i.selectionText,a.select()}},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var p=x(2),c=x(15),s=x(21),a=x(22),n=x(24),i=function(){function t(l){this.table=new Uint8Array(l)}return t.prototype.setDefault=function(l,r){c.fill(this.table,l<<4|r)},t.prototype.add=function(l,r,o,u){this.table[r<<8|l]=o<<4|u},t.prototype.addMany=function(l,r,o,u){for(var h=0;h<l.length;h++)this.table[r<<8|l[h]]=o<<4|u},t}();f.TransitionTable=i,f.VT500_TRANSITION_TABLE=function(){var t=new i(4095),l=Array.apply(null,Array(256)).map(function(b,E){return E}),r=function(E,v){return l.slice(E,v)},o=r(32,127),u=r(0,24);u.push(25),u.push.apply(u,r(28,32));var h,y=r(0,14);for(h in t.setDefault(1,0),t.addMany(o,0,2,0),y)t.addMany([24,26,153,154],h,3,0),t.addMany(r(128,144),h,3,0),t.addMany(r(144,152),h,3,0),t.add(156,h,0,0),t.add(27,h,11,1),t.add(157,h,4,8),t.addMany([152,158,159],h,0,7),t.add(155,h,11,3),t.add(144,h,11,9);return t.addMany(u,0,3,0),t.addMany(u,1,3,1),t.add(127,1,0,1),t.addMany(u,8,0,8),t.addMany(u,3,3,3),t.add(127,3,0,3),t.addMany(u,4,3,4),t.add(127,4,0,4),t.addMany(u,6,3,6),t.addMany(u,5,3,5),t.add(127,5,0,5),t.addMany(u,2,3,2),t.add(127,2,0,2),t.add(93,1,4,8),t.addMany(o,8,5,8),t.add(127,8,5,8),t.addMany([156,27,24,26,7],8,6,0),t.addMany(r(28,32),8,0,8),t.addMany([88,94,95],1,0,7),t.addMany(o,7,0,7),t.addMany(u,7,0,7),t.add(156,7,0,0),t.add(127,7,0,7),t.add(91,1,11,3),t.addMany(r(64,127),3,7,0),t.addMany(r(48,60),3,8,4),t.addMany([60,61,62,63],3,9,4),t.addMany(r(48,60),4,8,4),t.addMany(r(64,127),4,7,0),t.addMany([60,61,62,63],4,0,6),t.addMany(r(32,64),6,0,6),t.add(127,6,0,6),t.addMany(r(64,127),6,0,0),t.addMany(r(32,48),3,9,5),t.addMany(r(32,48),5,9,5),t.addMany(r(48,64),5,0,6),t.addMany(r(64,127),5,7,0),t.addMany(r(32,48),4,9,5),t.addMany(r(32,48),1,9,2),t.addMany(r(32,48),2,9,2),t.addMany(r(48,127),2,10,0),t.addMany(r(48,80),1,10,0),t.addMany(r(81,88),1,10,0),t.addMany([89,90,92],1,10,0),t.addMany(r(96,127),1,10,0),t.add(80,1,11,9),t.addMany(u,9,0,9),t.add(127,9,0,9),t.addMany(r(28,32),9,0,9),t.addMany(r(32,48),9,9,12),t.addMany(r(48,60),9,8,10),t.addMany([60,61,62,63],9,9,10),t.addMany(u,11,0,11),t.addMany(r(32,128),11,0,11),t.addMany(r(28,32),11,0,11),t.addMany(u,10,0,10),t.add(127,10,0,10),t.addMany(r(28,32),10,0,10),t.addMany(r(48,60),10,8,10),t.addMany([60,61,62,63],10,0,11),t.addMany(r(32,48),10,9,12),t.addMany(u,12,0,12),t.add(127,12,0,12),t.addMany(r(28,32),12,0,12),t.addMany(r(32,48),12,9,12),t.addMany(r(48,64),12,0,11),t.addMany(r(64,127),12,12,13),t.addMany(r(64,127),10,12,13),t.addMany(r(64,127),9,12,13),t.addMany(u,13,13,13),t.addMany(o,13,13,13),t.add(127,13,0,13),t.addMany([27,156,24,26],13,14,0),t.add(160,0,2,0),t.add(160,8,5,8),t.add(160,6,0,6),t.add(160,11,0,11),t.add(160,13,13,13),t}();var d=function(t){function l(r){r===void 0&&(r=f.VT500_TRANSITION_TABLE);var o=t.call(this)||this;return o._transitions=r,o.initialState=0,o.currentState=o.initialState,o._params=new s.Params,o._params.addParam(0),o._collect=0,o.precedingCodepoint=0,o._printHandlerFb=function(u,h,y){},o._executeHandlerFb=function(u){},o._csiHandlerFb=function(u,h){},o._escHandlerFb=function(u){},o._errorHandlerFb=function(u){return u},o._printHandler=o._printHandlerFb,o._executeHandlers=Object.create(null),o._csiHandlers=Object.create(null),o._escHandlers=Object.create(null),o._oscParser=new a.OscParser,o._dcsParser=new n.DcsParser,o._errorHandler=o._errorHandlerFb,o.setEscHandler({final:"\\"},function(){}),o}return g(l,t),l.prototype._identifier=function(r,o){o===void 0&&(o=[64,126]);var u=0;if(r.prefix){if(r.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=r.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(r.intermediates){if(r.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var h=0;h<r.intermediates.length;++h){var y=r.intermediates.charCodeAt(h);if(32>y||y>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=y}}if(r.final.length!==1)throw new Error("final must be a single byte");var b=r.final.charCodeAt(0);if(o[0]>b||b>o[1])throw new Error("final must be in range "+o[0]+" .. "+o[1]);return u<<=8,u|=b},l.prototype.identToString=function(r){for(var o=[];r;)o.push(String.fromCharCode(255&r)),r>>=8;return o.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(r){this._printHandler=r},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(r,o){var u=this._identifier(r,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var h=this._escHandlers[u];return h.push(o),{dispose:function(){var b=h.indexOf(o);b!==-1&&h.splice(b,1)}}},l.prototype.setEscHandler=function(r,o){this._escHandlers[this._identifier(r,[48,126])]=[o]},l.prototype.clearEscHandler=function(r){this._escHandlers[this._identifier(r,[48,126])]&&delete this._escHandlers[this._identifier(r,[48,126])]},l.prototype.setEscHandlerFallback=function(r){this._escHandlerFb=r},l.prototype.setExecuteHandler=function(r,o){this._executeHandlers[r.charCodeAt(0)]=o},l.prototype.clearExecuteHandler=function(r){this._executeHandlers[r.charCodeAt(0)]&&delete this._executeHandlers[r.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(r){this._executeHandlerFb=r},l.prototype.addCsiHandler=function(r,o){var u=this._identifier(r);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var h=this._csiHandlers[u];return h.push(o),{dispose:function(){var b=h.indexOf(o);b!==-1&&h.splice(b,1)}}},l.prototype.setCsiHandler=function(r,o){this._csiHandlers[this._identifier(r)]=[o]},l.prototype.clearCsiHandler=function(r){this._csiHandlers[this._identifier(r)]&&delete this._csiHandlers[this._identifier(r)]},l.prototype.setCsiHandlerFallback=function(r){this._csiHandlerFb=r},l.prototype.addDcsHandler=function(r,o){return this._dcsParser.addHandler(this._identifier(r),o)},l.prototype.setDcsHandler=function(r,o){this._dcsParser.setHandler(this._identifier(r),o)},l.prototype.clearDcsHandler=function(r){this._dcsParser.clearHandler(this._identifier(r))},l.prototype.setDcsHandlerFallback=function(r){this._dcsParser.setHandlerFallback(r)},l.prototype.addOscHandler=function(r,o){return this._oscParser.addHandler(r,o)},l.prototype.setOscHandler=function(r,o){this._oscParser.setHandler(r,o)},l.prototype.clearOscHandler=function(r){this._oscParser.clearHandler(r)},l.prototype.setOscHandlerFallback=function(r){this._oscParser.setHandlerFallback(r)},l.prototype.setErrorHandler=function(r){this._errorHandler=r},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(r,o){for(var u=0,h=0,y=this.currentState,b=this._oscParser,E=this._dcsParser,v=this._collect,w=this._params,O=this._transitions.table,T=0;T<o;++T){switch((h=O[y<<8|((u=r[T])<160?u:160)])>>4){case 2:for(var S=T+1;;++S){if(S>=o||(u=r[S])<32||u>126&&u<160){this._printHandler(r,T,S),T=S-1;break}if(++S>=o||(u=r[S])<32||u>126&&u<160){this._printHandler(r,T,S),T=S-1;break}if(++S>=o||(u=r[S])<32||u>126&&u<160){this._printHandler(r,T,S),T=S-1;break}if(++S>=o||(u=r[S])<32||u>126&&u<160){this._printHandler(r,T,S),T=S-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:u,currentState:y,collect:v,params:w,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[v<<8|u],_=C?C.length-1:-1;_>=0&&C[_](w)===!1;_--);_<0&&this._csiHandlerFb(v<<8|u,w),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:w.addParam(0);break;case 58:w.addSubParam(-1);break;default:w.addDigit(u-48)}while(++T<o&&(u=r[T])>47&&u<60);T--;break;case 9:v<<=8,v|=u;break;case 10:for(var I=this._escHandlers[v<<8|u],k=I?I.length-1:-1;k>=0&&I[k]()===!1;k--);k<0&&this._escHandlerFb(v<<8|u),this.precedingCodepoint=0;break;case 11:w.reset(),w.addParam(0),v=0;break;case 12:E.hook(v<<8|u,w);break;case 13:for(var F=T+1;;++F)if(F>=o||(u=r[F])===24||u===26||u===27||u>127&&u<160){E.put(r,T,F),T=F-1;break}break;case 14:E.unhook(u!==24&&u!==26),u===27&&(h|=1),w.reset(),w.addParam(0),v=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var B=T+1;;B++)if(B>=o||(u=r[B])<32||u>127&&u<=159){b.put(r,T,B),T=B-1;break}break;case 6:b.end(u!==24&&u!==26),u===27&&(h|=1),w.reset(),w.addParam(0),v=0,this.precedingCodepoint=0}y=15&h}this._collect=v,this.currentState=y},l}(p.Disposable);f.EscapeSequenceParser=d},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(E,v){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,O){w.__proto__=O}||function(w,O){for(var T in O)O.hasOwnProperty(T)&&(w[T]=O[T])})(E,v)},function(b,E){function v(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(v.prototype=E.prototype,new v)}),p=this&&this.__decorate||function(b,E,v,w){var O,T=arguments.length,S=T<3?E:w===null?w=Object.getOwnPropertyDescriptor(E,v):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(b,E,v,w);else for(var C=b.length-1;C>=0;C--)(O=b[C])&&(S=(T<3?O(S):T>3?O(E,v,S):O(E,v))||S);return T>3&&S&&Object.defineProperty(E,v,S),S},c=this&&this.__param||function(b,E){return function(v,w){E(v,w,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var s=x(41),a=x(47),n=x(48),i=x(49),d=x(29),t=x(2),l=x(5),r=x(1),o=x(25),u=x(0),h=1,y=function(b){function E(v,w,O,T,S,C,_,I,k){var F=b.call(this)||this;F._colors=v,F._screenElement=w,F._bufferService=S,F._charSizeService=C,F._optionsService=_,F._id=h++,F._onRequestRedraw=new u.EventEmitter;var B=F._optionsService.options.allowTransparency;return F._characterJoinerRegistry=new d.CharacterJoinerRegistry(F._bufferService),F._renderLayers=[new s.TextRenderLayer(F._screenElement,0,F._colors,F._characterJoinerRegistry,B,F._id,F._bufferService,_),new a.SelectionRenderLayer(F._screenElement,1,F._colors,F._id,F._bufferService,_),new i.LinkRenderLayer(F._screenElement,2,F._colors,F._id,O,T,F._bufferService,_),new n.CursorRenderLayer(F._screenElement,3,F._colors,F._id,F._onRequestRedraw,F._bufferService,_,I,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 g(E,b),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){for(var v=0,w=this._renderLayers;v<w.length;v++)w[v].dispose();b.prototype.dispose.call(this),o.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(v){this._colors=v;for(var w=0,O=this._renderLayers;w<O.length;w++){var T=O[w];T.setColors(this._colors),T.reset()}},E.prototype.onResize=function(v,w){this._updateDimensions();for(var O=0,T=this._renderLayers;O<T.length;O++)T[O].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(v){return v.onBlur()})},E.prototype.onFocus=function(){this._runOperation(function(v){return v.onFocus()})},E.prototype.onSelectionChanged=function(v,w,O){O===void 0&&(O=!1),this._runOperation(function(T){return T.onSelectionChanged(v,w,O)})},E.prototype.onCursorMove=function(){this._runOperation(function(v){return v.onCursorMove()})},E.prototype.onOptionsChanged=function(){this._runOperation(function(v){return v.onOptionsChanged()})},E.prototype.clear=function(){this._runOperation(function(v){return v.reset()})},E.prototype._runOperation=function(v){for(var w=0,O=this._renderLayers;w<O.length;w++)v(O[w])},E.prototype.renderRows=function(v,w){for(var O=0,T=this._renderLayers;O<T.length;O++)T[O].onGridChanged(v,w)},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(v){return this._characterJoinerRegistry.registerCharacterJoiner(v)},E.prototype.deregisterCharacterJoiner=function(v){return this._characterJoinerRegistry.deregisterCharacterJoiner(v)},E=p([c(4,r.IBufferService),c(5,l.ICharSizeService),c(6,r.IOptionsService),c(7,r.ICoreService),c(8,l.ICoreBrowserService)],E)}(t.Disposable);f.Renderer=y},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var p=x(42),c=x(13),s=x(6),a=x(3),n=x(29),i=x(4),d=function(t){function l(r,o,u,h,y,b,E,v){var w=t.call(this,r,"text",o,y,u,b,E,v)||this;return w._characterWidth=0,w._characterFont="",w._characterOverlapCache={},w._workCell=new i.CellData,w._state=new p.GridCache,w._characterJoinerRegistry=h,w}return g(l,t),l.prototype.resize=function(r){t.prototype.resize.call(this,r);var o=this._getFont(!1,!1);this._characterWidth===r.scaledCharWidth&&this._characterFont===o||(this._characterWidth=r.scaledCharWidth,this._characterFont=o,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(r,o,u,h){for(var y=r;y<=o;y++)for(var b=y+this._bufferService.buffer.ydisp,E=this._bufferService.buffer.lines.get(b),v=u?u.getJoinedCharacters(b):[],w=0;w<this._bufferService.cols;w++){E.loadCell(w,this._workCell);var O=this._workCell,T=!1,S=w;if(O.getWidth()!==0){if(v.length>0&&w===v[0][0]){T=!0;var C=v.shift();O=new n.JoinedCellData(this._workCell,E.translateToString(!0,C[0],C[1]),C[1]-C[0]),S=C[1]-1}!T&&this._isOverlapping(O)&&S<E.length-1&&E.getCodePoint(S+1)===a.NULL_CELL_CODE&&(O.content&=-12582913,O.content|=2<<22),h(O,w,y),w=S}}},l.prototype._drawBackground=function(r,o){var u=this,h=this._ctx,y=this._bufferService.cols,b=0,E=0,v=null;h.save(),this._forEachCell(r,o,null,function(w,O,T){var S=null;w.isInverse()?S=w.isFgDefault()?u._colors.foreground.css:w.isFgRGB()?"rgb("+s.AttributeData.toColorRGB(w.getFgColor()).join(",")+")":u._colors.ansi[w.getFgColor()].css:w.isBgRGB()?S="rgb("+s.AttributeData.toColorRGB(w.getBgColor()).join(",")+")":w.isBgPalette()&&(S=u._colors.ansi[w.getBgColor()].css),v===null&&(b=O,E=T),T!==E?(h.fillStyle=v||"",u._fillCells(b,E,y-b,1),b=O,E=T):v!==S&&(h.fillStyle=v||"",u._fillCells(b,E,O-b,1),b=O,E=T),v=S}),v!==null&&(h.fillStyle=v,this._fillCells(b,E,y-b,1)),h.restore()},l.prototype._drawForeground=function(r,o){var u=this;this._forEachCell(r,o,this._characterJoinerRegistry,function(h,y,b){if(!h.isInvisible()&&(u._drawChars(h,y,b),h.isUnderline())){if(u._ctx.save(),h.isInverse())if(h.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(h.isBgRGB())u._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var E=h.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&E<8&&(E+=8),u._ctx.fillStyle=u._colors.ansi[E].css}else if(h.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(h.isFgRGB())u._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var v=h.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&v<8&&(v+=8),u._ctx.fillStyle=u._colors.ansi[v].css}u._fillBottomLineAtCells(y,b,h.getWidth()),u._ctx.restore()}})},l.prototype.onGridChanged=function(r,o){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,r,this._bufferService.cols,o-r+1),this._drawBackground(r,o),this._drawForeground(r,o))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(r){if(r.getWidth()!==1)return!1;if(r.getCode()<256)return!1;var o=r.getChars();if(this._characterOverlapCache.hasOwnProperty(o))return this._characterOverlapCache[o];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(o).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[o]=u,u},l}(c.BaseRenderLayer);f.TextRenderLayer=d},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function g(){this.cache=[]}return g.prototype.resize=function(p,c){for(var s=0;s<p;s++){this.cache.length<=s&&this.cache.push([]);for(var a=this.cache[s].length;a<c;a++)this.cache[s].push(void 0);this.cache[s].length=c}this.cache.length=p},g.prototype.clear=function(){for(var p=0;p<this.cache.length;p++)for(var c=0;c<this.cache[p].length;c++)this.cache[p][c]=void 0},g}();f.GridCache=m},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(h,y){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var v in E)E.hasOwnProperty(v)&&(b[v]=E[v])})(h,y)},function(u,h){function y(){this.constructor=u}m(u,h),u.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var p=x(9),c=x(44),s=x(27),a=x(46),n=x(11),i=x(28),d=x(10),t={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}f.getGlyphCacheKey=l;var r=function(u){function h(y,b){var E=u.call(this)||this;E._config=b,E._drawToCacheCount=0,E._glyphsWaitingOnBitmap=[],E._bitmapCommitTimeout=null,E._bitmap=null,E._cacheCanvas=y.createElement("canvas"),E._cacheCanvas.width=1024,E._cacheCanvas.height=1024,E._cacheCtx=i.throwIfFalsy(E._cacheCanvas.getContext("2d",{alpha:!0}));var v=y.createElement("canvas");v.width=E._config.scaledCharWidth,v.height=E._config.scaledCharHeight,E._tmpCtx=i.throwIfFalsy(v.getContext("2d",{alpha:E._config.allowTransparency})),E._width=Math.floor(1024/E._config.scaledCharWidth),E._height=Math.floor(1024/E._config.scaledCharHeight);var w=E._width*E._height;return E._cacheMap=new a.LRUMap(w),E._cacheMap.prealloc(w),E}return g(h,u),h.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},h.prototype.beginFrame=function(){this._drawToCacheCount=0},h.prototype.draw=function(y,b,E,v){if(b.code===32)return!0;if(!this._canCache(b))return!1;var w=l(b),O=this._cacheMap.get(w);if(O!=null)return this._drawFromCache(y,O,E,v),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var S=this._drawToCache(b,T);return this._cacheMap.set(w,S),this._drawFromCache(y,S,E,v),!0}return!1},h.prototype._canCache=function(y){return y.code<256},h.prototype._toCoordinateX=function(y){return y%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(y){return Math.floor(y/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(y,b,E,v){if(!b.isEmpty){var w=this._toCoordinateX(b.index),O=this._toCoordinateY(b.index);y.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,w,O,this._config.scaledCharWidth,this._config.scaledCharHeight,E,v,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(y){return y<this._config.colors.ansi.length?this._config.colors.ansi[y]:s.DEFAULT_ANSI_COLORS[y]},h.prototype._getBackgroundColor=function(y){return this._config.allowTransparency?t:y.bg===p.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:y.bg<256?this._getColorFromAnsiIndex(y.bg):this._config.colors.background},h.prototype._getForegroundColor=function(y){return y.fg===p.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):y.fg<256?this._getColorFromAnsiIndex(y.fg):this._config.colors.foreground},h.prototype._drawToCache=function(y,b){this._drawToCacheCount++,this._tmpCtx.save();var E=this._getBackgroundColor(y);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 v=y.bold?this._config.fontWeightBold:this._config.fontWeight,w=y.italic?"italic":"";this._tmpCtx.font=w+" "+v+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(y).css,y.dim&&(this._tmpCtx.globalAlpha=p.DIM_OPACITY),this._tmpCtx.fillText(y.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var O=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(I,k){for(var F=!0,B=k.rgba>>>24,j=k.rgba>>>16&255,z=k.rgba>>>8&255,M=0;M<I.data.length;M+=4)I.data[M]===B&&I.data[M+1]===j&&I.data[M+2]===z?I.data[M+3]=0:F=!1;return F}(O,E));var S=this._toCoordinateX(b),C=this._toCoordinateY(b);this._cacheCtx.putImageData(O,S,C);var _={index:b,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(_),_},h.prototype._addGlyphToBitmap=function(y){var b=this;!("createImageBitmap"in window)||n.isFirefox||n.isSafari||(this._glyphsWaitingOnBitmap.push(y),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var y=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(E){y._bitmap=E;for(var v=0;v<b.length;v++)b[v].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(c.BaseCharAtlas);f.DynamicCharAtlas=r;var o=function(u){function h(y,b){return u.call(this)||this}return g(h,u),h.prototype.draw=function(y,b,E,v){return!1},h}(c.BaseCharAtlas);f.NoneCharAtlas=o},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function g(){this._didWarmUp=!1}return g.prototype.dispose=function(){},g.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},g.prototype._doWarmUp=function(){},g.prototype.beginFrame=function(){},g}();f.BaseCharAtlas=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function g(){this._color={},this._rgba={}}return g.prototype.clear=function(){this._color={},this._rgba={}},g.prototype.setCss=function(p,c,s){this._rgba[p]||(this._rgba[p]={}),this._rgba[p][c]=s},g.prototype.getCss=function(p,c){return this._rgba[p]?this._rgba[p][c]:void 0},g.prototype.setColor=function(p,c,s){this._color[p]||(this._color[p]={}),this._color[p][c]=s},g.prototype.getColor=function(p,c){return this._color[p]?this._color[p][c]:void 0},g}();f.ColorContrastCache=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function g(p){this.capacity=p,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return g.prototype._unlinkNode=function(p){var c=p.prev,s=p.next;p===this._head&&(this._head=s),p===this._tail&&(this._tail=c),c!==null&&(c.next=s),s!==null&&(s.prev=c)},g.prototype._appendNode=function(p){var c=this._tail;c!==null&&(c.next=p),p.prev=c,p.next=null,this._tail=p,this._head===null&&(this._head=p)},g.prototype.prealloc=function(p){for(var c=this._nodePool,s=0;s<p;s++)c.push({prev:null,next:null,key:null,value:null})},g.prototype.get=function(p){var c=this._map[p];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},g.prototype.peekValue=function(p){var c=this._map[p];return c!==void 0?c.value:null},g.prototype.peek=function(){var p=this._head;return p===null?null:p.value},g.prototype.set=function(p,c){var s=this._map[p];if(s!==void 0)s=this._map[p],this._unlinkNode(s),s.value=c;else if(this.size>=this.capacity)s=this._head,this._unlinkNode(s),delete this._map[s.key],s.key=p,s.value=c,this._map[p]=s;else{var a=this._nodePool;a.length>0?((s=a.pop()).key=p,s.value=c):s={prev:null,next:null,key:p,value:c},this._map[p]=s,this.size++}this._appendNode(s)},g}();f.LRUMap=m},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(s,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)i.hasOwnProperty(d)&&(n[d]=i[d])})(s,a)},function(c,s){function a(){this.constructor=c}m(c,s),c.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var p=function(c){function s(a,n,i,d,t,l){var r=c.call(this,a,"selection",n,!0,i,d,t,l)||this;return r._clearState(),r}return g(s,c),s.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},s.prototype.resize=function(a){c.prototype.resize.call(this,a),this._clearState()},s.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},s.prototype.onSelectionChanged=function(a,n,i){if(this._didStateChange(a,n,i,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&n){var d=a[1]-this._bufferService.buffer.ydisp,t=n[1]-this._bufferService.buffer.ydisp,l=Math.max(d,0),r=Math.min(t,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||r<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,i){var o=a[0],u=n[0]-o,h=r-l+1;this._fillCells(o,l,u,h)}else{o=d===l?a[0]:0;var y=l===r?n[0]:this._bufferService.cols;this._fillCells(o,l,y-o,1);var b=Math.max(r-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,b),l!==r){var E=t===r?n[0]:this._bufferService.cols;this._fillCells(0,r,E,1)}}this._state.start=[a[0],a[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},s.prototype._didStateChange=function(a,n,i,d){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(n,this._state.end)||i!==this._state.columnSelectMode||d!==this._state.ydisp},s.prototype._areCoordinatesEqual=function(a,n){return!(!a||!n)&&a[0]===n[0]&&a[1]===n[1]},s}(x(13).BaseRenderLayer);f.SelectionRenderLayer=p},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(i,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var r in l)l.hasOwnProperty(r)&&(t[r]=l[r])})(i,d)},function(n,i){function d(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(d.prototype=i.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var p=x(13),c=x(4),s=function(n){function i(d,t,l,r,o,u,h,y,b){var E=n.call(this,d,"cursor",t,!0,l,r,u,h)||this;return E._onRequestRedraw=o,E._coreService=y,E._coreBrowserService=b,E._cell=new c.CellData,E._state={x:0,y:0,isFocused:!1,style:"",width:0},E._cursorRenderers={bar:E._renderBarCursor.bind(E),block:E._renderBlockCursor.bind(E),underline:E._renderUnderlineCursor.bind(E)},E}return g(i,n),i.prototype.resize=function(d){n.prototype.resize.call(this,d),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},i.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},i.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onOptionsChanged=function(){var d,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){t._render(!0)})):((d=this._cursorBlinkStateManager)===null||d===void 0||d.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype.onGridChanged=function(d,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype._render=function(d){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=t-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(r,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.options.cursorStyle;return o&&o!=="block"?this._cursorRenderers[o](r,l,this._cell):this._renderBlurCursor(r,l,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=l,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&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"](r,l,this._cell),this._ctx.restore(),this._state.x=r,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()},i.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})},i.prototype._renderBarCursor=function(d,t,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(d,t,this._optionsService.options.cursorWidth),this._ctx.restore()},i.prototype._renderBlockCursor=function(d,t,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(d,t,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,d,t),this._ctx.restore()},i.prototype._renderUnderlineCursor=function(d,t,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(d,t),this._ctx.restore()},i.prototype._renderBlurCursor=function(d,t,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(d,t,l.getWidth(),1),this._ctx.restore()},i}(p.BaseRenderLayer);f.CursorRenderLayer=s;var a=function(){function n(i,d){this._renderCallback=d,this.isCursorVisible=!0,i&&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 i=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})))},n.prototype._restartInterval=function(i){var d=this;i===void 0&&(i=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(d._animationTimeRestarted){var t=600-(Date.now()-d._animationTimeRestarted);if(d._animationTimeRestarted=void 0,t>0)return void d._restartInterval(t)}d.isCursorVisible=!1,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0}),d._blinkInterval=window.setInterval(function(){if(d._animationTimeRestarted){var l=600-(Date.now()-d._animationTimeRestarted);return d._animationTimeRestarted=void 0,void d._restartInterval(l)}d.isCursorVisible=!d.isCursorVisible,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0})},600)},i)},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(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(i,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var r in l)l.hasOwnProperty(r)&&(t[r]=l[r])})(i,d)},function(n,i){function d(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(d.prototype=i.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var p=x(13),c=x(9),s=x(26),a=function(n){function i(d,t,l,r,o,u,h,y){var b=n.call(this,d,"link",t,!0,l,r,h,y)||this;return o.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),o.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),u.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),u.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),b}return g(i,n),i.prototype.resize=function(d){n.prototype.resize.call(this,d),this._state=void 0},i.prototype.reset=function(){this._clearCurrentLink()},i.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},i.prototype._onShowLinkUnderline=function(d){if(d.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&s.is256Color(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var t=d.y1+1;t<d.y2;t++)this._fillBottomLineAtCells(0,t,d.cols);this._fillBottomLineAtCells(0,d.y2,d.x2)}this._state=d},i.prototype._onHideLinkUnderline=function(d){this._clearCurrentLink()},i}(p.BaseRenderLayer);f.LinkRenderLayer=a},function(A,f,x){"use strict";var m=this&&this.__decorate||function(n,i,d,t){var l,r=arguments.length,o=r<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,d):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,i,d,t);else for(var u=n.length-1;u>=0;u--)(l=n[u])&&(o=(r<3?l(o):r>3?l(i,d,o):l(i,d))||o);return r>3&&o&&Object.defineProperty(i,d,o),o},g=this&&this.__param||function(n,i){return function(d,t){i(d,t,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var p=x(0),c=x(1),s=function(){function n(i,d,t){this._bufferService=i,this._logService=d,this._unicodeService=t,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new p.EventEmitter,this._onHideLinkUnderline=new p.EventEmitter,this._onLinkTooltip=new p.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(i,d){this._element=i,this._mouseZoneManager=d},n.prototype.linkifyRows=function(i,d){var t=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=i,this._rowsToLinkify.end=d):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,i),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,d)),this._mouseZoneManager.clearAll(i,d),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return t._linkifyRows()},n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var i=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var d=i.ydisp+this._rowsToLinkify.start;if(!(d>=i.lines.length)){for(var t=i.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,d,t,l,l);r.hasNext();)for(var o=r.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},n.prototype.registerLinkMatcher=function(i,d,t){if(t===void 0&&(t={}),!d)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:i,handler:d,matchIndex:t.matchIndex,validationCallback:t.validationCallback,hoverTooltipCallback:t.tooltipCallback,hoverLeaveCallback:t.leaveCallback,willLinkActivate:t.willLinkActivate,priority:t.priority||0};return this._addLinkMatcherToList(l),l.id},n.prototype._addLinkMatcherToList=function(i){if(this._linkMatchers.length!==0){for(var d=this._linkMatchers.length-1;d>=0;d--)if(i.priority<=this._linkMatchers[d].priority)return void this._linkMatchers.splice(d+1,0,i);this._linkMatchers.splice(0,0,i)}else this._linkMatchers.push(i)},n.prototype.deregisterLinkMatcher=function(i){for(var d=0;d<this._linkMatchers.length;d++)if(this._linkMatchers[d].id===i)return this._linkMatchers.splice(d,1),!0;return!1},n.prototype._doLinkifyRow=function(i,d,t){for(var l,r=this,o=new RegExp(t.regex.source,(t.regex.flags||"")+"g"),u=-1,h=function(){var E=l[typeof t.matchIndex!="number"?0:t.matchIndex];if(!E)return y._logService.debug("match found without corresponding matchIndex",l,t),"break";if(u=d.indexOf(E,u+1),o.lastIndex=u+E.length,u<0)return"break";var v=y._bufferService.buffer.stringIndexToBufferIndex(i,u);if(v[0]<0)return"break";var w=y._bufferService.buffer.lines.get(v[0]);if(!w)return"break";var O=w.getFg(v[1]),T=O?O>>9&511:void 0;t.validationCallback?t.validationCallback(E,function(S){r._rowsTimeoutId||S&&r._addLink(v[1],v[0]-r._bufferService.buffer.ydisp,E,t,T)}):y._addLink(v[1],v[0]-y._bufferService.buffer.ydisp,E,t,T)},y=this;(l=o.exec(d))!==null&&!(h()==="break"););},n.prototype._addLink=function(i,d,t,l,r){var o=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(t),h=i%this._bufferService.cols,y=d+Math.floor(i/this._bufferService.cols),b=(h+u)%this._bufferService.cols,E=y+Math.floor((h+u)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,E--),this._mouseZoneManager.add(new a(h+1,y+1,b+1,E+1,function(v){if(l.handler)return l.handler(v,t);var w=window.open();w?(w.opener=null,w.location.href=t):console.warn("Opening link blocked as opener could not be cleared")},function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(h,y,b,E,r)),o._element.classList.add("xterm-cursor-pointer")},function(v){o._onLinkTooltip.fire(o._createLinkHoverEvent(h,y,b,E,r)),l.hoverTooltipCallback&&l.hoverTooltipCallback(v,t,{start:{x:h,y},end:{x:b,y:E}})},function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(h,y,b,E,r)),o._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(v){return!l.willLinkActivate||l.willLinkActivate(v,t)}))}},n.prototype._createLinkHoverEvent=function(i,d,t,l,r){return{x1:i,y1:d,x2:t,y2:l,cols:this._bufferService.cols,fg:r}},n._timeBeforeLatency=200,n=m([g(0,c.IBufferService),g(1,c.ILogService),g(2,c.IUnicodeService)],n)}();f.Linkifier=s;var a=function(i,d,t,l,r,o,u,h,y){this.x1=i,this.y1=d,this.x2=t,this.y2=l,this.clickCallback=r,this.hoverCallback=o,this.tooltipCallback=u,this.leaveCallback=h,this.willLinkActivate=y};f.MouseZone=a},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(E,v){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,O){w.__proto__=O}||function(w,O){for(var T in O)O.hasOwnProperty(T)&&(w[T]=O[T])})(E,v)},function(b,E){function v(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(v.prototype=E.prototype,new v)}),p=this&&this.__decorate||function(b,E,v,w){var O,T=arguments.length,S=T<3?E:w===null?w=Object.getOwnPropertyDescriptor(E,v):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(b,E,v,w);else for(var C=b.length-1;C>=0;C--)(O=b[C])&&(S=(T<3?O(S):T>3?O(E,v,S):O(E,v))||S);return T>3&&S&&Object.defineProperty(E,v,S),S},c=this&&this.__param||function(b,E){return function(v,w){E(v,w,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var s=x(11),a=x(52),n=x(4),i=x(0),d=x(5),t=x(1),l=x(30),r=x(53),o=x(2),u=String.fromCharCode(160),h=new RegExp(u,"g"),y=function(b){function E(v,w,O,T,S,C,_){var I=b.call(this)||this;return I._element=v,I._screenElement=w,I._bufferService=O,I._coreService=T,I._mouseService=S,I._optionsService=C,I._renderService=_,I._dragScrollAmount=0,I._enabled=!0,I._workCell=new n.CellData,I._mouseDownTimeStamp=0,I._onLinuxMouseSelection=I.register(new i.EventEmitter),I._onRedrawRequest=I.register(new i.EventEmitter),I._onSelectionChange=I.register(new i.EventEmitter),I._onRequestScrollLines=I.register(new i.EventEmitter),I._mouseMoveListener=function(k){return I._onMouseMove(k)},I._mouseUpListener=function(k){return I._onMouseUp(k)},I._coreService.onUserInput(function(){I.hasSelection&&I.clearSelection()}),I._trimListener=I._bufferService.buffer.lines.onTrim(function(k){return I._onTrim(k)}),I.register(I._bufferService.buffers.onBufferActivate(function(k){return I._onBufferActivate(k)})),I.enable(),I._model=new a.SelectionModel(I._bufferService),I._activeSelectionMode=0,I}return g(E,b),Object.defineProperty(E.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._removeMouseDownListeners()},E.prototype.reset=function(){this.clearSelection()},E.prototype.disable=function(){this.clearSelection(),this._enabled=!1},E.prototype.enable=function(){this._enabled=!0},Object.defineProperty(E.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"hasSelection",{get:function(){var w=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;return!(!w||!O)&&(w[0]!==O[0]||w[1]!==O[1])},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionText",{get:function(){var w=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;if(!w||!O)return"";var T=this._bufferService.buffer,S=[];if(this._activeSelectionMode===3){if(w[0]===O[0])return"";for(var C=w[1];C<=O[1];C++){var _=T.translateBufferLineToString(C,!0,w[0],O[0]);S.push(_)}}else{var I=w[1]===O[1]?O[0]:void 0;for(S.push(T.translateBufferLineToString(w[1],!0,w[0],I)),C=w[1]+1;C<=O[1]-1;C++){var k=T.lines.get(C);_=T.translateBufferLineToString(C,!0),k&&k.isWrapped?S[S.length-1]+=_:S.push(_)}w[1]!==O[1]&&(k=T.lines.get(O[1]),_=T.translateBufferLineToString(O[1],!0,0,O[0]),k&&k.isWrapped?S[S.length-1]+=_:S.push(_))}return S.map(function(F){return F.replace(h," ")}).join(s.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),E.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},E.prototype.refresh=function(v){var w=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return w._refresh()})),s.isLinux&&v)&&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(v){var w=this._getMouseBufferCoords(v),O=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(O&&T&&w)&&this._areCoordsInSelection(w,O,T)},E.prototype._areCoordsInSelection=function(v,w,O){return v[1]>w[1]&&v[1]<O[1]||w[1]===O[1]&&v[1]===w[1]&&v[0]>=w[0]&&v[0]<O[0]||w[1]<O[1]&&v[1]===O[1]&&v[0]<O[0]||w[1]<O[1]&&v[1]===w[1]&&v[0]>=w[0]},E.prototype.selectWordAtCursor=function(v){var w=this._getMouseBufferCoords(v);w&&(this._selectWordAt(w,!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(v,w){this._model.clearSelection(),v=Math.max(v,0),w=Math.min(w,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,v],this._model.selectionEnd=[this._bufferService.cols,w],this.refresh(),this._onSelectionChange.fire()},E.prototype._onTrim=function(v){this._model.onTrim(v)&&this.refresh()},E.prototype._getMouseBufferCoords=function(v){var w=this._mouseService.getCoords(v,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(w)return w[0]--,w[1]--,w[1]+=this._bufferService.buffer.ydisp,w},E.prototype._getMouseEventScrollAmount=function(v){var w=l.getCoordsRelativeToElement(v,this._screenElement)[1],O=this._renderService.dimensions.canvasHeight;return w>=0&&w<=O?0:(w>O&&(w-=O),w=Math.min(Math.max(w,-50),50),(w/=50)/Math.abs(w)+Math.round(14*w))},E.prototype.shouldForceSelection=function(v){return s.isMac?v.altKey&&this._optionsService.options.macOptionClickForcesSelection:v.shiftKey},E.prototype.onMouseDown=function(v){if(this._mouseDownTimeStamp=v.timeStamp,(v.button!==2||!this.hasSelection)&&v.button===0){if(!this._enabled){if(!this.shouldForceSelection(v))return;v.stopPropagation()}v.preventDefault(),this._dragScrollAmount=0,this._enabled&&v.shiftKey?this._onIncrementalClick(v):v.detail===1?this._onSingleClick(v):v.detail===2?this._onDoubleClick(v):v.detail===3&&this._onTripleClick(v),this._addMouseDownListeners(),this.refresh(!0)}},E.prototype._addMouseDownListeners=function(){var v=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return v._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(v){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(v))},E.prototype._onSingleClick=function(v){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(v)?3:0,this._model.selectionStart=this._getMouseBufferCoords(v),this._model.selectionStart){this._model.selectionEnd=void 0;var w=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);w&&w.length!==this._model.selectionStart[0]&&w.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},E.prototype._onDoubleClick=function(v){var w=this._getMouseBufferCoords(v);w&&(this._activeSelectionMode=1,this._selectWordAt(w,!0))},E.prototype._onTripleClick=function(v){var w=this._getMouseBufferCoords(v);w&&(this._activeSelectionMode=2,this._selectLineAt(w[1]))},E.prototype.shouldColumnSelect=function(v){return v.altKey&&!(s.isMac&&this._optionsService.options.macOptionClickForcesSelection)},E.prototype._onMouseMove=function(v){if(v.stopImmediatePropagation(),this._model.selectionStart){var w=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(v),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(v),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var O=this._bufferService.buffer;if(this._model.selectionEnd[1]<O.lines.length){var T=O.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}w&&w[0]===this._model.selectionEnd[0]&&w[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 v=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(v.ydisp+this._bufferService.rows,v.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=v.ydisp),this.refresh()}},E.prototype._onMouseUp=function(v){var w=v.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&w<500&&v.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var O=this._mouseService.getCoords(v,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(O&&O[0]!==void 0&&O[1]!==void 0){var T=r.moveToCellSequence(O[0]-1,O[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},E.prototype._onBufferActivate=function(v){var w=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=v.activeBuffer.lines.onTrim(function(O){return w._onTrim(O)})},E.prototype._convertViewportColToCharacterIndex=function(v,w){for(var O=w[0],T=0;w[0]>=T;T++){var S=v.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?O--:S>1&&w[0]!==T&&(O+=S-1)}return O},E.prototype.setSelection=function(v,w,O){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[v,w],this._model.selectionStartLength=O,this.refresh()},E.prototype._getWordAt=function(v,w,O,T){if(O===void 0&&(O=!0),T===void 0&&(T=!0),!(v[0]>=this._bufferService.cols)){var S=this._bufferService.buffer,C=S.lines.get(v[1]);if(C){var _=S.translateBufferLineToString(v[1],!1),I=this._convertViewportColToCharacterIndex(C,v),k=I,F=v[0]-I,B=0,j=0,z=0,M=0;if(_.charAt(I)===" "){for(;I>0&&_.charAt(I-1)===" ";)I--;for(;k<_.length&&_.charAt(k+1)===" ";)k++}else{var U=v[0],P=v[0];C.getWidth(U)===0&&(B++,U--),C.getWidth(P)===2&&(j++,P++);var H=C.getString(P).length;for(H>1&&(M+=H-1,k+=H-1);U>0&&I>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(B++,U--):W>1&&(z+=W-1,I-=W-1),I--,U--}for(;P<C.length&&k+1<_.length&&!this._isCharWordSeparator(C.loadCell(P+1,this._workCell));){C.loadCell(P+1,this._workCell);var X=this._workCell.getChars().length;this._workCell.getWidth()===2?(j++,P++):X>1&&(M+=X-1,k+=X-1),k++,P++}}k++;var K=I+F-B+z,$=Math.min(this._bufferService.cols,k-I+B+j-z-M);if(w||_.slice(I,k).trim()!==""){if(O&&K===0&&C.getCodePoint(0)!==32){var ie=S.lines.get(v[1]-1);if(ie&&C.isWrapped&&ie.getCodePoint(this._bufferService.cols-1)!==32){var be=this._getWordAt([this._bufferService.cols-1,v[1]-1],!1,!0,!1);if(be){var te=this._bufferService.cols-be.start;K-=te,$+=te}}}if(T&&K+$===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var Te=S.lines.get(v[1]+1);if(Te&&Te.isWrapped&&Te.getCodePoint(0)!==32){var Ie=this._getWordAt([0,v[1]+1],!1,!1,!0);Ie&&($+=Ie.length)}}return{start:K,length:$}}}}},E.prototype._selectWordAt=function(v,w){var O=this._getWordAt(v,w);if(O){for(;O.start<0;)O.start+=this._bufferService.cols,v[1]--;this._model.selectionStart=[O.start,v[1]],this._model.selectionStartLength=O.length}},E.prototype._selectToWordAt=function(v){var w=this._getWordAt(v,!0);if(w){for(var O=v[1];w.start<0;)w.start+=this._bufferService.cols,O--;if(!this._model.areSelectionValuesReversed())for(;w.start+w.length>this._bufferService.cols;)w.length-=this._bufferService.cols,O++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?w.start:w.start+w.length,O]}},E.prototype._isCharWordSeparator=function(v){return v.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(v.getChars())>=0},E.prototype._selectLineAt=function(v){var w=this._bufferService.buffer.getWrappedRangeForLine(v);this._model.selectionStart=[0,w.first],this._model.selectionEnd=[this._bufferService.cols,w.last],this._model.selectionStartLength=0},E=p([c(2,t.IBufferService),c(3,t.ICoreService),c(4,d.IMouseService),c(5,t.IOptionsService),c(6,d.IRenderService)],E)}(o.Disposable);f.SelectionService=y},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function g(p){this._bufferService=p,this.isSelectAllActive=!1,this.selectionStartLength=0}return g.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(g.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(g.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}),g.prototype.areSelectionValuesReversed=function(){var p=this.selectionStart,c=this.selectionEnd;return!(!p||!c)&&(p[1]>c[1]||p[1]===c[1]&&p[0]>c[0])},g.prototype.onTrim=function(p){return this.selectionStart&&(this.selectionStart[1]-=p),this.selectionEnd&&(this.selectionEnd[1]-=p),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},g}();f.SelectionModel=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=x(12);function g(i,d,t,l){var r=i-p(t,i),o=d-p(t,d);return n(Math.abs(r-o)-function(u,h,y){for(var b=0,E=u-p(y,u),v=h-p(y,h),w=0;w<Math.abs(E-v);w++){var O=c(u,h)==="A"?-1:1,T=y.buffer.lines.get(E+O*w);T&&T.isWrapped&&b++}return b}(i,d,t),a(c(i,d),l))}function p(i,d){for(var t=0,l=i.buffer.lines.get(d),r=l&&l.isWrapped;r&&d>=0&&d<i.rows;)t++,r=(l=i.buffer.lines.get(--d))&&l.isWrapped;return t}function c(i,d){return i>d?"A":"B"}function s(i,d,t,l,r,o){for(var u=i,h=d,y="";u!==t||h!==l;)u+=r?1:-1,r&&u>o.cols-1?(y+=o.buffer.translateBufferLineToString(h,!1,i,u),u=0,i=0,h++):!r&&u<0&&(y+=o.buffer.translateBufferLineToString(h,!1,0,i+1),i=u=o.cols-1,h--);return y+o.buffer.translateBufferLineToString(h,!1,i,u)}function a(i,d){var t=d?"O":"[";return m.C0.ESC+t+i}function n(i,d){i=Math.floor(i);for(var t="",l=0;l<i;l++)t+=d;return t}f.moveToCellSequence=function(i,d,t,l){var r,o=t.buffer.x,u=t.buffer.y;if(!t.buffer.hasScrollback)return function(y,b,E,v,w,O){return g(b,v,w,O).length===0?"":n(s(y,b,y,b-p(w,b),!1,w).length,a("D",O))}(o,u,0,d,t,l)+g(u,d,t,l)+function(y,b,E,v,w,O){var T;T=g(b,v,w,O).length>0?v-p(w,v):b;var S=v,C=function(_,I,k,F,B,j){var z;return z=g(k,F,B,j).length>0?F-p(B,F):I,_<k&&z<=F||_>=k&&z<F?"C":"D"}(y,b,E,v,w,O);return n(s(y,T,E,S,C==="C",w).length,a(C,O))}(o,u,i,d,t,l);if(u===d)return r=o>i?"D":"C",n(Math.abs(o-i),a(r,l));r=u>d?"D":"C";var h=Math.abs(u-d);return n(function(y,b){return b.cols-y}(u>d?i:o,t)+(h-1)*t.cols+1+((u>d?o:i)-1),a(r,l))}},function(A,f,x){"use strict";var m=this&&this.__decorate||function(s,a,n,i){var d,t=arguments.length,l=t<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(s,a,n,i);else for(var r=s.length-1;r>=0;r--)(d=s[r])&&(l=(t<3?d(l):t>3?d(a,n,l):d(a,n))||l);return t>3&&l&&Object.defineProperty(a,n,l),l},g=this&&this.__param||function(s,a){return function(n,i){a(n,i,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var p=x(1),c=function(){function s(a){this._optionsService=a}return Object.defineProperty(s,"audioContext",{get:function(){if(!s._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;s._audioContext=new n}return s._audioContext},enumerable:!1,configurable:!0}),s.prototype.playBellSound=function(){var a=s.audioContext;if(a){var n=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(i){n.buffer=i,n.connect(a.destination),n.start(0)})}},s.prototype._base64ToArrayBuffer=function(a){for(var n=window.atob(a),i=n.length,d=new Uint8Array(i),t=0;t<i;t++)d[t]=n.charCodeAt(t);return d.buffer},s.prototype._removeMimeType=function(a){return a.split(",")[1]},s=m([g(0,p.IOptionsService)],s)}();f.SoundService=c},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),p=this&&this.__decorate||function(t,l,r,o){var u,h=arguments.length,y=h<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,l,r,o);else for(var b=t.length-1;b>=0;b--)(u=t[b])&&(y=(h<3?u(y):h>3?u(l,r,y):u(l,r))||y);return h>3&&y&&Object.defineProperty(l,r,y),y},c=this&&this.__param||function(t,l){return function(r,o){l(r,o,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var s=x(2),a=x(7),n=x(5),i=x(1),d=function(t){function l(r,o,u,h,y,b){var E=t.call(this)||this;return E._element=r,E._screenElement=o,E._bufferService=u,E._mouseService=h,E._selectionService=y,E._optionsService=b,E._zones=[],E._areZonesActive=!1,E._lastHoverCoords=[void 0,void 0],E._initialSelectionLength=0,E.register(a.addDisposableDomListener(E._element,"mousedown",function(v){return E._onMouseDown(v)})),E._mouseMoveListener=function(v){return E._onMouseMove(v)},E._mouseLeaveListener=function(v){return E._onMouseLeave(v)},E._clickListener=function(v){return E._onClick(v)},E}return g(l,t),l.prototype.dispose=function(){t.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(r){this._zones.push(r),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(r,o){if(this._zones.length!==0){r&&o||(r=0,o=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var h=this._zones[u];(h.y1>r&&h.y1<=o+1||h.y2>r&&h.y2<=o+1||h.y1<r&&h.y2>o+1)&&(this._currentZone&&this._currentZone===h&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(r){this._lastHoverCoords[0]===r.pageX&&this._lastHoverCoords[1]===r.pageY||(this._onHover(r),this._lastHoverCoords=[r.pageX,r.pageY])},l.prototype._onHover=function(r){var o=this,u=this._findZoneEventAt(r);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(r),this._tooltipTimeout=window.setTimeout(function(){return o._onTooltip(r)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(r){this._tooltipTimeout=void 0;var o=this._findZoneEventAt(r);o&&o.tooltipCallback&&o.tooltipCallback(r)},l.prototype._onMouseDown=function(r){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var o=this._findZoneEventAt(r);(o==null?void 0:o.willLinkActivate(r))&&(r.preventDefault(),r.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(r){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(r){var o=this._findZoneEventAt(r),u=this._getSelectionLength();o&&u===this._initialSelectionLength&&(o.clickCallback(r),r.preventDefault(),r.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var r=this._selectionService.selectionText;return r?r.length:0},l.prototype._findZoneEventAt=function(r){var o=this._mouseService.getCoords(r,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(o)for(var u=o[0],h=o[1],y=0;y<this._zones.length;y++){var b=this._zones[y];if(b.y1===b.y2){if(h===b.y1&&u>=b.x1&&u<b.x2)return b}else if(h===b.y1&&u>=b.x1||h===b.y2&&u<b.x2||h>b.y1&&h<b.y2)return b}},l=p([c(2,i.IBufferService),c(3,n.IMouseService),c(4,n.ISelectionService),c(5,i.IOptionsService)],l)}(s.Disposable);f.MouseZoneManager=d},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(r,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var y in h)h.hasOwnProperty(y)&&(u[y]=h[y])})(r,o)},function(l,r){function o(){this.constructor=l}m(l,r),l.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var p=x(18),c=x(11),s=x(31),a=x(7),n=x(2),i=x(32),d=x(17),t=function(l){function r(o,u){var h=l.call(this)||this;h._terminal=o,h._renderService=u,h._liveRegionLineCount=0,h._charsToConsume=[],h._charsToAnnounce="",h._accessibilityTreeRoot=document.createElement("div"),h._accessibilityTreeRoot.classList.add("xterm-accessibility"),h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-accessibility-tree"),h._rowContainer.setAttribute("role","list"),h._rowElements=[];for(var y=0;y<h._terminal.rows;y++)h._rowElements[y]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[y]);if(h._topBoundaryFocusListener=function(b){return h._onBoundaryFocus(b,0)},h._bottomBoundaryFocusListener=function(b){return h._onBoundaryFocus(b,1)},h._rowElements[0].addEventListener("focus",h._topBoundaryFocusListener),h._rowElements[h._rowElements.length-1].addEventListener("focus",h._bottomBoundaryFocusListener),h._refreshRowsDimensions(),h._accessibilityTreeRoot.appendChild(h._rowContainer),h._renderRowsDebouncer=new s.RenderDebouncer(h._renderRows.bind(h)),h._refreshRows(),h._liveRegion=document.createElement("div"),h._liveRegion.classList.add("live-region"),h._liveRegion.setAttribute("aria-live","assertive"),h._accessibilityTreeRoot.appendChild(h._liveRegion),!h._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return h._terminal.element.insertAdjacentElement("afterbegin",h._accessibilityTreeRoot),h.register(h._renderRowsDebouncer),h.register(h._terminal.onResize(function(b){return h._onResize(b.rows)})),h.register(h._terminal.onRender(function(b){return h._refreshRows(b.start,b.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(b){return h._onChar(b)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
|
|
|
`)})),h.register(h._terminal.onA11yTab(function(b){return h._onTab(b)})),h.register(h._terminal.onKey(function(b){return h._onKey(b.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new i.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(a.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return g(r,l),r.prototype.dispose=function(){l.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},r.prototype._onBoundaryFocus=function(o,u){var h=o.target,y=this._rowElements[u===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&o.relatedTarget===y){var b,E;if(u===0?(b=h,E=this._rowElements.pop(),this._rowContainer.removeChild(E)):(b=this._rowElements.shift(),E=h,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),E.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var v=this._createAccessibilityTreeNode();this._rowElements.unshift(v),this._rowContainer.insertAdjacentElement("afterbegin",v)}else v=this._createAccessibilityTreeNode(),this._rowElements.push(v),this._rowContainer.appendChild(v);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),o.preventDefault(),o.stopImmediatePropagation()}},r.prototype._onResize=function(o){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>o;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},r.prototype._createAccessibilityTreeNode=function(){var o=document.createElement("div");return o.setAttribute("role","listitem"),o.tabIndex=-1,this._refreshRowDimensions(o),o},r.prototype._onTab=function(o){for(var u=0;u<o;u++)this._onChar(" ")},r.prototype._onChar=function(o){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==o&&(this._charsToAnnounce+=o):this._charsToAnnounce+=o,o===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=p.tooMuchOutput)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},r.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&d.removeElementFromParent(this._liveRegion)},r.prototype._onKey=function(o){this._clearLiveRegion(),this._charsToConsume.push(o)},r.prototype._refreshRows=function(o,u){this._renderRowsDebouncer.refresh(o,u,this._terminal.rows)},r.prototype._renderRows=function(o,u){for(var h=this._terminal.buffer,y=h.lines.length.toString(),b=o;b<=u;b++){var E=h.translateBufferLineToString(h.ydisp+b,!0),v=(h.ydisp+b+1).toString(),w=this._rowElements[b];w&&(E.length===0?w.innerHTML=" ":w.textContent=E,w.setAttribute("aria-posinset",v),w.setAttribute("aria-setsize",y))}this._announceCharacters()},r.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var o=0;o<this._terminal.rows;o++)this._refreshRowDimensions(this._rowElements[o])}},r.prototype._refreshRowDimensions=function(o){o.style.height=this._renderService.dimensions.actualCellHeight+"px"},r.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},r}(n.Disposable);f.AccessibilityManager=t},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(y,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,v){E.__proto__=v}||function(E,v){for(var w in v)v.hasOwnProperty(w)&&(E[w]=v[w])})(y,b)},function(h,y){function b(){this.constructor=h}m(h,y),h.prototype=y===null?Object.create(y):(b.prototype=y.prototype,new b)}),p=this&&this.__decorate||function(h,y,b,E){var v,w=arguments.length,O=w<3?y:E===null?E=Object.getOwnPropertyDescriptor(y,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(h,y,b,E);else for(var T=h.length-1;T>=0;T--)(v=h[T])&&(O=(w<3?v(O):w>3?v(y,b,O):v(y,b))||O);return w>3&&O&&Object.defineProperty(y,b,O),O},c=this&&this.__param||function(h,y){return function(b,E){y(b,E,h)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var s=x(58),a=x(9),n=x(2),i=x(5),d=x(1),t=x(0),l=x(10),r=x(17),o=1,u=function(h){function y(b,E,v,w,O,T,S,C,_){var I=h.call(this)||this;return I._colors=b,I._element=E,I._screenElement=v,I._viewportElement=w,I._linkifier=O,I._linkifier2=T,I._charSizeService=S,I._optionsService=C,I._bufferService=_,I._terminalClass=o++,I._rowElements=[],I._rowContainer=document.createElement("div"),I._rowContainer.classList.add("xterm-rows"),I._rowContainer.style.lineHeight="normal",I._rowContainer.setAttribute("aria-hidden","true"),I._refreshRowElements(I._bufferService.cols,I._bufferService.rows),I._selectionContainer=document.createElement("div"),I._selectionContainer.classList.add("xterm-selection"),I._selectionContainer.setAttribute("aria-hidden","true"),I.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},I._updateDimensions(),I._injectCss(),I._rowFactory=new s.DomRendererRowFactory(document,I._optionsService,I._colors),I._element.classList.add("xterm-dom-renderer-owner-"+I._terminalClass),I._screenElement.appendChild(I._rowContainer),I._screenElement.appendChild(I._selectionContainer),I._linkifier.onShowLinkUnderline(function(k){return I._onLinkHover(k)}),I._linkifier.onHideLinkUnderline(function(k){return I._onLinkLeave(k)}),I._linkifier2.onShowLinkUnderline(function(k){return I._onLinkHover(k)}),I._linkifier2.onHideLinkUnderline(function(k){return I._onLinkLeave(k)}),I}return g(y,h),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return new t.EventEmitter().event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),r.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},y.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,E=this._rowElements;b<E.length;b++){var v=E[b];v.style.width=this.dimensions.canvasWidth+"px",v.style.height=this.dimensions.actualCellHeight+"px",v.style.lineHeight=this.dimensions.actualCellHeight+"px",v.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var w=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=w,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},y.prototype.setColors=function(b){this._colors=b,this._injectCss()},y.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var E=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";E+=this._terminalSelector+" span:not(."+s.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+s.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+s.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) ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+":not(."+s.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.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(v,w){E+=b._terminalSelector+" .xterm-fg-"+w+" { color: "+v.css+"; }"+b._terminalSelector+" .xterm-bg-"+w+" { background-color: "+v.css+"; }"}),E+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=E},y.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},y.prototype._refreshRowElements=function(b,E){for(var v=this._rowElements.length;v<=E;v++){var w=document.createElement("div");this._rowContainer.appendChild(w),this._rowElements.push(w)}for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop())},y.prototype.onResize=function(b,E){this._refreshRowElements(b,E),this._updateDimensions()},y.prototype.onCharSizeChanged=function(){this._updateDimensions()},y.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},y.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},y.prototype.onSelectionChanged=function(b,E,v){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&E){var w=b[1]-this._bufferService.buffer.ydisp,O=E[1]-this._bufferService.buffer.ydisp,T=Math.max(w,0),S=Math.min(O,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||S<0)){var C=document.createDocumentFragment();if(v)C.appendChild(this._createSelectionElement(T,b[0],E[0],S-T+1));else{var _=w===T?b[0]:0,I=T===S?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(T,_,I));var k=S-T-1;if(C.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,k)),T!==S){var F=O===S?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(S,0,F))}}this._selectionContainer.appendChild(C)}}},y.prototype._createSelectionElement=function(b,E,v,w){w===void 0&&(w=1);var O=document.createElement("div");return O.style.height=w*this.dimensions.actualCellHeight+"px",O.style.top=b*this.dimensions.actualCellHeight+"px",O.style.left=E*this.dimensions.actualCellWidth+"px",O.style.width=this.dimensions.actualCellWidth*(v-E)+"px",O},y.prototype.onCursorMove=function(){},y.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},y.prototype.clear=function(){for(var b=0,E=this._rowElements;b<E.length;b++)E[b].innerHTML=""},y.prototype.renderRows=function(b,E){for(var v=this._bufferService.buffer.ybase+this._bufferService.buffer.y,w=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),O=this._optionsService.options.cursorBlink,T=b;T<=E;T++){var S=this._rowElements[T];S.innerHTML="";var C=T+this._bufferService.buffer.ydisp,_=this._bufferService.buffer.lines.get(C),I=this._optionsService.options.cursorStyle;S.appendChild(this._rowFactory.createRow(_,C===v,I,w,O,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(y.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),y.prototype.registerCharacterJoiner=function(b){return-1},y.prototype.deregisterCharacterJoiner=function(b){return!1},y.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},y.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},y.prototype._setCellUnderline=function(b,E,v,w,O,T){for(;b!==E||v!==w;){var S=this._rowElements[v];if(!S)return;var C=S.children[b];C&&(C.style.textDecoration=T?"underline":"none"),++b>=O&&(b=0,v++)}},y=p([c(6,i.ICharSizeService),c(7,d.IOptionsService),c(8,d.IBufferService)],y)}(n.Disposable);f.DomRenderer=u},function(A,f,x){"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=x(9),g=x(3),p=x(4),c=x(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 s=function(){function n(i,d,t){this._document=i,this._optionsService=d,this._colors=t,this._workCell=new p.CellData}return n.prototype.setColors=function(i){this._colors=i},n.prototype.createRow=function(i,d,t,l,r,o,u){for(var h=this._document.createDocumentFragment(),y=0,b=Math.min(i.length,u)-1;b>=0;b--)if(i.loadCell(b,this._workCell).getCode()!==g.NULL_CELL_CODE||d&&b===l){y=b+1;break}for(b=0;b<y;b++){i.loadCell(b,this._workCell);var E=this._workCell.getWidth();if(E!==0){var v=this._document.createElement("span");if(E>1&&(v.style.width=o*E+"px"),d&&b===l)switch(v.classList.add(f.CURSOR_CLASS),r&&v.classList.add(f.CURSOR_BLINK_CLASS),t){case"bar":v.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":v.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:v.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&v.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&v.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&v.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&v.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?v.textContent=g.WHITESPACE_CELL_CHAR:v.textContent=this._workCell.getChars()||g.WHITESPACE_CELL_CHAR;var w=this._workCell.getFgColor(),O=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),S=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var _=w;w=T,T=_;var I=O;O=S,S=I}switch(O){case 16777216:case 33554432:this._workCell.isBold()&&w<8&&this._optionsService.options.drawBoldTextInBrightColors&&(w+=8),this._applyMinimumContrast(v,this._colors.background,this._colors.ansi[w])||v.classList.add("xterm-fg-"+w);break;case 50331648:var k=c.rgba.toColor(w>>16&255,w>>8&255,255&w);this._applyMinimumContrast(v,this._colors.background,k)||this._addStyle(v,"color:#"+a(w.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(v,this._colors.background,this._colors.foreground)||C&&v.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(S){case 16777216:case 33554432:v.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(v,"background-color:#"+a(T.toString(16),"0",6));break;case 0:default:C&&v.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}h.appendChild(v)}}return h},n.prototype._applyMinimumContrast=function(i,d,t){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=c.color.ensureContrastRatio(d,t,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(i,"color:"+l.css),!0)},n.prototype._addStyle=function(i,d){i.setAttribute("style",""+(i.getAttribute("style")||"")+d+";")},n}();function a(n,i,d){for(;n.length<d;)n=i+n;return n}f.DomRendererRowFactory=s},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=x(12),g={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(p,c,s,a){var n={type:0,cancel:!1,key:void 0},i=(p.shiftKey?1:0)|(p.altKey?2:0)|(p.ctrlKey?4:0)|(p.metaKey?8:0);switch(p.keyCode){case 0:p.key==="UIKeyInputUpArrow"?n.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A":p.key==="UIKeyInputLeftArrow"?n.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D":p.key==="UIKeyInputRightArrow"?n.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C":p.key==="UIKeyInputDownArrow"&&(n.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(p.shiftKey){n.key=m.C0.BS;break}if(p.altKey){n.key=m.C0.ESC+m.C0.DEL;break}n.key=m.C0.DEL;break;case 9:if(p.shiftKey){n.key=m.C0.ESC+"[Z";break}n.key=m.C0.HT,n.cancel=!0;break;case 13:n.key=p.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,n.cancel=!0;break;case 27:n.key=m.C0.ESC,p.altKey&&(n.key=m.C0.ESC+m.C0.ESC),n.cancel=!0;break;case 37:if(p.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"D",n.key===m.C0.ESC+"[1;3D"&&(n.key=m.C0.ESC+(s?"b":"[1;5D"))):n.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(p.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"C",n.key===m.C0.ESC+"[1;3C"&&(n.key=m.C0.ESC+(s?"f":"[1;5C"))):n.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(p.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"A",s||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(p.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"B",s||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:p.shiftKey||p.ctrlKey||(n.key=m.C0.ESC+"[2~");break;case 46:n.key=i?m.C0.ESC+"[3;"+(i+1)+"~":m.C0.ESC+"[3~";break;case 36:n.key=i?m.C0.ESC+"[1;"+(i+1)+"H":c?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:n.key=i?m.C0.ESC+"[1;"+(i+1)+"F":c?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:p.shiftKey?n.type=2:n.key=m.C0.ESC+"[5~";break;case 34:p.shiftKey?n.type=3:n.key=m.C0.ESC+"[6~";break;case 112:n.key=i?m.C0.ESC+"[1;"+(i+1)+"P":m.C0.ESC+"OP";break;case 113:n.key=i?m.C0.ESC+"[1;"+(i+1)+"Q":m.C0.ESC+"OQ";break;case 114:n.key=i?m.C0.ESC+"[1;"+(i+1)+"R":m.C0.ESC+"OR";break;case 115:n.key=i?m.C0.ESC+"[1;"+(i+1)+"S":m.C0.ESC+"OS";break;case 116:n.key=i?m.C0.ESC+"[15;"+(i+1)+"~":m.C0.ESC+"[15~";break;case 117:n.key=i?m.C0.ESC+"[17;"+(i+1)+"~":m.C0.ESC+"[17~";break;case 118:n.key=i?m.C0.ESC+"[18;"+(i+1)+"~":m.C0.ESC+"[18~";break;case 119:n.key=i?m.C0.ESC+"[19;"+(i+1)+"~":m.C0.ESC+"[19~";break;case 120:n.key=i?m.C0.ESC+"[20;"+(i+1)+"~":m.C0.ESC+"[20~";break;case 121:n.key=i?m.C0.ESC+"[21;"+(i+1)+"~":m.C0.ESC+"[21~";break;case 122:n.key=i?m.C0.ESC+"[23;"+(i+1)+"~":m.C0.ESC+"[23~";break;case 123:n.key=i?m.C0.ESC+"[24;"+(i+1)+"~":m.C0.ESC+"[24~";break;default:if(!p.ctrlKey||p.shiftKey||p.altKey||p.metaKey)if(s&&!a||!p.altKey||p.metaKey)s&&!p.altKey&&!p.ctrlKey&&p.metaKey?p.keyCode===65&&(n.type=1):p.key&&!p.ctrlKey&&!p.altKey&&!p.metaKey&&p.keyCode>=48&&p.key.length===1?n.key=p.key:p.key&&p.ctrlKey&&p.key==="_"&&(n.key=m.C0.US);else{var d=g[p.keyCode],t=d&&d[p.shiftKey?1:0];if(t)n.key=m.C0.ESC+t;else if(p.keyCode>=65&&p.keyCode<=90){var l=p.ctrlKey?p.keyCode-64:p.keyCode+32;n.key=m.C0.ESC+String.fromCharCode(l)}}else p.keyCode>=65&&p.keyCode<=90?n.key=String.fromCharCode(p.keyCode-64):p.keyCode===32?n.key=m.C0.NUL:p.keyCode>=51&&p.keyCode<=55?n.key=String.fromCharCode(p.keyCode-51+27):p.keyCode===56?n.key=m.C0.DEL:p.keyCode===219?n.key=m.C0.ESC:p.keyCode===220?n.key=m.C0.FS:p.keyCode===221&&(n.key=m.C0.GS)}return n}},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(u,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var E in b)b.hasOwnProperty(E)&&(y[E]=b[E])})(u,h)},function(o,u){function h(){this.constructor=o}m(o,u),o.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}),p=this&&this.__decorate||function(o,u,h,y){var b,E=arguments.length,v=E<3?u:y===null?y=Object.getOwnPropertyDescriptor(u,h):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(o,u,h,y);else for(var w=o.length-1;w>=0;w--)(b=o[w])&&(v=(E<3?b(v):E>3?b(u,h,v):b(u,h))||v);return E>3&&v&&Object.defineProperty(u,h,v),v},c=this&&this.__param||function(o,u){return function(h,y){u(h,y,o)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var s=x(31),a=x(0),n=x(2),i=x(32),d=x(7),t=x(1),l=x(5),r=function(o){function u(h,y,b,E,v,w){var O=o.call(this)||this;if(O._renderer=h,O._rowCount=y,O._isPaused=!1,O._needsFullRefresh=!1,O._isNextRenderRedrawOnly=!0,O._needsSelectionRefresh=!1,O._canvasWidth=0,O._canvasHeight=0,O._selectionState={start:void 0,end:void 0,columnSelectMode:!1},O._onDimensionsChange=new a.EventEmitter,O._onRender=new a.EventEmitter,O._onRefreshRequest=new a.EventEmitter,O.register({dispose:function(){return O._renderer.dispose()}}),O._renderDebouncer=new s.RenderDebouncer(function(S,C){return O._renderRows(S,C)}),O.register(O._renderDebouncer),O._screenDprMonitor=new i.ScreenDprMonitor,O._screenDprMonitor.setListener(function(){return O.onDevicePixelRatioChange()}),O.register(O._screenDprMonitor),O.register(w.onResize(function(S){return O._fullRefresh()})),O.register(E.onOptionChange(function(){return O._renderer.onOptionsChanged()})),O.register(v.onCharSizeChange(function(){return O.onCharSizeChanged()})),O._renderer.onRequestRedraw(function(S){return O.refreshRows(S.start,S.end,!0)}),O.register(d.addDisposableDomListener(window,"resize",function(){return O.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(S){return O._onIntersectionChange(S[S.length-1])},{threshold:0});T.observe(b),O.register({dispose:function(){return T.disconnect()}})}return O}return g(u,o),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(h){this._isPaused=h.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(h,y,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,y,this._rowCount))},u.prototype._renderRows=function(h,y){this._renderer.renderRows(h,y),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:h,end:y}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(h,y){this._rowCount=y,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){o.prototype.dispose.call(this)},u.prototype.setRenderer=function(h){var y=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(b){return y.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(h){this._renderer.setColors(h),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(h,y){this._renderer.onResize(h,y),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(h,y,b){this._selectionState.start=h,this._selectionState.end=y,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(h,y,b)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(h){return this._renderer.registerCharacterJoiner(h)},u.prototype.deregisterCharacterJoiner=function(h){return this._renderer.deregisterCharacterJoiner(h)},u=p([c(3,t.IOptionsService),c(4,l.ICharSizeService),c(5,t.IBufferService)],u)}(n.Disposable);f.RenderService=r},function(A,f,x){"use strict";var m=this&&this.__decorate||function(n,i,d,t){var l,r=arguments.length,o=r<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,d):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,i,d,t);else for(var u=n.length-1;u>=0;u--)(l=n[u])&&(o=(r<3?l(o):r>3?l(i,d,o):l(i,d))||o);return r>3&&o&&Object.defineProperty(i,d,o),o},g=this&&this.__param||function(n,i){return function(d,t){i(d,t,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var p=x(1),c=x(0),s=function(){function n(i,d,t){this._optionsService=t,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new a(i,d,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 i=this._measureStrategy.measure();i.width===this.width&&i.height===this.height||(this.width=i.width,this.height=i.height,this._onCharSizeChange.fire())},n=m([g(2,p.IOptionsService)],n)}();f.CharSizeService=s;var a=function(){function n(i,d,t){this._document=i,this._parentElement=d,this._optionsService=t,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 i=this._measureElement.getBoundingClientRect();return i.width!==0&&i.height!==0&&(this._result.width=i.width,this._result.height=Math.ceil(i.height)),this._result},n}()},function(A,f,x){"use strict";var m=this&&this.__decorate||function(a,n,i,d){var t,l=arguments.length,r=l<3?n:d===null?d=Object.getOwnPropertyDescriptor(n,i):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(a,n,i,d);else for(var o=a.length-1;o>=0;o--)(t=a[o])&&(r=(l<3?t(r):l>3?t(n,i,r):t(n,i))||r);return l>3&&r&&Object.defineProperty(n,i,r),r},g=this&&this.__param||function(a,n){return function(i,d){n(i,d,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var p=x(5),c=x(30),s=function(){function a(n,i){this._renderService=n,this._charSizeService=i}return a.prototype.getCoords=function(n,i,d,t,l){return c.getCoords(n,i,d,t,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},a.prototype.getRawByteCoords=function(n,i,d,t){var l=this.getCoords(n,i,d,t);return c.getRawByteCoords(l)},a=m([g(0,p.IRenderService),g(1,p.ICharSizeService)],a)}();f.MouseService=s},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),p=this&&this.__decorate||function(t,l,r,o){var u,h=arguments.length,y=h<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,l,r,o);else for(var b=t.length-1;b>=0;b--)(u=t[b])&&(y=(h<3?u(y):h>3?u(l,r,y):u(l,r))||y);return h>3&&y&&Object.defineProperty(l,r,y),y},c=this&&this.__param||function(t,l){return function(r,o){l(r,o,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var s=x(1),a=x(0),n=x(2),i=x(7),d=function(t){function l(r){var o=t.call(this)||this;return o._bufferService=r,o._linkProviders=[],o._linkCacheDisposables=[],o._isMouseOut=!0,o._activeLine=-1,o._onShowLinkUnderline=o.register(new a.EventEmitter),o._onHideLinkUnderline=o.register(new a.EventEmitter),o.register(n.getDisposeArrayDisposable(o._linkCacheDisposables)),o}return g(l,t),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(r){var o=this;return this._linkProviders.push(r),{dispose:function(){var h=o._linkProviders.indexOf(r);h!==-1&&o._linkProviders.splice(h,1)}}},l.prototype.attachToDom=function(r,o,u){var h=this;this._element=r,this._mouseService=o,this._renderService=u,this.register(i.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(i.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(i.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(r){if(this._lastMouseEvent=r,this._element&&this._mouseService){var o=this._positionFromMouseEvent(r,this._element,this._mouseService);if(o){this._isMouseOut=!1;for(var u=r.composedPath(),h=0;h<u.length;h++){var y=u[h];if(y.classList.contains("xterm"))break;if(y.classList.contains("xterm-hover"))return}this._lastBufferCell&&o.x===this._lastBufferCell.x&&o.y===this._lastBufferCell.y||(this._onHover(o),this._lastBufferCell=o)}}},l.prototype._onHover=function(r){if(this._activeLine!==r.y)return this._clearCurrentLink(),void this._askForLink(r,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,r)||(this._clearCurrentLink(),this._askForLink(r,!0))},l.prototype._askForLink=function(r,o){var u=this;this._activeProviderReplies&&o||(this._activeProviderReplies=new Map,this._activeLine=r.y);var h=!1;this._linkProviders.forEach(function(y,b){var E;o?((E=u._activeProviderReplies)===null||E===void 0?void 0:E.get(b))&&(h=u._checkLinkProviderResult(b,r,h)):y.provideLinks(r.y,function(v){var w,O;if(!u._isMouseOut){var T=v==null?void 0:v.map(function(S){return{link:S}});(w=u._activeProviderReplies)===null||w===void 0||w.set(b,T),h=u._checkLinkProviderResult(b,r,h),((O=u._activeProviderReplies)===null||O===void 0?void 0:O.size)===u._linkProviders.length&&u._removeIntersectingLinks(r.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(r,o){for(var u=new Set,h=0;h<o.size;h++){var y=o.get(h);if(y)for(var b=0;b<y.length;b++)for(var E=y[b],v=E.link.range.start.y<r?0:E.link.range.start.x,w=E.link.range.end.y>r?this._bufferService.cols:E.link.range.end.x,O=v;O<=w;O++){if(u.has(O)){y.splice(b--,1);break}u.add(O)}}},l.prototype._checkLinkProviderResult=function(r,o,u){var h,y=this;if(!this._activeProviderReplies)return u;for(var b=this._activeProviderReplies.get(r),E=!1,v=0;v<r;v++)this._activeProviderReplies.has(v)&&!this._activeProviderReplies.get(v)||(E=!0);if(!E&&b){var w=b.find(function(T){return y._linkAtPosition(T.link,o)});w&&(u=!0,this._handleNewLink(w))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(v=0;v<this._activeProviderReplies.size;v++){var O=(h=this._activeProviderReplies.get(v))===null||h===void 0?void 0:h.find(function(T){return y._linkAtPosition(T.link,o)});if(O){u=!0,this._handleNewLink(O);break}}return u},l.prototype._onClick=function(r){if(this._element&&this._mouseService&&this._currentLink){var o=this._positionFromMouseEvent(r,this._element,this._mouseService);o&&this._linkAtPosition(this._currentLink.link,o)&&this._currentLink.link.activate(r,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(r,o){this._element&&this._currentLink&&this._lastMouseEvent&&(!r||!o||this._currentLink.link.range.start.y>=r&&this._currentLink.link.range.end.y<=o)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,n.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(r){var o=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(r.link,u)&&(this._currentLink=r,this._currentLink.state={decorations:{underline:r.link.decorations===void 0||r.link.decorations.underline,pointerCursor:r.link.decorations===void 0||r.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,r.link,this._lastMouseEvent),r.link.decorations={},Object.defineProperties(r.link.decorations,{pointerCursor:{get:function(){var y,b;return(b=(y=o._currentLink)===null||y===void 0?void 0:y.state)===null||b===void 0?void 0:b.decorations.pointerCursor},set:function(y){var b,E;((b=o._currentLink)===null||b===void 0?void 0:b.state)&&o._currentLink.state.decorations.pointerCursor!==y&&(o._currentLink.state.decorations.pointerCursor=y,o._currentLink.state.isHovered&&((E=o._element)===null||E===void 0||E.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,b;return(b=(y=o._currentLink)===null||y===void 0?void 0:y.state)===null||b===void 0?void 0:b.decorations.underline},set:function(y){var b,E,v;((b=o._currentLink)===null||b===void 0?void 0:b.state)&&((v=(E=o._currentLink)===null||E===void 0?void 0:E.state)===null||v===void 0?void 0:v.decorations.underline)!==y&&(o._currentLink.state.decorations.underline=y,o._currentLink.state.isHovered&&o._fireUnderlineEvent(r.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var y=h.start===0?0:h.start+1+o._bufferService.buffer.ydisp;o._clearCurrentLink(y,h.end+1+o._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(r,o,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!0),this._currentLink.state.decorations.pointerCursor&&r.classList.add("xterm-cursor-pointer")),o.hover&&o.hover(u,o.text)},l.prototype._fireUnderlineEvent=function(r,o){var u=r.range,h=this._bufferService.buffer.ydisp,y=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-h-1,u.end.x,u.end.y-h-1,void 0);(o?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(y)},l.prototype._linkLeave=function(r,o,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!1),this._currentLink.state.decorations.pointerCursor&&r.classList.remove("xterm-cursor-pointer")),o.leave&&o.leave(u,o.text)},l.prototype._linkAtPosition=function(r,o){var u=r.range.start.y===r.range.end.y,h=r.range.start.y<o.y,y=r.range.end.y>o.y;return(u&&r.range.start.x<=o.x&&r.range.end.x>=o.x||h&&r.range.end.x>=o.x||y&&r.range.start.x<=o.x||h&&y)&&r.range.start.y<=o.y&&r.range.end.y>=o.y},l.prototype._positionFromMouseEvent=function(r,o,u){var h=u.getCoords(r,o,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(r,o,u,h,y){return{x1:r,y1:o,x2:u,y2:h,cols:this._bufferService.cols,fg:y}},l=p([c(0,s.IBufferService)],l)}(n.Disposable);f.Linkifier2=d},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function g(p){this._textarea=p}return Object.defineProperty(g.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),g}();f.CoreBrowserService=m},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(w,O){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,S){T.__proto__=S}||function(T,S){for(var C in S)S.hasOwnProperty(C)&&(T[C]=S[C])})(w,O)},function(v,w){function O(){this.constructor=v}m(v,w),v.prototype=w===null?Object.create(w):(O.prototype=w.prototype,new O)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var p=x(2),c=x(1),s=x(66),a=x(67),n=x(68),i=x(74),d=x(75),t=x(0),l=x(76),r=x(77),o=x(78),u=x(80),h=x(81),y=x(19),b=x(82),E=function(v){function w(O){var T=v.call(this)||this;return T._onBinary=new t.EventEmitter,T._onData=new t.EventEmitter,T._onLineFeed=new t.EventEmitter,T._onResize=new t.EventEmitter,T._onScroll=new t.EventEmitter,T._instantiationService=new s.InstantiationService,T.optionsService=new i.OptionsService(O),T._instantiationService.setService(c.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(n.BufferService)),T._instantiationService.setService(c.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(a.LogService),T._instantiationService.setService(c.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(d.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(c.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(l.CoreMouseService),T._instantiationService.setService(c.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(r.DirtyRowService),T._instantiationService.setService(c.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(o.UnicodeService),T._instantiationService.setService(c.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(u.CharsetService),T._instantiationService.setService(c.ICharsetService,T._charsetService),T._inputHandler=new y.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(t.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(t.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(t.forwardEvent(T._coreService.onData,T._onData)),T.register(t.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(S){return T._updateOptions(S)})),T._writeBuffer=new b.WriteBuffer(function(S){return T._inputHandler.parse(S)}),T}return g(w,v),Object.defineProperty(w.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){var O;this._isDisposed||(v.prototype.dispose.call(this),(O=this._windowsMode)===null||O===void 0||O.dispose(),this._windowsMode=void 0)},w.prototype.write=function(O,T){this._writeBuffer.write(O,T)},w.prototype.writeSync=function(O){this._writeBuffer.writeSync(O)},w.prototype.resize=function(O,T){isNaN(O)||isNaN(T)||(O=Math.max(O,n.MINIMUM_COLS),T=Math.max(T,n.MINIMUM_ROWS),this._bufferService.resize(O,T))},w.prototype.scroll=function(O,T){T===void 0&&(T=!1);var S,C=this._bufferService.buffer;(S=this._cachedBlankLine)&&S.length===this.cols&&S.getFg(0)===O.fg&&S.getBg(0)===O.bg||(S=C.getBlankLine(O,T),this._cachedBlankLine=S),S.isWrapped=T;var _=C.ybase+C.scrollTop,I=C.ybase+C.scrollBottom;if(C.scrollTop===0){var k=C.lines.isFull;I===C.lines.length-1?k?C.lines.recycle().copyFrom(S):C.lines.push(S.clone()):C.lines.splice(I+1,0,S.clone()),k?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var F=I-_+1;C.lines.shiftElements(_+1,F-1,-1),C.lines.set(I,S.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},w.prototype.scrollLines=function(O,T){var S=this._bufferService.buffer;if(O<0){if(S.ydisp===0)return;this._bufferService.isUserScrolling=!0}else O+S.ydisp>=S.ybase&&(this._bufferService.isUserScrolling=!1);var C=S.ydisp;S.ydisp=Math.max(Math.min(S.ydisp+O,S.ybase),0),C!==S.ydisp&&(T||this._onScroll.fire(S.ydisp))},w.prototype.scrollPages=function(O){this.scrollLines(O*(this.rows-1))},w.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},w.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},w.prototype.scrollToLine=function(O){var T=O-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},w.prototype.addEscHandler=function(O,T){return this._inputHandler.addEscHandler(O,T)},w.prototype.addDcsHandler=function(O,T){return this._inputHandler.addDcsHandler(O,T)},w.prototype.addCsiHandler=function(O,T){return this._inputHandler.addCsiHandler(O,T)},w.prototype.addOscHandler=function(O,T){return this._inputHandler.addOscHandler(O,T)},w.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},w.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},w.prototype._updateOptions=function(O){var T;switch(O){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},w.prototype._enableWindowsMode=function(){var O=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(O._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,_=T;C<_.length;C++)_[C].dispose()}}}},w}(p.Disposable);f.CoreTerminal=E},function(A,f,x){"use strict";var m=this&&this.__spreadArrays||function(){for(var a=0,n=0,i=arguments.length;n<i;n++)a+=arguments[n].length;var d=Array(a),t=0;for(n=0;n<i;n++)for(var l=arguments[n],r=0,o=l.length;r<o;r++,t++)d[t]=l[r];return d};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var g=x(1),p=x(14),c=function(){function a(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this._entries=new Map;for(var d=0,t=n;d<t.length;d++){var l=t[d],r=l[0],o=l[1];this.set(r,o)}}return a.prototype.set=function(n,i){var d=this._entries.get(n);return this._entries.set(n,i),d},a.prototype.forEach=function(n){this._entries.forEach(function(i,d){return n(d,i)})},a.prototype.has=function(n){return this._entries.has(n)},a.prototype.get=function(n){return this._entries.get(n)},a}();f.ServiceCollection=c;var s=function(){function a(){this._services=new c,this._services.set(g.IInstantiationService,this)}return a.prototype.setService=function(n,i){this._services.set(n,i)},a.prototype.getService=function(n){return this._services.get(n)},a.prototype.createInstance=function(n){for(var i=[],d=1;d<arguments.length;d++)i[d-1]=arguments[d];for(var t=p.getServiceDependencies(n).sort(function(b,E){return b.index-E.index}),l=[],r=0,o=t;r<o.length;r++){var u=o[r],h=this._services.get(u.id);if(!h)throw new Error("[createInstance] "+n.name+" depends on UNKNOWN service "+u.id+".");l.push(h)}var y=t.length>0?t[0].index:i.length;if(i.length!==y)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(y+1)+" conflicts with "+i.length+" static arguments");return new(n.bind.apply(n,m([void 0],m(i,l))))},a}();f.InstantiationService=s},function(A,f,x){"use strict";var m=this&&this.__decorate||function(i,d,t,l){var r,o=arguments.length,u=o<3?d:l===null?l=Object.getOwnPropertyDescriptor(d,t):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(i,d,t,l);else for(var h=i.length-1;h>=0;h--)(r=i[h])&&(u=(o<3?r(u):o>3?r(d,t,u):r(d,t))||u);return o>3&&u&&Object.defineProperty(d,t,u),u},g=this&&this.__param||function(i,d){return function(t,l){d(t,l,i)}},p=this&&this.__spreadArrays||function(){for(var i=0,d=0,t=arguments.length;d<t;d++)i+=arguments[d].length;var l=Array(i),r=0;for(d=0;d<t;d++)for(var o=arguments[d],u=0,h=o.length;u<h;u++,r++)l[r]=o[u];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var c,s=x(1);!function(i){i[i.DEBUG=0]="DEBUG",i[i.INFO=1]="INFO",i[i.WARN=2]="WARN",i[i.ERROR=3]="ERROR",i[i.OFF=4]="OFF"}(c=f.LogLevel||(f.LogLevel={}));var a={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.OFF},n=function(){function i(d){var t=this;this._optionsService=d,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&t._updateLogLevel()})}return i.prototype._updateLogLevel=function(){this._logLevel=a[this._optionsService.options.logLevel]},i.prototype._evalLazyOptionalParams=function(d){for(var t=0;t<d.length;t++)typeof d[t]=="function"&&(d[t]=d[t]())},i.prototype._log=function(d,t,l){this._evalLazyOptionalParams(l),d.call.apply(d,p([console,"xterm.js: "+t],l))},i.prototype.debug=function(d){for(var t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];this._logLevel<=c.DEBUG&&this._log(console.log,d,t)},i.prototype.info=function(d){for(var t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];this._logLevel<=c.INFO&&this._log(console.info,d,t)},i.prototype.warn=function(d){for(var t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];this._logLevel<=c.WARN&&this._log(console.warn,d,t)},i.prototype.error=function(d){for(var t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];this._logLevel<=c.ERROR&&this._log(console.error,d,t)},i=m([g(0,s.IOptionsService)],i)}();f.LogService=n},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,u){o.__proto__=u}||function(o,u){for(var h in u)u.hasOwnProperty(h)&&(o[h]=u[h])})(l,r)},function(t,l){function r(){this.constructor=t}m(t,l),t.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),p=this&&this.__decorate||function(t,l,r,o){var u,h=arguments.length,y=h<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,l,r,o);else for(var b=t.length-1;b>=0;b--)(u=t[b])&&(y=(h<3?u(y):h>3?u(l,r,y):u(l,r))||y);return h>3&&y&&Object.defineProperty(l,r,y),y},c=this&&this.__param||function(t,l){return function(r,o){l(r,o,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var s=x(1),a=x(69),n=x(0),i=x(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var d=function(t){function l(r){var o=t.call(this)||this;return o._optionsService=r,o.isUserScrolling=!1,o._onResize=new n.EventEmitter,o.cols=Math.max(r.options.cols,f.MINIMUM_COLS),o.rows=Math.max(r.options.rows,f.MINIMUM_ROWS),o.buffers=new a.BufferSet(r,o),o}return g(l,t),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(){t.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(r,o){this.cols=r,this.rows=o,this.buffers.resize(r,o),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:r,rows:o})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=p([c(0,s.IOptionsService)],l)}(i.Disposable);f.BufferService=d},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(n,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,t){d.__proto__=t}||function(d,t){for(var l in t)t.hasOwnProperty(l)&&(d[l]=t[l])})(n,i)},function(a,n){function i(){this.constructor=a}m(a,n),a.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var p=x(70),c=x(0),s=function(a){function n(i,d){var t=a.call(this)||this;return t._onBufferActivate=t.register(new c.EventEmitter),t._normal=new p.Buffer(!0,i,d),t._normal.fillViewportRows(),t._alt=new p.Buffer(!1,i,d),t._activeBuffer=t._normal,t.setupTabStops(),t}return g(n,a),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(i){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(i),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(i,d){this._normal.resize(i,d),this._alt.resize(i,d)},n.prototype.setupTabStops=function(i){this._normal.setupTabStops(i),this._alt.setupTabStops(i)},n}(x(2).Disposable);f.BufferSet=s},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=x(71),g=x(16),p=x(4),c=x(3),s=x(72),a=x(73),n=x(20),i=x(6);f.MAX_BUFFER_SIZE=4294967295;var d=function(){function l(r,o,u){this._hasScrollback=r,this._optionsService=o,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=g.DEFAULT_ATTR_DATA.clone(),this.savedCharset=n.DEFAULT_CHARSET,this.markers=[],this._nullCell=p.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=p.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(r){return r?(this._nullCell.fg=r.fg,this._nullCell.bg=r.bg,this._nullCell.extended=r.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new i.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(r){return r?(this._whitespaceCell.fg=r.fg,this._whitespaceCell.bg=r.bg,this._whitespaceCell.extended=r.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new i.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(r,o){return new g.BufferLine(this._bufferService.cols,this.getNullCell(r),o)},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 o=this.ybase+this.y-this.ydisp;return o>=0&&o<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(r){if(!this._hasScrollback)return r;var o=r+this._optionsService.options.scrollback;return o>f.MAX_BUFFER_SIZE?f.MAX_BUFFER_SIZE:o},l.prototype.fillViewportRows=function(r){if(this.lines.length===0){r===void 0&&(r=g.DEFAULT_ATTR_DATA);for(var o=this._rows;o--;)this.lines.push(this.getBlankLine(r))}},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(r,o){var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(o);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols<r)for(var y=0;y<this.lines.length;y++)this.lines.get(y).resize(r,u);var b=0;if(this._rows<o)for(var E=this._rows;E<o;E++)this.lines.length<o+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new g.BufferLine(r,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new g.BufferLine(r,u)));else for(E=this._rows;E>o;E--)this.lines.length>o+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(h<this.lines.maxLength){var v=this.lines.length-h;v>0&&(this.lines.trimStart(v),this.ybase=Math.max(this.ybase-v,0),this.ydisp=Math.max(this.ydisp-v,0),this.savedY=Math.max(this.savedY-v,0)),this.lines.maxLength=h}this.x=Math.min(this.x,r-1),this.y=Math.min(this.y,o-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,r-1),this.scrollTop=0}if(this.scrollBottom=o-1,this._isReflowEnabled&&(this._reflow(r,o),this._cols>r))for(y=0;y<this.lines.length;y++)this.lines.get(y).resize(r,u);this._cols=r,this._rows=o},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(r,o){this._cols!==r&&(r>this._cols?this._reflowLarger(r,o):this._reflowSmaller(r,o))},l.prototype._reflowLarger=function(r,o){var u=s.reflowLargerGetLinesToRemove(this.lines,this._cols,r,this.ybase+this.y,this.getNullCell(g.DEFAULT_ATTR_DATA));if(u.length>0){var h=s.reflowLargerCreateNewLayout(this.lines,u);s.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(r,o,h.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(r,o,u){for(var h=this.getNullCell(g.DEFAULT_ATTR_DATA),y=u;y-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<o&&this.lines.push(new g.BufferLine(r,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(r,o){for(var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=[],y=0,b=this.lines.length-1;b>=0;b--){var E=this.lines.get(b);if(!(!E||!E.isWrapped&&E.getTrimmedLength()<=r)){for(var v=[E];E.isWrapped&&b>0;)E=this.lines.get(--b),v.unshift(E);var w=this.ybase+this.y;if(!(w>=b&&w<b+v.length)){var O=v[v.length-1].getTrimmedLength(),T=s.reflowSmallerGetNewLineLengths(v,this._cols,r),S=T.length-v.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+S):Math.max(0,this.lines.length-this.lines.maxLength+S);for(var _=[],I=0;I<S;I++){var k=this.getBlankLine(g.DEFAULT_ATTR_DATA,!0);_.push(k)}_.length>0&&(h.push({start:b+v.length+y,newLines:_}),y+=_.length),v.push.apply(v,_);var F=T.length-1,B=T[F];B===0&&(B=T[--F]);for(var j=v.length-S-1,z=O;j>=0;){var M=Math.min(z,B);if(v[F].copyCellsFrom(v[j],z-M,B-M,M,!0),(B-=M)===0&&(B=T[--F]),(z-=M)===0){j--;var U=Math.max(j,0);z=s.getWrappedLineTrimmedLength(v,U,this._cols)}}for(I=0;I<v.length;I++)T[I]<r&&v[I].setCell(T[I],u);for(var P=S-C;P-- >0;)this.ybase===0?this.y<o-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+y)-o&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+S,this.ybase+o-1)}}}if(h.length>0){var H=[],W=[];for(I=0;I<this.lines.length;I++)W.push(this.lines.get(I));var X=this.lines.length,K=X-1,$=0,ie=h[$];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+y);var be=0;for(I=Math.min(this.lines.maxLength-1,X+y-1);I>=0;I--)if(ie&&ie.start>K+be){for(var te=ie.newLines.length-1;te>=0;te--)this.lines.set(I--,ie.newLines[te]);I++,H.push({index:K+1,amount:ie.newLines.length}),be+=ie.newLines.length,ie=h[++$]}else this.lines.set(I,W[K--]);var Te=0;for(I=H.length-1;I>=0;I--)H[I].index+=Te,this.lines.onInsertEmitter.fire(H[I]),Te+=H[I].amount;var Ie=Math.max(0,X+y-this.lines.maxLength);Ie>0&&this.lines.onTrimEmitter.fire(Ie)}},l.prototype.stringIndexToBufferIndex=function(r,o,u){for(u===void 0&&(u=!1);o;){var h=this.lines.get(r);if(!h)return[-1,-1];for(var y=u?h.getTrimmedLength():h.length,b=0;b<y;++b)if(h.get(b)[c.CHAR_DATA_WIDTH_INDEX]&&(o-=h.get(b)[c.CHAR_DATA_CHAR_INDEX].length||1),o<0)return[r,b];r++}return[r,0]},l.prototype.translateBufferLineToString=function(r,o,u,h){u===void 0&&(u=0);var y=this.lines.get(r);return y?y.translateToString(o,u,h):""},l.prototype.getWrappedRangeForLine=function(r){for(var o=r,u=r;o>0&&this.lines.get(o).isWrapped;)o--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:o,last:u}},l.prototype.setupTabStops=function(r){for(r!=null?this.tabs[r]||(r=this.prevStop(r)):(this.tabs={},r=0);r<this._cols;r+=this._optionsService.options.tabStopWidth)this.tabs[r]=!0},l.prototype.prevStop=function(r){for(r==null&&(r=this.x);!this.tabs[--r]&&r>0;);return r>=this._cols?this._cols-1:r<0?0:r},l.prototype.nextStop=function(r){for(r==null&&(r=this.x);!this.tabs[++r]&&r<this._cols;);return r>=this._cols?this._cols-1:r<0?0:r},l.prototype.addMarker=function(r){var o=this,u=new a.Marker(r);return this.markers.push(u),u.register(this.lines.onTrim(function(h){u.line-=h,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(h){u.line>=h.index&&(u.line+=h.amount)})),u.register(this.lines.onDelete(function(h){u.line>=h.index&&u.line<h.index+h.amount&&u.dispose(),u.line>h.index&&(u.line-=h.amount)})),u.register(u.onDispose(function(){return o._removeMarker(u)})),u},l.prototype._removeMarker=function(r){this.markers.splice(this.markers.indexOf(r),1)},l.prototype.iterator=function(r,o,u,h,y){return new t(this,r,o,u,h,y)},l}();f.Buffer=d;var t=function(){function l(r,o,u,h,y,b){u===void 0&&(u=0),h===void 0&&(h=r.lines.length),y===void 0&&(y=0),b===void 0&&(b=0),this._buffer=r,this._trimRight=o,this._startIndex=u,this._endIndex=h,this._startOverscan=y,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var r=this._buffer.getWrappedRangeForLine(this._current);r.first<this._startIndex-this._startOverscan&&(r.first=this._startIndex-this._startOverscan),r.last>this._endIndex+this._endOverscan&&(r.last=this._endIndex+this._endOverscan),r.first=Math.max(r.first,0),r.last=Math.min(r.last,this._buffer.lines.length);for(var o="",u=r.first;u<=r.last;++u)o+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=r.last+1,{range:r,content:o}},l}();f.BufferStringIterator=t},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=x(0),g=function(){function p(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(p.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"maxLength",{get:function(){return this._maxLength},set:function(s){if(this._maxLength!==s){for(var a=new Array(s),n=0;n<Math.min(s,this.length);n++)a[n]=this._array[this._getCyclicIndex(n)];this._array=a,this._maxLength=s,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"length",{get:function(){return this._length},set:function(s){if(s>this._length)for(var a=this._length;a<s;a++)this._array[a]=void 0;this._length=s},enumerable:!1,configurable:!0}),p.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},p.prototype.set=function(c,s){this._array[this._getCyclicIndex(c)]=s},p.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++},p.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(p.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),p.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},p.prototype.splice=function(c,s){for(var a=[],n=2;n<arguments.length;n++)a[n-2]=arguments[n];if(s){for(var i=c;i<this._length-s;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+s)];this._length-=s}for(i=this._length-1;i>=c;i--)this._array[this._getCyclicIndex(i+a.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<a.length;i++)this._array[this._getCyclicIndex(c+i)]=a[i];if(this._length+a.length>this._maxLength){var d=this._length+a.length-this._maxLength;this._startIndex+=d,this._length=this._maxLength,this.onTrimEmitter.fire(d)}else this._length+=a.length},p.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},p.prototype.shiftElements=function(c,s,a){if(!(s<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var n=s-1;n>=0;n--)this.set(c+n+a,this.get(c+n));var i=c+s+a-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n<s;n++)this.set(c+n+a,this.get(c+n))}},p.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},p}();f.CircularList=g},function(A,f,x){"use strict";function m(g,p,c){if(p===g.length-1)return g[p].getTrimmedLength();var s=!g[p].hasContent(c-1)&&g[p].getWidth(c-1)===1,a=g[p+1].getWidth(0)===2;return s&&a?c-1:c}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(g,p,c,s,a){for(var n=[],i=0;i<g.length-1;i++){var d=i,t=g.get(++d);if(t.isWrapped){for(var l=[g.get(i)];d<g.length&&t.isWrapped;)l.push(t),t=g.get(++d);if(s>=i&&s<d)i+=l.length-1;else{for(var r=0,o=m(l,r,p),u=1,h=0;u<l.length;){var y=m(l,u,p),b=y-h,E=c-o,v=Math.min(b,E);l[r].copyCellsFrom(l[u],h,o,v,!1),(o+=v)===c&&(r++,o=0),(h+=v)===y&&(u++,h=0),o===0&&r!==0&&l[r-1].getWidth(c-1)===2&&(l[r].copyCellsFrom(l[r-1],c-1,o++,1,!1),l[r-1].setCell(c-1,a))}l[r].replaceCells(o,c,a);for(var w=0,O=l.length-1;O>0&&(O>r||l[O].getTrimmedLength()===0);O--)w++;w>0&&(n.push(i+l.length-w),n.push(w)),i+=l.length-1}}}return n},f.reflowLargerCreateNewLayout=function(g,p){for(var c=[],s=0,a=p[s],n=0,i=0;i<g.length;i++)if(a===i){var d=p[++s];g.onDeleteEmitter.fire({index:i-n,amount:d}),i+=d-1,n+=d,a=p[++s]}else c.push(i);return{layout:c,countRemoved:n}},f.reflowLargerApplyNewLayout=function(g,p){for(var c=[],s=0;s<p.length;s++)c.push(g.get(p[s]));for(s=0;s<c.length;s++)g.set(s,c[s]);g.length=p.length},f.reflowSmallerGetNewLineLengths=function(g,p,c){for(var s=[],a=g.map(function(o,u){return m(g,u,p)}).reduce(function(o,u){return o+u}),n=0,i=0,d=0;d<a;){if(a-d<c){s.push(a-d);break}n+=c;var t=m(g,i,p);n>t&&(n-=t,i++);var l=g[i].getWidth(n-1)===2;l&&n--;var r=l?c-1:c;s.push(r),d+=r}return s},f.getWrappedLineTrimmedLength=m},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(a,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var t in d)d.hasOwnProperty(t)&&(i[t]=d[t])})(a,n)},function(s,a){function n(){this.constructor=s}m(s,a),s.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var p=x(0),c=function(s){function a(n){var i=s.call(this)||this;return i.line=n,i._id=a._nextId++,i.isDisposed=!1,i._onDispose=new p.EventEmitter,i}return g(a,s),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(x(2).Disposable);f.Marker=c},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=x(0),g=x(11),p=x(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:g.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],s=function(){function a(n){this._onOptionChange=new m.EventEmitter,this.options=p.clone(f.DEFAULT_OPTIONS);for(var i=0,d=Object.keys(n);i<d.length;i++){var t=d[i];if(t in this.options){var l=n[t];this.options[t]=l}}}return Object.defineProperty(a.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),a.prototype.setOption=function(n,i){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]!==i&&(i=this._sanitizeAndValidateOption(n,i),this.options[n]!==i&&(this.options[n]=i,this._onOptionChange.fire(n)))},a.prototype._sanitizeAndValidateOption=function(n,i){switch(n){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":i||(i=f.DEFAULT_OPTIONS[n]);break;case"cursorWidth":i=Math.floor(i);case"lineHeight":case"tabStopWidth":if(i<1)throw new Error(n+" cannot be less than 1, value: "+i);break;case"minimumContrastRatio":i=Math.max(1,Math.min(21,Math.round(10*i)/10));break;case"scrollback":if((i=Math.min(i,4294967295))<0)throw new Error(n+" cannot be less than 0, value: "+i);break;case"fastScrollSensitivity":case"scrollSensitivity":if(i<=0)throw new Error(n+" cannot be less than or equal to 0, value: "+i)}return i},a.prototype.getOption=function(n){if(!(n in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');return this.options[n]},a}();f.OptionsService=s},function(A,f,x){"use strict";var m,g=this&&this.__extends||(m=function(o,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,y){h.__proto__=y}||function(h,y){for(var b in y)y.hasOwnProperty(b)&&(h[b]=y[b])})(o,u)},function(r,o){function u(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(u.prototype=o.prototype,new u)}),p=this&&this.__decorate||function(r,o,u,h){var y,b=arguments.length,E=b<3?o:h===null?h=Object.getOwnPropertyDescriptor(o,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,u,h);else for(var v=r.length-1;v>=0;v--)(y=r[v])&&(E=(b<3?y(E):b>3?y(o,u,E):y(o,u))||E);return b>3&&E&&Object.defineProperty(o,u,E),E},c=this&&this.__param||function(r,o){return function(u,h){o(u,h,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var s=x(1),a=x(0),n=x(33),i=x(2),d=Object.freeze({insertMode:!1}),t=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(r){function o(u,h,y,b){var E=r.call(this)||this;return E._bufferService=h,E._logService=y,E._optionsService=b,E.isCursorInitialized=!1,E.isCursorHidden=!1,E._onData=E.register(new a.EventEmitter),E._onUserInput=E.register(new a.EventEmitter),E._onBinary=E.register(new a.EventEmitter),E._scrollToBottom=u,E.register({dispose:function(){return E._scrollToBottom=void 0}}),E.modes=n.clone(d),E.decPrivateModes=n.clone(t),E}return g(o,r),Object.defineProperty(o.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),o.prototype.reset=function(){this.modes=n.clone(d),this.decPrivateModes=n.clone(t)},o.prototype.triggerDataEvent=function(u,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var y=this._bufferService.buffer;y.ybase!==y.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(u)}},o.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(h){return h.charCodeAt(0)})}),this._onBinary.fire(u))},o=p([c(1,s.IBufferService),c(2,s.ILogService),c(3,s.IOptionsService)],o)}(i.Disposable);f.CoreService=l},function(A,f,x){"use strict";var m=this&&this.__decorate||function(t,l,r,o){var u,h=arguments.length,y=h<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,l,r,o);else for(var b=t.length-1;b>=0;b--)(u=t[b])&&(y=(h<3?u(y):h>3?u(l,r,y):u(l,r))||y);return h>3&&y&&Object.defineProperty(l,r,y),y},g=this&&this.__param||function(t,l){return function(r,o){l(r,o,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var p=x(1),c=x(0),s={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function a(t,l){var r=(t.ctrl?16:0)|(t.shift?4:0)|(t.alt?8:0);return t.button===4?(r|=64,r|=t.action):(r|=3&t.button,4&t.button&&(r|=64),8&t.button&&(r|=128),t.action===32?r|=32:t.action!==0||l||(r|=3)),r}var n=String.fromCharCode,i={DEFAULT:function(l){var r=[a(l,!1)+32,l.col+32,l.row+32];return r[0]>255||r[1]>255||r[2]>255?"":"[M"+n(r[0])+n(r[1])+n(r[2])},SGR:function(l){var r=l.action===0&&l.button!==4?"m":"M";return"[<"+a(l,!0)+";"+l.col+";"+l.row+r}},d=function(){function t(l,r){this._bufferService=l,this._coreService=r,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new c.EventEmitter,this._lastEvent=null;for(var o=0,u=Object.keys(s);o<u.length;o++){var h=u[o];this.addProtocol(h,s[h])}for(var y=0,b=Object.keys(i);y<b.length;y++){var E=b[y];this.addEncoding(E,i[E])}this.reset()}return t.prototype.addProtocol=function(l,r){this._protocols[l]=r},t.prototype.addEncoding=function(l,r){this._encodings[l]=r},Object.defineProperty(t.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(r){if(!this._protocols[r])throw new Error('unknown protocol "'+r+'"');this._activeProtocol=r,this._onProtocolChange.fire(this._protocols[r].events)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(r){if(!this._encodings[r])throw new Error('unknown encoding "'+r+'"');this._activeEncoding=r},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(t.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),t.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 r=this._encodings[this._activeEncoding](l);return r&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(r):this._coreService.triggerDataEvent(r,!0)),this._lastEvent=l,!0},t.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},t.prototype._compareEvents=function(l,r){return l.col===r.col&&l.row===r.row&&l.button===r.button&&l.action===r.action&&l.ctrl===r.ctrl&&l.alt===r.alt&&l.shift===r.shift},t=m([g(0,p.IBufferService),g(1,p.ICoreService)],t)}();f.CoreMouseService=d},function(A,f,x){"use strict";var m=this&&this.__decorate||function(s,a,n,i){var d,t=arguments.length,l=t<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(s,a,n,i);else for(var r=s.length-1;r>=0;r--)(d=s[r])&&(l=(t<3?d(l):t>3?d(a,n,l):d(a,n))||l);return t>3&&l&&Object.defineProperty(a,n,l),l},g=this&&this.__param||function(s,a){return function(n,i){a(n,i,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var p=x(1),c=function(){function s(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(s.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),s.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},s.prototype.markDirty=function(a){a<this._start?this._start=a:a>this._end&&(this._end=a)},s.prototype.markRangeDirty=function(a,n){if(a>n){var i=a;a=n,n=i}a<this._start&&(this._start=a),n>this._end&&(this._end=n)},s.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},s=m([g(0,p.IBufferService)],s)}();f.DirtyRowService=c},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=x(0),g=x(79),p=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var s=new g.UnicodeV6;this.register(s),this._active=s.version,this._activeProvider=s}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(a){if(!this._providers[a])throw new Error('unknown Unicode version "'+a+'"');this._active=a,this._activeProvider=this._providers[a],this._onChange.fire(a)},enumerable:!1,configurable:!0}),c.prototype.register=function(s){this._providers[s.version]=s},c.prototype.wcwidth=function(s){return this._activeProvider.wcwidth(s)},c.prototype.getStringCellWidth=function(s){for(var a=0,n=s.length,i=0;i<n;++i){var d=s.charCodeAt(i);if(55296<=d&&d<=56319){if(++i>=n)return a+this.wcwidth(d);var t=s.charCodeAt(i);56320<=t&&t<=57343?d=1024*(d-55296)+t-56320+65536:a+=this.wcwidth(t)}a+=this.wcwidth(d)}return a},c}();f.UnicodeService=p},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,g=x(15),p=[[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]],s=function(){function a(){if(this.version="6",!m){m=new Uint8Array(65536),g.fill(m,1),m[0]=0,g.fill(m,0,1,32),g.fill(m,0,127,160),g.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,g.fill(m,2,11904,42192),m[12351]=1,g.fill(m,2,44032,55204),g.fill(m,2,63744,64256),g.fill(m,2,65040,65050),g.fill(m,2,65072,65136),g.fill(m,2,65280,65377),g.fill(m,2,65504,65511);for(var n=0;n<p.length;++n)g.fill(m,0,p[n][0],p[n][1]+1)}}return a.prototype.wcwidth=function(n){return n<32?0:n<127?1:n<65536?m[n]:function(i,d){var t,l=0,r=d.length-1;if(i<d[0][0]||i>d[r][1])return!1;for(;r>=l;)if(i>d[t=l+r>>1][1])l=t+1;else{if(!(i<d[t][0]))return!0;r=t-1}return!1}(n,c)?0:n>=131072&&n<=196605||n>=196608&&n<=262141?2:1},a}();f.UnicodeV6=s},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function g(){this.glevel=0,this._charsets=[]}return g.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},g.prototype.setgLevel=function(p){this.glevel=p,this.charset=this._charsets[p]},g.prototype.setgCharset=function(p,c){this._charsets[p]=c,this.glevel===p&&(this.charset=c)},g}();f.CharsetService=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=x(3);f.updateWindowsModeWrappedState=function(g){var p=g.buffer.lines.get(g.buffer.ybase+g.buffer.y-1),c=p==null?void 0:p.get(g.cols-1),s=g.buffer.lines.get(g.buffer.ybase+g.buffer.y);s&&c&&(s.isWrapped=c[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&c[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function g(p){this._action=p,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return g.prototype.writeSync=function(p){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var s=this._writeBuffer[c],a=this._callbacks[c];this._action(s),a&&a()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(p)},g.prototype.write=function(p,c){var s=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 s._innerWrite()})),this._pendingData+=p.length,this._writeBuffer.push(p),this._callbacks.push(c)},g.prototype._innerWrite=function(){for(var p=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var s=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(s),this._pendingData-=s.length,a&&a(),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 p._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},g}();f.WriteBuffer=m},function(A,f,x){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function g(){this._addons=[]}return g.prototype.dispose=function(){for(var p=this._addons.length-1;p>=0;p--)this._addons[p].instance.dispose()},g.prototype.loadAddon=function(p,c){var s=this,a={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(a),c.dispose=function(){return s._wrappedAddonDispose(a)},c.activate(p)},g.prototype._wrappedAddonDispose=function(p){if(!p.isDisposed){for(var c=-1,s=0;s<this._addons.length;s++)if(this._addons[s]===p){c=s;break}if(c===-1)throw new Error("Could not dispose an addon that has not been loaded");p.isDisposed=!0,p.dispose.apply(p.instance),this._addons.splice(c,1)}},g}();f.AddonManager=m}])})},"/SeX":function(R,N,e){var A=e("knOB"),f=e("qZFw"),x=function(g){this.name=g||"",this.cx=0,this.cy=0,this._radiusAxis=new A,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};x.prototype={type:"polar",axisPointerEnabled:!0,constructor:x,dimensions:["radius","angle"],model:null,containPoint:function(g){var p=this.pointToCoord(g);return this._radiusAxis.contain(p[0])&&this._angleAxis.contain(p[1])},containData:function(g){return this._radiusAxis.containData(g[0])&&this._angleAxis.containData(g[1])},getAxis:function(g){return this["_"+g+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(g){var p=[],c=this._angleAxis,s=this._radiusAxis;return c.scale.type===g&&p.push(c),s.scale.type===g&&p.push(s),p},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(g){var p=this._angleAxis;return g===p?this._radiusAxis:p},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(g){var p=g!=null&&g!=="auto"?this.getAxis(g):this.getBaseAxis();return{baseAxes:[p],otherAxes:[this.getOtherAxis(p)]}},dataToPoint:function(g,p){return this.coordToPoint([this._radiusAxis.dataToRadius(g[0],p),this._angleAxis.dataToAngle(g[1],p)])},pointToData:function(g,p){var c=this.pointToCoord(g);return[this._radiusAxis.radiusToData(c[0],p),this._angleAxis.angleToData(c[1],p)]},pointToCoord:function(g){var p=g[0]-this.cx,c=g[1]-this.cy,s=this.getAngleAxis(),a=s.getExtent(),n=Math.min(a[0],a[1]),i=Math.max(a[0],a[1]);s.inverse?n=i-360:i=n+360;var d=Math.sqrt(p*p+c*c);p/=d,c/=d;for(var t=Math.atan2(-c,p)/Math.PI*180,l=t<n?1:-1;t<n||t>i;)t+=l*360;return[d,t]},coordToPoint:function(g){var p=g[0],c=g[1]/180*Math.PI,s=Math.cos(c)*p+this.cx,a=-Math.sin(c)*p+this.cy;return[s,a]},getArea:function(){var g=this.getAngleAxis(),p=this.getRadiusAxis(),c=p.getExtent().slice();c[0]>c[1]&&c.reverse();var s=g.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-s[0]*a,endAngle:-s[1]*a,clockwise:g.inverse,contain:function(n,i){var d=n-this.cx,t=i-this.cy,l=d*d+t*t,r=this.r,o=this.r0;return l<=r*r&&l>=o*o}}}};var m=x;R.exports=m},"/WM3":function(R,N,e){var A=e("QuXc"),f=e("bYtY"),x=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(g,p){var c=g.getData(),s=(g.visualColorAccessPath||"itemStyle.color").split("."),a=g.get(s),n=x(a)&&!(a instanceof A)?a:null;(!a||n)&&(a=g.getColorFromPalette(g.name,null,p.getSeriesCount())),c.setVisual("color",a);var i=(g.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),d=g.get(i);if(c.setVisual("borderColor",d),!p.isSeriesFiltered(g)){n&&c.each(function(l){c.setItemVisual(l,"color",n(g.getDataParams(l)))});var t=function(l,r){var o=l.getItemModel(r),u=o.get(s,!0),h=o.get(i,!0);u!=null&&l.setItemVisual(r,"color",u),h!=null&&l.setItemVisual(r,"borderColor",h)};return{dataEach:c.hasItemOption?t:null}}}};R.exports=m},"/d5a":function(R,N){var e={average:function(x){for(var m=0,g=0,p=0;p<x.length;p++)isNaN(x[p])||(m+=x[p],g++);return g===0?NaN:m/g},sum:function(x){for(var m=0,g=0;g<x.length;g++)m+=x[g]||0;return m},max:function(x){for(var m=-Infinity,g=0;g<x.length;g++)x[g]>m&&(m=x[g]);return isFinite(m)?m:NaN},min:function(x){for(var m=Infinity,g=0;g<x.length;g++)x[g]<m&&(m=x[g]);return isFinite(m)?m:NaN},nearest:function(x){return x[0]}},A=function(x,m){return Math.round(x.length/2)};function f(x){return{seriesType:x,modifyOutputEnd:!0,reset:function(m,g,p){var c=m.getData(),s=m.get("sampling"),a=m.coordinateSystem;if(a.type==="cartesian2d"&&s){var n=a.getBaseAxis(),i=a.getOtherAxis(n),d=n.getExtent(),t=d[1]-d[0],l=Math.round(c.count()/t);if(l>1){var r;typeof s=="string"?r=e[s]:typeof s=="function"&&(r=s),r&&m.setData(c.downSample(c.mapDimension(i.dim),1/l,r,A))}}}}}R.exports=f},"/ezw":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("cDf5"),p=e.n(g),c=e("q1tI"),s=e("TSYQ"),a=e.n(s),n=function(P){var H=P.prefixCls,W=P.className,X=P.width,K=P.style;return c.createElement("h3",{className:a()(H,W),style:m()({width:X},K)})},i=n,d=e("RIqP"),t=e.n(d),l=function(P){var H=function(te){var Te=P.width,Ie=P.rows,Fe=Ie===void 0?2:Ie;return Array.isArray(Te)?Te[te]:Fe-1===te?Te:void 0},W=P.prefixCls,X=P.className,K=P.style,$=P.rows,ie=t()(Array($)).map(function(be,te){return c.createElement("li",{key:te,style:{width:H(te)}})});return c.createElement("ul",{className:a()(W,X),style:K},ie)},r=l,o=e("H84U"),u=function(P){var H,W,X=P.prefixCls,K=P.className,$=P.style,ie=P.size,be=P.shape,te=a()((H={},f()(H,"".concat(X,"-lg"),ie==="large"),f()(H,"".concat(X,"-sm"),ie==="small"),H)),Te=a()((W={},f()(W,"".concat(X,"-circle"),be==="circle"),f()(W,"".concat(X,"-square"),be==="square"),f()(W,"".concat(X,"-round"),be==="round"),W)),Ie=typeof ie=="number"?{width:ie,height:ie,lineHeight:"".concat(ie,"px")}:{};return c.createElement("span",{className:a()(X,K,te,Te),style:m()(m()({},Ie),$)})},h=u,y=e("BGR+"),b=function(P){var H=function(X){var K=X.getPrefixCls,$=P.prefixCls,ie=P.className,be=P.active,te=K("skeleton",$),Te=Object(y.default)(P,["prefixCls"]),Ie=a()(te,ie,"".concat(te,"-element"),f()({},"".concat(te,"-active"),be));return c.createElement("div",{className:Ie},c.createElement(h,m()({prefixCls:"".concat(te,"-avatar")},Te)))};return c.createElement(o.a,null,H)};b.defaultProps={size:"default",shape:"circle"};var E=b,v=function(P){var H=function(X){var K=X.getPrefixCls,$=P.prefixCls,ie=P.className,be=P.active,te=K("skeleton",$),Te=Object(y.default)(P,["prefixCls"]),Ie=a()(te,ie,"".concat(te,"-element"),f()({},"".concat(te,"-active"),be));return c.createElement("div",{className:Ie},c.createElement(h,m()({prefixCls:"".concat(te,"-button")},Te)))};return c.createElement(o.a,null,H)};v.defaultProps={size:"default"};var w=v,O=function(P){var H=function(X){var K=X.getPrefixCls,$=P.prefixCls,ie=P.className,be=P.active,te=K("skeleton",$),Te=Object(y.default)(P,["prefixCls"]),Ie=a()(te,ie,"".concat(te,"-element"),f()({},"".concat(te,"-active"),be));return c.createElement("div",{className:Ie},c.createElement(h,m()({prefixCls:"".concat(te,"-input")},Te)))};return c.createElement(o.a,null,H)};O.defaultProps={size:"default"};var T=O,S="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(P){var H=function(X){var K=X.getPrefixCls,$=P.prefixCls,ie=P.className,be=P.style,te=K("skeleton",$),Te=a()(te,ie,"".concat(te,"-element"));return c.createElement("div",{className:Te},c.createElement("div",{className:a()("".concat(te,"-image"),ie),style:be},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(te,"-image-svg")},c.createElement("path",{d:S,className:"".concat(te,"-image-path")}))))};return c.createElement(o.a,null,H)},_=C;function I(U){return U&&p()(U)==="object"?U:{}}function k(U,P){return U&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function F(U,P){return!U&&P?{width:"38%"}:U&&P?{width:"50%"}:{}}function B(U,P){var H={};return(!U||!P)&&(H.width="61%"),!U&&P?H.rows=3:H.rows=2,H}var j=function(P){var H=function(X){var K=X.getPrefixCls,$=X.direction,ie=P.prefixCls,be=P.loading,te=P.className,Te=P.children,Ie=P.avatar,Fe=P.title,Qe=P.paragraph,fe=P.active,He=P.round,se=K("skeleton",ie);if(be||!("loading"in P)){var Ce,mt=!!Ie,Ne=!!Fe,ae=!!Qe,ce;if(mt){var le=m()(m()({prefixCls:"".concat(se,"-avatar")},k(Ne,ae)),I(Ie));ce=c.createElement("div",{className:"".concat(se,"-header")},c.createElement(h,le))}var je;if(Ne||ae){var Re;if(Ne){var Ze=m()(m()({prefixCls:"".concat(se,"-title")},F(mt,ae)),I(Fe));Re=c.createElement(i,Ze)}var De;if(ae){var ne=m()(m()({prefixCls:"".concat(se,"-paragraph")},B(mt,Ne)),I(Qe));De=c.createElement(r,ne)}je=c.createElement("div",{className:"".concat(se,"-content")},Re,De)}var he=a()(se,te,(Ce={},f()(Ce,"".concat(se,"-with-avatar"),mt),f()(Ce,"".concat(se,"-active"),fe),f()(Ce,"".concat(se,"-rtl"),$==="rtl"),f()(Ce,"".concat(se,"-round"),He),Ce));return c.createElement("div",{className:he},ce,je)}return Te};return c.createElement(o.a,null,H)};j.defaultProps={avatar:!1,title:!0,paragraph:!0},j.Button=w,j.Avatar=E,j.Input=T,j.Image=_;var z=j,M=N.a=z},"/iHx":function(R,N,e){var A=e("6GrX"),f=e("IwbS"),x=["textStyle","color"],m={getTextColor:function(g){var p=this.ecModel;return this.getShallow("color")||(!g&&p?p.get(x):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(g){return A.getBoundingRect(g,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};R.exports=m},"/kpp":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("cDf5"),p=e.n(g),c=e("q1tI"),s=e.n(c),a=e("TSYQ"),n=e.n(a),i=e("o/2+"),d=e("H84U"),t=function(o,u){var h={};for(var y in o)Object.prototype.hasOwnProperty.call(o,y)&&u.indexOf(y)<0&&(h[y]=o[y]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(o);b<y.length;b++)u.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(o,y[b])&&(h[y[b]]=o[y[b]]);return h};function l(o){return typeof o=="number"?"".concat(o," ").concat(o," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(o)?"0 0 ".concat(o):o}var r=c.forwardRef(function(o,u){var h=function(b){var E,v=b.getPrefixCls,w=b.direction,O=o.prefixCls,T=o.span,S=o.order,C=o.offset,_=o.push,I=o.pull,k=o.className,F=o.children,B=o.flex,j=o.style,z=t(o,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),M=v("col",O),U={};["xs","sm","md","lg","xl","xxl"].forEach(function(H){var W,X={},K=o[H];typeof K=="number"?X.span=K:p()(K)==="object"&&(X=K||{}),delete z[H],U=m()(m()({},U),(W={},f()(W,"".concat(M,"-").concat(H,"-").concat(X.span),X.span!==void 0),f()(W,"".concat(M,"-").concat(H,"-order-").concat(X.order),X.order||X.order===0),f()(W,"".concat(M,"-").concat(H,"-offset-").concat(X.offset),X.offset||X.offset===0),f()(W,"".concat(M,"-").concat(H,"-push-").concat(X.push),X.push||X.push===0),f()(W,"".concat(M,"-").concat(H,"-pull-").concat(X.pull),X.pull||X.pull===0),f()(W,"".concat(M,"-rtl"),w==="rtl"),W))});var P=n()(M,(E={},f()(E,"".concat(M,"-").concat(T),T!==void 0),f()(E,"".concat(M,"-order-").concat(S),S),f()(E,"".concat(M,"-offset-").concat(C),C),f()(E,"".concat(M,"-push-").concat(_),_),f()(E,"".concat(M,"-pull-").concat(I),I),E),k,U);return c.createElement(i.a.Consumer,null,function(H){var W=H.gutter,X=m()({},j);return W&&(X=m()(m()(m()({},W[0]>0?{paddingLeft:W[0]/2,paddingRight:W[0]/2}:{}),W[1]>0?{paddingTop:W[1]/2,paddingBottom:W[1]/2}:{}),X)),B&&(X.flex=l(B)),c.createElement("div",m()({},z,{style:X,className:P,ref:u}),F)})};return c.createElement(d.a,null,h)});r.displayName="Col",N.a=r},"/ry/":function(R,N,e){var A=e("bYtY"),f=e("T4UG"),x=e("5GhG"),m=x.seriesModelMixin,g=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}});A.mixin(g,m,!0);var p=g;R.exports=p},"/stD":function(R,N,e){var A=e("bYtY"),f=e("IUWy"),x=e("Kagy"),m=x.toolbox.brush;function g(s,a,n){this.model=s,this.ecModel=a,this.api=n,this._brushType,this._brushMode}g.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:A.clone(m.title)};var p=g.prototype;p.render=p.updateView=function(s,a,n){var i,d,t;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,d=l.brushOption.brushMode||"single",t|=l.areas.length}),this._brushType=i,this._brushMode=d,A.each(s.get("type",!0),function(l){s.setIconStatus(l,(l==="keep"?d==="multiple":l==="clear"?t:l===i)?"emphasis":"normal")})},p.getIcons=function(){var s=this.model,a=s.get("icon",!0),n={};return A.each(s.get("type",!0),function(i){a[i]&&(n[i]=a[i])}),n},p.onclick=function(s,a,n){var i=this._brushType,d=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?i:i===n?!1:n,brushMode:n==="keep"?d==="multiple"?"single":"multiple":d}})},f.register("brush",g);var c=g;R.exports=c},"/wGt":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("PJYZ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e("Ff2n"),u=e("1OyB"),h=e("vuIU"),y=e("Ji7U"),b=e("md7G"),E=e("foSv"),v=e("1W/9"),w=e("rePB"),O=e("JX7q"),T=e("TSYQ"),S=e.n(T),C=e("qx4F"),_=e("4IlW");function I(Re){return Array.isArray(Re)?Re:[Re]}var k={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},F=Object.keys(k).filter(function(Re){if(typeof document=="undefined")return!1;var Ze=document.getElementsByTagName("html")[0];return Re in(Ze?Ze.style:{})})[0],B=k[F];function j(Re,Ze,De,ne){Re.addEventListener?Re.addEventListener(Ze,De,ne):Re.attachEvent&&Re.attachEvent("on".concat(Ze),De)}function z(Re,Ze,De,ne){Re.removeEventListener?Re.removeEventListener(Ze,De,ne):Re.attachEvent&&Re.detachEvent("on".concat(Ze),De)}function M(Re,Ze){var De=typeof Re=="function"?Re(Ze):Re;return Array.isArray(De)?De.length===2?De:[De[0],De[1]]:[De]}var U=function(Ze){return!isNaN(parseFloat(Ze))&&isFinite(Ze)},P=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function Re(Ze,De,ne,he){if(!De||De===document||De instanceof Document)return!1;if(De===Ze.parentNode)return!0;var pe=Math.max(Math.abs(ne),Math.abs(he))===Math.abs(he),Xe=Math.max(Math.abs(ne),Math.abs(he))===Math.abs(ne),lt=De.scrollHeight-De.clientHeight,At=De.scrollWidth-De.clientWidth,Me=document.defaultView.getComputedStyle(De),Ht=Me.overflowY==="auto"||Me.overflowY==="scroll",tt=Me.overflowX==="auto"||Me.overflowX==="scroll",Mt=lt&&Ht,jt=At&&tt;return pe&&(!Mt||Mt&&(De.scrollTop>=lt&&he<0||De.scrollTop<=0&&he>0))||Xe&&(!jt||jt&&(De.scrollLeft>=At&&ne<0||De.scrollLeft<=0&&ne>0))?Re(Ze,De.parentNode,ne,he):!1};function W(Re){var Ze=X();return function(){var ne=Object(E.a)(Re),he;if(Ze){var pe=Object(E.a)(this).constructor;he=Reflect.construct(ne,arguments,pe)}else he=ne.apply(this,arguments);return Object(b.a)(this,he)}}function X(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Re){return!1}}var K={},$=function(Re){Object(y.a)(De,Re);var Ze=W(De);function De(ne){var he;return Object(u.a)(this,De),he=Ze.call(this,ne),he.domFocus=function(){he.dom&&he.dom.focus()},he.removeStartHandler=function(pe){if(pe.touches.length>1)return;he.startPos={x:pe.touches[0].clientX,y:pe.touches[0].clientY}},he.removeMoveHandler=function(pe){if(pe.changedTouches.length>1)return;var Xe=pe.currentTarget,lt=pe.changedTouches[0].clientX-he.startPos.x,At=pe.changedTouches[0].clientY-he.startPos.y;(Xe===he.maskDom||Xe===he.handlerDom||Xe===he.contentDom&&H(Xe,pe.target,lt,At))&&pe.cancelable&&pe.preventDefault()},he.transitionEnd=function(pe){var Xe=pe.target;z(Xe,B,he.transitionEnd),Xe.style.transition=""},he.onKeyDown=function(pe){if(pe.keyCode===_.a.ESC){var Xe=he.props.onClose;pe.stopPropagation(),Xe&&Xe(pe)}},he.onWrapperTransitionEnd=function(pe){var Xe=he.props,lt=Xe.open,At=Xe.afterVisibleChange;pe.target===he.contentWrapper&&pe.propertyName.match(/transform$/)&&(he.dom.style.transition="",!lt&&he.getCurrentDrawerSome()&&(document.body.style.overflowX="",he.maskDom&&(he.maskDom.style.left="",he.maskDom.style.width="")),At&&At(!!lt))},he.openLevelTransition=function(){var pe=he.props,Xe=pe.open,lt=pe.width,At=pe.height,Me=he.getHorizontalBoolAndPlacementName(),Ht=Me.isHorizontal,tt=Me.placementName,Mt=he.contentDom?he.contentDom.getBoundingClientRect()[Ht?"width":"height"]:0,jt=(Ht?lt:At)||Mt;he.setLevelAndScrolling(Xe,tt,jt)},he.setLevelTransform=function(pe,Xe,lt,At){var Me=he.props,Ht=Me.placement,tt=Me.levelMove,Mt=Me.duration,jt=Me.ease,kt=Me.showMask;he.levelDom.forEach(function(Tt){Tt.style.transition="transform ".concat(Mt," ").concat(jt),j(Tt,B,he.transitionEnd);var Dt=pe?lt:0;if(tt){var Ue=M(tt,{target:Tt,open:pe});Dt=pe?Ue[0]:Ue[1]||0}var G=typeof Dt=="number"?"".concat(Dt,"px"):Dt,Y=Ht==="left"||Ht==="top"?G:"-".concat(G);Y=kt&&Ht==="right"&&At?"calc(".concat(Y," + ").concat(At,"px)"):Y,Tt.style.transform=Dt?"".concat(Xe,"(").concat(Y,")"):""})},he.setLevelAndScrolling=function(pe,Xe,lt){var At=he.props.onChange;if(!P){var Me=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;he.setLevelTransform(pe,Xe,lt,Me),he.toggleScrollingToDrawerAndBody(Me)}At&&At(pe)},he.toggleScrollingToDrawerAndBody=function(pe){var Xe=he.props,lt=Xe.getOpenCount,At=Xe.getContainer,Me=Xe.showMask,Ht=Xe.open,tt=At&&At(),Mt=lt&<();if(tt&&tt.parentNode===document.body&&Me){var jt=["touchstart"],kt=[document.body,he.maskDom,he.handlerDom,he.contentDom];Ht&&document.body.style.overflow!=="hidden"?(pe&&he.addScrollingEffect(pe),Mt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",kt.forEach(function(Tt,Dt){if(!Tt)return;j(Tt,jt[Dt]||"touchmove",Dt?he.removeMoveHandler:he.removeStartHandler,he.passive)})):he.getCurrentDrawerSome()&&(Mt||(document.body.style.overflow=""),document.body.style.touchAction="",pe&&he.remScrollingEffect(pe),kt.forEach(function(Tt,Dt){if(!Tt)return;z(Tt,jt[Dt]||"touchmove",Dt?he.removeMoveHandler:he.removeStartHandler,he.passive)}))}},he.addScrollingEffect=function(pe){var Xe=he.props,lt=Xe.placement,At=Xe.duration,Me=Xe.ease,Ht=Xe.getOpenCount,tt=Xe.switchScrollingEffect,Mt=Ht&&Ht();Mt===1&&tt();var jt="width ".concat(At," ").concat(Me),kt="transform ".concat(At," ").concat(Me);he.dom.style.transition="none";switch(lt){case"right":he.dom.style.transform="translateX(-".concat(pe,"px)");break;case"top":case"bottom":he.dom.style.width="calc(100% - ".concat(pe,"px)"),he.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(he.timeout),he.timeout=setTimeout(function(){he.dom&&(he.dom.style.transition="".concat(kt,",").concat(jt),he.dom.style.width="",he.dom.style.transform="")})},he.remScrollingEffect=function(pe){var Xe=he.props,lt=Xe.placement,At=Xe.duration,Me=Xe.ease,Ht=Xe.getOpenCount,tt=Xe.switchScrollingEffect,Mt=Ht&&Ht();Mt||tt(!0),F&&(document.body.style.overflowX="hidden"),he.dom.style.transition="none";var jt,kt="width ".concat(At," ").concat(Me),Tt="transform ".concat(At," ").concat(Me);switch(lt){case"left":{he.dom.style.width="100%",kt="width 0s ".concat(Me," ").concat(At);break}case"right":{he.dom.style.transform="translateX(".concat(pe,"px)"),he.dom.style.width="100%",kt="width 0s ".concat(Me," ").concat(At),he.maskDom&&(he.maskDom.style.left="-".concat(pe,"px"),he.maskDom.style.width="calc(100% + ".concat(pe,"px)"));break}case"top":case"bottom":{he.dom.style.width="calc(100% + ".concat(pe,"px)"),he.dom.style.height="100%",he.dom.style.transform="translateZ(0)",jt="height 0s ".concat(Me," ").concat(At);break}default:break}clearTimeout(he.timeout),he.timeout=setTimeout(function(){he.dom&&(he.dom.style.transition="".concat(Tt,",").concat(jt?"".concat(jt,","):"").concat(kt),he.dom.style.transform="",he.dom.style.width="",he.dom.style.height="")})},he.getCurrentDrawerSome=function(){return!Object.keys(K).some(function(pe){return K[pe]})},he.getLevelDom=function(pe){var Xe=pe.level,lt=pe.getContainer;if(P)return;var At=lt&<(),Me=At?At.parentNode:null;if(he.levelDom=[],Xe==="all"){var Ht=Me?Array.prototype.slice.call(Me.children):[];Ht.forEach(function(tt){tt.nodeName!=="SCRIPT"&&tt.nodeName!=="STYLE"&&tt.nodeName!=="LINK"&&tt!==At&&he.levelDom.push(tt)})}else Xe&&I(Xe).forEach(function(tt){document.querySelectorAll(tt).forEach(function(Mt){he.levelDom.push(Mt)})})},he.getHorizontalBoolAndPlacementName=function(){var pe=he.props.placement,Xe=pe==="left"||pe==="right",lt="translate".concat(Xe?"X":"Y");return{isHorizontal:Xe,placementName:lt}},he.state={_self:Object(O.a)(he)},he}return Object(h.a)(De,[{key:"componentDidMount",value:function(){var he=this;if(!P){var pe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return pe=!0,null}}))}catch(Ht){}this.passive=pe?{passive:!1}:!1}var Xe=this.props,lt=Xe.open,At=Xe.getContainer,Me=At&&At();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),lt&&(Me&&Me.parentNode===document.body&&(K[this.drawerId]=lt),this.openLevelTransition(),this.forceUpdate(function(){he.domFocus()}))}},{key:"componentDidUpdate",value:function(he){var pe=this.props,Xe=pe.open,lt=pe.getContainer,At=lt&<();Xe!==he.open&&(Xe&&this.domFocus(),At&&At.parentNode===document.body&&(K[this.drawerId]=!!Xe),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var he=this.props,pe=he.getOpenCount,Xe=he.open,lt=he.switchScrollingEffect,At=typeof pe=="function"&&pe();delete K[this.drawerId],Xe&&(this.setLevelTransform(!1),document.body.style.touchAction=""),At||(document.body.style.overflow="",lt(!0))}},{key:"render",value:function(){var he,pe=this,Xe=this.props,lt=Xe.className,At=Xe.children,Me=Xe.style,Ht=Xe.width,tt=Xe.height,Mt=Xe.defaultOpen,jt=Xe.open,kt=Xe.prefixCls,Tt=Xe.placement,Dt=Xe.level,Ue=Xe.levelMove,G=Xe.ease,Y=Xe.duration,Pe=Xe.getContainer,Be=Xe.handler,J=Xe.onChange,St=Xe.afterVisibleChange,bt=Xe.showMask,nt=Xe.maskClosable,Rt=Xe.maskStyle,zt=Xe.onClose,Fr=Xe.onHandleClick,Jt=Xe.keyboard,ge=Xe.getOpenCount,ye=Xe.switchScrollingEffect,Le=Object(o.a)(Xe,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),we=this.dom?jt:!1,Ke=S()(kt,(he={},Object(w.a)(he,"".concat(kt,"-").concat(Tt),!0),Object(w.a)(he,"".concat(kt,"-open"),we),Object(w.a)(he,lt||"",!!lt),Object(w.a)(he,"no-mask",!bt),he)),Je=this.getHorizontalBoolAndPlacementName(),ut=Je.placementName,vt=Tt==="left"||Tt==="top"?"-100%":"100%",_t=we?"":"".concat(ut,"(").concat(vt,")"),Ut=Be&&r.cloneElement(Be,{onClick:function(dr){Be.props.onClick&&Be.props.onClick(),Fr&&Fr(dr)},ref:function(dr){pe.handlerDom=dr}});return r.createElement("div",Object.assign({},Le,{tabIndex:-1,className:Ke,style:Me,ref:function(dr){pe.dom=dr},onKeyDown:we&&Jt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),bt&&r.createElement("div",{className:"".concat(kt,"-mask"),onClick:nt?zt:void 0,style:Rt,ref:function(dr){pe.maskDom=dr}}),r.createElement("div",{className:"".concat(kt,"-content-wrapper"),style:{transform:_t,msTransform:_t,width:U(Ht)?"".concat(Ht,"px"):Ht,height:U(tt)?"".concat(tt,"px"):tt},ref:function(dr){pe.contentWrapper=dr}},r.createElement("div",{className:"".concat(kt,"-content"),ref:function(dr){pe.contentDom=dr},onTouchStart:we&&bt?this.removeStartHandler:void 0,onTouchMove:we&&bt?this.removeMoveHandler:void 0},At),Ut))}}],[{key:"getDerivedStateFromProps",value:function(he,pe){var Xe=pe.prevProps,lt=pe._self,At={prevProps:he};if(Xe!==void 0){var Me=he.placement,Ht=he.level;Me!==Xe.placement&&(lt.contentDom=null),Ht!==Xe.level&<.getLevelDom(he)}return At}}]),De}(r.Component);$.defaultProps={switchScrollingEffect:function(){}};var ie=$;function be(Re){var Ze=te();return function(){var ne=Object(E.a)(Re),he;if(Ze){var pe=Object(E.a)(this).constructor;he=Reflect.construct(ne,arguments,pe)}else he=ne.apply(this,arguments);return Object(b.a)(this,he)}}function te(){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(Re){return!1}}var Te=function(Re){Object(y.a)(De,Re);var Ze=be(De);function De(ne){var he;Object(u.a)(this,De),he=Ze.call(this,ne),he.onHandleClick=function(Xe){var lt=he.props,At=lt.onHandleClick,Me=lt.open;if(At&&At(Xe),typeof Me=="undefined"){var Ht=he.state.open;he.setState({open:!Ht})}},he.onClose=function(Xe){var lt=he.props,At=lt.onClose,Me=lt.open;At&&At(Xe),typeof Me=="undefined"&&he.setState({open:!1})};var pe=typeof ne.open!="undefined"?ne.open:!!ne.defaultOpen;return he.state={open:pe},"onMaskClick"in ne&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),he}return Object(h.a)(De,[{key:"render",value:function(){var he=this,pe=this.props,Xe=pe.defaultOpen,lt=pe.getContainer,At=pe.wrapperClassName,Me=pe.forceRender,Ht=pe.handler,tt=Object(o.a)(pe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Mt=this.state.open;if(!lt)return r.createElement("div",{className:At,ref:function(Tt){he.dom=Tt}},r.createElement(ie,Object.assign({},tt,{open:Mt,handler:Ht,getContainer:function(){return he.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var jt=!!Ht||Me;return r.createElement(v.a,{visible:Mt,forceRender:jt,getContainer:lt,wrapperClassName:At},function(kt){var Tt=kt.visible,Dt=kt.afterClose,Ue=Object(o.a)(kt,["visible","afterClose"]);return r.createElement(ie,Object.assign({},tt,Ue,{open:Tt!==void 0?Tt:Mt,afterVisibleChange:Dt!==void 0?Dt:tt.afterVisibleChange,handler:Ht,onClose:he.onClose,onHandleClick:he.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(he,pe){var Xe=pe.prevProps,lt={prevProps:he};return typeof Xe!="undefined"&&he.open!==Xe.open&&(lt.open=he.open),lt}}]),De}(r.Component);Te.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:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ie=Te,Fe=Ie,Qe=e("V/uB"),fe=e.n(Qe),He=e("BGR+"),se=e("H84U"),Ce=e("CWQg"),mt=function(Re,Ze){var De={};for(var ne in Re)Object.prototype.hasOwnProperty.call(Re,ne)&&Ze.indexOf(ne)<0&&(De[ne]=Re[ne]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ne=Object.getOwnPropertySymbols(Re);he<ne.length;he++)Ze.indexOf(ne[he])<0&&Object.prototype.propertyIsEnumerable.call(Re,ne[he])&&(De[ne[he]]=Re[ne[he]]);return De},Ne=r.createContext(null),ae=Object(Ce.a)("top","right","bottom","left"),ce={distance:180},le=function(Re){d()(De,Re);var Ze=l()(De);function De(){var ne;return p()(this,De),ne=Ze.apply(this,arguments),ne.state={push:!1},ne.push=function(){ne.props.push&&ne.setState({push:!0})},ne.pull=function(){ne.props.push&&ne.setState({push:!1})},ne.onDestroyTransitionEnd=function(){var he=ne.getDestroyOnClose();if(!he)return;ne.props.visible||(ne.destroyClose=!0,ne.forceUpdate())},ne.getDestroyOnClose=function(){return ne.props.destroyOnClose&&!ne.props.visible},ne.getPushDistance=function(){var he=ne.props.push,pe;return typeof he=="boolean"?pe=he?ce.distance:0:pe=he.distance,parseFloat(String(pe||0))},ne.getPushTransform=function(he){var pe=ne.getPushDistance();if(he==="left"||he==="right")return"translateX(".concat(he==="left"?pe:-pe,"px)");if(he==="top"||he==="bottom")return"translateY(".concat(he==="top"?pe:-pe,"px)")},ne.getRcDrawerStyle=function(){var he=ne.props,pe=he.zIndex,Xe=he.placement,lt=he.mask,At=he.style,Me=ne.state.push,Ht=lt?{}:ne.getOffsetStyle();return m()(m()({zIndex:pe,transform:Me?ne.getPushTransform(Xe):void 0},Ht),At)},ne.renderBody=function(){var he=ne.props,pe=he.bodyStyle,Xe=he.drawerStyle,lt=he.prefixCls,At=he.visible;if(ne.destroyClose&&!At)return null;ne.destroyClose=!1;var Me={},Ht=ne.getDestroyOnClose();return Ht&&(Me.opacity=0,Me.transition="opacity .3s"),r.createElement("div",{className:"".concat(lt,"-wrapper-body"),style:m()(m()({},Me),Xe),onTransitionEnd:ne.onDestroyTransitionEnd},ne.renderHeader(),r.createElement("div",{className:"".concat(lt,"-body"),style:pe},ne.props.children),ne.renderFooter())},ne.renderProvider=function(he){return ne.parentDrawer=he,r.createElement(se.a,null,function(pe){var Xe=pe.getPopupContainer,lt=pe.getPrefixCls,At=ne.props,Me=At.prefixCls,Ht=At.placement,tt=At.className,Mt=At.mask,jt=At.direction,kt=At.visible,Tt=mt(At,["prefixCls","placement","className","mask","direction","visible"]),Dt=lt("select",Me),Ue=S()(tt,f()({"no-mask":!Mt},"".concat(Dt,"-rtl"),jt==="rtl")),G=Mt?ne.getOffsetStyle():{};return r.createElement(Ne.Provider,{value:n()(ne)},r.createElement(Fe,m()({handler:!1},Object(He.default)(Tt,["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:Tt.getContainer===void 0&&Xe?function(){return Xe(document.body)}:Tt.getContainer},G,{prefixCls:Dt,open:kt,showMask:Mt,placement:Ht,style:ne.getRcDrawerStyle(),className:Ue}),ne.renderBody()))})},ne}return s()(De,[{key:"componentDidMount",value:function(){var he=this.props.visible;he&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(he){var pe=this.props.visible;he.visible!==pe&&this.parentDrawer&&(pe?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var he=this.props,pe=he.placement,Xe=he.width,lt=he.height,At=he.visible,Me=he.mask;if(!At&&!Me)return{};var Ht={};return pe==="left"||pe==="right"?Ht.width=Xe:Ht.height=lt,Ht}},{key:"renderHeader",value:function(){var he=this.props,pe=he.title,Xe=he.prefixCls,lt=he.closable,At=he.headerStyle;if(!pe&&!lt)return null;var Me=pe?"".concat(Xe,"-header"):"".concat(Xe,"-header-no-title");return r.createElement("div",{className:Me,style:At},pe&&r.createElement("div",{className:"".concat(Xe,"-title")},pe),lt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var he=this.props,pe=he.footer,Xe=he.footerStyle,lt=he.prefixCls;if(!pe)return null;var At="".concat(lt,"-footer");return r.createElement("div",{className:At,style:Xe},pe)}},{key:"renderCloseIcon",value:function(){var he=this.props,pe=he.closable,Xe=he.closeIcon,lt=Xe===void 0?r.createElement(fe.a,null):Xe,At=he.prefixCls,Me=he.onClose;return pe&&r.createElement("button",{onClick:Me,"aria-label":"Close",className:"".concat(At,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},lt)}},{key:"render",value:function(){return r.createElement(Ne.Consumer,null,this.renderProvider)}}]),De}(r.Component);le.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ce};var je=N.a=Object(se.c)({prefixCls:"drawer"})(le)},"/y7N":function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("6GrX"),m=e("7aKB"),g=e("Fofx"),p=e("aX7z"),c=e("+rIm");function s(u){var h=u.get("type"),y=u.getModel(h+"Style"),b;return h==="line"?(b=y.getLineStyle(),b.fill=null):h==="shadow"&&(b=y.getAreaStyle(),b.stroke=null),b}function a(u,h,y,b,E){var v=y.get("value"),w=i(v,h.axis,h.ecModel,y.get("seriesDataIndices"),{precision:y.get("label.precision"),formatter:y.get("label.formatter")}),O=y.getModel("label"),T=m.normalizeCssArray(O.get("padding")||0),S=O.getFont(),C=x.getBoundingRect(w,S),_=E.position,I=C.width+T[1]+T[3],k=C.height+T[0]+T[2],F=E.align;F==="right"&&(_[0]-=I),F==="center"&&(_[0]-=I/2);var B=E.verticalAlign;B==="bottom"&&(_[1]-=k),B==="middle"&&(_[1]-=k/2),n(_,I,k,b);var j=O.get("backgroundColor");(!j||j==="auto")&&(j=h.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:I,height:k,r:O.get("borderRadius")},position:_.slice(),style:{text:w,textFont:S,textFill:O.getTextColor(),textPosition:"inside",textPadding:T,fill:j,stroke:O.get("borderColor")||"transparent",lineWidth:O.get("borderWidth")||0,shadowBlur:O.get("shadowBlur"),shadowColor:O.get("shadowColor"),shadowOffsetX:O.get("shadowOffsetX"),shadowOffsetY:O.get("shadowOffsetY")},z2:10}}function n(u,h,y,b){var E=b.getWidth(),v=b.getHeight();u[0]=Math.min(u[0]+h,E)-h,u[1]=Math.min(u[1]+y,v)-y,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function i(u,h,y,b,E){u=h.scale.parse(u);var v=h.scale.getLabel(u,{precision:E.precision}),w=E.formatter;if(w){var O={value:p.getAxisRawValue(h,u),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};A.each(b,function(T){var S=y.getSeriesByIndex(T.seriesIndex),C=T.dataIndexInside,_=S&&S.getDataParams(C);_&&O.seriesData.push(_)}),A.isString(w)?v=w.replace("{value}",v):A.isFunction(w)&&(v=w(O))}return v}function d(u,h,y){var b=g.create();return g.rotate(b,b,y.rotation),g.translate(b,b,y.position),f.applyTransform([u.dataToCoord(h),(y.labelOffset||0)+(y.labelDirection||1)*(y.labelMargin||0)],b)}function t(u,h,y,b,E,v){var w=c.innerTextLayout(y.rotation,0,y.labelDirection);y.labelMargin=E.get("label.margin"),a(h,b,E,v,{position:d(b.axis,u,y),align:w.textAlign,verticalAlign:w.textVerticalAlign})}function l(u,h,y){return y=y||0,{x1:u[y],y1:u[1-y],x2:h[y],y2:h[1-y]}}function r(u,h,y){return y=y||0,{x:u[y],y:u[1-y],width:h[y],height:h[1-y]}}function o(u,h,y,b,E,v){return{cx:u,cy:h,r0:y,r:b,startAngle:E,endAngle:v,clockwise:!0}}N.buildElStyle=s,N.buildLabelElOption=a,N.getValueLabel=i,N.getTransformedPosition=d,N.buildCartesianSingleLabelElOption=t,N.makeLineShape=l,N.makeRectShape=r,N.makeSectorShape=o},"/zsF":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("bE4E"),m=e.n(x)},"0/Rx":function(R,N){function e(A){return{seriesType:A,reset:function(f,x){var m=x.findComponents({mainType:"legend"});if(!m||!m.length)return;var g=f.getData();g.filterSelf(function(p){for(var c=g.getName(p),s=0;s<m.length;s++)if(!m[s].isSelected(c))return!1;return!0})}}}R.exports=e},"01d+":function(R,N,e){var A=e("bYtY"),f=A.each,x=e("HF/U"),m=x.simpleLayout,g=x.simpleLayoutEdge;function p(c,s){c.eachSeriesByType("graph",function(a){var n=a.get("layout"),i=a.coordinateSystem;if(i&&i.type!=="view"){var d=a.getData(),t=[];f(i.dimensions,function(y){t=t.concat(d.mapDimension(y,!0))});for(var l=0;l<d.count();l++){for(var r=[],o=!1,u=0;u<t.length;u++){var h=d.get(t[u],l);isNaN(h)||(o=!0),r.push(h)}o?d.setItemLayout(l,i.dataToPoint(r)):d.setItemLayout(l,[NaN,NaN])}g(d.graph)}else(!n||n==="none")&&m(a)})}R.exports=p},"06DH":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("Kagy"),m=e("IUWy"),g=x.toolbox.magicType,p="__ec_magicType_stack__";function c(d){this.model=d}c.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:f.clone(g.title),option:{},seriesIndex:{}};var s=c.prototype;s.getIcons=function(){var d=this.model,t=d.get("icon"),l={};return f.each(d.get("type"),function(r){t[r]&&(l[r]=t[r])}),l};var a={line:function(d,t,l,r){if(d==="bar")return f.merge({id:t,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},r.get("option.line")||{},!0)},bar:function(d,t,l,r){if(d==="line")return f.merge({id:t,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},r.get("option.bar")||{},!0)},stack:function(d,t,l,r){var o=l.get("stack")===p;if(d==="line"||d==="bar")return r.setIconStatus("stack",o?"normal":"emphasis"),f.merge({id:t,stack:o?"":p},r.get("option.stack")||{},!0)}},n=[["line","bar"],["stack"]];s.onclick=function(d,t,l){var r=this.model,o=r.get("seriesIndex."+l);if(!a[l])return;var u={series:[]},h=function(E){var v=E.subType,w=E.id,O=a[l](v,w,E,r);O&&(f.defaults(O,E.option),u.series.push(O));var T=E.coordinateSystem;if(T&&T.type==="cartesian2d"&&(l==="line"||l==="bar")){var S=T.getAxesByScale("ordinal")[0];if(S){var C=S.dim,_=C+"Axis",I=d.queryComponents({mainType:_,index:E.get(name+"Index"),id:E.get(name+"Id")})[0],k=I.componentIndex;u[_]=u[_]||[];for(var F=0;F<=k;F++)u[_][k]=u[_][k]||{};u[_][k].boundaryGap=l==="bar"}}};f.each(n,function(E){f.indexOf(E,l)>=0&&f.each(E,function(v){r.setIconStatus(v,"normal")})}),r.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},h);var y;if(l==="stack"){var b=u.series&&u.series[0]&&u.series[0].stack===p;y=b?f.merge({stack:g.title.tiled},g.title):f.clone(g.title)}t.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:y,featureName:"magicType"})},A.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,t){t.mergeOption(d.newOption)}),m.register("magicType",c);var i=c;R.exports=i},"06Qe":function(R,N,e){var A=e("ItGF"),f="urn:schemas-microsoft-com:vml",x=typeof window=="undefined"?null:window,m=!1,g=x&&x.document;function p(a){return c(a)}var c;if(g&&!A.canvasSupported)try{!g.namespaces.zrvml&&g.namespaces.add("zrvml",f),c=function(n){return g.createElement("<zrvml:"+n+' class="zrvml">')}}catch(a){c=function(i){return g.createElement("<"+i+' xmlns="'+f+'" class="zrvml">')}}function s(){if(m||!g)return;m=!0;var a=g.styleSheets;a.length<31?g.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}N.doc=g,N.createNode=p,N.initVML=s},"09Wf":function(R,N,e){"use strict";e.d(N,"b",function(){return f}),e.d(N,"a",function(){return x});var A=e("CWQg"),f=Object(A.a)("success","processing","error","default","warning"),x=Object(A.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(R,N,e){var A=e("T4UG"),f=e("I3/A"),x=e("7aKB"),m=x.encodeHTML,g=e("Qxkt"),p=e("Tghj"),c=p.__DEV__,s=A.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(n,i){for(var d=n.edges||n.links,t=n.data||n.nodes,l=n.levels,r=this.levelModels={},o=0;o<l.length;o++)l[o].depth!=null&&l[o].depth>=0&&(r[l[o].depth]=new g(l[o],this,i));if(t&&d){var u=f(t,d,this,!0,h);return u.data}function h(y,b){y.wrapMethod("getItemModel",function(E,v){return E.customizeGetParent(function(w){var O=this.parentModel,T=O.getData().getItemLayout(v).depth,S=O.levelModels[T];return S||this.parentModel}),E}),b.wrapMethod("getItemModel",function(E,v){return E.customizeGetParent(function(w){var O=this.parentModel,T=O.getGraph().getEdgeByIndex(v),S=T.node1.getLayout().depth,C=O.levelModels[S];return C||this.parentModel}),E})}},setNodePosition:function(n,i){var d=this.option.data[n];d.localX=i[0],d.localY=i[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(n,i,d){if(d==="edge"){var t=this.getDataParams(n,d),l=t.data,r=l.source+" -- "+l.target;return t.value&&(r+=" : "+t.value),m(r)}else if(d==="node"){var o=this.getGraph().getNodeByIndex(n),u=o.getLayout().value,h=this.getDataParams(n,d).data.name;if(u)var r=h+" : "+u;return m(r)}return s.superCall(this,"formatTooltip",n,i)},optionUpdated:function(){var n=this.option;n.focusNodeAdjacency===!0&&(n.focusNodeAdjacency="allEdges")},getDataParams:function(n,i){var d=s.superCall(this,"getDataParams",n,i);if(d.value==null&&i==="node"){var t=this.getGraph().getNodeByIndex(n),l=t.getLayout().value;d.value=l}return d},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=s;R.exports=a},"0HBW":function(R,N,e){var A=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function x(m,g){g.update="updateView",A.registerAction(g,function(p,c){var s={};return c.eachComponent({mainType:"geo",query:p},function(a){a[m](p.name);var n=a.coordinateSystem;f.each(n.regions,function(i){s[i.name]=a.isSelected(i.name)||!1})}),{selected:s,name:p.name}})}x("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),x("select",{type:"geoSelect",event:"geoselected"}),x("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(R,N,e){var A=e("bYtY"),f=e("+TT/"),x=e("OELB"),m=e("IDmD"),g=864e5;function p(a,n,i){this._model=a}p.prototype={constructor:p,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(a){a=x.parseDate(a);var n=a.getFullYear(),i=a.getMonth()+1;i=i<10?"0"+i:i;var d=a.getDate();d=d<10?"0"+d:d;var t=a.getDay();return t=Math.abs((t+7-this.getFirstDayOfWeek())%7),{y:n,m:i,d,day:t,time:a.getTime(),formatedDate:n+"-"+i+"-"+d,date:a}},getNextNDay:function(a,n){return n=n||0,n===0?this.getDateInfo(a):(a=new Date(this.getDateInfo(a).time),a.setDate(a.getDate()+n),this.getDateInfo(a))},update:function(a,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 i=this._rangeInfo.weeks||1,d=["width","height"],t=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),r=this._orient==="horizontal"?[i,7]:[7,i];A.each([0,1],function(y){h(t,y)&&(l[d[y]]=t[y]*r[y])});var o={width:n.getWidth(),height:n.getHeight()},u=this._rect=f.getLayoutRect(l,o);A.each([0,1],function(y){h(t,y)||(t[y]=u[d[y]]/r[y])});function h(y,b){return y[b]!=null&&y[b]!=="auto"}this._sw=t[0],this._sh=t[1]},dataToPoint:function(a,n){A.isArray(a)&&(a=a[0]),n==null&&(n=!0);var i=this.getDateInfo(a),d=this._rangeInfo,t=i.formatedDate;if(n&&!(i.time>=d.start.time&&i.time<d.end.time+g))return[NaN,NaN];var l=i.day,r=this._getRangeInfo([d.start.time,t]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]:[this._rect.x+r*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(a){var n=this.pointToDate(a);return n&&n.time},dataToRect:function(a,n){var i=this.dataToPoint(a,n);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(a){var n=Math.floor((a[0]-this._rect.x)/this._sw)+1,i=Math.floor((a[1]-this._rect.y)/this._sh)+1,d=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(i,n-1,d):this._getDateByWeeksAndDay(n,i-1,d)},convertToPixel:A.curry(c,"dataToPoint"),convertFromPixel:A.curry(c,"pointToData"),_initRangeOption:function(){var a=this._model.get("range"),n=a;if(A.isArray(n)&&n.length===1&&(n=n[0]),/^\d{4}$/.test(n)&&(a=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),d=i.date;d.setMonth(d.getMonth()+1);var t=this.getNextNDay(d,-1);a=[i.formatedDate,t.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(a=[n,n]);var l=this._getRangeInfo(a);return l.start.time>l.end.time&&a.reverse(),a},_getRangeInfo:function(a){a=[this.getDateInfo(a[0]),this.getDateInfo(a[1])];var n;a[0].time>a[1].time&&(n=!0,a.reverse());var i=Math.floor(a[1].time/g)-Math.floor(a[0].time/g)+1,d=new Date(a[0].time),t=d.getDate(),l=a[1].date.getDate();d.setDate(t+i-1);var r=d.getDate();if(r!==l)for(var o=d.getTime()-a[1].time>0?1:-1;(r=d.getDate())!==l&&(d.getTime()-a[1].time)*o>0;)i-=o,d.setDate(r-o);var u=Math.floor((i+a[0].day+6)/7),h=n?-u+1:u-1;return n&&a.reverse(),{range:[a[0].formatedDate,a[1].formatedDate],start:a[0],end:a[1],allDay:i,weeks:u,nthWeek:h,fweek:a[0].day,lweek:a[1].day}},_getDateByWeeksAndDay:function(a,n,i){var d=this._getRangeInfo(i);if(a>d.weeks||a===0&&n<d.fweek||a===d.weeks&&n>d.lweek)return!1;var t=(a-1)*7-d.fweek+n,l=new Date(d.start.time);return l.setDate(d.start.d+t),this.getDateInfo(l)}},p.dimensions=p.prototype.dimensions,p.getDimensionsInfo=p.prototype.getDimensionsInfo,p.create=function(a,n){var i=[];return a.eachComponent("calendar",function(d){var t=new p(d,a,n);i.push(t),d.coordinateSystem=t}),a.eachSeries(function(d){d.get("coordinateSystem")==="calendar"&&(d.coordinateSystem=i[d.get("calendarIndex")||0])}),i};function c(a,n,i,d){var t=i.calendarModel,l=i.seriesModel,r=t?t.coordinateSystem:l?l.coordinateSystem:null;return r===this?r[a](d):null}m.register("calendar",p);var s=p;R.exports=s},"0JQy":function(R,N){var e="\\ud800-\\udfff",A="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",x="\\u20d0-\\u20ff",m=A+f+x,g="\\ufe0e\\ufe0f",p="["+e+"]",c="["+m+"]",s="\\ud83c[\\udffb-\\udfff]",a="(?:"+c+"|"+s+")",n="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",t="\\u200d",l=a+"?",r="["+g+"]?",o="(?:"+t+"(?:"+[n,i,d].join("|")+")"+r+l+")*",u=r+l+o,h="(?:"+[n+c+"?",c,i,d,p].join("|")+")",y=RegExp(s+"(?="+s+")|"+h+u,"g");function b(E){return E.match(y)||[]}R.exports=b},"0NbB":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CaretDownOutlined";var c=N.a=f.forwardRef(p)},"0V0F":function(R,N,e){var A=e("bYtY"),f=A.createHashMap,x=A.each;function m(p){var c=f();p.eachSeries(function(s){var a=s.get("stack");if(a){var n=c.get(a)||c.set(a,[]),i=s.getData(),d={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:s};if(!d.stackedDimension||!(d.isStackedByIndex||d.stackedByDimension))return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(d)}}),c.each(g)}function g(p){x(p,function(c,s){var a=[],n=[NaN,NaN],i=[c.stackResultDimension,c.stackedOverDimension],d=c.data,t=c.isStackedByIndex,l=d.map(i,function(r,o,u){var h=d.get(c.stackedDimension,u);if(isNaN(h))return n;var y,b;t?b=d.getRawIndex(u):y=d.get(c.stackedByDimension,u);for(var E=NaN,v=s-1;v>=0;v--){var w=p[v];if(t||(b=w.data.rawIndexOf(w.stackedByDimension,y)),b>=0){var O=w.data.getByRawIndex(w.stackResultDimension,b);if(h>=0&&O>0||h<=0&&O<0){h+=O,E=O;break}}}return a[0]=h,a[1]=E,a});d.hostModel.setData(l),c.data=l})}R.exports=m},"0XgM":function(R,N,e){},"0fbx":function(R,N,e){},"0o9m":function(R,N,e){var A=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),x=e("bLfw");A.registerProcessor(A.PRIORITY.PROCESSOR.SERIES_FILTER,f),x.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(R,N,e){var A=e("ProS");A.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),A.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(R,N){var e=arguments[3],A=arguments[4],f=arguments[5],x=JSON.stringify;R.exports=function(m,g){for(var p,c=Object.keys(f),s=0,a=c.length;s<a;s++){var n=c[s],i=f[n].exports;if(i===m||i&&i.default===m){p=n;break}}if(!p){p=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},s=0,a=c.length;s<a;s++){var n=c[s];d[n]=n}A[p]=["function(require,module,exports){"+m+"(self); }",d]}var t=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[p]=p,A[t]=["function(require,module,exports){var f = require("+x(p)+");(f.default ? f.default : f)(self);}",l];var r={};o(t);function o(v){r[v]=!0;for(var w in A[v][1]){var O=A[v][1][w];r[O]||o(O)}}var u="("+e+")({"+Object.keys(r).map(function(v){return x(v)+":["+A[v][0]+","+x(A[v][1])+"]"}).join(",")+"},{},["+x(t)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,y=new Blob([u],{type:"text/javascript"});if(g&&g.bare)return y;var b=h.createObjectURL(y),E=new Worker(b);return E.objectURL=b,E}},"0s+r":function(R,N,e){var A=e("bYtY"),f=e("QBsz"),x=e("y23F"),m=e("H6uX"),g=e("YH21"),p=e("C0SR"),c="silent";function s(o,u,h){return{type:o,event:h,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:a}}function a(){g.stop(this.event)}function n(){}n.prototype.dispose=function(){};var i=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(u,h,y,b){m.call(this),this.storage=u,this.painter=h,this.painterRoot=b,y=y||new n,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,x.call(this),this.setHandlerProxy(y)};d.prototype={constructor:d,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(A.each(i,function(h){u.on&&u.on(h,this[h],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var h=u.zrX,y=u.zrY,b=l(this,h,y),E=this._hovered,v=E.target;v&&!v.__zr&&(E=this.findHover(E.x,E.y),v=E.target);var w=this._hovered=b?{x:h,y}:this.findHover(h,y),O=w.target,T=this.proxy;T.setCursor&&T.setCursor(O?O.cursor:"default"),v&&O!==v&&this.dispatchToElement(E,"mouseout",u),this.dispatchToElement(w,"mousemove",u),O&&O!==v&&this.dispatchToElement(w,"mouseover",u)},mouseout:function(u){var h=u.zrEventControl,y=u.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),h!=="no_globalout"&&(!y&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,h){var y=this[u];y&&y.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var h=this.proxy;h.setCursor&&h.setCursor(u)},dispatchToElement:function(u,h,y){u=u||{};var b=u.target;if(b&&b.silent)return;for(var E="on"+h,v=s(h,u,y);b&&!(b[E]&&(v.cancelBubble=b[E].call(b,v)),b.trigger(h,v),b=b.parent,v.cancelBubble););v.cancelBubble||(this.trigger(h,v),this.painter&&this.painter.eachOtherLayer(function(w){typeof w[E]=="function"&&w[E].call(w,v),w.trigger&&w.trigger(h,v)}))},findHover:function(u,h,y){for(var b=this.storage.getDisplayList(),E={x:u,y:h},v=b.length-1;v>=0;v--){var w;if(b[v]!==y&&!b[v].ignore&&(w=t(b[v],u,h))&&(!E.topTarget&&(E.topTarget=b[v]),w!==c)){E.target=b[v];break}}return E},processGesture:function(u,h){this._gestureMgr||(this._gestureMgr=new p);var y=this._gestureMgr;h==="start"&&y.clear();var b=y.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(h==="end"&&y.clear(),b){var E=b.type;u.gestureEvent=E,this.dispatchToElement({target:b.target},E,b.event)}}},A.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){d.prototype[o]=function(u){var h=u.zrX,y=u.zrY,b=l(this,h,y),E,v;if((o!=="mouseup"||!b)&&(E=this.findHover(h,y),v=E.target),o==="mousedown")this._downEl=v,this._downPoint=[u.zrX,u.zrY],this._upEl=v;else if(o==="mouseup")this._upEl=v;else if(o==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(E,o,u)}});function t(o,u,h){if(o[o.rectHover?"rectContain":"contain"](u,h)){for(var y=o,b;y;){if(y.clipPath&&!y.clipPath.contain(u,h))return!1;y.silent&&(b=!0),y=y.parent}return b?c:!0}return!1}function l(o,u,h){var y=o.painter;return u<0||u>y.getWidth()||h<0||h>y.getHeight()}A.mixin(d,m),A.mixin(d,x);var r=d;R.exports=r},"10cm":function(R,N,e){var A=e("ProS"),f=e("2B6p"),x=f.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};A.registerAction(m,function(g,p){p.eachComponent({mainType:"series",query:g},function(c){var s=c.coordinateSystem,a=x(s,g);c.setCenter&&c.setCenter(a.center),c.setZoom&&c.setZoom(a.zoom)})})},"14J3":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("1GLa")},"15/o":function(R,N,e){},"19Vz":function(R,N,e){(function(A){A(e("VrN/"))})(function(A){A.defineOption("placeholder","",function(s,a,n){var i=n&&n!=A.Init;if(a&&!i)s.on("blur",g),s.on("change",p),s.on("swapDoc",p),A.on(s.getInputField(),"compositionupdate",s.state.placeholderCompose=function(){m(s)}),p(s);else if(!a&&i){s.off("blur",g),s.off("change",p),s.off("swapDoc",p),A.off(s.getInputField(),"compositionupdate",s.state.placeholderCompose),f(s);var d=s.getWrapperElement();d.className=d.className.replace(" CodeMirror-empty","")}a&&!s.hasFocus()&&g(s)});function f(s){s.state.placeholder&&(s.state.placeholder.parentNode.removeChild(s.state.placeholder),s.state.placeholder=null)}function x(s){f(s);var a=s.state.placeholder=document.createElement("pre");a.style.cssText="height: 0; overflow: visible",a.style.direction=s.getOption("direction"),a.className="CodeMirror-placeholder CodeMirror-line-like";var n=s.getOption("placeholder");typeof n=="string"&&(n=document.createTextNode(n)),a.appendChild(n),s.display.lineSpace.insertBefore(a,s.display.lineSpace.firstChild)}function m(s){setTimeout(function(){var a=!1,n=s.getInputField();n.nodeName=="TEXTAREA"?a=!n.value:s.lineCount()==1&&(a=!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)),a?x(s):f(s)},20)}function g(s){c(s)&&x(s)}function p(s){var a=s.getWrapperElement(),n=c(s);a.className=a.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?x(s):f(s)}function c(s){return s.lineCount()===1&&s.getLine(0)===""}})},"1GLa":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("FIfw"),m=e.n(x)},"1Jh7":function(R,N,e){var A=e("y+Vt"),f=e("T6xi"),x=A.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(g,p){f.buildPath(g,p,!1)}});R.exports=x},"1LEl":function(R,N,e){var A=e("ProS"),f=e("F9bG"),x=A.extendComponentView({type:"axisPointer",render:function(g,p,c){var s=p.getComponent("tooltip"),a=g.get("triggerOn")||s&&s.get("triggerOn")||"mousemove|click";f.register("axisPointer",c,function(n,i,d){a!=="none"&&(n==="leave"||a.indexOf(n)>=0)&&d({type:"updateAxisPointer",currTrigger:n,x:i&&i.offsetX,y:i&&i.offsetY})})},remove:function(g,p){f.unregister(p.getZr(),"axisPointer"),x.superApply(this._model,"remove",arguments)},dispose:function(g,p){f.unregister("axisPointer",p),x.superApply(this._model,"dispose",arguments)}}),m=x;R.exports=m},"1MYJ":function(R,N,e){var A=e("y+Vt"),f=A.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,g=this.shape.paths,p=0;p<g.length;p++)m=m||g[p].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],g=this.getGlobalScale(),p=0;p<m.length;p++)m[p].path||m[p].createPathProxy(),m[p].path.setScale(g[0],g[1],m[p].segmentIgnoreThreshold)},buildPath:function(m,g){for(var p=g.paths||[],c=0;c<p.length;c++)p[c].buildPath(m,p[c].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],g=0;g<m.length;g++)m[g].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),A.prototype.getBoundingRect.call(this)}});R.exports=f},"1NG9":function(R,N,e){var A=e("y+Vt"),f=e("QBsz"),x=e("iXp4"),m=f.min,g=f.max,p=f.scaleAndAdd,c=f.copy,s=[],a=[],n=[];function i(h){return isNaN(h[0])||isNaN(h[1])}function d(h,y,b,E,v,w,O,T,S,C,_){return C==="none"||!C?l.apply(this,arguments):t.apply(this,arguments)}function t(h,y,b,E,v,w,O,T,S,C,_){for(var I=0,k=b,F=0;F<E;F++){var B=y[k];if(k>=v||k<0)break;if(i(B)){if(_){k+=w;continue}break}if(k===b)h[w>0?"moveTo":"lineTo"](B[0],B[1]);else if(S>0){var j=y[I],z=C==="y"?1:0,M=(B[z]-j[z])*S;c(a,j),a[z]=j[z]+M,c(n,B),n[z]=B[z]-M,h.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1])}else h.lineTo(B[0],B[1]);I=k,k+=w}return F}function l(h,y,b,E,v,w,O,T,S,C,_){for(var I=0,k=b,F=0;F<E;F++){var B=y[k];if(k>=v||k<0)break;if(i(B)){if(_){k+=w;continue}break}if(k===b)h[w>0?"moveTo":"lineTo"](B[0],B[1]),c(a,B);else if(S>0){var j=k+w,z=y[j];if(_)for(;z&&i(y[j]);)j+=w,z=y[j];var M=.5,U=y[I],z=y[j];if(!z||i(z))c(n,B);else{i(z)&&!_&&(z=B),f.sub(s,z,U);var P,H;if(C==="x"||C==="y"){var W=C==="x"?0:1;P=Math.abs(B[W]-U[W]),H=Math.abs(B[W]-z[W])}else P=f.dist(B,U),H=f.dist(B,z);M=H/(H+P),p(n,B,s,-S*(1-M))}m(a,a,T),g(a,a,O),m(n,n,T),g(n,n,O),h.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1]),p(a,B,s,S*M)}else h.lineTo(B[0],B[1]);I=k,k+=w}return F}function r(h,y){var b=[Infinity,Infinity],E=[-Infinity,-Infinity];if(y)for(var v=0;v<h.length;v++){var w=h[v];w[0]<b[0]&&(b[0]=w[0]),w[1]<b[1]&&(b[1]=w[1]),w[0]>E[0]&&(E[0]=w[0]),w[1]>E[1]&&(E[1]=w[1])}return{min:y?b:E,max:y?E:b}}var o=A.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:x(A.prototype.brush),buildPath:function(h,y){var b=y.points,E=0,v=b.length,w=r(b,y.smoothConstraint);if(y.connectNulls){for(;v>0&&i(b[v-1]);v--);for(;E<v&&i(b[E]);E++);}for(;E<v;)E+=d(h,b,E,v,v,1,w.min,w.max,y.smooth,y.smoothMonotone,y.connectNulls)+1}}),u=A.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:x(A.prototype.brush),buildPath:function(h,y){var b=y.points,E=y.stackedOnPoints,v=0,w=b.length,O=y.smoothMonotone,T=r(b,y.smoothConstraint),S=r(E,y.smoothConstraint);if(y.connectNulls){for(;w>0&&i(b[w-1]);w--);for(;v<w&&i(b[v]);v++);}for(;v<w;){var C=d(h,b,v,w,w,1,T.min,T.max,y.smooth,O,y.connectNulls);d(h,E,v+C-1,C,w,-1,S.min,S.max,y.stackedOnSmooth,O,y.connectNulls),v+=C+1,h.closePath()}}});N.Polyline=o,N.Polygon=u},"1RvN":function(R,N){var e=function(){this.head=null,this.tail=null,this._len=0},A=e.prototype;A.insert=function(p){var c=new f(p);return this.insertEntry(c),c},A.insertEntry=function(p){this.head?(this.tail.next=p,p.prev=this.tail,p.next=null,this.tail=p):this.head=this.tail=p,this._len++},A.remove=function(p){var c=p.prev,s=p.next;c?c.next=s:this.head=s,s?s.prev=c:this.tail=c,p.next=p.prev=null,this._len--},A.len=function(){return this._len},A.clear=function(){this.head=this.tail=null,this._len=0};var f=function(c){this.value=c,this.next,this.prev},x=function(c){this._list=new e,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=x.prototype;m.put=function(p,c){var s=this._list,a=this._map,n=null;if(a[p]==null){var i=s.len(),d=this._lastRemovedEntry;if(i>=this._maxSize&&i>0){var t=s.head;s.remove(t),delete a[t.key],n=t.value,this._lastRemovedEntry=t}d?d.value=c:d=new f(c),d.key=p,s.insertEntry(d),a[p]=d}return n},m.get=function(p){var c=this._map[p],s=this._list;if(c!=null)return c!==s.tail&&(s.remove(c),s.insertEntry(c)),c.value},m.clear=function(){this._list.clear(),this._map={}};var g=x;R.exports=g},"1bdT":function(R,N,e){var A=e("3gBT"),f=e("H6uX"),x=e("DN4a"),m=e("vWvF"),g=e("bYtY"),p=function(a){x.call(this,a),f.call(this,a),m.call(this,a),this.id=a.id||A()};p.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(a,n){switch(this.draggable){case"horizontal":n=0;break;case"vertical":a=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=a,i[5]+=n,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(a,n){},attrKV:function(a,n){if(a==="position"||a==="scale"||a==="origin"){if(n){var i=this[a];i||(i=this[a]=[]),i[0]=n[0],i[1]=n[1]}}else this[a]=n},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(a,n){if(typeof a=="string")this.attrKV(a,n);else if(g.isObject(a))for(var i in a)a.hasOwnProperty(i)&&this.attrKV(i,a[i]);return this.dirty(!1),this},setClipPath:function(a){var n=this.__zr;n&&a.addSelfToZr(n),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=n,a.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(a){this.__zr=a;var n=this.animators;if(n)for(var i=0;i<n.length;i++)a.animation.addAnimator(n[i]);this.clipPath&&this.clipPath.addSelfToZr(a)},removeSelfFromZr:function(a){this.__zr=null;var n=this.animators;if(n)for(var i=0;i<n.length;i++)a.animation.removeAnimator(n[i]);this.clipPath&&this.clipPath.removeSelfFromZr(a)}},g.mixin(p,m),g.mixin(p,x),g.mixin(p,f);var c=p;R.exports=c},"1dTM":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=e("GQ8N"),f=C(e("Lo0S")),x=e("VSMT"),m=e("GdRQ"),g=e("SZEN"),p=e("vewr"),c=T(e("YJ9k")),s=T(e("MZdM")),a=T(e("ItS6")),n=T(e("whVF")),i=T(e("Fv0C")),d=T(e("LCi9")),t=T(e("rwxt")),l=T(e("Mmt2")),r=T(e("iUHT")),o=T(e("mHUz")),u=T(e("P2ho")),h=e("NBmB");e("mdZa");var y=T(e("34/K")),b=T(e("hXwI")),E=T(e("SgaC")),v=T(e("3690")),w=T(e("8K/p")),O=T(e("xO64"));function T(je){return je&&je.__esModule?je:{default:je}}function S(){if(typeof WeakMap!="function")return null;var je=new WeakMap;return S=function(){return je},je}function C(je){if(je&&je.__esModule)return je;if(je===null||_(je)!=="object"&&typeof je!="function")return{default:je};var Re=S();if(Re&&Re.has(je))return Re.get(je);var Ze={},De=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ne in je)if(Object.prototype.hasOwnProperty.call(je,ne)){var he=De?Object.getOwnPropertyDescriptor(je,ne):null;he&&(he.get||he.set)?Object.defineProperty(Ze,ne,he):Ze[ne]=je[ne]}return Ze.default=je,Re&&Re.set(je,Ze),Ze}function _(je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(Ze){return typeof Ze}:_=function(Ze){return Ze&&typeof Symbol=="function"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?"symbol":typeof Ze},_(je)}function I(je,Re){if(!(je instanceof Re))throw new TypeError("Cannot call a class as a function")}function k(je,Re){for(var Ze=0;Ze<Re.length;Ze++){var De=Re[Ze];De.enumerable=De.enumerable||!1,De.configurable=!0,"value"in De&&(De.writable=!0),Object.defineProperty(je,De.key,De)}}function F(je,Re,Ze){return Re&&k(je.prototype,Re),Ze&&k(je,Ze),je}function B(je,Re){if(typeof Re!="function"&&Re!==null)throw new TypeError("Super expression must either be null or a function");je.prototype=Object.create(Re&&Re.prototype,{constructor:{value:je,writable:!0,configurable:!0}}),Re&&j(je,Re)}function j(je,Re){return j=Object.setPrototypeOf||function(De,ne){return De.__proto__=ne,De},j(je,Re)}function z(je){var Re=P();return function(){var De=H(je),ne;if(Re){var he=H(this).constructor;ne=Reflect.construct(De,arguments,he)}else ne=De.apply(this,arguments);return M(this,ne)}}function M(je,Re){return Re&&(_(Re)==="object"||typeof Re=="function")?Re:U(je)}function U(je){if(je===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return je}function P(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(je){return!1}}function H(je){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Ze){return Ze.__proto__||Object.getPrototypeOf(Ze)},H(je)}var W=3,X="rgb(40, 40, 40)",K=17,$=50,ie=19,be=75,te=50,Te=1e3,Ie=50,Fe=1,Qe=1<<1,fe=1<<2,He=1<<3,se=1<<4,Ce=1<<24,mt=1<<25,Ne=1<<26,ae=1<<27,ce=1<<28,le=function(je){B(Ze,je);var Re=z(Ze);function Ze(De,ne,he){var pe;if(I(this,Ze),!De)throw new Error("Must specify target");if(!ne)throw new Error("Must specify URL");pe=Re.call(this),pe._target=De,pe._url=ne,he=he||{},pe._rfbCredentials=he.credentials||{},pe._shared="shared"in he?!!he.shared:!0,pe._repeaterID=he.repeaterID||"",pe._wsProtocols=he.wsProtocols||[],pe._rfbConnectionState="",pe._rfbInitState="",pe._rfbAuthScheme=-1,pe._rfbCleanDisconnect=!0,pe._rfbVersion=0,pe._rfbMaxVersion=3.8,pe._rfbTightVNC=!1,pe._rfbVeNCryptState=0,pe._rfbXvpVer=0,pe._fbWidth=0,pe._fbHeight=0,pe._fbName="",pe._capabilities={power:!1},pe._supportsFence=!1,pe._supportsContinuousUpdates=!1,pe._enabledContinuousUpdates=!1,pe._supportsSetDesktopSize=!1,pe._screenID=0,pe._screenFlags=0,pe._qemuExtKeyEventSupported=!1,pe._clipboardText=null,pe._clipboardServerCapabilitiesActions={},pe._clipboardServerCapabilitiesFormats={},pe._sock=null,pe._display=null,pe._flushing=!1,pe._keyboard=null,pe._gestures=null,pe._disconnTimer=null,pe._resizeTimeout=null,pe._mouseMoveTimer=null,pe._decoders={},pe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},pe._mousePos={},pe._mouseButtonMask=0,pe._mouseLastMoveTime=0,pe._viewportDragging=!1,pe._viewportDragPos={},pe._viewportHasMoved=!1,pe._accumulatedWheelDeltaX=0,pe._accumulatedWheelDeltaY=0,pe._gestureLastTapTime=null,pe._gestureFirstDoubleTapEv=null,pe._gestureLastMagnitudeX=0,pe._gestureLastMagnitudeY=0,pe._eventHandlers={focusCanvas:pe._focusCanvas.bind(U(pe)),windowResize:pe._windowResize.bind(U(pe)),handleMouse:pe._handleMouse.bind(U(pe)),handleWheel:pe._handleWheel.bind(U(pe)),handleGesture:pe._handleGesture.bind(U(pe))},f.Debug(">> RFB.constructor"),pe._screen=document.createElement("div"),pe._screen.style.display="flex",pe._screen.style.width="100%",pe._screen.style.height="100%",pe._screen.style.overflow="auto",pe._screen.style.background=X,pe._canvas=document.createElement("canvas"),pe._canvas.style.margin="auto",pe._canvas.style.outline="none",pe._canvas.style.flexShrink="0",pe._canvas.width=0,pe._canvas.height=0,pe._canvas.tabIndex=-1,pe._screen.appendChild(pe._canvas),pe._cursor=new t.default,pe._cursorImage=Ze.cursors.none,pe._decoders[h.encodings.encodingRaw]=new y.default,pe._decoders[h.encodings.encodingCopyRect]=new b.default,pe._decoders[h.encodings.encodingRRE]=new E.default,pe._decoders[h.encodings.encodingHextile]=new v.default,pe._decoders[h.encodings.encodingTight]=new w.default,pe._decoders[h.encodings.encodingTightPNG]=new O.default;try{pe._display=new s.default(pe._canvas)}catch(Xe){throw f.Error("Display exception: "+Xe),Xe}return pe._display.onflush=pe._onFlush.bind(U(pe)),pe._keyboard=new i.default(pe._canvas),pe._keyboard.onkeyevent=pe._handleKeyEvent.bind(U(pe)),pe._gestures=new d.default,pe._sock=new l.default,pe._sock.on("message",function(){pe._handleMessage()}),pe._sock.on("open",function(){pe._rfbConnectionState==="connecting"&&pe._rfbInitState===""?(pe._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):pe._fail("Unexpected server connection while "+pe._rfbConnectionState)}),pe._sock.on("close",function(Xe){f.Debug("WebSocket on-close event");var lt="";Xe.code&&(lt="(code: "+Xe.code,Xe.reason&&(lt+=", reason: "+Xe.reason),lt+=")");switch(pe._rfbConnectionState){case"connecting":pe._fail("Connection closed "+lt);break;case"connected":pe._updateConnectionState("disconnecting"),pe._updateConnectionState("disconnected");break;case"disconnecting":pe._updateConnectionState("disconnected");break;case"disconnected":pe._fail("Unexpected server disconnect when already disconnected "+lt);break;default:pe._fail("Unexpected server disconnect before connecting "+lt);break}pe._sock.off("close")}),pe._sock.on("error",function(Xe){return f.Warn("WebSocket on-error event")}),setTimeout(pe._updateConnectionState.bind(U(pe),"connecting")),f.Debug("<< RFB.constructor"),pe.dragViewport=!1,pe.focusOnClick=!0,pe._viewOnly=!1,pe._clipViewport=!1,pe._scaleViewport=!1,pe._resizeSession=!1,pe._showDotCursor=!1,he.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),pe._showDotCursor=he.showDotCursor),pe._qualityLevel=6,pe._compressionLevel=2,pe}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(ne){this._rfbCredentials=ne,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(o.default.XK_Control_L,"ControlLeft",!0),this.sendKey(o.default.XK_Alt_L,"AltLeft",!0),this.sendKey(o.default.XK_Delete,"Delete",!0),this.sendKey(o.default.XK_Delete,"Delete",!1),this.sendKey(o.default.XK_Alt_L,"AltLeft",!1),this.sendKey(o.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(ne,he,pe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(pe===void 0){this.sendKey(ne,he,!0),this.sendKey(ne,he,!1);return}var Xe=u.default[he];if(this._qemuExtKeyEventSupported&&Xe)ne=ne||0,f.Info("Sending key ("+(pe?"down":"up")+"): keysym "+ne+", scancode "+Xe),Ze.messages.QEMUExtendedKeyEvent(this._sock,ne,pe,Xe);else{if(!ne)return;f.Info("Sending keysym ("+(pe?"down":"up")+"): "+ne),Ze.messages.keyEvent(this._sock,ne,pe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ne){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Fe]&&this._clipboardServerCapabilitiesActions[ae])this._clipboardText=ne,Ze.messages.extendedClipboardNotify(this._sock,[Fe]);else{for(var he=new Uint8Array(ne.length),pe=0;pe<ne.length;pe++)he[pe]=ne.charCodeAt(pe);Ze.messages.clientCutText(this._sock,he)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ne){ne.name==="SyntaxError"?this._fail("Invalid host or port ("+ne+")"):this._fail("Error when opening socket ("+ne+")")}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(ne){if(!(ne.name==="NotFoundError"))throw ne}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ne){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ne){this._fbName=ne,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ne){var he=this;window.requestAnimationFrame(function(){he._updateClip(),he._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ne=this._display.clipViewport,he=this._clipViewport;if(this._scaleViewport&&(he=!1),ne!==he&&(this._display.clipViewport=he),he){var pe=this._screenSize();this._display.viewportChangeSize(pe.w,pe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ne=this._screenSize();this._display.autoscale(ne.w,ne.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ne=this._screenSize();Ze.messages.setDesktopSize(this._sock,Math.floor(ne.w),Math.floor(ne.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+ne.w+"x"+ne.h)}},{key:"_screenSize",value:function(){var ne=this._screen.getBoundingClientRect();return{w:ne.width,h:ne.height}}},{key:"_fixScrollbars",value:function(){var ne=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ne}},{key:"_updateConnectionState",value:function(ne){var he=this,pe=this._rfbConnectionState;if(ne===pe){f.Debug("Already in state '"+ne+"', ignoring");return}if(pe==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(ne){case"connected":if(pe!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+pe);return}break;case"disconnected":if(pe!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+pe);return}break;case"connecting":if(pe!==""){f.Error("Bad transition to connecting state, previous connection state: "+pe);return}break;case"disconnecting":if(pe!=="connected"&&pe!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+pe);return}break;default:f.Error("Unknown connection state: "+ne);return}this._rfbConnectionState=ne,f.Debug("New state '"+ne+"', was '"+pe+"'."),this._disconnTimer&&ne!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ne){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."),he._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ne){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+ne);break;case"connected":f.Error("Failed while connected: "+ne);break;case"connecting":f.Error("Failed when connecting: "+ne);break;default:f.Error("RFB failure: "+ne);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ne,he){this._capabilities[ne]=he,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(ne,he,pe){this.sendKey(ne,he,pe)}},{key:"_handleMouse",value:function(ne){if(ne.type==="click"&&ne.target!==this._canvas)return;if(ne.stopPropagation(),ne.preventDefault(),ne.type==="click"||ne.type==="contextmenu")return;var he=(0,g.clientToElement)(ne.clientX,ne.clientY,this._canvas);switch(ne.type){case"mousedown":(0,p.setCapture)(this._canvas),this._handleMouseButton(he.x,he.y,!0,1<<ne.button);break;case"mouseup":this._handleMouseButton(he.x,he.y,!1,1<<ne.button);break;case"mousemove":this._handleMouseMove(he.x,he.y);break}}},{key:"_handleMouseButton",value:function(ne,he,pe,Xe){if(this.dragViewport)if(pe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ne,y:he},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ne,he,Xe)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ne,he,this._mouseButtonMask)),pe?this._mouseButtonMask|=Xe:this._mouseButtonMask&=~Xe,this._sendMouse(ne,he,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ne,he){var pe=this;if(this._viewportDragging){var Xe=this._viewportDragPos.x-ne,lt=this._viewportDragPos.y-he;(this._viewportHasMoved||Math.abs(Xe)>m.dragThreshold||Math.abs(lt)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ne,y:he},this._display.viewportChangePos(Xe,lt));return}if(this._mousePos={x:ne,y:he},this._mouseMoveTimer==null){var At=Date.now()-this._mouseLastMoveTime;At>K?(this._sendMouse(ne,he,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){pe._handleDelayedMouseMove()},K-At)}}},{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(ne,he,pe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ze.messages.pointerEvent(this._sock,this._display.absX(ne),this._display.absY(he),pe)}},{key:"_handleWheel",value:function(ne){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ne.stopPropagation(),ne.preventDefault();var he=(0,g.clientToElement)(ne.clientX,ne.clientY,this._canvas),pe=ne.deltaX,Xe=ne.deltaY;ne.deltaMode!==0&&(pe*=ie,Xe*=ie),this._accumulatedWheelDeltaX+=pe,this._accumulatedWheelDeltaY+=Xe,Math.abs(this._accumulatedWheelDeltaX)>=$&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(he.x,he.y,!0,1<<5),this._handleMouseButton(he.x,he.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(he.x,he.y,!0,1<<6),this._handleMouseButton(he.x,he.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=$&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(he.x,he.y,!0,1<<3),this._handleMouseButton(he.x,he.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(he.x,he.y,!0,1<<4),this._handleMouseButton(he.x,he.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ne,he,pe){this._handleMouseMove(he,pe),this._cursor.move(ne.detail.clientX,ne.detail.clientY)}},{key:"_handleTapEvent",value:function(ne,he){var pe=(0,g.clientToElement)(ne.detail.clientX,ne.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<Te&&this._gestureFirstDoubleTapEv.detail.type===ne.detail.type){var Xe=this._gestureFirstDoubleTapEv.detail.clientX-ne.detail.clientX,lt=this._gestureFirstDoubleTapEv.detail.clientY-ne.detail.clientY,At=Math.hypot(Xe,lt);At<Ie?pe=(0,g.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ne}else this._gestureFirstDoubleTapEv=ne;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,pe.x,pe.y),this._handleMouseButton(pe.x,pe.y,!0,he),this._handleMouseButton(pe.x,pe.y,!1,he)}},{key:"_handleGesture",value:function(ne){var he,pe=(0,g.clientToElement)(ne.detail.clientX,ne.detail.clientY,this._canvas);switch(ne.type){case"gesturestart":switch(ne.detail.type){case"onetap":this._handleTapEvent(ne,1);break;case"twotap":this._handleTapEvent(ne,4);break;case"threetap":this._handleTapEvent(ne,2);break;case"drag":this._fakeMouseMove(ne,pe.x,pe.y),this._handleMouseButton(pe.x,pe.y,!0,1);break;case"longpress":this._fakeMouseMove(ne,pe.x,pe.y),this._handleMouseButton(pe.x,pe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ne.detail.magnitudeX,this._gestureLastMagnitudeY=ne.detail.magnitudeY,this._fakeMouseMove(ne,pe.x,pe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ne.detail.magnitudeX,ne.detail.magnitudeY),this._fakeMouseMove(ne,pe.x,pe.y);break}break;case"gesturemove":switch(ne.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ne,pe.x,pe.y);break;case"twodrag":for(this._fakeMouseMove(ne,pe.x,pe.y);ne.detail.magnitudeY-this._gestureLastMagnitudeY>te;)this._handleMouseButton(pe.x,pe.y,!0,8),this._handleMouseButton(pe.x,pe.y,!1,8),this._gestureLastMagnitudeY+=te;for(;ne.detail.magnitudeY-this._gestureLastMagnitudeY<-te;)this._handleMouseButton(pe.x,pe.y,!0,16),this._handleMouseButton(pe.x,pe.y,!1,16),this._gestureLastMagnitudeY-=te;for(;ne.detail.magnitudeX-this._gestureLastMagnitudeX>te;)this._handleMouseButton(pe.x,pe.y,!0,32),this._handleMouseButton(pe.x,pe.y,!1,32),this._gestureLastMagnitudeX+=te;for(;ne.detail.magnitudeX-this._gestureLastMagnitudeX<-te;)this._handleMouseButton(pe.x,pe.y,!0,64),this._handleMouseButton(pe.x,pe.y,!1,64),this._gestureLastMagnitudeX-=te;break;case"pinch":if(this._fakeMouseMove(ne,pe.x,pe.y),he=Math.hypot(ne.detail.magnitudeX,ne.detail.magnitudeY),Math.abs(he-this._gestureLastMagnitudeX)>be){for(this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!0);he-this._gestureLastMagnitudeX>be;)this._handleMouseButton(pe.x,pe.y,!0,8),this._handleMouseButton(pe.x,pe.y,!1,8),this._gestureLastMagnitudeX+=be;for(;he-this._gestureLastMagnitudeX<-be;)this._handleMouseButton(pe.x,pe.y,!0,16),this._handleMouseButton(pe.x,pe.y,!1,16),this._gestureLastMagnitudeX-=be}this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ne.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ne,pe.x,pe.y),this._handleMouseButton(pe.x,pe.y,!1,1);break;case"longpress":this._fakeMouseMove(ne,pe.x,pe.y),this._handleMouseButton(pe.x,pe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ne=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+ne);var he=0;switch(ne){case"000.000":he=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 "+ne)}if(he){for(var pe="ID:"+this._repeaterID;pe.length<250;)pe+="\0";return this._sock.sendString(pe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Xe="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Xe+`
|
|
|
`),f.Debug("Sent ProtocolVersion: "+Xe),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ne(Xe,lt){for(var At=0;At<lt.length;At++)if(lt[At]===Xe)return!0;return!1}if(this._rfbVersion>=3.7){var he=this._sock.rQshift8();if(this._sock.rQwait("security type",he,1))return!1;if(he===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var pe=this._sock.rQshiftBytes(he);if(f.Debug("Server security types: "+pe),ne(1,pe))this._rfbAuthScheme=1;else if(ne(22,pe))this._rfbAuthScheme=22;else if(ne(16,pe))this._rfbAuthScheme=16;else if(ne(2,pe))this._rfbAuthScheme=2;else if(ne(19,pe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+pe+")");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 ne=this._sock.rQshift32(),he="";if(ne>0){if(this._sock.rQwait("reason",ne,4))return!1;he=this._sock.rQshiftStr(ne)}return he!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:he}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+he+")")):(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 ne=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ne),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ne=this._sock.rQshift8(),he=this._sock.rQshift8();if(!(ne==0&&he==2))return this._fail("Unsupported VeNCrypt version "+ne+"."+he);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var pe=this._sock.rQshift8();if(pe!=0)return this._fail("VeNCrypt failure "+pe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Xe=this._sock.rQshift8();if(Xe<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Xe,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var lt=[],At=0;At<this._rfbVeNCryptSubtypesLength;At++)lt.push(this._sock.rQshift32());if(lt.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Me=(0,x.encodeUTF8)(this._rfbCredentials.username),Ht=(0,x.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Me.length]),this._sock.send([0,0,0,Ht.length]),this._sock.sendString(Me),this._sock.sendString(Ht),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 ne=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),he=Ze.genDES(this._rfbCredentials.password,ne);return this._sock.send(he),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(ne){for(var he={0:{vendor:"TGHT",signature:"NOTUNNEL"}},pe={},Xe=0;Xe<ne;Xe++){var lt=this._sock.rQshift32(),At=this._sock.rQshiftStr(4),Me=this._sock.rQshiftStr(8);pe[lt]={vendor:At,signature:Me}}return f.Debug("Server Tight tunnel types: "+pe),pe[1]&&pe[1].vendor==="SICR"&&pe[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),pe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),pe[0]?pe[0].vendor!=he[0].vendor||pe[0].signature!=he[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+he[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 ne=this._sock.rQshift32();if(ne>0&&this._sock.rQwait("tunnel capabilities",16*ne,4))return!1;if(this._rfbTightVNC=!0,ne>0)return this._negotiateTightTunnels(ne),!1}if(this._sock.rQwait("sub auth count",4))return!1;var he=this._sock.rQshift32();if(he===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*he,4))return!1;for(var pe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Xe=[],lt=0;lt<he;lt++){this._sock.rQshift32();var At=this._sock.rQshiftStr(12);Xe.push(At)}f.Debug("Server Tight authentication types: "+Xe);for(var Me in pe)if(Xe.indexOf(Me)!=-1){this._sock.send([0,0,0,pe[Me]]),f.Debug("Selected authentication type: "+Me);switch(Me){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Me+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var ne=this._sock.rQshift32();return ne===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ne,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ne}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ne=this._sock.rQshift16(),he=this._sock.rQshift16(),pe=this._sock.rQshift8(),Xe=this._sock.rQshift8(),lt=this._sock.rQshift8(),At=this._sock.rQshift8(),Me=this._sock.rQshift16(),Ht=this._sock.rQshift16(),tt=this._sock.rQshift16(),Mt=this._sock.rQshift8(),jt=this._sock.rQshift8(),kt=this._sock.rQshift8();this._sock.rQskipBytes(3);var Tt=this._sock.rQshift32();if(this._sock.rQwait("server init name",Tt,24))return!1;var Dt=this._sock.rQshiftStr(Tt);if(Dt=(0,x.decodeUTF8)(Dt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Tt))return!1;var Ue=this._sock.rQshift16(),G=this._sock.rQshift16(),Y=this._sock.rQshift16();this._sock.rQskipBytes(2);var Pe=(Ue+G+Y)*16;if(this._sock.rQwait("TightVNC extended server init header",Pe,32+Tt))return!1;this._sock.rQskipBytes(16*Ue),this._sock.rQskipBytes(16*G),this._sock.rQskipBytes(16*Y)}return f.Info("Screen: "+ne+"x"+he+", bpp: "+pe+", depth: "+Xe+", bigEndian: "+lt+", trueColor: "+At+", redMax: "+Me+", greenMax: "+Ht+", blueMax: "+tt+", redShift: "+Mt+", greenShift: "+jt+", blueShift: "+kt),this._setDesktopName(Dt),this._resize(ne,he),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 ne=[];ne.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(ne.push(h.encodings.encodingTight),ne.push(h.encodings.encodingTightPNG),ne.push(h.encodings.encodingHextile),ne.push(h.encodings.encodingRRE)),ne.push(h.encodings.encodingRaw),ne.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ne.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ne.push(h.encodings.pseudoEncodingDesktopSize),ne.push(h.encodings.pseudoEncodingLastRect),ne.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),ne.push(h.encodings.pseudoEncodingExtendedDesktopSize),ne.push(h.encodings.pseudoEncodingXvp),ne.push(h.encodings.pseudoEncodingFence),ne.push(h.encodings.pseudoEncodingContinuousUpdates),ne.push(h.encodings.pseudoEncodingDesktopName),ne.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ne.push(h.encodings.pseudoEncodingVMwareCursor),ne.push(h.encodings.pseudoEncodingCursor)),Ze.messages.clientEncodings(this._sock,ne)}},{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 ne=this._sock.rQshift32();if(ne=(0,A.toSigned32bit)(ne),this._sock.rQwait("ServerCutText content",Math.abs(ne),8))return!1;if(ne>=0){var he=this._sock.rQshiftStr(ne);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:he}}))}else{ne=Math.abs(ne);var pe=this._sock.rQshift32(),Xe=pe&65535,lt=pe&4278190080,At=!!(lt&Ce);if(At){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Me=0;Me<=15;Me++){var Ht=1<<Me;Xe&Ht&&(this._clipboardServerCapabilitiesFormats[Ht]=!0,this._sock.rQshift32())}for(var tt=24;tt<=31;tt++){var Mt=1<<tt;this._clipboardServerCapabilitiesActions[Mt]=!!(lt&Mt)}var jt=[Ce,mt,Ne,ae,ce];Ze.messages.extendedClipboardCaps(this._sock,jt,{extendedClipboardFormatText:0})}else if(lt===mt){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[ce]&&(Xe&Fe&&Ze.messages.extendedClipboardProvide(this._sock,[Fe],[this._clipboardText]))}else if(lt===Ne){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ae]&&(this._clipboardText!=null?Ze.messages.extendedClipboardNotify(this._sock,[Fe]):Ze.messages.extendedClipboardNotify(this._sock,[]))}else if(lt===ae){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[mt]&&(Xe&Fe&&Ze.messages.extendedClipboardRequest(this._sock,[Fe]))}else if(lt===ce){if(this._viewOnly)return!0;if(!(Xe&Fe))return!0;this._clipboardText=null;var kt=this._sock.rQshiftBytes(ne-4),Tt=new a.default,Dt=null;Tt.setInput(kt);for(var Ue=0;Ue<=15;Ue++){var G=1<<Ue;if(Xe&G){var Y=0,Pe=Tt.inflate(4);Y|=Pe[0]<<24,Y|=Pe[1]<<16,Y|=Pe[2]<<8,Y|=Pe[3];var Be=Tt.inflate(Y);G===Fe&&(Dt=Be)}}if(Tt.setInput(null),Dt!==null){for(var J="",St=0;St<Dt.length;St++)J+=String.fromCharCode(Dt[St]);Dt=J,Dt=(0,x.decodeUTF8)(Dt),Dt.length>0&&Dt.charAt(Dt.length-1)==="\0"&&(Dt=Dt.slice(0,-1)),Dt=Dt.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Dt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+lt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ne=this._sock.rQshift32(),he=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",he,9))return!1;he>64&&(f.Warn("Bad payload length ("+he+") in fence response"),he=64);var pe=this._sock.rQshiftStr(he);return this._supportsFence=!0,ne&1<<31?(ne&=1<<0|1<<1,Ze.messages.clientFence(this._sock,ne,pe),!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 ne=this._sock.rQshift8(),he=this._sock.rQshift8();switch(he){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ne,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+he+")");break}return!0}},{key:"_normalMsg",value:function(){var ne;this._FBU.rects>0?ne=0:ne=this._sock.rQshift8();var he,pe;switch(ne){case 0:return pe=this._framebufferUpdate(),pe&&!this._enabledContinuousUpdates&&Ze.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),pe;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 he=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,he&&(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 "+ne+")"),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 ne=this._sock.rQshiftBytes(12);this._FBU.x=(ne[0]<<8)+ne[1],this._FBU.y=(ne[2]<<8)+ne[3],this._FBU.width=(ne[4]<<8)+ne[5],this._FBU.height=(ne[6]<<8)+ne[7],this._FBU.encoding=parseInt((ne[8]<<24)+(ne[9]<<16)+(ne[10]<<8)+ne[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 h.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case h.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case h.encodings.pseudoEncodingCursor:return this._handleCursor();case h.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ne=document.createEvent("keyboardEvent");ne.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(he){}return!0;case h.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case h.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case h.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ne=this._FBU.x,he=this._FBU.y,pe=this._FBU.width,Xe=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var lt=this._sock.rQshift8();this._sock.rQshift8();var At,Me=4;if(lt==0){var Ht=4294967040|0;if(At=new Array(pe*Xe*Me),this._sock.rQwait("VMware cursor classic encoding",pe*Xe*Me*2,2))return!1;for(var tt=new Array(pe*Xe),Mt=0;Mt<pe*Xe;Mt++)tt[Mt]=this._sock.rQshift32();for(var jt=new Array(pe*Xe),kt=0;kt<pe*Xe;kt++)jt[kt]=this._sock.rQshift32();for(var Tt=0;Tt<pe*Xe;Tt++)if(tt[Tt]==0){var Dt=jt[Tt],Ue=Dt>>8&255,G=Dt>>16&255,Y=Dt>>24&255;At[Tt*Me]=Ue,At[Tt*Me+1]=G,At[Tt*Me+2]=Y,At[Tt*Me+3]=255}else(tt[Tt]&Ht)==Ht?jt[Tt]==0?(At[Tt*Me]=0,At[Tt*Me+1]=0,At[Tt*Me+2]=0,At[Tt*Me+3]=0):((jt[Tt]&Ht)==Ht,At[Tt*Me]=0,At[Tt*Me+1]=0,At[Tt*Me+2]=0,At[Tt*Me+3]=255):(At[Tt*Me]=0,At[Tt*Me+1]=0,At[Tt*Me+2]=0,At[Tt*Me+3]=255)}else if(lt==1){if(this._sock.rQwait("VMware cursor alpha encoding",pe*Xe*4,2))return!1;At=new Array(pe*Xe*Me);for(var Pe=0;Pe<pe*Xe;Pe++){var Be=this._sock.rQshift32();At[Pe*4]=Be>>24&255,At[Pe*4+1]=Be>>16&255,At[Pe*4+2]=Be>>8&255,At[Pe*4+3]=Be&255}}else return f.Warn("The given cursor type is not supported: "+lt+" given."),!1;return this._updateCursor(At,ne,he,pe,Xe),!0}},{key:"_handleCursor",value:function(){var ne=this._FBU.x,he=this._FBU.y,pe=this._FBU.width,Xe=this._FBU.height,lt=pe*Xe*4,At=Math.ceil(pe/8)*Xe,Me=lt+At;if(this._sock.rQwait("cursor encoding",Me))return!1;for(var Ht=this._sock.rQshiftBytes(lt),tt=this._sock.rQshiftBytes(At),Mt=new Uint8Array(pe*Xe*4),jt=0,kt=0;kt<Xe;kt++)for(var Tt=0;Tt<pe;Tt++){var Dt=kt*Math.ceil(pe/8)+Math.floor(Tt/8),Ue=tt[Dt]<<Tt%8&128?255:0;Mt[jt]=Ht[jt+2],Mt[jt+1]=Ht[jt+1],Mt[jt+2]=Ht[jt],Mt[jt+3]=Ue,jt+=4}return this._updateCursor(Mt,ne,he,pe,Xe),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ne=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ne,4))return!1;var he=this._sock.rQshiftStr(ne);return he=(0,x.decodeUTF8)(he,!0),this._setDesktopName(he),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ne=this._sock.rQpeek8(),he=4+ne*16;if(this._sock.rQwait("ExtendedDesktopSize",he))return!1;var pe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,pe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Xe=0;Xe<ne;Xe+=1)Xe===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 lt="";switch(this._FBU.y){case 1:lt="Resize is administratively prohibited";break;case 2:lt="Out of resources";break;case 3:lt="Invalid screen layout";break;default:lt="Unknown reason";break}f.Warn("Server did not accept the resize request: "+lt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ne=this._decoders[this._FBU.encoding];if(!ne)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ne.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(he){return this._fail("Error decoding rect: "+he),!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(ne,he){this._fbWidth=ne,this._fbHeight=he,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ne,he){if(this._rfbXvpVer<ne)return;f.Info("Sending XVP operation "+he+" (version "+ne+")"),Ze.messages.xvpOp(this._sock,ne,he)}},{key:"_updateCursor",value:function(ne,he,pe,Xe,lt){this._cursorImage={rgbaPixels:ne,hotx:he,hoty:pe,w:Xe,h:lt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ne=3;ne<this._cursorImage.rgbaPixels.length;ne+=4)if(this._cursorImage.rgbaPixels[ne])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ne=this._shouldShowDotCursor()?Ze.cursors.dot:this._cursorImage;this._cursor.change(ne.rgbaPixels,ne.hotx,ne.hoty,ne.w,ne.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ne){this._viewOnly=ne,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ne?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ne){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ne){this._clipViewport=ne,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ne){this._scaleViewport=ne,ne&&this._clipViewport&&this._updateClip(),this._updateScale(),!ne&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ne){this._resizeSession=ne,ne&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ne){this._showDotCursor=ne,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ne){this._screen.style.background=ne}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ne){if(!Number.isInteger(ne)||ne<0||ne>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ne)return;this._qualityLevel=ne,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ne){if(!Number.isInteger(ne)||ne<0||ne>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ne)return;this._compressionLevel=ne,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ne,he){var pe=ne.split("").map(function(Xe){return Xe.charCodeAt(0)});return new r.default(pe).encrypt(he)}}]),Ze}(c.default);N.default=le,le.messages={keyEvent:function(Re,Ze,De){var ne=Re._sQ,he=Re._sQlen;ne[he]=4,ne[he+1]=De,ne[he+2]=0,ne[he+3]=0,ne[he+4]=Ze>>24,ne[he+5]=Ze>>16,ne[he+6]=Ze>>8,ne[he+7]=Ze,Re._sQlen+=8,Re.flush()},QEMUExtendedKeyEvent:function(Re,Ze,De,ne){function he(At){var Me=ne>>8,Ht=ne&255;return Me===224&&Ht<127?Ht|128:At}var pe=Re._sQ,Xe=Re._sQlen;pe[Xe]=255,pe[Xe+1]=0,pe[Xe+2]=De>>8,pe[Xe+3]=De,pe[Xe+4]=Ze>>24,pe[Xe+5]=Ze>>16,pe[Xe+6]=Ze>>8,pe[Xe+7]=Ze;var lt=he(ne);pe[Xe+8]=lt>>24,pe[Xe+9]=lt>>16,pe[Xe+10]=lt>>8,pe[Xe+11]=lt,Re._sQlen+=12,Re.flush()},pointerEvent:function(Re,Ze,De,ne){var he=Re._sQ,pe=Re._sQlen;he[pe]=5,he[pe+1]=ne,he[pe+2]=Ze>>8,he[pe+3]=Ze,he[pe+4]=De>>8,he[pe+5]=De,Re._sQlen+=6,Re.flush()},_buildExtendedClipboardFlags:function(Re,Ze){for(var De=new Uint8Array(4),ne=0,he=0,pe=0;pe<Re.length;pe++)he|=Re[pe];for(var Xe=0;Xe<Ze.length;Xe++)ne|=Ze[Xe];return De[0]=he>>24,De[1]=0,De[2]=0,De[3]=ne,De},extendedClipboardProvide:function(Re,Ze,De){for(var ne=new n.default,he=[],pe=0;pe<Ze.length;pe++){if(Ze[pe]!=Fe)throw new Error("Unsupported extended clipboard format for Provide message.");De[pe]=De[pe].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Xe=(0,x.encodeUTF8)(De[pe]+"\0");he.push(Xe.length>>24&255,Xe.length>>16&255,Xe.length>>8&255,Xe.length&255);for(var lt=0;lt<Xe.length;lt++)he.push(Xe.charCodeAt(lt))}var At=ne.deflate(new Uint8Array(he)),Me=new Uint8Array(4+At.length);Me.set(le.messages._buildExtendedClipboardFlags([ce],Ze)),Me.set(At,4),le.messages.clientCutText(Re,Me,!0)},extendedClipboardNotify:function(Re,Ze){var De=le.messages._buildExtendedClipboardFlags([ae],Ze);le.messages.clientCutText(Re,De,!0)},extendedClipboardRequest:function(Re,Ze){var De=le.messages._buildExtendedClipboardFlags([mt],Ze);le.messages.clientCutText(Re,De,!0)},extendedClipboardCaps:function(Re,Ze,De){var ne=Object.keys(De),he=new Uint8Array(4+4*ne.length);ne.map(function(lt){return parseInt(lt)}),ne.sort(function(lt,At){return lt-At}),he.set(le.messages._buildExtendedClipboardFlags(Ze,[]));for(var pe=4,Xe=0;Xe<ne.length;Xe++)he[pe]=De[ne[Xe]]>>24,he[pe+1]=De[ne[Xe]]>>16,he[pe+2]=De[ne[Xe]]>>8,he[pe+3]=De[ne[Xe]]>>0,pe+=4,he[3]|=1<<ne[Xe];le.messages.clientCutText(Re,he,!0)},clientCutText:function(Re,Ze){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=Re._sQ,he=Re._sQlen;ne[he]=6,ne[he+1]=0,ne[he+2]=0,ne[he+3]=0;var pe;De?pe=(0,A.toUnsigned32bit)(-Ze.length):pe=Ze.length,ne[he+4]=pe>>24,ne[he+5]=pe>>16,ne[he+6]=pe>>8,ne[he+7]=pe,Re._sQlen+=8;for(var Xe=0,lt=Ze.length;lt>0;){for(var At=Math.min(lt,Re._sQbufferSize-Re._sQlen),Me=0;Me<At;Me++)ne[Re._sQlen+Me]=Ze[Xe+Me];Re._sQlen+=At,Re.flush(),lt-=At,Xe+=At}},setDesktopSize:function(Re,Ze,De,ne,he){var pe=Re._sQ,Xe=Re._sQlen;pe[Xe]=251,pe[Xe+1]=0,pe[Xe+2]=Ze>>8,pe[Xe+3]=Ze,pe[Xe+4]=De>>8,pe[Xe+5]=De,pe[Xe+6]=1,pe[Xe+7]=0,pe[Xe+8]=ne>>24,pe[Xe+9]=ne>>16,pe[Xe+10]=ne>>8,pe[Xe+11]=ne,pe[Xe+12]=0,pe[Xe+13]=0,pe[Xe+14]=0,pe[Xe+15]=0,pe[Xe+16]=Ze>>8,pe[Xe+17]=Ze,pe[Xe+18]=De>>8,pe[Xe+19]=De,pe[Xe+20]=he>>24,pe[Xe+21]=he>>16,pe[Xe+22]=he>>8,pe[Xe+23]=he,Re._sQlen+=24,Re.flush()},clientFence:function(Re,Ze,De){var ne=Re._sQ,he=Re._sQlen;ne[he]=248,ne[he+1]=0,ne[he+2]=0,ne[he+3]=0,ne[he+4]=Ze>>24,ne[he+5]=Ze>>16,ne[he+6]=Ze>>8,ne[he+7]=Ze;var pe=De.length;ne[he+8]=pe;for(var Xe=0;Xe<pe;Xe++)ne[he+9+Xe]=De.charCodeAt(Xe);Re._sQlen+=9+pe,Re.flush()},enableContinuousUpdates:function(Re,Ze,De,ne,he,pe){var Xe=Re._sQ,lt=Re._sQlen;Xe[lt]=150,Xe[lt+1]=Ze,Xe[lt+2]=De>>8,Xe[lt+3]=De,Xe[lt+4]=ne>>8,Xe[lt+5]=ne,Xe[lt+6]=he>>8,Xe[lt+7]=he,Xe[lt+8]=pe>>8,Xe[lt+9]=pe,Re._sQlen+=10,Re.flush()},pixelFormat:function(Re,Ze,De){var ne=Re._sQ,he=Re._sQlen,pe;Ze>16?pe=32:Ze>8?pe=16:pe=8;var Xe=Math.floor(Ze/3);ne[he]=0,ne[he+1]=0,ne[he+2]=0,ne[he+3]=0,ne[he+4]=pe,ne[he+5]=Ze,ne[he+6]=0,ne[he+7]=De?1:0,ne[he+8]=0,ne[he+9]=(1<<Xe)-1,ne[he+10]=0,ne[he+11]=(1<<Xe)-1,ne[he+12]=0,ne[he+13]=(1<<Xe)-1,ne[he+14]=Xe*2,ne[he+15]=Xe*1,ne[he+16]=Xe*0,ne[he+17]=0,ne[he+18]=0,ne[he+19]=0,Re._sQlen+=20,Re.flush()},clientEncodings:function(Re,Ze){var De=Re._sQ,ne=Re._sQlen;De[ne]=2,De[ne+1]=0,De[ne+2]=Ze.length>>8,De[ne+3]=Ze.length;for(var he=ne+4,pe=0;pe<Ze.length;pe++){var Xe=Ze[pe];De[he]=Xe>>24,De[he+1]=Xe>>16,De[he+2]=Xe>>8,De[he+3]=Xe,he+=4}Re._sQlen+=he-ne,Re.flush()},fbUpdateRequest:function(Re,Ze,De,ne,he,pe){var Xe=Re._sQ,lt=Re._sQlen;typeof De=="undefined"&&(De=0),typeof ne=="undefined"&&(ne=0),Xe[lt]=3,Xe[lt+1]=Ze?1:0,Xe[lt+2]=De>>8&255,Xe[lt+3]=De&255,Xe[lt+4]=ne>>8&255,Xe[lt+5]=ne&255,Xe[lt+6]=he>>8&255,Xe[lt+7]=he&255,Xe[lt+8]=pe>>8&255,Xe[lt+9]=pe&255,Re._sQlen+=10,Re.flush()},xvpOp:function(Re,Ze,De){var ne=Re._sQ,he=Re._sQlen;ne[he]=250,ne[he+1]=0,ne[he+2]=Ze,ne[he+3]=De,Re._sQlen+=4,Re.flush()}},le.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(R,N,e){(function(A){A(e("VrN/"))})(function(A){"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},x={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};A.defineMode("xml",function(m,g){var p=m.indentUnit,c={},s=g.htmlMode?f:x;for(var a in s)c[a]=s[a];for(var a in g)c[a]=g[a];var n,i;function d(I,k){function F(z){return k.tokenize=z,z(I,k)}var B=I.next();if(B=="<")return I.eat("!")?I.eat("[")?I.match("CDATA[")?F(r("atom","]]>")):null:I.match("--")?F(r("comment","-->")):I.match("DOCTYPE",!0,!0)?(I.eatWhile(/[\w\._\-]/),F(o(1))):null:I.eat("?")?(I.eatWhile(/[\w\._\-]/),k.tokenize=r("meta","?>"),"meta"):(n=I.eat("/")?"closeTag":"openTag",k.tokenize=t,"tag bracket");if(B=="&"){var j;return I.eat("#")?I.eat("x")?j=I.eatWhile(/[a-fA-F\d]/)&&I.eat(";"):j=I.eatWhile(/[\d]/)&&I.eat(";"):j=I.eatWhile(/[\w\.\-:]/)&&I.eat(";"),j?"atom":"error"}else return I.eatWhile(/[^&<]/),null}d.isInText=!0;function t(I,k){var F=I.next();if(F==">"||F=="/"&&I.eat(">"))return k.tokenize=d,n=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return n="equals",null;if(F=="<"){k.tokenize=d,k.state=b,k.tagName=k.tagStart=null;var B=k.tokenize(I,k);return B?B+" tag error":"tag error"}else return/[\'\"]/.test(F)?(k.tokenize=l(F),k.stringStartCol=I.column(),k.tokenize(I,k)):(I.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(I){var k=function(B,j){for(;!B.eol();)if(B.next()==I){j.tokenize=t;break}return"string"};return k.isInAttribute=!0,k}function r(I,k){return function(F,B){for(;!F.eol();){if(F.match(k)){B.tokenize=d;break}F.next()}return I}}function o(I){return function(k,F){for(var B;(B=k.next())!=null;){if(B=="<")return F.tokenize=o(I+1),F.tokenize(k,F);if(B==">")if(I==1){F.tokenize=d;break}else return F.tokenize=o(I-1),F.tokenize(k,F)}return"meta"}}function u(I,k,F){this.prev=I.context,this.tagName=k,this.indent=I.indented,this.startOfLine=F,(c.doNotIndent.hasOwnProperty(k)||I.context&&I.context.noIndent)&&(this.noIndent=!0)}function h(I){I.context&&(I.context=I.context.prev)}function y(I,k){for(var F;;){if(!I.context)return;if(F=I.context.tagName,!c.contextGrabbers.hasOwnProperty(F)||!c.contextGrabbers[F].hasOwnProperty(k))return;h(I)}}function b(I,k,F){return I=="openTag"?(F.tagStart=k.column(),E):I=="closeTag"?v:b}function E(I,k,F){return I=="word"?(F.tagName=k.current(),i="tag",T):c.allowMissingTagName&&I=="endTag"?(i="tag bracket",T(I,k,F)):(i="error",E)}function v(I,k,F){if(I=="word"){var B=k.current();return F.context&&F.context.tagName!=B&&c.implicitlyClosed.hasOwnProperty(F.context.tagName)&&h(F),F.context&&F.context.tagName==B||c.matchClosing===!1?(i="tag",w):(i="tag error",O)}else return c.allowMissingTagName&&I=="endTag"?(i="tag bracket",w(I,k,F)):(i="error",O)}function w(I,k,F){return I!="endTag"?(i="error",w):(h(F),b)}function O(I,k,F){return i="error",w(I,k,F)}function T(I,k,F){if(I=="word")return i="attribute",S;if(I=="endTag"||I=="selfcloseTag"){var B=F.tagName,j=F.tagStart;return F.tagName=F.tagStart=null,I=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(B)?y(F,B):(y(F,B),F.context=new u(F,B,j==F.indented)),b}return i="error",T}function S(I,k,F){return I=="equals"?C:(c.allowMissing||(i="error"),T(I,k,F))}function C(I,k,F){return I=="string"?_:I=="word"&&c.allowUnquoted?(i="string",T):(i="error",T(I,k,F))}function _(I,k,F){return I=="string"?_:T(I,k,F)}return{startState:function(k){var F={tokenize:d,state:b,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"&&(i=null,F.state=F.state(n||B,k,F),i&&(B=i=="error"?B+" error":i)),B},indent:function(k,F,B){var j=k.context;if(k.tokenize.isInAttribute)return k.tagStart==k.indented?k.stringStartCol+1:k.indented+p;if(j&&j.noIndent)return A.Pass;if(k.tokenize!=t&&k.tokenize!=d)return B?B.match(/^(\s*)/)[0].length:0;if(k.tagName)return c.multilineTagIndentPastTag!==!1?k.tagStart+k.tagName.length+2:k.tagStart+p*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var z=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(z&&z[1])for(;j;)if(j.tagName==z[2]){j=j.prev;break}else if(c.implicitlyClosed.hasOwnProperty(j.tagName))j=j.prev;else break;else if(z)for(;j;){var M=c.contextGrabbers[j.tagName];if(M&&M.hasOwnProperty(z[2]))j=j.prev;else break}for(;j&&j.prev&&!j.startOfLine;)j=j.prev;return j?j.indent+p: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=T)},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()}}}),A.defineMIME("text/xml","xml"),A.defineMIME("application/xml","xml"),A.mimeModes.hasOwnProperty("text/html")||A.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(R,N,e){(function(A,f){(function(x,m){R.exports=m(e("eMSv"),e("wOnQ"))})(this,function(x,m){"use strict";x=x&&x.hasOwnProperty("default")?x.default:x,m=m&&m.hasOwnProperty("default")?m.default:m;var g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p=Object.assign||function(v){for(var w=1;w<arguments.length;w++){var O=arguments[w];for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&(v[T]=O[T])}return v},c=function(w){var O=typeof w=="undefined"?"undefined":g(w);return O==="undefined"?"undefined":O==="string"||w instanceof String?"string":O==="number"||w instanceof Number?"number":O==="function"||w instanceof Function?"function":!!w&&w.constructor===Array?"array":w&&w.nodeType===1?"element":O==="object"?"object":"unknown"},s=function(w,O){var T=document.createElement(w);if(O.className&&(T.className=O.className),O.innerHTML){T.innerHTML=O.innerHTML;for(var S=T.getElementsByTagName("script"),C=S.length;C-- >0;null)S[C].parentNode.removeChild(S[C])}for(var _ in O.style)T.style[_]=O.style[_];return T},a=function v(w,O){for(var T=w.nodeType===3?document.createTextNode(w.nodeValue):w.cloneNode(!1),S=w.firstChild;S;S=S.nextSibling)(O===!0||S.nodeType!==1||S.nodeName!=="SCRIPT")&&T.appendChild(v(S,O));return w.nodeType===1&&(w.nodeName==="CANVAS"?(T.width=w.width,T.height=w.height,T.getContext("2d").drawImage(w,0,0)):(w.nodeName==="TEXTAREA"||w.nodeName==="SELECT")&&(T.value=w.value),T.addEventListener("load",function(){T.scrollTop=w.scrollTop,T.scrollLeft=w.scrollLeft},!0)),T},n=function(w,O){if(c(w)==="number")return w*72/96/O;var T={};for(var S in w)T[S]=w[S]*72/96/O;return T},i=function(w,O){return Math.floor(w*O/72*96)},d=typeof window!="undefined"?window:typeof A!="undefined"?A:typeof self!="undefined"?self:{};function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(v,w){return w={exports:{}},v(w,w.exports),w.exports}var r=l(function(v,w){/*!
|
|
|
* @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(O,T){v.exports=T()})(d,function(){function O(bt){var nt=typeof bt;return bt!==null&&(nt==="object"||nt==="function")}function T(bt){return typeof bt=="function"}var S=void 0;Array.isArray?S=Array.isArray:S=function(nt){return Object.prototype.toString.call(nt)==="[object Array]"};var C=S,_=0,I=void 0,k=void 0,F=function(nt,Rt){be[_]=nt,be[_+1]=Rt,_+=2,_===2&&(k?k(te):Ie())};function B(bt){k=bt}function j(bt){F=bt}var z=typeof window!="undefined"?window:void 0,M=z||{},U=M.MutationObserver||M.WebKitMutationObserver,P=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function W(){return function(){return f.nextTick(te)}}function X(){return typeof I!="undefined"?function(){I(te)}:ie()}function K(){var bt=0,nt=new U(te),Rt=document.createTextNode("");return nt.observe(Rt,{characterData:!0}),function(){Rt.data=bt=++bt%2}}function $(){var bt=new MessageChannel;return bt.port1.onmessage=te,function(){return bt.port2.postMessage(0)}}function ie(){var bt=setTimeout;return function(){return bt(te,1)}}var be=new Array(1e3);function te(){for(var bt=0;bt<_;bt+=2){var nt=be[bt],Rt=be[bt+1];nt(Rt),be[bt]=void 0,be[bt+1]=void 0}_=0}function Te(){try{var bt=Function("return this")().require("vertx");return I=bt.runOnLoop||bt.runOnContext,X()}catch(nt){return ie()}}var Ie=void 0;P?Ie=W():U?Ie=K():H?Ie=$():z===void 0&&typeof t=="function"?Ie=Te():Ie=ie();function Fe(bt,nt){var Rt=this,zt=new this.constructor(He);zt[fe]===void 0&&kt(zt);var Fr=Rt._state;if(Fr){var Jt=arguments[Fr-1];F(function(){return Ht(Fr,zt,Jt,Rt._result)})}else lt(Rt,zt,bt,nt);return zt}function Qe(bt){var nt=this;if(bt&&typeof bt=="object"&&bt.constructor===nt)return bt;var Rt=new nt(He);return ne(Rt,bt),Rt}var fe=Math.random().toString(36).substring(2);function He(){}var se=void 0,Ce=1,mt=2,Ne={error:null};function ae(){return new TypeError("You cannot resolve a promise with itself")}function ce(){return new TypeError("A promises callback cannot return that same promise.")}function le(bt){try{return bt.then}catch(nt){return Ne.error=nt,Ne}}function je(bt,nt,Rt,zt){try{bt.call(nt,Rt,zt)}catch(Fr){return Fr}}function Re(bt,nt,Rt){F(function(zt){var Fr=!1,Jt=je(Rt,nt,function(ge){if(Fr)return;Fr=!0,nt!==ge?ne(zt,ge):pe(zt,ge)},function(ge){if(Fr)return;Fr=!0,Xe(zt,ge)},"Settle: "+(zt._label||" unknown promise"));!Fr&&Jt&&(Fr=!0,Xe(zt,Jt))},bt)}function Ze(bt,nt){nt._state===Ce?pe(bt,nt._result):nt._state===mt?Xe(bt,nt._result):lt(nt,void 0,function(Rt){return ne(bt,Rt)},function(Rt){return Xe(bt,Rt)})}function De(bt,nt,Rt){nt.constructor===bt.constructor&&Rt===Fe&&nt.constructor.resolve===Qe?Ze(bt,nt):Rt===Ne?(Xe(bt,Ne.error),Ne.error=null):Rt===void 0?pe(bt,nt):T(Rt)?Re(bt,nt,Rt):pe(bt,nt)}function ne(bt,nt){bt===nt?Xe(bt,ae()):O(nt)?De(bt,nt,le(nt)):pe(bt,nt)}function he(bt){bt._onerror&&bt._onerror(bt._result),At(bt)}function pe(bt,nt){if(bt._state!==se)return;bt._result=nt,bt._state=Ce,bt._subscribers.length!==0&&F(At,bt)}function Xe(bt,nt){if(bt._state!==se)return;bt._state=mt,bt._result=nt,F(he,bt)}function lt(bt,nt,Rt,zt){var Fr=bt._subscribers,Jt=Fr.length;bt._onerror=null,Fr[Jt]=nt,Fr[Jt+Ce]=Rt,Fr[Jt+mt]=zt,Jt===0&&bt._state&&F(At,bt)}function At(bt){var nt=bt._subscribers,Rt=bt._state;if(nt.length===0)return;for(var zt=void 0,Fr=void 0,Jt=bt._result,ge=0;ge<nt.length;ge+=3)zt=nt[ge],Fr=nt[ge+Rt],zt?Ht(Rt,zt,Fr,Jt):Fr(Jt);bt._subscribers.length=0}function Me(bt,nt){try{return bt(nt)}catch(Rt){return Ne.error=Rt,Ne}}function Ht(bt,nt,Rt,zt){var Fr=T(Rt),Jt=void 0,ge=void 0,ye=void 0,Le=void 0;if(Fr){if(Jt=Me(Rt,zt),Jt===Ne?(Le=!0,ge=Jt.error,Jt.error=null):ye=!0,nt===Jt){Xe(nt,ce());return}}else Jt=zt,ye=!0;nt._state!==se||(Fr&&ye?ne(nt,Jt):Le?Xe(nt,ge):bt===Ce?pe(nt,Jt):bt===mt&&Xe(nt,Jt))}function tt(bt,nt){try{nt(function(zt){ne(bt,zt)},function(zt){Xe(bt,zt)})}catch(Rt){Xe(bt,Rt)}}var Mt=0;function jt(){return Mt++}function kt(bt){bt[fe]=Mt++,bt._state=void 0,bt._result=void 0,bt._subscribers=[]}function Tt(){return new Error("Array Methods must be provided an Array")}var Dt=function(){function bt(nt,Rt){this._instanceConstructor=nt,this.promise=new nt(He),this.promise[fe]||kt(this.promise),C(Rt)?(this.length=Rt.length,this._remaining=Rt.length,this._result=new Array(this.length),this.length===0?pe(this.promise,this._result):(this.length=this.length||0,this._enumerate(Rt),this._remaining===0&&pe(this.promise,this._result))):Xe(this.promise,Tt())}return bt.prototype._enumerate=function(Rt){for(var zt=0;this._state===se&&zt<Rt.length;zt++)this._eachEntry(Rt[zt],zt)},bt.prototype._eachEntry=function(Rt,zt){var Fr=this._instanceConstructor,Jt=Fr.resolve;if(Jt===Qe){var ge=le(Rt);if(ge===Fe&&Rt._state!==se)this._settledAt(Rt._state,zt,Rt._result);else if(typeof ge!="function")this._remaining--,this._result[zt]=Rt;else if(Fr===J){var ye=new Fr(He);De(ye,Rt,ge),this._willSettleAt(ye,zt)}else this._willSettleAt(new Fr(function(Le){return Le(Rt)}),zt)}else this._willSettleAt(Jt(Rt),zt)},bt.prototype._settledAt=function(Rt,zt,Fr){var Jt=this.promise;Jt._state===se&&(this._remaining--,Rt===mt?Xe(Jt,Fr):this._result[zt]=Fr),this._remaining===0&&pe(Jt,this._result)},bt.prototype._willSettleAt=function(Rt,zt){var Fr=this;lt(Rt,void 0,function(Jt){return Fr._settledAt(Ce,zt,Jt)},function(Jt){return Fr._settledAt(mt,zt,Jt)})},bt}();function Ue(bt){return new Dt(this,bt).promise}function G(bt){var nt=this;return C(bt)?new nt(function(Rt,zt){for(var Fr=bt.length,Jt=0;Jt<Fr;Jt++)nt.resolve(bt[Jt]).then(Rt,zt)}):new nt(function(Rt,zt){return zt(new TypeError("You must pass an array to race."))})}function Y(bt){var nt=this,Rt=new nt(He);return Xe(Rt,bt),Rt}function Pe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Be(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var J=function(){function bt(nt){this[fe]=jt(),this._result=this._state=void 0,this._subscribers=[],He!==nt&&(typeof nt!="function"&&Pe(),this instanceof bt?tt(this,nt):Be())}return bt.prototype.catch=function(Rt){return this.then(null,Rt)},bt.prototype.finally=function(Rt){var zt=this,Fr=zt.constructor;return T(Rt)?zt.then(function(Jt){return Fr.resolve(Rt()).then(function(){return Jt})},function(Jt){return Fr.resolve(Rt()).then(function(){throw Jt})}):zt.then(Rt,Rt)},bt}();J.prototype.then=Fe,J.all=Ue,J.race=G,J.resolve=Qe,J.reject=Y,J._setScheduler=B,J._setAsap=j,J._asap=F;function St(){var bt=void 0;if(typeof d!="undefined")bt=d;else if(typeof self!="undefined")bt=self;else try{bt=Function("return this")()}catch(zt){throw new Error("polyfill failed because global object is unavailable in this environment")}var nt=bt.Promise;if(nt){var Rt=null;try{Rt=Object.prototype.toString.call(nt.resolve())}catch(zt){}if(Rt==="[object Promise]"&&!nt.cast)return}bt.Promise=J}return J.polyfill=St,J.Promise=J,J})}),o=r.Promise,u=function v(w){var O=p(v.convert(o.resolve()),JSON.parse(JSON.stringify(v.template))),T=v.convert(o.resolve(),O);return T=T.setProgress(1,v,1,[v]),T=T.set(w),T};u.prototype=Object.create(o.prototype),u.prototype.constructor=u,u.convert=function(w,O){return w.__proto__=O||u.prototype,w},u.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},u.prototype.from=function(w,O){function T(S){switch(c(S)){case"string":return"string";case"element":return S.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){O=O||T(w);switch(O){case"string":return this.set({src:s("div",{innerHTML:w})});case"element":return this.set({src:w});case"canvas":return this.set({canvas:w});case"img":return this.set({img:w});default:return this.error("Unknown source type.")}})},u.prototype.to=function(w){switch(w){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.prototype.toContainer=function(){var w=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(w).then(function(){var T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},S={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var C=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=s("div",{className:"html2pdf__overlay",style:T}),this.prop.container=s("div",{className:"html2pdf__container",style:S}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},u.prototype.toCanvas=function(){var w=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(w).then(function(){var T=p({},this.opt.html2canvas);return delete T.onrendered,m(this.prop.container,T)}).then(function(T){var S=this.opt.html2canvas.onrendered||function(){};S(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){var w=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(w).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},u.prototype.toPdf=function(){var w=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(w).then(function(){var T=this.prop.canvas,S=this.opt,C=T.height,_=Math.floor(T.width*this.prop.pageSize.inner.ratio),I=Math.ceil(C/_),k=this.prop.pageSize.inner.height,F=document.createElement("canvas"),B=F.getContext("2d");F.width=T.width,F.height=_,this.prop.pdf=this.prop.pdf||new x(S.jsPDF);for(var j=0;j<I;j++){j===I-1&&C%_!==0&&(F.height=C%_,k=F.height*this.prop.pageSize.inner.width/F.width);var z=F.width,M=F.height;B.fillStyle="white",B.fillRect(0,0,z,M),B.drawImage(T,0,j*_,z,M,0,0,z,M),j&&this.prop.pdf.addPage();var U=F.toDataURL("image/"+S.image.type,S.image.quality);this.prop.pdf.addImage(U,S.image.type,S.margin[1],S.margin[0],this.prop.pageSize.inner.width,k)}})},u.prototype.output=function(w,O,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(w,O):this.outputPdf(w,O)},u.prototype.outputPdf=function(w,O){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(w,O)})},u.prototype.outputImg=function(w,O){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).then(function(){switch(w){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 "'+w+'" is not supported.'}})},u.prototype.save=function(w){var O=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(O).set(w?{filename:w}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.set=function(w){if(c(w)!=="object")return this;var O=Object.keys(w||{}).map(function(T){if(T in u.template.prop)return function(){this.prop[T]=w[T]};switch(T){case"margin":return this.setMargin.bind(this,w.margin);case"jsPDF":return function(){return this.opt.jsPDF=w.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,w.pageSize);default:return function(){this.opt[T]=w[T]}}},this);return this.then(function(){return this.thenList(O)})},u.prototype.get=function(w,O){return this.then(function(){var S=w in u.template.prop?this.prop[w]:this.opt[w];return O?O(S):S})},u.prototype.setMargin=function(w){return this.then(function(){switch(c(w)){case"number":w=[w,w,w,w];case"array":if(w.length===2&&(w=[w[0],w[1],w[0],w[1]]),w.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=w}).then(this.setPageSize)},u.prototype.setPageSize=function(w){return this.then(function(){w=w||x.getPageSize(this.opt.jsPDF),w.hasOwnProperty("inner")||(w.inner={width:w.width-this.opt.margin[1]-this.opt.margin[3],height:w.height-this.opt.margin[0]-this.opt.margin[2]},w.inner.px={width:i(w.inner.width,w.k),height:i(w.inner.height,w.k)},w.inner.ratio=w.inner.height/w.inner.width),this.prop.pageSize=w})},u.prototype.setProgress=function(w,O,T,S){return w!=null&&(this.progress.val=w),O!=null&&(this.progress.state=O),T!=null&&(this.progress.n=T),S!=null&&(this.progress.stack=S),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(w,O,T,S){return this.setProgress(w?this.progress.val+w:null,O||null,T?this.progress.n+T:null,S?this.progress.stack.concat(S):null)},u.prototype.then=function(w,O){var T=this;return this.thenCore(w,O,function(C,_){return T.updateProgress(null,null,1,[C]),o.prototype.then.call(this,function(k){return T.updateProgress(null,C),k}).then(C,_).then(function(k){return T.updateProgress(1),k})})},u.prototype.thenCore=function(w,O,T){T=T||o.prototype.then;var S=this;w&&(w=w.bind(S)),O&&(O=O.bind(S));var C=o.toString().indexOf("[native code]")!==-1&&o.name==="Promise",_=C?S:u.convert(p({},S),o.prototype),I=T.call(_,w,O);return u.convert(I,S.__proto__)},u.prototype.thenExternal=function(w,O){return o.prototype.then.call(this,w,O)},u.prototype.thenList=function(w){var O=this;return w.forEach(function(S){O=O.thenCore(S)}),O},u.prototype.catch=function(v){v&&(v=v.bind(this));var w=o.prototype.catch.call(this,v);return u.convert(w,this)},u.prototype.catchExternal=function(w){return o.prototype.catch.call(this,w)},u.prototype.error=function(w){return this.then(function(){throw new Error(w)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,x.getPageSize=function(v,w,O){if((typeof v=="undefined"?"undefined":g(v))==="object"){var T=v;v=T.orientation,w=T.unit||w,O=T.format||O}w=w||"mm",O=O||"a4",v=(""+(v||"P")).toLowerCase();var S=(""+O).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(w){case"pt":var _=1;break;case"mm":var _=72/25.4;break;case"cm":var _=72/2.54;break;case"in":var _=72;break;case"px":var _=72/96;break;case"pc":var _=12;break;case"em":var _=12;break;case"ex":var _=6;break;default:throw"Invalid unit: "+w}if(C.hasOwnProperty(S))var I=C[S][1]/_,k=C[S][0]/_;else try{var I=O[1],k=O[0]}catch(j){throw new Error("Invalid format: "+O)}if(v==="p"||v==="portrait"){if(v="p",k>I){var F=k;k=I,I=F}}else if(v==="l"||v==="landscape"){if(v="l",I>k){var F=k;k=I,I=F}}else throw"Invalid orientation: "+v;var B={width:k,height:I,unit:w,k:_};return B};var h={toContainer:u.prototype.toContainer};u.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},u.prototype.toContainer=function(){return h.toContainer.call(this).then(function(){var O=this.prop.container,T=this.prop.pageSize.inner.px.height,S=[].concat(this.opt.pagebreak.mode),C={avoidAll:S.indexOf("avoid-all")!==-1,css:S.indexOf("css")!==-1,legacy:S.indexOf("legacy")!==-1},_={},I=this;["before","after","avoid"].forEach(function(B){var j=C.avoidAll&&B==="avoid";_[B]=j?[]:[].concat(I.opt.pagebreak[B]||[]),_[B].length>0&&(_[B]=Array.prototype.slice.call(O.querySelectorAll(_[B].join(", "))))});var k=O.querySelectorAll(".html2pdf__page-break");k=Array.prototype.slice.call(k);var F=O.querySelectorAll("*");Array.prototype.forEach.call(F,function(j){var z={before:!1,after:C.legacy&&k.indexOf(j)!==-1,avoid:C.avoidAll};if(C.css){var M=window.getComputedStyle(j),U=["always","page","left","right"],P=["avoid","avoid-page"];z={before:z.before||U.indexOf(M.breakBefore||M.pageBreakBefore)!==-1,after:z.after||U.indexOf(M.breakAfter||M.pageBreakAfter)!==-1,avoid:z.avoid||P.indexOf(M.breakInside||M.pageBreakInside)!==-1}}Object.keys(z).forEach(function(ie){z[ie]=z[ie]||_[ie].indexOf(j)!==-1});var H=j.getBoundingClientRect();if(z.avoid&&!z.before){var W=Math.floor(H.top/T),X=Math.floor(H.bottom/T),K=Math.abs(H.bottom-H.top)/T;X!==W&&K<=1&&(z.before=!0)}if(z.before){var $=s("div",{style:{display:"block",height:T-H.top%T+"px"}});j.parentNode.insertBefore($,j)}if(z.after){var $=s("div",{style:{display:"block",height:T-H.bottom%T+"px"}});j.parentNode.insertBefore($,j.nextSibling)}})})};var y=[],b={toContainer:u.prototype.toContainer,toPdf:u.prototype.toPdf};u.prototype.toContainer=function(){return b.toContainer.call(this).then(function(){if(this.opt.enableLinks){var O=this.prop.container,T=O.querySelectorAll("a"),S=n(O.getBoundingClientRect(),this.prop.pageSize.k);y=[],Array.prototype.forEach.call(T,function(C){for(var _=C.getClientRects(),I=0;I<_.length;I++){var k=n(_[I],this.prop.pageSize.k);k.left-=S.left,k.top-=S.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,j=this.opt.margin[1]+k.left;y.push({page:F,top:B,left:j,clientRect:k,link:C})}},this)}})},u.prototype.toPdf=function(){return b.toPdf.call(this).then(function(){if(this.opt.enableLinks){y.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var O=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(O)}})};var E=function v(w,O){var T=new v.Worker(O);return w?T.from(w).save():T};return E.Worker=u,E})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=A;function A(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(R,N,e){var A=e("MBQ8"),f=A.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)}}),x=f;R.exports=x},"1u/T":function(R,N,e){var A=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};A.registerAction(f,function(x,m){m.eachComponent({mainType:"visualMap",query:x},function(g){g.setSelected(x.selected)})})},"1vzs":function(R,N,e){"use strict";e.d(N,"a",function(){return r});var A=e("q1tI"),f=e.n(A),x=e("HQEm"),m=e.n(x),g=e("gZBC"),p=e.n(g),c=e("NAnI"),s=e.n(c),a=e("V/uB"),n=e.n(a),i=e("kbBi"),d=e.n(i),t=e("w6Tc"),l=e.n(t);function r(o){var u=o.suffixIcon,h=o.clearIcon,y=o.menuItemSelectedIcon,b=o.removeIcon,E=o.loading,v=o.multiple,w=o.prefixCls,O=h;h||(O=A.createElement(d.a,null));var T=null;if(u!==void 0)T=u;else if(E)T=A.createElement(p.a,{spin:!0});else{var S="".concat(w,"-suffix");T=function(k){var F=k.open,B=k.showSearch;return F&&B?A.createElement(l.a,{className:S}):A.createElement(m.a,{className:S})}}var C=null;y!==void 0?C=y:v?C=A.createElement(s.a,null):C=null;var _=null;return b!==void 0?_=b:_=A.createElement(n.a,null),{clearIcon:O,suffixIcon:T,itemIcon:C,removeIcon:_}}},"1xaR":function(R,N,e){var A=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var x=e("mOdp"),m=e("y3NT"),g=e("0/Rx");A.registerVisual(f.curry(x,"sunburst")),A.registerLayout(f.curry(m,"sunburst")),A.registerProcessor(f.curry(g,"sunburst"))},"24YM":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.SensorTabIndex=N.SensorClassName=N.SizeSensorId=void 0;var A="size-sensor-id";N.SizeSensorId=A;var f="size-sensor-object";N.SensorClassName=f;var x="-1";N.SensorTabIndex=x},"2548":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("6GrX"),m=e("IUWy"),g=e("IwbS"),p=e("Qxkt"),c=e("gPAo"),s=e("eRkO"),a=A.extendComponentView({type:"toolbox",render:function(i,d,t,l){var r=this.group;if(r.removeAll(),!i.get("show"))return;var o=+i.get("itemSize"),u=i.get("feature")||{},h=this._features||(this._features={}),y=[];f.each(u,function(v,w){y.push(w)}),new c(this._featureNames||[],y).add(b).update(b).remove(f.curry(b,null)).execute(),this._featureNames=y;function b(v,w){var O=y[v],T=y[w],S=u[O],C=new p(S,i,i.ecModel),_;if(l&&l.newTitle!=null&&l.featureName===O&&(S.title=l.newTitle),O&&!T){if(n(O))_={model:C,onclick:C.option.onclick,featureName:O};else{var I=m.get(O);if(!I)return;_=new I(C,d,t)}h[O]=_}else{if(_=h[T],!_)return;_.model=C,_.ecModel=d,_.api=t}if(!O&&T){_.dispose&&_.dispose(d,t);return}if(!C.get("show")||_.unusable){_.remove&&_.remove(d,t);return}E(C,_,O),C.setIconStatus=function(k,F){var B=this.option,j=this.iconPaths;B.iconStatus=B.iconStatus||{},B.iconStatus[k]=F,j[k]&&j[k].trigger(F)},_.render&&_.render(C,d,t,l)}function E(v,w,O){var T=v.getModel("iconStyle"),S=v.getModel("emphasis.iconStyle"),C=w.getIcons?w.getIcons():v.get("icon"),_=v.get("title")||{};if(typeof C=="string"){var I=C,k=_;C={},_={},C[O]=I,_[O]=k}var F=v.iconPaths={};f.each(C,function(B,j){var z=g.createIcon(B,{},{x:-o/2,y:-o/2,width:o,height:o});z.setStyle(T.getItemStyle()),z.hoverStyle=S.getItemStyle(),z.setStyle({text:_[j],textAlign:S.get("textAlign"),textBorderRadius:S.get("textBorderRadius"),textPadding:S.get("textPadding"),textFill:null});var M=i.getModel("tooltip");M&&M.get("show")&&z.attr("tooltip",f.extend({content:_[j],formatter:M.get("formatter",!0)||function(){return _[j]},formatterParams:{componentType:"toolbox",name:j,title:_[j],$vars:["name","title"]},position:M.get("position",!0)||"bottom"},M.option)),g.setHoverStyle(z),i.get("showTitle")&&(z.__title=_[j],z.on("mouseover",function(){var U=S.getItemStyle(),P=i.get("orient")==="vertical"?i.get("right")==null?"right":"left":i.get("bottom")==null?"bottom":"top";z.setStyle({textFill:S.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:S.get("textBackgroundColor"),textPosition:S.get("textPosition")||P})}).on("mouseout",function(){z.setStyle({textFill:null,textBackgroundColor:null})})),z.trigger(v.get("iconStatus."+j)||"normal"),r.add(z),z.on("click",f.bind(w.onclick,w,d,t,j)),F[j]=z})}s.layout(r,i,t),r.add(s.makeBackground(r.getBoundingRect(),i)),r.eachChild(function(v){var w=v.__title,O=v.hoverStyle;if(O&&w){var T=x.getBoundingRect(w,x.makeFont(O)),S=v.position[0]+r.position[0],C=v.position[1]+r.position[1]+o,_=!1;C+T.height>t.getHeight()&&(O.textPosition="top",_=!0);var I=_?-5-T.height:o+8;S+T.width/2>t.getWidth()?(O.textPosition=["100%",I],O.textAlign="right"):S-T.width/2<0&&(O.textPosition=[0,I],O.textAlign="left")}})},updateView:function(i,d,t,l){f.each(this._features,function(r){r.updateView&&r.updateView(r.model,d,t,l)})},remove:function(i,d){f.each(this._features,function(t){t.remove&&t.remove(i,d)}),this.group.removeAll()},dispose:function(i,d){f.each(this._features,function(t){t.dispose&&t.dispose(i,d)})}});function n(i){return i.indexOf("my")===0}R.exports=a},"2B6p":function(R,N){function e(A,f,x){var m=A.getZoom(),g=A.getCenter(),p=f.zoom,c=A.dataToPoint(g);if(f.dx!=null&&f.dy!=null){c[0]-=f.dx,c[1]-=f.dy;var g=A.pointToData(c);A.setCenter(g)}if(p!=null){if(x){var s=x.min||0,a=x.max||Infinity;p=Math.max(Math.min(m*p,a),s)/m}A.scale[0]*=p,A.scale[1]*=p;var n=A.position,i=(f.originX-n[0])*(p-1),d=(f.originY-n[1])*(p-1);n[0]-=i,n[1]-=d,A.updateTransform();var g=A.pointToData(c);A.setCenter(g),A.setZoom(p*m)}return{center:A.getCenter(),zoom:A.getZoom()}}N.updateCenterAndZoom=e},"2BaD":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CloseCircleOutlined";var c=N.a=f.forwardRef(p)},"2DNl":function(R,N,e){var A=e("IMiH"),f=e("loD1"),x=e("59Ip"),m=e("aKvl"),g=e("n1HI"),p=e("hX1E"),c=p.normalizeRadian,s=e("Sj9i"),a=e("hyiK"),n=A.CMD,i=Math.PI*2,d=1e-4;function t(w,O){return Math.abs(w-O)<d}var l=[-1,-1,-1],r=[-1,-1];function o(){var w=r[0];r[0]=r[1],r[1]=w}function u(w,O,T,S,C,_,I,k,F,B){if(B>O&&B>S&&B>_&&B>k||B<O&&B<S&&B<_&&B<k)return 0;var j=s.cubicRootAt(O,S,_,k,B,l);if(j===0)return 0;for(var z=0,M=-1,U,P,H=0;H<j;H++){var W=l[H],X=W===0||W===1?.5:1,K=s.cubicAt(w,T,C,I,W);if(K<F)continue;M<0&&(M=s.cubicExtrema(O,S,_,k,r),r[1]<r[0]&&M>1&&o(),U=s.cubicAt(O,S,_,k,r[0]),M>1&&(P=s.cubicAt(O,S,_,k,r[1]))),M===2?W<r[0]?z+=U<O?X:-X:W<r[1]?z+=P<U?X:-X:z+=k<P?X:-X:W<r[0]?z+=U<O?X:-X:z+=k<U?X:-X}return z}function h(w,O,T,S,C,_,I,k){if(k>O&&k>S&&k>_||k<O&&k<S&&k<_)return 0;var F=s.quadraticRootAt(O,S,_,k,l);if(F===0)return 0;var B=s.quadraticExtremum(O,S,_);if(B>=0&&B<=1){for(var j=0,z=s.quadraticAt(O,S,_,B),M=0;M<F;M++){var U=l[M]===0||l[M]===1?.5:1,P=s.quadraticAt(w,T,C,l[M]);if(P<I)continue;l[M]<B?j+=z<O?U:-U:j+=_<z?U:-U}return j}else{var U=l[0]===0||l[0]===1?.5:1,P=s.quadraticAt(w,T,C,l[0]);return P<I?0:_<O?U:-U}}function y(w,O,T,S,C,_,I,k){if(k-=O,k>T||k<-T)return 0;var F=Math.sqrt(T*T-k*k);l[0]=-F,l[1]=F;var B=Math.abs(S-C);if(B<1e-4)return 0;if(B%i<1e-4){S=0,C=i;var j=_?1:-1;return I>=l[0]+w&&I<=l[1]+w?j:0}if(_){var F=S;S=c(C),C=c(F)}else S=c(S),C=c(C);S>C&&(C+=i);for(var z=0,M=0;M<2;M++){var U=l[M];if(U+w>I){var P=Math.atan2(k,U),j=_?1:-1;P<0&&(P=i+P),(P>=S&&P<=C||P+i>=S&&P+i<=C)&&(P>Math.PI/2&&P<Math.PI*1.5&&(j=-j),z+=j)}}return z}function b(w,O,T,S,C){for(var _=0,I=0,k=0,F=0,B=0,j=0;j<w.length;){var z=w[j++];z===n.M&&j>1&&(T||(_+=a(I,k,F,B,S,C))),j===1&&(I=w[j],k=w[j+1],F=I,B=k);switch(z){case n.M:F=w[j++],B=w[j++],I=F,k=B;break;case n.L:if(T){if(f.containStroke(I,k,w[j],w[j+1],O,S,C))return!0}else _+=a(I,k,w[j],w[j+1],S,C)||0;I=w[j++],k=w[j++];break;case n.C:if(T){if(x.containStroke(I,k,w[j++],w[j++],w[j++],w[j++],w[j],w[j+1],O,S,C))return!0}else _+=u(I,k,w[j++],w[j++],w[j++],w[j++],w[j],w[j+1],S,C)||0;I=w[j++],k=w[j++];break;case n.Q:if(T){if(m.containStroke(I,k,w[j++],w[j++],w[j],w[j+1],O,S,C))return!0}else _+=h(I,k,w[j++],w[j++],w[j],w[j+1],S,C)||0;I=w[j++],k=w[j++];break;case n.A:var M=w[j++],U=w[j++],P=w[j++],H=w[j++],W=w[j++],X=w[j++];j+=1;var K=1-w[j++],$=Math.cos(W)*P+M,ie=Math.sin(W)*H+U;j>1?_+=a(I,k,$,ie,S,C):(F=$,B=ie);var be=(S-M)*H/P+M;if(T){if(g.containStroke(M,U,H,W,W+X,K,O,be,C))return!0}else _+=y(M,U,H,W,W+X,K,be,C);I=Math.cos(W+X)*P+M,k=Math.sin(W+X)*H+U;break;case n.R:F=I=w[j++],B=k=w[j++];var te=w[j++],Te=w[j++],$=F+te,ie=B+Te;if(T){if(f.containStroke(F,B,$,B,O,S,C)||f.containStroke($,B,$,ie,O,S,C)||f.containStroke($,ie,F,ie,O,S,C)||f.containStroke(F,ie,F,B,O,S,C))return!0}else _+=a($,B,$,ie,S,C),_+=a(F,ie,F,B,S,C);break;case n.Z:if(T){if(f.containStroke(I,k,F,B,O,S,C))return!0}else _+=a(I,k,F,B,S,C);I=F,k=B;break}}return!T&&!t(k,B)&&(_+=a(I,k,F,B,S,C)||0),_!==0}function E(w,O,T){return b(w,0,!1,O,T)}function v(w,O,T,S){return b(w,O,!0,T,S)}N.contain=E,N.containStroke=v},"2dDv":function(R,N,e){var A=e("bYtY"),f=e("Fofx"),x=e("+TT/"),m=e("aX7z"),g=e("D1WM"),p=e("IwbS"),c=e("OELB"),s=e("72pK"),a=A.each,n=Math.min,i=Math.max,d=Math.floor,t=Math.ceil,l=c.round,r=Math.PI;function o(E,v,w){this._axesMap=A.createHashMap(),this._axesLayout={},this.dimensions=E.dimensions,this._rect,this._model=E,this._init(E,v,w)}o.prototype={type:"parallel",constructor:o,_init:function(E,v,w){var O=E.dimensions,T=E.parallelAxisIndex;a(O,function(S,C){var _=T[C],I=v.getComponent("parallelAxis",_),k=this._axesMap.set(S,new g(S,m.createScaleByModel(I),[0,0],I.get("type"),_)),F=k.type==="category";k.onBand=F&&I.get("boundaryGap"),k.inverse=I.get("inverse"),I.axis=k,k.model=I,k.coordinateSystem=I.coordinateSystem=this},this)},update:function(E,v){this._updateAxesFromSeries(this._model,E)},containPoint:function(E){var v=this._makeLayoutInfo(),w=v.axisBase,O=v.layoutBase,T=v.pixelDimIndex,S=E[1-T],C=E[T];return S>=w&&S<=w+v.axisLength&&C>=O&&C<=O+v.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(E,v){v.eachSeries(function(w){if(!E.contains(w,v))return;var O=w.getData();a(this.dimensions,function(T){var S=this._axesMap.get(T);S.scale.unionExtentFromData(O,O.mapDimension(T)),m.niceScaleExtent(S.scale,S.model)},this)},this)},resize:function(E,v){this._rect=x.getLayoutRect(E.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var E=this._model,v=this._rect,w=["x","y"],O=["width","height"],T=E.get("layout"),S=T==="horizontal"?0:1,C=v[O[S]],_=[0,C],I=this.dimensions.length,k=u(E.get("axisExpandWidth"),_),F=u(E.get("axisExpandCount")||0,[0,I]),B=E.get("axisExpandable")&&I>3&&I>F&&F>1&&k>0&&C>0,j=E.get("axisExpandWindow"),z;if(j)z=u(j[1]-j[0],_),j[1]=j[0]+z;else{z=u(k*(F-1),_);var M=E.get("axisExpandCenter")||d(I/2);j=[k*M-z/2],j[1]=j[0]+z}var U=(C-z)/(I-F);U<3&&(U=0);var P=[d(l(j[0]/k,1))+1,t(l(j[1]/k,1))-1],H=U/k*j[0];return{layout:T,pixelDimIndex:S,layoutBase:v[w[S]],layoutLength:C,axisBase:v[w[1-S]],axisLength:v[O[1-S]],axisExpandable:B,axisExpandWidth:k,axisCollapseWidth:U,axisExpandWindow:j,axisCount:I,winInnerIndices:P,axisExpandWindow0Pos:H}},_layoutAxes:function(){var E=this._rect,v=this._axesMap,w=this.dimensions,O=this._makeLayoutInfo(),T=O.layout;v.each(function(S){var C=[0,O.axisLength],_=S.inverse?1:0;S.setExtent(C[_],C[1-_])}),a(w,function(S,C){var _=(O.axisExpandable?y:h)(C,O),I={horizontal:{x:_.position,y:O.axisLength},vertical:{x:0,y:_.position}},k={horizontal:r/2,vertical:0},F=[I[T].x+E.x,I[T].y+E.y],B=k[T],j=f.create();f.rotate(j,j,B),f.translate(j,j,F),this._axesLayout[S]={position:F,rotation:B,transform:j,axisNameAvailableWidth:_.axisNameAvailableWidth,axisLabelShow:_.axisLabelShow,nameTruncateMaxWidth:_.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(E){return this._axesMap.get(E)},dataToPoint:function(E,v){return this.axisCoordToPoint(this._axesMap.get(v).dataToCoord(E),v)},eachActiveState:function(E,v,w,O){w==null&&(w=0),O==null&&(O=E.count());var T=this._axesMap,S=this.dimensions,C=[],_=[];A.each(S,function(U){C.push(E.mapDimension(U)),_.push(T.get(U).model)});for(var I=this.hasAxisBrushed(),k=w;k<O;k++){var F;if(!I)F="normal";else{F="active";for(var B=E.getValues(C,k),j=0,z=S.length;j<z;j++){var M=_[j].getActiveState(B[j]);if(M==="inactive"){F="inactive";break}}}v(F,k)}},hasAxisBrushed:function(){for(var E=this.dimensions,v=this._axesMap,w=!1,O=0,T=E.length;O<T;O++)v.get(E[O]).model.getActiveState()!=="normal"&&(w=!0);return w},axisCoordToPoint:function(E,v){var w=this._axesLayout[v];return p.applyTransform([E,0],w.transform)},getAxisLayout:function(E){return A.clone(this._axesLayout[E])},getSlidedAxisExpandWindow:function(E){var v=this._makeLayoutInfo(),w=v.pixelDimIndex,O=v.axisExpandWindow.slice(),T=O[1]-O[0],S=[0,v.axisExpandWidth*(v.axisCount-1)];if(!this.containPoint(E))return{behavior:"none",axisExpandWindow:O};var C=E[w]-v.layoutBase-v.axisExpandWindow0Pos,_,I="slide",k=v.axisCollapseWidth,F=this._model.get("axisExpandSlideTriggerArea"),B=F[0]!=null;if(k)B&&k&&C<T*F[0]?(I="jump",_=C-T*F[2]):B&&k&&C>T*(1-F[0])?(I="jump",_=C-T*(1-F[2])):(_=C-T*F[1])>=0&&(_=C-T*(1-F[1]))<=0&&(_=0),_*=v.axisExpandWidth/k,_?s(_,O,S,"all"):I="none";else{var T=O[1]-O[0],j=S[1]*C/T;O=[i(0,j-T/2)],O[1]=n(S[1],O[0]+T),O[0]=O[1]-T}return{axisExpandWindow:O,behavior:I}}};function u(E,v){return n(i(E,v[0]),v[1])}function h(E,v){var w=v.layoutLength/(v.axisCount-1);return{position:w*E,axisNameAvailableWidth:w,axisLabelShow:!0}}function y(E,v){var w=v.layoutLength,O=v.axisExpandWidth,T=v.axisCount,S=v.axisCollapseWidth,C=v.winInnerIndices,_,I=S,k=!1,F;return E<C[0]?(_=E*S,F=S):E<=C[1]?(_=v.axisExpandWindow0Pos+E*O-v.axisExpandWindow[0],I=O,k=!0):(_=w-(T-1-E)*S,F=S),{position:_,axisNameAvailableWidth:I,axisLabelShow:k,nameTruncateMaxWidth:F}}var b=o;R.exports=b},"2fGM":function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("nkfE"),m=e("ICMv"),g=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});A.merge(g.prototype,m);var p={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(s,a){return a.type||(a.data?"category":"value")}x("angle",g,c,p.angle),x("radius",g,c,p.radius)},"2fM7":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("7W2i"),n=e.n(a),i=e("LQ03"),d=e.n(i),t=e("q1tI"),l=e("BGR+"),r=e("TSYQ"),o=e.n(r),u=e("1OyB"),h=e("vuIU"),y=e("Ji7U"),b=e("LK+K"),E=e("rePB"),v=e("Ff2n"),w=e("ODXe"),O=e("4IlW"),T=e("bX4T"),S=e("YrtM"),C=e("+nKL"),_=function(V){var q=V.className,ue=V.customizeIcon,me=V.customizeIconProps,Ee=V.onMouseDown,Ge=V.onClick,dt=V.children,Kt;return typeof ue=="function"?Kt=ue(me):Kt=ue,t.createElement("span",{className:q,onMouseDown:function(wt){wt.preventDefault(),Ee&&Ee(wt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ge,"aria-hidden":!0},Kt!==void 0?Kt:t.createElement("span",{className:o()(q.split(/\s+/).map(function(tr){return"".concat(tr,"-icon")}))},dt))},I=_,k=function(V,q){var ue=V.prefixCls,me=V.id,Ee=V.flattenOptions,Ge=V.childrenAsData,dt=V.values,Kt=V.searchValue,tr=V.multiple,wt=V.defaultActiveFirstOption,It=V.height,Lt=V.itemHeight,Nt=V.notFoundContent,$e=V.open,ot=V.menuItemSelectedIcon,ft=V.virtual,ze=V.onSelect,Ye=V.onToggleOpen,qe=V.onActiveValue,rt=V.onScroll,ct=V.onMouseEnter,st="".concat(ue,"-item"),et=Object(S.a)(function(){return Ee},[$e,Ee],function(yn,nn){return nn[0]&&yn[1]!==nn[1]}),Ft=t.useRef(null),Ct=function(nn){nn.preventDefault()},ir=function(nn){Ft.current&&Ft.current.scrollTo({index:nn})},Xt=function(nn){for(var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Pr=et.length,Ar=0;Ar<Pr;Ar+=1){var Mr=(nn+Ar*cr+Pr)%Pr,fn=et[Mr],En=fn.group,Rn=fn.data;if(!En&&!Rn.disabled)return Mr}return-1},_r=t.useState(function(){return Xt(0)}),Br=Object(w.a)(_r,2),Gr=Br[0],un=Br[1],mn=function(nn){un(nn);var cr=et[nn];if(!cr){qe(null,-1);return}qe(cr.data.value,nn)};t.useEffect(function(){mn(wt!==!1?Xt(0):-1)},[et.length,Kt]),t.useEffect(function(){var yn=setTimeout(function(){if(!tr&&$e&&dt.size===1){var nn=Array.from(dt)[0],cr=et.findIndex(function(Pr){var Ar=Pr.data;return Ar.value===nn});mn(cr),ir(cr)}});return function(){return clearTimeout(yn)}},[$e]);var _n=function(nn){nn!==void 0&&ze(nn,{selected:!dt.has(nn)}),tr||Ye(!1)};if(t.useImperativeHandle(q,function(){return{onKeyDown:function(nn){var cr=nn.which;switch(cr){case O.a.UP:case O.a.DOWN:{var Pr=0;if(cr===O.a.UP?Pr=-1:cr===O.a.DOWN&&(Pr=1),Pr!==0){var Ar=Xt(Gr+Pr,Pr);ir(Ar),mn(Ar)}break}case O.a.ENTER:{var Mr=et[Gr];Mr&&!Mr.data.disabled?_n(Mr.data.value):_n(void 0),$e&&nn.preventDefault();break}case O.a.ESC:Ye(!1)}},onKeyUp:function(){},scrollTo:function(nn){ir(nn)}}}),et.length===0)return t.createElement("div",{role:"listbox",id:"".concat(me,"_list"),className:"".concat(st,"-empty"),onMouseDown:Ct},Nt);function qr(yn){var nn=et[yn];if(!nn)return null;var cr=nn.data||{},Pr=cr.value,Ar=cr.label,Mr=cr.children,fn=Object(T.a)(cr,!0),En=Ge?Mr:Ar;return nn?t.createElement("div",Object.assign({"aria-label":typeof En=="string"?En:null},fn,{key:yn,role:"option",id:"".concat(me,"_list_").concat(yn),"aria-selected":dt.has(Pr)}),Pr):null}return t.createElement(t.Fragment,null,t.createElement("div",{role:"listbox",id:"".concat(me,"_list"),style:{height:0,width:0,overflow:"hidden"}},qr(Gr-1),qr(Gr),qr(Gr+1)),t.createElement(C.a,{itemKey:"key",ref:Ft,data:et,height:It,itemHeight:Lt,fullHeight:!1,onMouseDown:Ct,onScroll:rt,virtual:ft,onMouseEnter:ct},function(yn,nn){var cr,Pr=yn.group,Ar=yn.groupOption,Mr=yn.data,fn=Mr.label,En=Mr.key;if(Pr)return t.createElement("div",{className:o()(st,"".concat(st,"-group"))},fn!==void 0?fn:En);var Rn=Mr.disabled,oi=Mr.value,An=Mr.title,mi=Mr.children,ai=Mr.style,Xr=Mr.className,pn=Object(v.a)(Mr,["disabled","value","title","children","style","className"]),Ln=dt.has(oi),tn="".concat(st,"-option"),$t=o()(st,tn,Xr,(cr={},Object(E.a)(cr,"".concat(tn,"-grouped"),Ar),Object(E.a)(cr,"".concat(tn,"-active"),Gr===nn&&!Rn),Object(E.a)(cr,"".concat(tn,"-disabled"),Rn),Object(E.a)(cr,"".concat(tn,"-selected"),Ln),cr)),yr=Ge?mi:fn,kr=!ot||typeof ot=="function"||Ln;return t.createElement("div",Object.assign({},pn,{"aria-selected":Ln,className:$t,title:An,onMouseMove:function(){if(Gr===nn||Rn)return;mn(nn)},onClick:function(){Rn||_n(oi)},style:ai}),t.createElement("div",{className:"".concat(tn,"-content")},yr||oi),t.isValidElement(ot)||Ln,kr&&t.createElement(I,{className:"".concat(st,"-option-state"),customizeIcon:ot,customizeIconProps:{isSelected:Ln}},Ln?"\u2713":null))}))},F=t.forwardRef(k);F.displayName="OptionList";var B=F,j=function(){return null};j.isSelectOption=!0;var z=j,M=function(){return null};M.isSelectOptGroup=!0;var U=M,P=e("VTBJ"),H=e("Zm9Q");function W(xe){var V=xe.key,q=xe.props,ue=q.children,me=q.value,Ee=Object(v.a)(q,["children","value"]);return Object(P.a)({key:V,value:me!==void 0?me:V,children:ue},Ee)}function X(xe){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(H.a)(xe).map(function(q,ue){if(!t.isValidElement(q)||!q.type)return null;var me=q.type.isSelectOptGroup,Ee=q.key,Ge=q.props,dt=Ge.children,Kt=Object(v.a)(Ge,["children"]);return V||!me?W(q):Object(P.a)(Object(P.a)({key:"__RC_SELECT_GRP__".concat(Ee===null?ue:Ee,"__"),label:Ee},Kt),{},{options:X(dt)})}).filter(function(q){return q})}var K=e("KQm4"),$=e("T5bk"),ie=e("U8pU"),be=e("Kwbf");function te(xe){return Array.isArray(xe)?xe:xe!==void 0?[xe]:[]}function Te(xe,V){var q=V.labelInValue,ue=V.combobox;if(xe===void 0||xe===""&&ue)return[];var me=Array.isArray(xe)?xe:[xe];return q?me.map(function(Ee){var Ge=Ee.key,dt=Ee.value;return dt!==void 0?dt:Ge}):me}function Ie(xe,V){var q=V.optionLabelProp,ue=V.labelInValue,me=V.prevValue,Ee=V.options,Ge=V.getLabeledValue,dt=xe;return ue&&(dt=dt.map(function(Kt){return Ge(Kt,{options:Ee,prevValue:me,labelInValue:ue,optionLabelProp:q})})),dt}function Fe(xe,V){var q=Object(K.a)(V),ue;for(ue=xe.length-1;ue>=0&&xe[ue].disabled;ue-=1);var me=null;return ue!==-1&&(me=q[ue],q.splice(ue,1)),{values:q,removedValue:me}}var Qe=typeof window!="undefined"&&window.document&&window.document.documentElement,fe=Qe,He=0;function se(){var xe;return fe?(xe=He,He+=1):xe="TEST_OR_SSR",xe}function Ce(xe,V){var q=xe.key,ue;return"value"in xe&&(ue=xe.value),q!=null?q:ue!==void 0?ue:"rc-index-key-".concat(V)}function mt(xe){var V=[];function q(ue,me){ue.forEach(function(Ee){me||!("options"in Ee)?V.push({key:Ce(Ee,V.length),groupOption:me,data:Ee}):(V.push({key:Ce(Ee,V.length),group:!0,data:Ee}),q(Ee.options,!0))})}return q(xe,!1),V}function Ne(xe){var V=Object(P.a)({},xe);return"props"in V||Object.defineProperty(V,"props",{get:function(){return Object(be.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),V}}),V}function ae(xe,V){var q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ue=q.prevValueOptions,me=ue===void 0?[]:ue,Ee=new Map;return V.forEach(function(Ge){if(!Ge.group){var dt=Ge.data;Ee.set(dt.value,dt)}}),xe.map(function(Ge){var dt=Ee.get(Ge);return dt||(dt=Object(P.a)({},me.find(function(Kt){return Kt._INTERNAL_OPTION_VALUE_===Ge}))),Ne(dt)})}var ce=function(V,q){var ue=q.options,me=q.prevValue,Ee=q.labelInValue,Ge=q.optionLabelProp,dt=ae([V],ue)[0],Kt={value:V},tr,wt=te(me);return Ee&&(tr=wt.find(function(It){return Object(ie.a)(It)==="object"&&"value"in It?It.value===V:It.key===V})),tr&&Object(ie.a)(tr)==="object"&&"label"in tr?(Kt.label=tr.label,dt&&typeof tr.label=="string"&&typeof dt[Ge]=="string"&&tr.label.trim()!==dt[Ge].trim()&&Object(be.a)(!1,"`label` of `value` is not same as `label` in Select options.")):dt&&Ge in dt?Kt.label=dt[Ge]:Kt.label=V,Kt.key=Kt.value,Kt};function le(xe){return te(xe).join("")}function je(xe){return function(V,q){var ue=V.toLowerCase();if("options"in q)return le(q.label).toLowerCase().includes(ue);var me=q[xe],Ee=le(me).toLowerCase();return Ee.includes(ue)}}function Re(xe,V,q){var ue=q.optionFilterProp,me=q.filterOption,Ee=[],Ge;return me===!1?V:(typeof me=="function"?Ge=me:Ge=je(ue),V.forEach(function(dt){if("options"in dt){var Kt=Ge(xe,dt);if(Kt)Ee.push(dt);else{var tr=dt.options.filter(function(wt){return Ge(xe,wt)});tr.length&&Ee.push(Object(P.a)(Object(P.a)({},dt),{},{options:tr}))}return}Ge(xe,Ne(dt))&&Ee.push(dt)}),Ee)}function Ze(xe,V){if(!V||!V.length)return null;var q=!1;function ue(Ee,Ge){var dt=Object($.a)(Ge),Kt=dt[0],tr=dt.slice(1);if(!Kt)return[Ee];var wt=Ee.split(Kt);return q=q||wt.length>1,wt.reduce(function(It,Lt){return[].concat(Object(K.a)(It),Object(K.a)(ue(Lt,tr)))},[]).filter(function(It){return It})}var me=ue(xe,V);return q?me:null}function De(xe,V){var q=ae([xe],V)[0];return q.disabled}function ne(xe,V,q,ue){var me=te(V).slice().sort(),Ee=Object(K.a)(xe),Ge=new Set;return xe.forEach(function(dt){dt.options?dt.options.forEach(function(Kt){Ge.add(Kt.value)}):Ge.add(dt.value)}),me.forEach(function(dt){var Kt=ue?dt.value:dt;if(!Ge.has(Kt)){var tr;Ee.push(ue?(tr={},Object(E.a)(tr,q,dt.label),Object(E.a)(tr,"value",Kt),tr):{value:Kt})}}),Ee}var he=e("6cGi"),pe=e("HTfv"),Xe=e("c+Xe"),lt=function(V,q){var ue=V.prefixCls,me=V.id,Ee=V.inputElement,Ge=V.disabled,dt=V.tabIndex,Kt=V.autoFocus,tr=V.autoComplete,wt=V.editable,It=V.accessibilityIndex,Lt=V.value,Nt=V.onKeyDown,$e=V.onMouseDown,ot=V.onChange,ft=V.onPaste,ze=V.onCompositionStart,Ye=V.onCompositionEnd,qe=V.open,rt=V.attrs,ct=Ee||t.createElement("input",null),st=ct,et=st.ref,Ft=st.props,Ct=Ft.onKeyDown,ir=Ft.onChange,Xt=Ft.onMouseDown,_r=Ft.onCompositionStart,Br=Ft.onCompositionEnd,Gr=Ft.style;return ct=t.cloneElement(ct,Object(P.a)(Object(P.a)({id:me,ref:Object(Xe.a)(q,et),disabled:Ge,tabIndex:dt,autoComplete:tr||"off",autoFocus:Kt,className:"".concat(ue,"-selection-search-input"),style:Object(P.a)(Object(P.a)({},Gr),{},{opacity:wt?null:0}),role:"combobox","aria-expanded":qe,"aria-haspopup":"listbox","aria-owns":"".concat(me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(me,"_list"),"aria-activedescendant":"".concat(me,"_list_").concat(It)},rt),{},{value:wt?Lt:"",readOnly:!wt,unselectable:wt?null:"on",onKeyDown:function(mn){Nt(mn),Ct&&Ct(mn)},onMouseDown:function(mn){$e(mn),Xt&&Xt(mn)},onChange:function(mn){ot(mn),ir&&ir(mn)},onCompositionStart:function(mn){ze(mn),_r&&_r(mn)},onCompositionEnd:function(mn){Ye(mn),Br&&Br(mn)},onPaste:ft})),ct},At=t.forwardRef(lt);At.displayName="Input";var Me=At;function Ht(xe,V){fe?t.useLayoutEffect(xe,V):t.useEffect(xe,V)}var tt="__RC_SELECT_MAX_REST_COUNT__",Mt=function(V){var q=V.id,ue=V.prefixCls,me=V.values,Ee=V.open,Ge=V.searchValue,dt=V.inputRef,Kt=V.placeholder,tr=V.disabled,wt=V.mode,It=V.showSearch,Lt=V.autoFocus,Nt=V.autoComplete,$e=V.accessibilityIndex,ot=V.tabIndex,ft=V.removeIcon,ze=V.choiceTransitionName,Ye=V.maxTagCount,qe=V.maxTagTextLength,rt=V.maxTagPlaceholder,ct=rt===void 0?function(oi){return"+ ".concat(oi.length," ...")}:rt,st=V.tagRender,et=V.onSelect,Ft=V.onInputChange,Ct=V.onInputPaste,ir=V.onInputKeyDown,Xt=V.onInputMouseDown,_r=V.onInputCompositionStart,Br=V.onInputCompositionEnd,Gr=t.useState(!1),un=Object(w.a)(Gr,2),mn=un[0],_n=un[1],qr=t.useRef(null),yn=t.useState(0),nn=Object(w.a)(yn,2),cr=nn[0],Pr=nn[1];t.useEffect(function(){_n(!0)},[]);var Ar=Ee||wt==="tags"?Ge:"",Mr=wt==="tags"||Ee&&It;Ht(function(){Pr(qr.current.scrollWidth)},[Ar]);var fn=me,En;typeof Ye=="number"&&(En=me.length-Ye,fn=me.slice(0,Ye)),typeof qe=="number"&&(fn=fn.map(function(oi){var An=oi.label,mi=Object(v.a)(oi,["label"]),ai=An;if(typeof An=="string"||typeof An=="number"){var Xr=String(ai);Xr.length>qe&&(ai="".concat(Xr.slice(0,qe),"..."))}return Object(P.a)(Object(P.a)({},mi),{},{label:ai})})),En>0&&fn.push({key:tt,label:typeof ct=="function"?ct(me.slice(Ye)):ct});var Rn=t.createElement(pe.CSSMotionList,{component:!1,keys:fn,motionName:ze,motionAppear:mn},function(oi){var An=oi.key,mi=oi.label,ai=oi.value,Xr=oi.disabled,pn=oi.className,Ln=oi.style,tn=An||ai,$t=An!==tt&&!Xr,yr=function(Kr){Kr.preventDefault(),Kr.stopPropagation()},kr=function(Kr){Kr&&Kr.stopPropagation(),et(ai,{selected:!1})};return typeof st=="function"?t.createElement("span",{key:tn,onMouseDown:yr,className:pn,style:Ln},st({label:mi,value:ai,disabled:Xr,closable:$t,onClose:kr})):t.createElement("span",{key:tn,className:o()(pn,"".concat(ue,"-selection-item"),Object(E.a)({},"".concat(ue,"-selection-item-disabled"),Xr)),style:Ln},t.createElement("span",{className:"".concat(ue,"-selection-item-content")},mi),$t&&t.createElement(I,{className:"".concat(ue,"-selection-item-remove"),onMouseDown:yr,onClick:kr,customizeIcon:ft},"\xD7"))});return t.createElement(t.Fragment,null,Rn,t.createElement("span",{className:"".concat(ue,"-selection-search"),style:{width:cr}},t.createElement(Me,{ref:dt,open:Ee,prefixCls:ue,id:q,inputElement:null,disabled:tr,autoFocus:Lt,autoComplete:Nt,editable:Mr,accessibilityIndex:$e,value:Ar,onKeyDown:ir,onMouseDown:Xt,onChange:Ft,onPaste:Ct,onCompositionStart:_r,onCompositionEnd:Br,tabIndex:ot,attrs:Object(T.a)(V,!0)}),t.createElement("span",{ref:qr,className:"".concat(ue,"-selection-search-mirror"),"aria-hidden":!0},Ar,"\xA0")),!me.length&&!Ar&&t.createElement("span",{className:"".concat(ue,"-selection-placeholder")},Kt))},jt=Mt,kt=function(V){var q=V.inputElement,ue=V.prefixCls,me=V.id,Ee=V.inputRef,Ge=V.disabled,dt=V.autoFocus,Kt=V.autoComplete,tr=V.accessibilityIndex,wt=V.mode,It=V.open,Lt=V.values,Nt=V.placeholder,$e=V.tabIndex,ot=V.showSearch,ft=V.searchValue,ze=V.activeValue,Ye=V.onInputKeyDown,qe=V.onInputMouseDown,rt=V.onInputChange,ct=V.onInputPaste,st=V.onInputCompositionStart,et=V.onInputCompositionEnd,Ft=t.useState(!1),Ct=Object(w.a)(Ft,2),ir=Ct[0],Xt=Ct[1],_r=wt==="combobox",Br=_r||ot&&It,Gr=Lt[0],un=ft||"";_r&&ze&&!ir&&(un=ze),t.useEffect(function(){_r&&Xt(!1)},[_r,ze]);var mn=wt!=="combobox"&&!It?!1:!!un,_n=Gr&&(typeof Gr.label=="string"||typeof Gr.label=="number")?Gr.label.toString():void 0;return t.createElement(t.Fragment,null,t.createElement("span",{className:"".concat(ue,"-selection-search")},t.createElement(Me,{ref:Ee,prefixCls:ue,id:me,open:It,inputElement:q,disabled:Ge,autoFocus:dt,autoComplete:Kt,editable:Br,accessibilityIndex:tr,value:un,onKeyDown:Ye,onMouseDown:qe,onChange:function(yn){Xt(!0),rt(yn)},onPaste:ct,onCompositionStart:st,onCompositionEnd:et,tabIndex:$e,attrs:Object(T.a)(V,!0)})),!_r&&Gr&&!mn&&t.createElement("span",{className:"".concat(ue,"-selection-item"),title:_n},Gr.label),!Gr&&!mn&&t.createElement("span",{className:"".concat(ue,"-selection-placeholder")},Nt))},Tt=kt;function Dt(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,V=t.useRef(null),q=t.useRef(null);t.useEffect(function(){return function(){window.clearTimeout(q.current)}},[]);function ue(me){(me||V.current===null)&&(V.current=me),window.clearTimeout(q.current),q.current=window.setTimeout(function(){V.current=null},xe)}return[function(){return V.current},ue]}var Ue=function(V,q){var ue=Object(t.useRef)(null),me=Object(t.useRef)(!1),Ee=V.prefixCls,Ge=V.multiple,dt=V.open,Kt=V.mode,tr=V.showSearch,wt=V.tokenWithEnter,It=V.onSearch,Lt=V.onSearchSubmit,Nt=V.onToggleOpen,$e=V.onInputKeyDown,ot=V.domRef;t.useImperativeHandle(q,function(){return{focus:function(){ue.current.focus()},blur:function(){ue.current.blur()}}});var ft=Dt(0),ze=Object(w.a)(ft,2),Ye=ze[0],qe=ze[1],rt=function(mn){var _n=mn.which;(_n===O.a.UP||_n===O.a.DOWN)&&mn.preventDefault(),$e&&$e(mn),_n===O.a.ENTER&&Kt==="tags"&&!me.current&&!dt&&Lt(mn.target.value),[O.a.SHIFT,O.a.TAB,O.a.BACKSPACE,O.a.ESC].includes(_n)||Nt(!0)},ct=function(){qe(!0)},st=Object(t.useRef)(null),et=function(mn){It(mn,!0,me.current)!==!1&&Nt(!0)},Ft=function(){me.current=!0},Ct=function(){me.current=!1},ir=function(mn){var _n=mn.target.value;if(wt&&st.current&&/[\r\n]/.test(st.current)){var qr=st.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");_n=_n.replace(qr,st.current)}st.current=null,et(_n)},Xt=function(mn){var _n=mn.clipboardData,qr=_n.getData("text");st.current=qr},_r=function(mn){var _n=Ye();if(mn.target!==ue.current){_n||mn.preventDefault();var qr=document.body.style.msTouchAction!==void 0;qr?setTimeout(function(){ue.current.focus()}):ue.current.focus()}(Kt!=="combobox"&&(!tr||!_n)||!dt)&&(dt&&It("",!0,!1),Nt())},Br={inputRef:ue,onInputKeyDown:rt,onInputMouseDown:ct,onInputChange:ir,onInputPaste:Xt,onInputCompositionStart:Ft,onInputCompositionEnd:Ct},Gr=Ge?t.createElement(jt,Object.assign({},V,Br)):t.createElement(Tt,Object.assign({},V,Br));return t.createElement("div",{ref:ot,className:"".concat(Ee,"-selector"),onMouseDown:_r},Gr)},G=t.forwardRef(Ue);G.displayName="Selector";var Y=G,Pe=e("Uaa1"),Be=function(V){var q=typeof V!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:q,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:q,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:q,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:q,adjustY:1}}}},J=function(V,q){var ue=V.prefixCls,me=V.disabled,Ee=V.visible,Ge=V.children,dt=V.popupElement,Kt=V.containerWidth,tr=V.animation,wt=V.transitionName,It=V.dropdownStyle,Lt=V.dropdownClassName,Nt=V.direction,$e=Nt===void 0?"ltr":Nt,ot=V.dropdownMatchSelectWidth,ft=ot===void 0?!0:ot,ze=V.dropdownRender,Ye=V.dropdownAlign,qe=V.getPopupContainer,rt=V.empty,ct=V.getTriggerDOMNode,st=Object(v.a)(V,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),et="".concat(ue,"-dropdown"),Ft=dt;ze&&(Ft=ze(dt));var Ct=t.useMemo(function(){return Be(ft)},[ft]),ir=tr?"".concat(et,"-").concat(tr):wt,Xt=t.useRef(null);t.useImperativeHandle(q,function(){return{getPopupElement:function(){return Xt.current}}});var _r=Object(P.a)({minWidth:Kt},It);return typeof ft=="number"?_r.width=ft:ft&&(_r.width=Kt),t.createElement(Pe.a,Object.assign({},st,{showAction:[],hideAction:[],popupPlacement:$e==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Ct,prefixCls:et,popupTransitionName:ir,popup:t.createElement("div",{ref:Xt},Ft),popupAlign:Ye,popupVisible:Ee,getPopupContainer:qe,popupClassName:o()(Lt,Object(E.a)({},"".concat(et,"-empty"),rt)),popupStyle:_r,getTriggerDOMNode:ct}),Ge)},St=t.forwardRef(J);St.displayName="SelectTrigger";var bt=St,nt="RC_SELECT_INTERNAL_PROPS_MARK";function Rt(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,V=t.useState(!1),q=Object(w.a)(V,2),ue=q[0],me=q[1],Ee=t.useRef(null),Ge=function(){window.clearTimeout(Ee.current)};t.useEffect(function(){return Ge},[]);var dt=function(tr,wt){Ge(),Ee.current=window.setTimeout(function(){me(tr),wt&&wt()},xe)};return[ue,dt,Ge]}function zt(xe,V,q){var ue=t.useRef(null);ue.current={elements:xe.filter(function(me){return me}),open:V,triggerOpen:q},t.useEffect(function(){function me(Ee){var Ge=Ee.target;ue.current.open&&ue.current.elements.every(function(dt){return!dt.contains(Ge)&&dt!==Ge})&&ue.current.triggerOpen(!1)}return window.addEventListener("mousedown",me),function(){return window.removeEventListener("mousedown",me)}},[])}function Fr(xe){var V=t.useRef(xe),q=t.useMemo(function(){var ue=new Map;V.current.forEach(function(Ee){var Ge=Ee.value,dt=Ee.label;Ge!==dt&&ue.set(Ge,dt)});var me=xe.map(function(Ee){var Ge=ue.get(Ee.value);return Ee.value===Ee.label&&Ge?Object(P.a)(Object(P.a)({},Ee),{},{label:Ge}):Ee});return V.current=me,me},[xe]);return q}function Jt(xe,V){var q=t.useRef(null),ue=t.useMemo(function(){var Ee=new Map;return V.forEach(function(Ge){var dt=Ge.data.value;Ee.set(dt,Ge)}),Ee},[xe,V]);q.current=ue;var me=function(Ge){return Ge.map(function(dt){return q.current.get(dt)}).filter(Boolean)};return me}var ge=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function ye(xe){var V=xe.prefixCls,q=xe.components.optionList,ue=xe.convertChildrenToData,me=xe.flattenOptions,Ee=xe.getLabeledValue,Ge=xe.filterOptions,dt=xe.isValueDisabled,Kt=xe.findValueOption,tr=xe.warningProps,wt=xe.fillOptionsWithMissingValue,It=xe.omitDOMProps;function Lt($e,ot){var ft,ze=$e.prefixCls,Ye=ze===void 0?V:ze,qe=$e.className,rt=$e.id,ct=$e.open,st=$e.defaultOpen,et=$e.options,Ft=$e.children,Ct=$e.mode,ir=$e.value,Xt=$e.defaultValue,_r=$e.labelInValue,Br=$e.showSearch,Gr=$e.inputValue,un=$e.searchValue,mn=$e.filterOption,_n=$e.optionFilterProp,qr=_n===void 0?"value":_n,yn=$e.autoClearSearchValue,nn=yn===void 0?!0:yn,cr=$e.onSearch,Pr=$e.allowClear,Ar=$e.clearIcon,Mr=$e.showArrow,fn=$e.inputIcon,En=$e.menuItemSelectedIcon,Rn=$e.disabled,oi=$e.loading,An=$e.defaultActiveFirstOption,mi=$e.notFoundContent,ai=mi===void 0?"Not Found":mi,Xr=$e.optionLabelProp,pn=$e.backfill,Ln=$e.getInputElement,tn=$e.getPopupContainer,$t=$e.listHeight,yr=$t===void 0?200:$t,kr=$e.listItemHeight,gr=kr===void 0?20:kr,Kr=$e.animation,sn=$e.transitionName,Ir=$e.virtual,Rr=$e.dropdownStyle,ar=$e.dropdownClassName,Tr=$e.dropdownMatchSelectWidth,br=$e.dropdownRender,fr=$e.dropdownAlign,zr=$e.showAction,wn=zr===void 0?[]:zr,On=$e.direction,Wn=$e.tokenSeparators,Xn=$e.tagRender,ii=$e.onPopupScroll,li=$e.onDropdownVisibleChange,bi=$e.onFocus,gi=$e.onBlur,Ni=$e.onKeyUp,ki=$e.onKeyDown,sa=$e.onMouseDown,Wi=$e.onChange,Ta=$e.onSelect,La=$e.onDeselect,ta=$e.onClear,Ka=$e.internalProps,ni=Ka===void 0?{}:Ka,zi=Object(v.a)($e,["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"]),Va=ni.mark===nt,Za=It?It(zi):zi;ge.forEach(function(Xi){delete Za[Xi]});var Oa=Object(t.useRef)(null),ma=Object(t.useRef)(null),xr=Object(t.useRef)(null),nr=Object(t.useRef)(null),ln=Object(t.useMemo)(function(){return(Wn||[]).some(function(Xi){return[`
|
|
|
`,`\r
|
|
|
`].includes(Xi)})},[Wn]),er=Rt(),hr=Object(w.a)(er,3),Dr=hr[0],Vr=hr[1],an=hr[2],Ot=Object(t.useState)(),lr=Object(w.a)(Ot,2),vr=lr[0],Cr=lr[1];Object(t.useEffect)(function(){Cr("rc_select_".concat(se()))},[]);var Hr=rt||vr,cn=Xr;cn===void 0&&(cn=et?"label":"children");var Qr=Ct==="combobox"?!1:_r,gt=Ct==="tags"||Ct==="multiple",Gt=Br!==void 0?Br:gt||Ct==="combobox",Sr=Object(t.useRef)(null);t.useImperativeHandle(ot,function(){return{focus:xr.current.focus,blur:xr.current.blur}});var Zr=Object(he.a)(Xt,{value:ir}),en=Object(w.a)(Zr,2),xn=en[0],kn=en[1],Zn=Object(t.useMemo)(function(){return Te(xn,{labelInValue:Qr,combobox:Ct==="combobox"})},[xn,Qr]),ui=Object(t.useMemo)(function(){return new Set(Zn)},[Zn]),ti=Object(t.useState)(null),Qn=Object(w.a)(ti,2),$n=Qn[0],Si=Qn[1],Ci=Object(t.useState)(""),vi=Object(w.a)(Ci,2),xi=vi[0],Ei=vi[1],di=xi;Ct==="combobox"&&xn!==void 0?di=xn:un!==void 0?di=un:Gr&&(di=Gr);var pi=Object(t.useMemo)(function(){var Xi=et;return Xi===void 0&&(Xi=ue(Ft)),Ct==="tags"&&wt&&(Xi=wt(Xi,xn,cn,_r)),Xi||[]},[et,Ft,Ct,xn]),_i=Object(t.useMemo)(function(){return me(pi,$e)},[pi]),Ri=Jt(Zn,_i),Vi=Object(t.useMemo)(function(){if(!di||!Gt)return Object(K.a)(pi);var Xi=Ge(di,pi,{optionFilterProp:qr,filterOption:Ct==="combobox"&&mn===void 0?function(){return!0}:mn});return Ct==="tags"&&Xi.every(function(yi){return yi[qr]!==di})&&Xi.unshift({value:di,label:di,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Xi},[pi,di,Ct,Gt]),Ii=Object(t.useMemo)(function(){return me(Vi,$e)},[Vi]);Object(t.useEffect)(function(){nr.current&&nr.current.scrollTo&&nr.current.scrollTo(0)},[di]);var ba=Object(t.useMemo)(function(){var Xi=Zn.map(function(yi){var Bi=Ri([yi]),Zi=Ee(yi,{options:Bi,prevValue:xn,labelInValue:Qr,optionLabelProp:cn});return Object(P.a)(Object(P.a)({},Zi),{},{disabled:dt(yi,Bi)})});return!Ct&&Xi.length===1&&Xi[0].value===null&&Xi[0].label===null?[]:Xi},[xn,pi,Ct]);ba=Fr(ba);var ga=function(yi,Bi,Zi){var Fa=Ri([yi]),ya=Kt([yi],Fa)[0];if(!ni.skipTriggerSelect){var ja=Qr?Ee(yi,{options:Fa,prevValue:xn,labelInValue:Qr,optionLabelProp:cn}):yi;Bi&&Ta?Ta(ja,ya):!Bi&&La&&La(ja,ya)}Va&&(Bi&&ni.onRawSelect?ni.onRawSelect(yi,ya,Zi):!Bi&&ni.onRawDeselect&&ni.onRawDeselect(yi,ya,Zi))},Aa=Object(t.useState)([]),ha=Object(w.a)(Aa,2),vo=ha[0],la=ha[1],Ba=function(yi){if(Va&&ni.skipTriggerChange)return;var Bi=Ri(yi),Zi=Ie(Array.from(yi),{labelInValue:Qr,options:Bi,getLabeledValue:Ee,prevValue:xn,optionLabelProp:cn}),Fa=gt?Zi:Zi[0];if(Wi&&(Zn.length!==0||Zi.length!==0)){var ya=Kt(yi,Bi,{prevValueOptions:vo});la(ya.map(function(ja,Wa){var wo=Object(P.a)({},ja);return Object.defineProperty(wo,"_INTERNAL_OPTION_VALUE_",{get:function(){return yi[Wa]}}),wo})),Wi(Fa,gt?ya:ya[0])}kn(Fa)},pa=function(yi,Bi){var Zi=Bi.selected,Fa=Bi.source;if(Rn)return;var ya;gt?(ya=new Set(Zn),Zi?ya.add(yi):ya.delete(yi)):(ya=new Set,ya.add(yi)),(gt||!gt&&Array.from(Zn)[0]!==yi)&&Ba(Array.from(ya)),ga(yi,!gt||Zi,Fa),Ct==="combobox"?(Ei(String(yi)),Si("")):(!gt||nn)&&(Ei(""),Si(""))},to=function(yi,Bi){pa(yi,Object(P.a)(Object(P.a)({},Bi),{},{source:"option"}))},qa=function(yi,Bi){pa(yi,Object(P.a)(Object(P.a)({},Bi),{},{source:"selection"}))},Yi=Ct==="combobox"&&Ln&&Ln()||null,oo=Object(he.a)(void 0,{defaultValue:st,value:ct}),Ya=Object(w.a)(oo,2),wa=Ya[0],$a=Ya[1],Fi=wa,Sa=!ai&&!Vi.length;(Rn||Sa&&Fi&&Ct==="combobox")&&(Fi=!1);var Ea=Sa?!1:Fi,yo=function(yi){var Bi=yi!==void 0?yi:!Fi;wa!==Bi&&!Rn&&($a(Bi),li&&li(Bi))};zt([Oa.current,ma.current&&ma.current.getPopupElement()],Ea,yo);var _a=function(yi,Bi,Zi){var Fa=!0,ya=yi;Si(null);var ja=Zi?null:Ze(yi,Wn),Wa=ja;if(Ct==="combobox")Bi&&Ba([ya]);else if(ja){ya="",Ct!=="tags"&&(Wa=ja.map(function(Do){var es=_i.find(function(To){var So=To.data;return So[cn]===Do});return es?es.data.value:null}).filter(function(Do){return Do!==null}));var wo=Array.from(new Set([].concat(Object(K.a)(Zn),Object(K.a)(Wa))));Ba(wo),wo.forEach(function(Do){ga(Do,!0,"input")}),yo(!1),Fa=!1}return Ei(ya),cr&&di!==ya&&cr(ya),Fa},Hi=function(yi){var Bi=Array.from(new Set([].concat(Object(K.a)(Zn),[yi])));Ba(Bi),Bi.forEach(function(Zi){ga(Zi,!0,"input")}),Ei("")};Object(t.useEffect)(function(){wa&&!!Rn&&$a(!1)},[Rn]),Object(t.useEffect)(function(){!Fi&&!gt&&Ct!=="combobox"&&_a("",!1,!1)},[Fi]);var Xa=Dt(),Da=Object(w.a)(Xa,2),va=Da[0],Di=Da[1],at=function(yi){var Bi=va(),Zi=yi.which;if(!Fi&&Zi===O.a.ENTER&&yo(!0),Di(!!di),Zi===O.a.BACKSPACE&&!Bi&>&&!di&&Zn.length){var Fa=Fe(ba,Zn);Fa.removedValue!==null&&(Ba(Fa.values),ga(Fa.removedValue,!1,"input"))}for(var ya=arguments.length,ja=new Array(ya>1?ya-1:0),Wa=1;Wa<ya;Wa++)ja[Wa-1]=arguments[Wa];if(Fi&&nr.current){var wo;(wo=nr.current).onKeyDown.apply(wo,[yi].concat(ja))}ki&&ki.apply(void 0,[yi].concat(ja))},qt=function(yi){for(var Bi=arguments.length,Zi=new Array(Bi>1?Bi-1:0),Fa=1;Fa<Bi;Fa++)Zi[Fa-1]=arguments[Fa];if(Fi&&nr.current){var ya;(ya=nr.current).onKeyUp.apply(ya,[yi].concat(Zi))}Ni&&Ni.apply(void 0,[yi].concat(Zi))},pr=Object(t.useRef)(!1),ur=function(){Vr(!0),Rn||(bi&&!pr.current&&bi.apply(void 0,arguments),wn.includes("focus")&&yo(!0)),pr.current=!0},$r=function(){if(Vr(!1,function(){pr.current=!1,yo(!1)}),Rn)return;di&&(Ct==="tags"?(_a("",!1,!1),Ba(Array.from(new Set([].concat(Object(K.a)(Zn),[di]))))):Ct==="multiple"&&Ei("")),gi&&gi.apply(void 0,arguments)},Er=[];Object(t.useEffect)(function(){return function(){Er.forEach(function(Xi){return clearTimeout(Xi)}),Er.splice(0,Er.length)}},[]);var sr=function(yi){var Bi=yi.target,Zi=ma.current&&ma.current.getPopupElement();if(Zi&&Zi.contains(Bi)){var Fa=setTimeout(function(){var wo=Er.indexOf(Fa);wo!==-1&&Er.splice(wo,1),an(),Zi.contains(document.activeElement)||xr.current.focus()});Er.push(Fa)}if(sa){for(var ya=arguments.length,ja=new Array(ya>1?ya-1:0),Wa=1;Wa<ya;Wa++)ja[Wa-1]=arguments[Wa];sa.apply(void 0,[yi].concat(ja))}},dn=Object(t.useState)(0),wr=Object(w.a)(dn,2),rn=wr[0],Fn=wr[1],Bn=An!==void 0?An:Ct!=="combobox",Tn=function(yi,Bi){Fn(Bi),pn&&Ct==="combobox"&&yi!==null&&Si(String(yi))},Kn=Object(t.useState)(null),Mn=Object(w.a)(Kn,2),Un=Mn[0],Vn=Mn[1],si=Object(t.useState)({}),Jn=Object(w.a)(si,2),Ai=Jn[1];function Ji(){Ai({})}Ht(function(){if(Ea){var Xi=Math.ceil(Oa.current.offsetWidth);Un!==Xi&&Vn(Xi)}},[Ea]);var Oi=t.createElement(q,{ref:nr,prefixCls:Ye,id:Hr,open:Fi,childrenAsData:!et,options:Vi,flattenOptions:Ii,multiple:gt,values:ui,height:yr,itemHeight:gr,onSelect:to,onToggleOpen:yo,onActiveValue:Tn,defaultActiveFirstOption:Bn,notFoundContent:ai,onScroll:ii,searchValue:di,menuItemSelectedIcon:En,virtual:Ir!==!1&&Tr!==!1,onMouseEnter:Ji}),Mi,Li=function(){Va&&ni.onClear&&ni.onClear(),ta&&ta(),Ba([]),_a("",!1,!1)};!Rn&&Pr&&(Zn.length||di)&&(Mi=t.createElement(I,{className:"".concat(Ye,"-clear"),onMouseDown:Li,customizeIcon:Ar},"\xD7"));var Ki=Mr!==void 0?Mr:oi||!gt&&Ct!=="combobox",so;Ki&&(so=t.createElement(I,{className:o()("".concat(Ye,"-arrow"),Object(E.a)({},"".concat(Ye,"-arrow-loading"),oi)),customizeIcon:fn,customizeIconProps:{loading:oi,searchValue:di,open:Fi,focused:Dr,showSearch:Gt}}));var Pa=o()(Ye,qe,(ft={},Object(E.a)(ft,"".concat(Ye,"-focused"),Dr),Object(E.a)(ft,"".concat(Ye,"-multiple"),gt),Object(E.a)(ft,"".concat(Ye,"-single"),!gt),Object(E.a)(ft,"".concat(Ye,"-allow-clear"),Pr),Object(E.a)(ft,"".concat(Ye,"-show-arrow"),Ki),Object(E.a)(ft,"".concat(Ye,"-disabled"),Rn),Object(E.a)(ft,"".concat(Ye,"-loading"),oi),Object(E.a)(ft,"".concat(Ye,"-open"),Fi),Object(E.a)(ft,"".concat(Ye,"-customize-input"),Yi),Object(E.a)(ft,"".concat(Ye,"-show-search"),Gt),ft));return t.createElement("div",Object.assign({className:Pa},Za,{ref:Oa,onMouseDown:sr,onKeyDown:at,onKeyUp:qt,onFocus:ur,onBlur:$r}),Dr&&!Fi&&t.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Zn.join(", "))),t.createElement(bt,{ref:ma,disabled:Rn,prefixCls:Ye,visible:Ea,popupElement:Oi,containerWidth:Un,animation:Kr,transitionName:sn,dropdownStyle:Rr,dropdownClassName:ar,direction:On,dropdownMatchSelectWidth:Tr,dropdownRender:br,dropdownAlign:fr,getPopupContainer:tn,empty:!pi.length,getTriggerDOMNode:function(){return Sr.current}},t.createElement(Y,Object.assign({},$e,{domRef:Sr,prefixCls:Ye,inputElement:Yi,ref:xr,id:Hr,showSearch:Gt,mode:Ct,accessibilityIndex:rn,multiple:gt,tagRender:Xn,values:ba,open:Fi,onToggleOpen:yo,searchValue:di,activeValue:$n,onSearch:_a,onSearchSubmit:Hi,onSelect:qa,tokenWithEnter:ln}))),so,Mi)}var Nt=t.forwardRef(Lt);return Nt}function Le(xe){var V=xe.mode,q=xe.options,ue=xe.children,me=xe.backfill,Ee=xe.allowClear,Ge=xe.placeholder,dt=xe.getInputElement,Kt=xe.showSearch,tr=xe.onSearch,wt=xe.defaultOpen,It=xe.autoFocus,Lt=xe.labelInValue,Nt=xe.value,$e=xe.inputValue,ot=xe.optionLabelProp,ft=V==="multiple"||V==="tags",ze=Kt!==void 0?Kt:ft||V==="combobox",Ye=q||X(ue);if(Object(be.a)(V!=="tags"||Ye.every(function(st){return!st.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),V==="tags"||V==="combobox"){var qe=Ye.some(function(st){return st.options?st.options.some(function(et){return typeof("value"in et?et.value:et.key)=="number"}):typeof("value"in st?st.value:st.key)=="number"});Object(be.a)(!qe,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(be.a)(V!=="combobox"||!ot,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(be.a)(V==="combobox"||!me,"`backfill` only works with `combobox` mode."),Object(be.a)(V==="combobox"||!dt,"`getInputElement` only work with `combobox` mode."),Object(be.b)(V!=="combobox"||!dt||!Ee||!Ge,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),tr&&!ze&&V!=="combobox"&&V!=="tags"&&Object(be.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(be.b)(!wt||It,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Nt!=null){var rt=te(Nt);Object(be.a)(!Lt||rt.every(function(st){return Object(ie.a)(st)==="object"&&("key"in st||"value"in st)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(be.a)(!ft||Array.isArray(Nt),"`value` should be array when `mode` is `multiple` or `tags`")}if(ue){var ct=null;Object(H.a)(ue).some(function(st){if(!t.isValidElement(st)||!st.type)return!1;var et=st.type;if(et.isSelectOption)return!1;if(et.isSelectOptGroup){var Ft=Object(H.a)(st.props.children).every(function(Ct){return!t.isValidElement(Ct)||!st.type||Ct.type.isSelectOption?!0:(ct=Ct.type,!1)});return!Ft}return ct=et,!0}),ct&&Object(be.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ct.displayName||ct.name||ct,"`.")),Object(be.a)($e===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var we=Le,Ke=ye({prefixCls:"rc-select",components:{optionList:B},convertChildrenToData:X,flattenOptions:mt,getLabeledValue:ce,filterOptions:Re,isValueDisabled:De,findValueOption:ae,warningProps:we,fillOptionsWithMissingValue:ne}),Je=function(xe){Object(y.a)(q,xe);var V=Object(b.a)(q);function q(){var ue;return Object(u.a)(this,q),ue=V.apply(this,arguments),ue.selectRef=t.createRef(),ue.focus=function(){ue.selectRef.current.focus()},ue.blur=function(){ue.selectRef.current.blur()},ue}return Object(h.a)(q,[{key:"render",value:function(){return t.createElement(Ke,Object.assign({ref:this.selectRef},this.props))}}]),q}(t.Component);Je.Option=z,Je.OptGroup=U;var ut=Je,vt=ut,_t=e("H84U"),Ut=e("1vzs"),Bt=e("3Nzz"),dr=function(xe){n()(q,xe);var V=d()(q);function q(){var ue;return p()(this,q),ue=V.apply(this,arguments),ue.selectRef=t.createRef(),ue.focus=function(){ue.selectRef.current&&ue.selectRef.current.focus()},ue.blur=function(){ue.selectRef.current&&ue.selectRef.current.blur()},ue.getMode=function(){var me=ue.props.mode;return me==="combobox"?void 0:me===q.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":me},ue.renderSelect=function(me){var Ee=me.getPopupContainer,Ge=me.getPrefixCls,dt=me.renderEmpty,Kt=me.direction,tr=me.virtual,wt=me.dropdownMatchSelectWidth,It=ue.props,Lt=It.prefixCls,Nt=It.notFoundContent,$e=It.className,ot=It.size,ft=It.listHeight,ze=ft===void 0?256:ft,Ye=It.listItemHeight,qe=Ye===void 0?24:Ye,rt=It.getPopupContainer,ct=It.dropdownClassName,st=It.bordered,et=Ge("select",Lt),Ft=ue.getMode(),Ct=Ft==="multiple"||Ft==="tags",ir;Nt!==void 0?ir=Nt:Ft==="combobox"?ir=null:ir=dt("Select");var Xt=Object(Ut.a)(m()(m()({},ue.props),{multiple:Ct,prefixCls:et})),_r=Xt.suffixIcon,Br=Xt.itemIcon,Gr=Xt.removeIcon,un=Xt.clearIcon,mn=Object(l.default)(ue.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),_n=o()(ct,f()({},"".concat(et,"-dropdown-").concat(Kt),Kt==="rtl"));return t.createElement(Bt.b.Consumer,null,function(qr){var yn,nn=ot||qr,cr=o()($e,(yn={},f()(yn,"".concat(et,"-lg"),nn==="large"),f()(yn,"".concat(et,"-sm"),nn==="small"),f()(yn,"".concat(et,"-rtl"),Kt==="rtl"),f()(yn,"".concat(et,"-borderless"),!st),yn));return t.createElement(vt,m()({ref:ue.selectRef,virtual:tr,dropdownMatchSelectWidth:wt},mn,{listHeight:ze,listItemHeight:qe,mode:Ft,prefixCls:et,direction:Kt,inputIcon:_r,menuItemSelectedIcon:Br,removeIcon:Gr,clearIcon:un,notFoundContent:ir,className:cr,getPopupContainer:rt||Ee,dropdownClassName:_n}))})},ue}return s()(q,[{key:"render",value:function(){return t.createElement(_t.a,null,this.renderSelect)}}]),q}(t.Component);dr.Option=z,dr.OptGroup=U,dr.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",dr.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Oe=N.a=dr},"2fw6":function(R,N,e){var A=e("y+Vt"),f=A.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,g,p){p&&m.moveTo(g.cx+g.r,g.cy),m.arc(g.cx,g.cy,g.r,0,Math.PI*2,!0)}});R.exports=f},"2jpz":function(R,N,e){"use strict";e.d(N,"a",function(){return h});var A=e("cDf5"),f=e.n(A),x=e("q1tI"),m=e.n(x),g=e("TSYQ"),p=e.n(g),c=e("gZBC"),s=e.n(c),a=e("vk+C"),n=e.n(a),i=e("pG52"),d=e.n(i),t=e("Csr3"),l=e.n(t),r=e("e5VY"),o=e.n(r),u=e("0n0R");function h(y,b,E,v){var w=v.isLeaf,O=v.expanded,T=v.loading;if(T)return x.createElement(s.a,{className:"".concat(y,"-switcher-loading-icon")});var S;if(E&&f()(E)==="object"&&(S=E.showLeafIcon),w)return E?f()(E)==="object"&&!S?x.createElement("span",{className:"".concat(y,"-switcher-leaf-line")}):x.createElement(n.a,{className:"".concat(y,"-switcher-line-icon")}):null;var C="".concat(y,"-switcher-icon");return Object(u.b)(b)?Object(u.a)(b,{className:p()(b.props.className||"",C)}):b||(E?O?x.createElement(d.a,{className:"".concat(y,"-switcher-line-icon")}):x.createElement(l.a,{className:"".concat(y,"-switcher-line-icon")}):x.createElement(o.a,{className:C}))}},"2oIt":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"2uGb":function(R,N,e){var A=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),x=e("nKiI");A.registerVisual(f),A.registerLayout(x)},"2w7y":function(R,N,e){var A=e("ProS");e("qMZE"),e("g0SD"),A.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(R,N,e){var A=e("ProS"),f=e("b9oc"),x=e("Kagy"),m=e("IUWy"),g=x.toolbox.restore;function p(a){this.model=a}p.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:g.title};var c=p.prototype;c.onclick=function(a,n,i){f.clear(a),n.dispatchAction({type:"restore",from:this.uid})},m.register("restore",p),A.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,n){n.resetOption("recreate")});var s=p;R.exports=s},"34/K":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var s=p[c];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(g,s.key,s)}}function x(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){A(this,g),this._lines=0}return x(g,[{key:"decodeRect",value:function(c,s,a,n,i,d,t){this._lines===0&&(this._lines=n);var l=t==8?1:4,r=a*l;if(i.rQwait("RAW",r))return!1;var o=s+(n-this._lines),u=Math.min(this._lines,Math.floor(i.rQlen/r)),h=i.rQ,y=i.rQi;if(t==8){for(var b=a*u,E=new Uint8Array(b*4),v=0;v<b;v++)E[v*4+0]=(h[y+v]>>0&3)*255/3,E[v*4+1]=(h[y+v]>>2&3)*255/3,E[v*4+2]=(h[y+v]>>4&3)*255/3,E[v*4+4]=0;h=E,y=0}return d.blitImage(c,o,a,u,h,y),i.rQskipBytes(u*r),this._lines-=u,!(this._lines>0)}}]),g}();N.default=m},"3690":function(R,N,e){"use strict";function A(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(i){return typeof i}:A=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},A(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=m(e("Lo0S"));function x(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return x=function(){return a},a}function m(a){if(a&&a.__esModule)return a;if(a===null||A(a)!=="object"&&typeof a!="function")return{default:a};var n=x();if(n&&n.has(a))return n.get(a);var i={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t)){var l=d?Object.getOwnPropertyDescriptor(a,t):null;l&&(l.get||l.set)?Object.defineProperty(i,t,l):i[t]=a[t]}return i.default=a,n&&n.set(a,i),i}function g(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function p(a,n){for(var i=0;i<n.length;i++){var d=n[i];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}function c(a,n,i){return n&&p(a.prototype,n),i&&p(a,i),a}var s=function(){function a(){g(this,a),this._tiles=0,this._lastsubencoding=0}return c(a,[{key:"decodeRect",value:function(i,d,t,l,r,o,u){for(this._tiles===0&&(this._tilesX=Math.ceil(t/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var h=1;if(r.rQwait("HEXTILE",h))return!1;var y=r.rQ,b=r.rQi,E=y[b];if(E>30)throw new Error("Illegal hextile subencoding (subencoding: "+E+")");var v=this._totalTiles-this._tiles,w=v%this._tilesX,O=Math.floor(v/this._tilesX),T=i+w*16,S=d+O*16,C=Math.min(16,i+t-T),_=Math.min(16,d+l-S);if(E&1)h+=C*_*4;else if(E&2&&(h+=4),E&4&&(h+=4),E&8){if(h++,r.rQwait("HEXTILE",h))return!1;var I=y[b+h-1];E&16?h+=I*(4+2):h+=I*2}if(r.rQwait("HEXTILE",h))return!1;if(b++,E===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):o.fillRect(T,S,C,_,this._background);else if(E&1)o.blitImage(T,S,C,_,y,b),b+=h-1;else{if(E&2&&(this._background=[y[b],y[b+1],y[b+2],y[b+3]],b+=4),E&4&&(this._foreground=[y[b],y[b+1],y[b+2],y[b+3]],b+=4),o.startTile(T,S,C,_,this._background),E&8){var k=y[b];b++;for(var F=0;F<k;F++){var B=void 0;E&16?(B=[y[b],y[b+1],y[b+2],y[b+3]],b+=4):B=this._foreground;var j=y[b];b++;var z=j>>4,M=j&15,U=y[b];b++;var P=(U>>4)+1,H=(U&15)+1;o.subTile(z,M,P,H,B)}}o.finishTile()}r.rQi=b,this._lastsubencoding=E,this._tiles--}return!0}}]),a}();N.default=s},"3C/r":function(R,N){var e=function(x,m){this.image=x,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var A=e;R.exports=A},"3CBa":function(R,N,e){var A=e("hydK"),f=A.createElement,x=e("bYtY"),m=e("SUKs"),g=e("y+Vt"),p=e("Dagg"),c=e("dqUG"),s=e("DBLp"),a=e("sW+o"),n=e("n6Mw"),i=e("vKoX"),d=e("P47w"),t=d.path,l=d.image,r=d.text;function o(C){return parseInt(C,10)}function u(C){return C instanceof g?t:C instanceof p?l:C instanceof c?r:t}function h(C,_){return _&&C&&_.parentNode!==C}function y(C,_,I){if(h(C,_)&&I){var k=I.nextSibling;k?C.insertBefore(_,k):C.appendChild(_)}}function b(C,_){if(h(C,_)){var I=C.firstChild;I?C.insertBefore(_,I):C.appendChild(_)}}function E(C,_){_&&C&&_.parentNode===C&&C.removeChild(_)}function v(C){return C.__textSvgEl}function w(C){return C.__svgEl}var O=function(_,I,k,F){this.root=_,this.storage=I,this._opts=k=x.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 j=f("g");B.appendChild(j);var z=f("g");B.appendChild(z),this.gradientManager=new a(F,z),this.clipPathManager=new n(F,z),this.shadowManager=new i(F,z);var M=document.createElement("div");M.style.cssText="overflow:hidden;position:relative",this._svgDom=B,this._svgRoot=z,this._backgroundRoot=j,this._viewport=M,_.appendChild(M),M.appendChild(B),this.resize(k.width,k.height),this._visibleList=[]};O.prototype={constructor:O,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var _=this.getViewportRoot();if(_)return{offsetLeft:_.offsetLeft||0,offsetTop:_.offsetTop||0}},refresh:function(){var _=this.storage.getDisplayList(!0);this._paintList(_)},setBackgroundColor:function(_){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var I=f("rect");I.setAttribute("width",this.getWidth()),I.setAttribute("height",this.getHeight()),I.setAttribute("x",0),I.setAttribute("y",0),I.setAttribute("id",0),I.style.fill=_,this._backgroundRoot.appendChild(I),this._backgroundNode=I},_paintList:function(_){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var I=this._svgRoot,k=this._visibleList,F=_.length,B=[],j;for(j=0;j<F;j++){var z=_[j],M=u(z),U=w(z)||v(z);z.invisible||(z.__dirty&&(M&&M.brush(z),this.clipPathManager.update(z),z.style&&(this.gradientManager.update(z.style.fill),this.gradientManager.update(z.style.stroke),this.shadowManager.update(U,z)),z.__dirty=!1),B.push(z))}var P=s(k,B),H;for(j=0;j<P.length;j++){var W=P[j];if(W.removed)for(var X=0;X<W.count;X++){var z=k[W.indices[X]],U=w(z),K=v(z);E(I,U),E(I,K)}}for(j=0;j<P.length;j++){var W=P[j];if(W.added)for(var X=0;X<W.count;X++){var z=B[W.indices[X]],U=w(z),K=v(z);H?y(I,U,H):b(I,U),U?y(I,K,U):H?y(I,K,H):b(I,K),y(I,K,U),H=K||U||H,this.gradientManager.addWithoutUpdate(U||K,z),this.shadowManager.addWithoutUpdate(U||K,z),this.clipPathManager.markUsed(z)}else if(!W.removed)for(var X=0;X<W.count;X++){var z=B[W.indices[X]],U=w(z),K=v(z),U=w(z),K=v(z);this.gradientManager.markUsed(z),this.gradientManager.addWithoutUpdate(U||K,z),this.shadowManager.markUsed(z),this.shadowManager.addWithoutUpdate(U||K,z),this.clipPathManager.markUsed(z),K&&y(I,K,U),H=U||K||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=B},_getDefs:function(_){var I=this._svgDom,k=I.getElementsByTagName("defs");if(k.length===0)if(_){var k=I.insertBefore(f("defs"),I.firstChild);return k.contains||(k.contains=function(B){var j=k.children;if(!j)return!1;for(var z=j.length-1;z>=0;--z)if(j[z]===B)return!0;return!1}),k}else return null;else return k[0]},resize:function(_,I){var k=this._viewport;k.style.display="none";var F=this._opts;if(_!=null&&(F.width=_),I!=null&&(F.height=I),_=this._getSize(0),I=this._getSize(1),k.style.display="",this._width!==_||this._height!==I){this._width=_,this._height=I;var B=k.style;B.width=_+"px",B.height=I+"px";var j=this._svgDom;j.setAttribute("width",_),j.setAttribute("height",I)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",_),this._backgroundNode.setAttribute("height",I))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(_){var I=this._opts,k=["width","height"][_],F=["clientWidth","clientHeight"][_],B=["paddingLeft","paddingTop"][_],j=["paddingRight","paddingBottom"][_];if(I[k]!=null&&I[k]!=="auto")return parseFloat(I[k]);var z=this.root,M=document.defaultView.getComputedStyle(z);return(z[F]||o(M[k])||o(z.style[k]))-(o(M[B])||0)-(o(M[j])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var _=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+_}};function T(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}x.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){O.prototype[C]=T(C)});var S=O;R.exports=S},"3LNs":function(R,N,e){var A=e("bYtY"),f=e("Yl7c"),x=e("IwbS"),m=e("zTMp"),g=e("YH21"),p=e("iLNv"),c=e("4NO4"),s=c.makeInner,a=s(),n=A.clone,i=A.bind;function d(){}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(y,b,E,v){var w=b.get("value"),O=b.get("status");if(this._axisModel=y,this._axisPointerModel=b,this._api=E,!v&&this._lastValue===w&&this._lastStatus===O)return;this._lastValue=w,this._lastStatus=O;var T=this._group,S=this._handle;if(!O||O==="hide"){T&&T.hide(),S&&S.hide();return}T&&T.show(),S&&S.show();var C={};this.makeElOption(C,w,y,b,E);var _=C.graphicKey;_!==this._lastGraphicKey&&this.clear(E),this._lastGraphicKey=_;var I=this._moveAnimation=this.determineAnimation(y,b);if(!T)T=this._group=new x.Group,this.createPointerEl(T,C,y,b),this.createLabelEl(T,C,y,b),E.getZr().add(T);else{var k=A.curry(t,b,I);this.updatePointerEl(T,C,k,b),this.updateLabelEl(T,C,k,b)}u(T,b,!0),this._renderHandle(w)},remove:function(y){this.clear(y)},dispose:function(y){this.clear(y)},determineAnimation:function(y,b){var E=b.get("animation"),v=y.axis,w=v.type==="category",O=b.get("snap");if(!O&&!w)return!1;if(E==="auto"||E==null){var T=this.animationThreshold;if(w&&v.getBandWidth()>T)return!0;if(O){var S=m.getAxisInfo(y).seriesDataCount,C=v.getExtent();return Math.abs(C[0]-C[1])/S>T}return!1}return E===!0},makeElOption:function(y,b,E,v,w){},createPointerEl:function(y,b,E,v){var w=b.pointer;if(w){var O=a(y).pointerEl=new x[w.type](n(b.pointer));y.add(O)}},createLabelEl:function(y,b,E,v){if(b.label){var w=a(y).labelEl=new x.Rect(n(b.label));y.add(w),r(w,v)}},updatePointerEl:function(y,b,E){var v=a(y).pointerEl;v&&b.pointer&&(v.setStyle(b.pointer.style),E(v,{shape:b.pointer.shape}))},updateLabelEl:function(y,b,E,v){var w=a(y).labelEl;w&&(w.setStyle(b.label.style),E(w,{shape:b.label.shape,position:b.label.position}),r(w,v))},_renderHandle:function(y){if(this._dragging||!this.updateHandleTransform)return;var b=this._axisPointerModel,E=this._api.getZr(),v=this._handle,w=b.getModel("handle"),O=b.get("status");if(!w.get("show")||!O||O==="hide"){v&&E.remove(v),this._handle=null;return}var T;this._handle||(T=!0,v=this._handle=x.createIcon(w.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(_){g.stop(_.event)},onmousedown:i(this._onHandleDragMove,this,0,0),drift:i(this._onHandleDragMove,this),ondragend:i(this._onHandleDragEnd,this)}),E.add(v)),u(v,b,!1);var S=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];v.setStyle(w.getItemStyle(null,S));var C=w.get("size");A.isArray(C)||(C=[C,C]),v.attr("scale",[C[0]/2,C[1]/2]),p.createOrUpdate(this,"_doDispatchAxisPointer",w.get("throttle")||0,"fixRate"),this._moveHandleToValue(y,T)},_moveHandleToValue:function(y,b){t(this._axisPointerModel,!b&&this._moveAnimation,this._handle,o(this.getHandleTransform(y,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(y,b){var E=this._handle;if(!E)return;this._dragging=!0;var v=this.updateHandleTransform(o(E),[y,b],this._axisModel,this._axisPointerModel);this._payloadInfo=v,E.stopAnimation(),E.attr(o(v)),a(E).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var y=this._handle;if(!y)return;var b=this._payloadInfo,E=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:b.cursorPoint[0],y:b.cursorPoint[1],tooltipOption:b.tooltipOption,axesInfo:[{axisDim:E.axis.dim,axisIndex:E.componentIndex}]})},_onHandleDragEnd:function(y){this._dragging=!1;var b=this._handle;if(!b)return;var E=this._axisPointerModel.get("value");this._moveHandleToValue(E),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(y){this._lastValue=null,this._lastStatus=null;var b=y.getZr(),E=this._group,v=this._handle;b&&E&&(this._lastGraphicKey=null,E&&b.remove(E),v&&b.remove(v),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(y,b,E){return E=E||0,{x:y[E],y:y[1-E],width:b[E],height:b[1-E]}}},d.prototype.constructor=d;function t(y,b,E,v){l(a(E).lastProp,v)||(a(E).lastProp=v,b?x.updateProps(E,v,y):(E.stopAnimation(),E.attr(v)))}function l(y,b){if(A.isObject(y)&&A.isObject(b)){var E=!0;return A.each(b,function(v,w){E=E&&l(y[w],v)}),!!E}else return y===b}function r(y,b){y[b.get("label.show")?"show":"hide"]()}function o(y){return{position:y.position.slice(),rotation:y.rotation||0}}function u(y,b,E){var v=b.get("z"),w=b.get("zlevel");y&&y.traverse(function(O){O.type!=="group"&&(v!=null&&(O.z=v),w!=null&&(O.zlevel=w),O.silent=E)})}f.enableClassExtend(d);var h=d;R.exports=h},"3OrL":function(R,N,e){var A=e("bYtY"),f=e("6Ic6"),x=e("IwbS"),m=e("y+Vt"),g=["itemStyle"],p=["emphasis","itemStyle"],c=f.extend({type:"boxplot",render:function(t,l,r){var o=t.getData(),u=this.group,h=this._data;this._data||u.removeAll();var y=t.get("layout")==="horizontal"?1:0;o.diff(h).add(function(b){if(o.hasValue(b)){var E=o.getItemLayout(b),v=a(E,o,b,y,!0);o.setItemGraphicEl(b,v),u.add(v)}}).update(function(b,E){var v=h.getItemGraphicEl(E);if(!o.hasValue(b)){u.remove(v);return}var w=o.getItemLayout(b);v?n(w,v,o,b):v=a(w,o,b,y),u.add(v),o.setItemGraphicEl(b,v)}).remove(function(b){var E=h.getItemGraphicEl(b);E&&u.remove(E)}).execute(),this._data=o},remove:function(t){var l=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(o){o&&l.remove(o)})},dispose:A.noop}),s=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,l){var r=l.points,o=0;for(t.moveTo(r[o][0],r[o][1]),o++;o<4;o++)t.lineTo(r[o][0],r[o][1]);for(t.closePath();o<r.length;o++)t.moveTo(r[o][0],r[o][1]),o++,t.lineTo(r[o][0],r[o][1])}});function a(t,l,r,o,u){var h=t.ends,y=new s({shape:{points:u?i(h,o,t):h}});return n(t,y,l,r,u),y}function n(t,l,r,o,u){var h=r.hostModel,y=x[u?"initProps":"updateProps"];y(l,{shape:{points:t.ends}},h,o);var b=r.getItemModel(o),E=b.getModel(g),v=r.getItemVisual(o,"color"),w=E.getItemStyle(["borderColor"]);w.stroke=v,w.strokeNoScale=!0,l.useStyle(w),l.z2=100;var O=b.getModel(p).getItemStyle();x.setHoverStyle(l,O)}function i(t,l,r){return A.map(t,function(o){return o=o.slice(),o[l]=r.initBaseline,o})}var d=c;R.exports=d},"3S7+":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("J4zp"),m=e.n(x),g=e("pVnL"),p=e.n(g),c=e("q1tI"),s=e.n(c),a=e("U8pU"),n=e("VTBJ"),i=e("Ff2n"),d=e("1OyB"),t=e("vuIU"),l=e("JX7q"),r=e("Ji7U"),o=e("LK+K"),u=e("i8i4"),h=e.n(u),y=e("l4aY"),b=e("m+aA"),E=e("c+Xe"),v=e("zT1h"),w=e("QC+M"),O=e("TSYQ"),T=e.n(O);function S(Ut,Bt,dr){return dr?Ut[0]===Bt[0]:Ut[0]===Bt[0]&&Ut[1]===Bt[1]}function C(Ut,Bt,dr){var Oe=Ut[Bt]||{};return Object(n.a)(Object(n.a)({},Oe),dr)}function _(Ut,Bt,dr,Oe){for(var xe=dr.points,V=Object.keys(Ut),q=0;q<V.length;q+=1){var ue=V[q];if(S(Ut[ue].points,xe,Oe))return"".concat(Bt,"-placement-").concat(ue)}return""}var I=e("xEkU"),k=e.n(I),F=e("9mu1"),B=e("rePB"),j=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function z(Ut,Bt){var dr={};return dr[Ut.toLowerCase()]=Bt.toLowerCase(),dr["Webkit".concat(Ut)]="webkit".concat(Bt),dr["Moz".concat(Ut)]="moz".concat(Bt),dr["ms".concat(Ut)]="MS".concat(Bt),dr["O".concat(Ut)]="o".concat(Bt.toLowerCase()),dr}function M(Ut,Bt){var dr={animationend:z("Animation","AnimationEnd"),transitionend:z("Transition","TransitionEnd")};return Ut&&("AnimationEvent"in Bt||delete dr.animationend.animation,"TransitionEvent"in Bt||delete dr.transitionend.transition),dr}var U=M(j,typeof window!="undefined"?window:{}),P={};if(j){var H=document.createElement("div");P=H.style}var W={};function X(Ut){if(W[Ut])return W[Ut];var Bt=U[Ut];if(Bt)for(var dr=Object.keys(Bt),Oe=dr.length,xe=0;xe<Oe;xe+=1){var V=dr[xe];if(Object.prototype.hasOwnProperty.call(Bt,V)&&V in P)return W[Ut]=Bt[V],W[Ut]}return""}var K=X("animationend"),$=X("transitionend"),ie=!!(K&&$);function be(Ut,Bt){if(!Ut)return null;if(Object(a.a)(Ut)==="object"){var dr=Bt.replace(/-\w/g,function(Oe){return Oe[1].toUpperCase()});return Ut[dr]}return"".concat(Ut,"-").concat(Bt)}var te="none",Te="appear",Ie="enter",Fe="leave";function Qe(Ut){var Bt=Ut,dr=!!c.forwardRef;Object(a.a)(Ut)==="object"&&(Bt=Ut.transitionSupport,dr="forwardRef"in Ut?Ut.forwardRef:dr);function Oe(V){return!!(V.motionName&&Bt)}var xe=function(V){Object(r.a)(ue,V);var q=Object(o.a)(ue);function ue(){var me;return Object(d.a)(this,ue),me=q.apply(this,arguments),me.$cacheEle=null,me.node=null,me.raf=null,me.destroyed=!1,me.deadlineId=null,me.state={status:te,statusActive:!1,newStatus:!1,statusStyle:null},me.onDomUpdate=function(){var Ee=me.state,Ge=Ee.status,dt=Ee.newStatus,Kt=me.props,tr=Kt.onAppearStart,wt=Kt.onEnterStart,It=Kt.onLeaveStart,Lt=Kt.onAppearActive,Nt=Kt.onEnterActive,$e=Kt.onLeaveActive,ot=Kt.motionAppear,ft=Kt.motionEnter,ze=Kt.motionLeave;if(!Oe(me.props))return;var Ye=me.getElement();me.$cacheEle!==Ye&&(me.removeEventListener(me.$cacheEle),me.addEventListener(Ye),me.$cacheEle=Ye),dt&&Ge===Te&&ot?me.updateStatus(tr,null,null,function(){me.updateActiveStatus(Lt,Te)}):dt&&Ge===Ie&&ft?me.updateStatus(wt,null,null,function(){me.updateActiveStatus(Nt,Ie)}):dt&&Ge===Fe&&ze&&me.updateStatus(It,null,null,function(){me.updateActiveStatus($e,Fe)})},me.onMotionEnd=function(Ee){if(Ee&&!Ee.deadline&&Ee.target!==me.getElement())return;var Ge=me.state,dt=Ge.status,Kt=Ge.statusActive,tr=me.props,wt=tr.onAppearEnd,It=tr.onEnterEnd,Lt=tr.onLeaveEnd;dt===Te&&Kt?me.updateStatus(wt,{status:te},Ee):dt===Ie&&Kt?me.updateStatus(It,{status:te},Ee):dt===Fe&&Kt&&me.updateStatus(Lt,{status:te},Ee)},me.setNodeRef=function(Ee){var Ge=me.props.internalRef;me.node=Ee,Object(E.b)(Ge,Ee)},me.getElement=function(){try{return Object(b.a)(me.node||Object(l.a)(me))}catch(Ee){return me.$cacheEle}},me.addEventListener=function(Ee){if(!Ee)return;Ee.addEventListener($,me.onMotionEnd),Ee.addEventListener(K,me.onMotionEnd)},me.removeEventListener=function(Ee){if(!Ee)return;Ee.removeEventListener($,me.onMotionEnd),Ee.removeEventListener(K,me.onMotionEnd)},me.updateStatus=function(Ee,Ge,dt,Kt){var tr=Ee?Ee(me.getElement(),dt):null;if(tr===!1||me.destroyed)return;var wt;Kt&&(wt=function(){me.nextFrame(Kt)}),me.setState(Object(n.a)({statusStyle:Object(a.a)(tr)==="object"?tr:null,newStatus:!1},Ge),wt)},me.updateActiveStatus=function(Ee,Ge){me.nextFrame(function(){var dt=me.state.status;if(dt!==Ge)return;var Kt=me.props.motionDeadline;me.updateStatus(Ee,{statusActive:!0}),Kt>0&&(me.deadlineId=setTimeout(function(){me.onMotionEnd({deadline:!0})},Kt))})},me.nextFrame=function(Ee){me.cancelNextFrame(),me.raf=k()(Ee)},me.cancelNextFrame=function(){me.raf&&(k.a.cancel(me.raf),me.raf=null)},me}return Object(t.a)(ue,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var Ee,Ge=this.state,dt=Ge.status,Kt=Ge.statusActive,tr=Ge.statusStyle,wt=this.props,It=wt.children,Lt=wt.motionName,Nt=wt.visible,$e=wt.removeOnLeave,ot=wt.leavedClassName,ft=wt.eventProps;return It?dt===te||!Oe(this.props)?Nt?It(Object(n.a)({},ft),this.setNodeRef):$e?null:It(Object(n.a)(Object(n.a)({},ft),{},{className:ot}),this.setNodeRef):It(Object(n.a)(Object(n.a)({},ft),{},{className:T()(be(Lt,dt),(Ee={},Object(B.a)(Ee,be(Lt,"".concat(dt,"-active")),Kt),Object(B.a)(Ee,Lt,typeof Lt=="string"),Ee)),style:tr}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(Ee,Ge){var dt=Ge.prevProps,Kt=Ge.status;if(!Oe(Ee))return{};var tr=Ee.visible,wt=Ee.motionAppear,It=Ee.motionEnter,Lt=Ee.motionLeave,Nt=Ee.motionLeaveImmediately,$e={prevProps:Ee};return(Kt===Te&&!wt||Kt===Ie&&!It||Kt===Fe&&!Lt)&&($e.status=te,$e.statusActive=!1,$e.newStatus=!1),!dt&&tr&&wt&&($e.status=Te,$e.statusActive=!1,$e.newStatus=!0),dt&&!dt.visible&&tr&&It&&($e.status=Ie,$e.statusActive=!1,$e.newStatus=!0),(dt&&dt.visible&&!tr&&Lt||!dt&&Nt&&!tr&&Lt)&&($e.status=Fe,$e.statusActive=!1,$e.newStatus=!0),$e}}]),ue}(c.Component);return xe.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},dr?c.forwardRef(function(V,q){return c.createElement(xe,Object.assign({internalRef:q},V))}):xe}var fe=Qe(ie),He="add",se="keep",Ce="remove",mt="removed";function Ne(Ut){var Bt;return Ut&&Object(a.a)(Ut)==="object"&&"key"in Ut?Bt=Ut:Bt={key:Ut},Object(n.a)(Object(n.a)({},Bt),{},{key:String(Bt.key)})}function ae(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ut.map(Ne)}function ce(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dr=[],Oe=0,xe=Bt.length,V=ae(Ut),q=ae(Bt);V.forEach(function(Ee){for(var Ge=!1,dt=Oe;dt<xe;dt+=1){var Kt=q[dt];if(Kt.key===Ee.key){Oe<dt&&(dr=dr.concat(q.slice(Oe,dt).map(function(tr){return Object(n.a)(Object(n.a)({},tr),{},{status:He})})),Oe=dt),dr.push(Object(n.a)(Object(n.a)({},Kt),{},{status:se})),Oe+=1,Ge=!0;break}}Ge||dr.push(Object(n.a)(Object(n.a)({},Ee),{},{status:Ce}))}),Oe<xe&&(dr=dr.concat(q.slice(Oe).map(function(Ee){return Object(n.a)(Object(n.a)({},Ee),{},{status:He})})));var ue={};dr.forEach(function(Ee){var Ge=Ee.key;ue[Ge]=(ue[Ge]||0)+1});var me=Object.keys(ue).filter(function(Ee){return ue[Ee]>1});return me.forEach(function(Ee){dr=dr.filter(function(Ge){var dt=Ge.key,Kt=Ge.status;return dt!==Ee||Kt!==Ce}),dr.forEach(function(Ge){Ge.key===Ee&&(Ge.status=se)})}),dr}var le=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function je(Ut){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe,dr=function(Oe){Object(r.a)(V,Oe);var xe=Object(o.a)(V);function V(){var q;return Object(d.a)(this,V),q=xe.apply(this,arguments),q.state={keyEntities:[]},q.removeKey=function(ue){q.setState(function(me){var Ee=me.keyEntities;return{keyEntities:Ee.map(function(Ge){return Ge.key!==ue?Ge:Object(n.a)(Object(n.a)({},Ge),{},{status:mt})})}})},q}return Object(t.a)(V,[{key:"render",value:function(){var ue=this,me=this.state.keyEntities,Ee=this.props,Ge=Ee.component,dt=Ee.children,Kt=Object(i.a)(Ee,["component","children"]),tr=Ge||c.Fragment,wt={};return le.forEach(function(It){wt[It]=Kt[It],delete Kt[It]}),delete Kt.keys,c.createElement(tr,Object.assign({},Kt),me.map(function(It){var Lt=It.status,Nt=Object(i.a)(It,["status"]),$e=Lt===He||Lt===se;return c.createElement(Bt,Object.assign({},wt,{key:Nt.key,visible:$e,eventProps:Nt,onLeaveEnd:function(){wt.onLeaveEnd&&wt.onLeaveEnd.apply(wt,arguments),ue.removeKey(Nt.key)}}),dt)}))}}],[{key:"getDerivedStateFromProps",value:function(ue,me){var Ee=ue.keys,Ge=me.keyEntities,dt=ae(Ee);if(!Ut)return{keyEntities:dt.map(function(wt){return Object(n.a)(Object(n.a)({},wt),{},{status:se})})};var Kt=ce(Ge,dt),tr=Ge.length;return{keyEntities:Kt.filter(function(wt){for(var It=null,Lt=0;Lt<tr;Lt+=1){var Nt=Ge[Lt];if(Nt.key===wt.key){It=Nt;break}}return!(It&&It.status===mt&&wt.status===Ce)})}}}]),V}(c.Component);return dr.defaultProps={component:"div"},dr}var Re=je(ie),Ze=fe,De=function(Bt,dr){var Oe=Bt.prefixCls,xe=Bt.className,V=Bt.style,q=Bt.children,ue=Bt.onMouseEnter,me=Bt.onMouseLeave,Ee=Bt.onMouseDown,Ge=Bt.onTouchStart,dt=q;return c.Children.count(q)>1&&(dt=c.createElement("div",{className:"".concat(Oe,"-content")},q)),c.createElement("div",{ref:dr,className:xe,onMouseEnter:ue,onMouseLeave:me,onMouseDown:Ee,onTouchStart:Ge,style:V},dt)},ne=c.forwardRef(De);ne.displayName="PopupInner";var he=ne;function pe(Ut){var Bt=Ut.prefixCls,dr=Ut.motion,Oe=Ut.animation,xe=Ut.transitionName;return dr||(Oe?{motionName:"".concat(Bt,"-").concat(Oe)}:xe?{motionName:xe}:null)}function Xe(Ut){return Ut&&Ut.motionName}var lt=function(Ut){Object(r.a)(dr,Ut);var Bt=Object(o.a)(dr);function dr(){var Oe;return Object(d.a)(this,dr),Oe=Bt.apply(this,arguments),Oe.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Oe.popupRef=s.a.createRef(),Oe.alignRef=s.a.createRef(),Oe.nextFrameState=null,Oe.nextFrameId=null,Oe.onAlign=function(xe,V){var q=Oe.state.status,ue=Oe.props,me=ue.getClassNameFromAlign,Ee=ue.onAlign,Ge=me(V);q==="align"?Oe.setState({alignClassName:Ge,status:"aligned"},function(){Oe.alignRef.current.forceAlign()}):q==="aligned"?(Oe.setState({alignClassName:Ge,status:"afterAlign"}),Ee(xe,V)):Oe.setState({alignClassName:Ge})},Oe.onMotionEnd=function(){var xe=Oe.props.visible;Oe.setState({status:xe?"AfterMotion":"stable",inMotion:!1})},Oe.setStateOnNextFrame=function(xe){Oe.cancelFrameState(),Oe.nextFrameState=Object(n.a)(Object(n.a)({},Oe.nextFrameState),xe),Oe.nextFrameId=k()(function(){var V=Object(n.a)({},Oe.nextFrameState);Oe.nextFrameState=null,Oe.setState(V)})},Oe.getMotion=function(){return Object(n.a)({},pe(Oe.props))},Oe.getAlignTarget=function(){var xe=Oe.props,V=xe.point,q=xe.getRootDomNode;return V||q},Oe.cancelFrameState=function(){k.a.cancel(Oe.nextFrameId)},Oe.renderPopupElement=function(){var xe=Oe.state,V=xe.status,q=xe.targetHeight,ue=xe.targetWidth,me=xe.alignClassName,Ee=Oe.props,Ge=Ee.prefixCls,dt=Ee.className,Kt=Ee.style,tr=Ee.stretch,wt=Ee.visible,It=Ee.align,Lt=Ee.destroyPopupOnHide,Nt=Ee.onMouseEnter,$e=Ee.onMouseLeave,ot=Ee.onMouseDown,ft=Ee.onTouchStart,ze=Ee.children,Ye=T()(Ge,dt,me),qe="".concat(Ge,"-hidden"),rt={};tr&&(tr.indexOf("height")!==-1?rt.height=q:tr.indexOf("minHeight")!==-1&&(rt.minHeight=q),tr.indexOf("width")!==-1?rt.width=ue:tr.indexOf("minWidth")!==-1&&(rt.minWidth=ue));var ct=Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)({},rt),Oe.getZIndexStyle()),Kt),{},{opacity:V==="stable"||!wt?void 0:0,pointerEvents:V==="stable"||!wt?void 0:"none"}),st=Oe.getMotion(),et=wt;wt&&V!=="beforeMotion"&&V!=="motion"&&V!=="stable"&&(st.motionAppear=!1,st.motionEnter=!1,st.motionLeave=!1),(V==="afterAlign"||V==="beforeMotion")&&(et=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ir){var Xt=st==null?void 0:st[ir];st[ir]=function(){for(var _r=arguments.length,Br=new Array(_r),Gr=0;Gr<_r;Gr++)Br[Gr]=arguments[Gr];Xt==null||Xt.apply(void 0,Br),Oe.setState({inMotion:!0})}});var Ft=!wt||V!=="align"&&V!=="aligned"&&V!=="stable",Ct=!0;return V==="stable"&&(Ct=wt),Lt&&!Ct?null:s.a.createElement(Ze,Object.assign({visible:et},st,{removeOnLeave:!1,onEnterEnd:Oe.onMotionEnd,onLeaveEnd:Oe.onMotionEnd,leavedClassName:qe}),function(ir,Xt){var _r=ir.style,Br=ir.className;return s.a.createElement(F.a,{target:Oe.getAlignTarget(),key:"popup",ref:Oe.alignRef,monitorWindowResize:!0,disabled:Ft,align:It,onAlign:Oe.onAlign},s.a.createElement(he,{prefixCls:Ge,className:T()(Ye,Br),ref:Object(E.a)(Xt,Oe.popupRef),onMouseEnter:Nt,onMouseLeave:$e,onMouseDown:ot,onTouchStart:ft,style:Object(n.a)(Object(n.a)({},ct),_r)},ze))})},Oe.renderMaskElement=function(){var xe=Oe.props,V=xe.mask,q=xe.maskMotion,ue=xe.maskTransitionName,me=xe.maskAnimation,Ee=xe.prefixCls,Ge=xe.visible;if(!V)return null;var dt={};return q&&q.motionName&&(dt=Object(n.a)({motionAppear:!0},pe({motion:q,prefixCls:Ee,transitionName:ue,animation:me}))),s.a.createElement(Ze,Object.assign({},dt,{visible:Ge,removeOnLeave:!0}),function(Kt){var tr=Kt.className;return s.a.createElement("div",{style:Oe.getZIndexStyle(),key:"mask",className:T()("".concat(Ee,"-mask"),tr)})})},Oe}return Object(t.a)(dr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var xe=this.state.status,V=this.props,q=V.getRootDomNode,ue=V.visible,me=V.stretch;if(this.cancelFrameState(),ue&&xe!=="stable")switch(xe){case null:{this.setStateOnNextFrame({status:me?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:Xe(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var Ee=["measure","align",null,"beforeMotion","motion"],Ge=Ee.indexOf(xe),dt=Ee[Ge+1];Ge!==-1&&dt&&this.setStateOnNextFrame({status:dt})}}if(xe==="measure"){var Kt=q();Kt&&this.setStateOnNextFrame({targetHeight:Kt.offsetHeight,targetWidth:Kt.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var xe=this.props.zIndex;return{zIndex:xe}}},{key:"render",value:function(){return s.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(xe,V){var q=xe.visible,ue=Object(i.a)(xe,["visible"]),me=V.prevVisible,Ee=V.status,Ge=V.inMotion,dt={prevVisible:q,status:Ee},Kt=pe(ue);return me===null&&q===!1?(dt.status="stable",dt.inMotion=!1):q!==me&&(dt.inMotion=!1,q||Xe(Kt)&&Ge?dt.status=null:dt.status="stable",q&&(dt.alignClassName=null)),dt}}]),dr}(c.Component),At=lt,Me=c.createContext(null),Ht=Me;function tt(){}function Mt(){return""}function jt(){return window.document}var kt=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Tt(Ut){var Bt=function(dr){Object(r.a)(xe,dr);var Oe=Object(o.a)(xe);function xe(V){var q;Object(d.a)(this,xe),q=Oe.call(this,V),q.popupRef=s.a.createRef(),q.triggerRef=s.a.createRef(),q.onMouseEnter=function(me){var Ee=q.props.mouseEnterDelay;q.fireEvents("onMouseEnter",me),q.delaySetPopupVisible(!0,Ee,Ee?null:me)},q.onMouseMove=function(me){q.fireEvents("onMouseMove",me),q.setPoint(me)},q.onMouseLeave=function(me){q.fireEvents("onMouseLeave",me),q.delaySetPopupVisible(!1,q.props.mouseLeaveDelay)},q.onPopupMouseEnter=function(){q.clearDelayTimer()},q.onPopupMouseLeave=function(me){if(me.relatedTarget&&!me.relatedTarget.setTimeout&&q.popupRef.current&&q.popupRef.current.popupRef.current&&Object(y.a)(q.popupRef.current.popupRef.current,me.relatedTarget))return;q.delaySetPopupVisible(!1,q.props.mouseLeaveDelay)},q.onFocus=function(me){q.fireEvents("onFocus",me),q.clearDelayTimer(),q.isFocusToShow()&&(q.focusTime=Date.now(),q.delaySetPopupVisible(!0,q.props.focusDelay))},q.onMouseDown=function(me){q.fireEvents("onMouseDown",me),q.preClickTime=Date.now()},q.onTouchStart=function(me){q.fireEvents("onTouchStart",me),q.preTouchTime=Date.now()},q.onBlur=function(me){q.fireEvents("onBlur",me),q.clearDelayTimer(),q.isBlurToHide()&&q.delaySetPopupVisible(!1,q.props.blurDelay)},q.onContextMenu=function(me){me.preventDefault(),q.fireEvents("onContextMenu",me),q.setPopupVisible(!0,me)},q.onContextMenuClose=function(){q.isContextMenuToShow()&&q.close()},q.onClick=function(me){if(q.fireEvents("onClick",me),q.focusTime){var Ee;if(q.preClickTime&&q.preTouchTime?Ee=Math.min(q.preClickTime,q.preTouchTime):q.preClickTime?Ee=q.preClickTime:q.preTouchTime&&(Ee=q.preTouchTime),Math.abs(Ee-q.focusTime)<20)return;q.focusTime=0}q.preClickTime=0,q.preTouchTime=0,q.isClickToShow()&&(q.isClickToHide()||q.isBlurToHide())&&me&&me.preventDefault&&me.preventDefault();var Ge=!q.state.popupVisible;(q.isClickToHide()&&!Ge||Ge&&q.isClickToShow())&&q.setPopupVisible(!q.state.popupVisible,me)},q.onPopupMouseDown=function(){if(q.hasPopupMouseDown=!0,clearTimeout(q.mouseDownTimeout),q.mouseDownTimeout=window.setTimeout(function(){q.hasPopupMouseDown=!1},0),q.context){var me;(me=q.context).onPopupMouseDown.apply(me,arguments)}},q.onDocumentClick=function(me){if(q.props.mask&&!q.props.maskClosable)return;var Ee=me.target,Ge=q.getRootDomNode(),dt=q.getPopupDomNode();!Object(y.a)(Ge,Ee)&&!Object(y.a)(dt,Ee)&&!q.hasPopupMouseDown&&q.close()},q.getRootDomNode=function(){var me=q.props.getTriggerDOMNode;if(me)return me(q.triggerRef.current);try{var Ee=Object(b.a)(q.triggerRef.current);if(Ee)return Ee}catch(Ge){}return h.a.findDOMNode(Object(l.a)(q))},q.getPopupClassNameFromAlign=function(me){var Ee=[],Ge=q.props,dt=Ge.popupPlacement,Kt=Ge.builtinPlacements,tr=Ge.prefixCls,wt=Ge.alignPoint,It=Ge.getPopupClassNameFromAlign;return dt&&Kt&&Ee.push(_(Kt,tr,me,wt)),It&&Ee.push(It(me)),Ee.join(" ")},q.getComponent=function(){var me=q.props,Ee=me.prefixCls,Ge=me.destroyPopupOnHide,dt=me.popupClassName,Kt=me.onPopupAlign,tr=me.popupMotion,wt=me.popupAnimation,It=me.popupTransitionName,Lt=me.popupStyle,Nt=me.mask,$e=me.maskAnimation,ot=me.maskTransitionName,ft=me.maskMotion,ze=me.zIndex,Ye=me.popup,qe=me.stretch,rt=me.alignPoint,ct=q.state,st=ct.popupVisible,et=ct.point,Ft=q.getPopupAlign(),Ct={};return q.isMouseEnterToShow()&&(Ct.onMouseEnter=q.onPopupMouseEnter),q.isMouseLeaveToHide()&&(Ct.onMouseLeave=q.onPopupMouseLeave),Ct.onMouseDown=q.onPopupMouseDown,Ct.onTouchStart=q.onPopupMouseDown,s.a.createElement(At,Object.assign({prefixCls:Ee,destroyPopupOnHide:Ge,visible:st,point:rt&&et,className:dt,align:Ft,onAlign:Kt,animation:wt,getClassNameFromAlign:q.getPopupClassNameFromAlign},Ct,{stretch:qe,getRootDomNode:q.getRootDomNode,style:Lt,mask:Nt,zIndex:ze,transitionName:It,maskAnimation:$e,maskTransitionName:ot,maskMotion:ft,ref:q.popupRef,motion:tr}),typeof Ye=="function"?Ye():Ye)},q.getContainer=function(){var me=Object(l.a)(q),Ee=me.props,Ge=document.createElement("div");Ge.style.position="absolute",Ge.style.top="0",Ge.style.left="0",Ge.style.width="100%";var dt=Ee.getPopupContainer?Ee.getPopupContainer(q.getRootDomNode()):Ee.getDocument().body;return dt.appendChild(Ge),Ge},q.setPoint=function(me){var Ee=q.props.alignPoint;if(!Ee||!me)return;q.setState({point:{pageX:me.pageX,pageY:me.pageY}})},q.handlePortalUpdate=function(){q.state.prevPopupVisible!==q.state.popupVisible&&q.props.afterPopupVisibleChange(q.state.popupVisible)};var ue;return"popupVisible"in V?ue=!!V.popupVisible:ue=!!V.defaultPopupVisible,q.state={prevPopupVisible:ue,popupVisible:ue},kt.forEach(function(me){q["fire".concat(me)]=function(Ee){q.fireEvents(me,Ee)}}),q}return Object(t.a)(xe,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var q=this.props,ue=this.state;if(ue.popupVisible){var me;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(me=q.getDocument(),this.clickOutsideHandler=Object(v.a)(me,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(me=me||q.getDocument(),this.touchOutsideHandler=Object(v.a)(me,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(me=me||q.getDocument(),this.contextMenuOutsideHandler1=Object(v.a)(me,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(v.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var q=this.props,ue=q.popupPlacement,me=q.popupAlign,Ee=q.builtinPlacements;return ue&&Ee?C(Ee,ue,me):me}},{key:"setPopupVisible",value:function(q,ue){var me=this.props.alignPoint,Ee=this.state.popupVisible;this.clearDelayTimer(),Ee!==q&&("popupVisible"in this.props||this.setState({popupVisible:q,prevPopupVisible:Ee}),this.props.onPopupVisibleChange(q)),me&&ue&&this.setPoint(ue)}},{key:"delaySetPopupVisible",value:function(q,ue,me){var Ee=this,Ge=ue*1e3;if(this.clearDelayTimer(),Ge){var dt=me?{pageX:me.pageX,pageY:me.pageY}:null;this.delayTimer=window.setTimeout(function(){Ee.setPopupVisible(q,dt),Ee.clearDelayTimer()},Ge)}else this.setPopupVisible(q,me)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(q){var ue=this.props.children.props,me=this.props;return ue[q]&&me[q]?this["fire".concat(q)]:ue[q]||me[q]}},{key:"isClickToShow",value:function(){var q=this.props,ue=q.action,me=q.showAction;return ue.indexOf("click")!==-1||me.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var q=this.props,ue=q.action,me=q.showAction;return ue.indexOf("contextMenu")!==-1||me.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var q=this.props,ue=q.action,me=q.hideAction;return ue.indexOf("click")!==-1||me.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var q=this.props,ue=q.action,me=q.showAction;return ue.indexOf("hover")!==-1||me.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var q=this.props,ue=q.action,me=q.hideAction;return ue.indexOf("hover")!==-1||me.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var q=this.props,ue=q.action,me=q.showAction;return ue.indexOf("focus")!==-1||me.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var q=this.props,ue=q.action,me=q.hideAction;return ue.indexOf("focus")!==-1||me.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(q,ue){var me=this.props.children.props[q];me&&me(ue);var Ee=this.props[q];Ee&&Ee(ue)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var q=this.state.popupVisible,ue=this.props,me=ue.children,Ee=ue.forceRender,Ge=ue.alignPoint,dt=ue.className,Kt=ue.autoDestroy,tr=s.a.Children.only(me),wt={key:"trigger"};this.isContextMenuToShow()?wt.onContextMenu=this.onContextMenu:wt.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(wt.onClick=this.onClick,wt.onMouseDown=this.onMouseDown,wt.onTouchStart=this.onTouchStart):(wt.onClick=this.createTwoChains("onClick"),wt.onMouseDown=this.createTwoChains("onMouseDown"),wt.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(wt.onMouseEnter=this.onMouseEnter,Ge&&(wt.onMouseMove=this.onMouseMove)):wt.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?wt.onMouseLeave=this.onMouseLeave:wt.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(wt.onFocus=this.onFocus,wt.onBlur=this.onBlur):(wt.onFocus=this.createTwoChains("onFocus"),wt.onBlur=this.createTwoChains("onBlur"));var It=T()(tr&&tr.props&&tr.props.className,dt);It&&(wt.className=It);var Lt=Object(n.a)({},wt);Object(E.c)(tr)&&(Lt.ref=Object(E.a)(this.triggerRef,tr.ref));var Nt=s.a.cloneElement(tr,Lt),$e;return(q||this.popupRef.current||Ee)&&($e=s.a.createElement(Ut,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!q&&Kt&&($e=null),s.a.createElement(Ht.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},Nt,$e)}}],[{key:"getDerivedStateFromProps",value:function(q,ue){var me=q.popupVisible,Ee={};return me!==void 0&&ue.popupVisible!==me&&(Ee.popupVisible=me,Ee.prevPopupVisible=ue.popupVisible),Ee}}]),xe}(s.a.Component);return Bt.contextType=Ht,Bt.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Mt,getDocument:jt,onPopupVisibleChange:tt,afterPopupVisibleChange:tt,onPopupAlign:tt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Bt}var Dt=Tt(w.a),Ue={adjustX:1,adjustY:1},G=[0,0],Y={left:{points:["cr","cl"],overflow:Ue,offset:[-4,0],targetOffset:G},right:{points:["cl","cr"],overflow:Ue,offset:[4,0],targetOffset:G},top:{points:["bc","tc"],overflow:Ue,offset:[0,-4],targetOffset:G},bottom:{points:["tc","bc"],overflow:Ue,offset:[0,4],targetOffset:G},topLeft:{points:["bl","tl"],overflow:Ue,offset:[0,-4],targetOffset:G},leftTop:{points:["tr","tl"],overflow:Ue,offset:[-4,0],targetOffset:G},topRight:{points:["br","tr"],overflow:Ue,offset:[0,-4],targetOffset:G},rightTop:{points:["tl","tr"],overflow:Ue,offset:[4,0],targetOffset:G},bottomRight:{points:["tr","br"],overflow:Ue,offset:[0,4],targetOffset:G},rightBottom:{points:["bl","br"],overflow:Ue,offset:[4,0],targetOffset:G},bottomLeft:{points:["tl","bl"],overflow:Ue,offset:[0,4],targetOffset:G},leftBottom:{points:["br","bl"],overflow:Ue,offset:[-4,0],targetOffset:G}},Pe=Y,Be=function(Bt){var dr=Bt.overlay,Oe=Bt.prefixCls,xe=Bt.id,V=Bt.overlayInnerStyle;return c.createElement("div",{className:"".concat(Oe,"-inner"),id:xe,role:"tooltip",style:V},typeof dr=="function"?dr():dr)},J=Be,St=function(Bt,dr){var Oe=Bt.overlayClassName,xe=Bt.trigger,V=xe===void 0?["hover"]:xe,q=Bt.mouseEnterDelay,ue=q===void 0?0:q,me=Bt.mouseLeaveDelay,Ee=me===void 0?.1:me,Ge=Bt.overlayStyle,dt=Bt.prefixCls,Kt=dt===void 0?"rc-tooltip":dt,tr=Bt.children,wt=Bt.onVisibleChange,It=Bt.afterVisibleChange,Lt=Bt.transitionName,Nt=Bt.animation,$e=Bt.placement,ot=$e===void 0?"right":$e,ft=Bt.align,ze=ft===void 0?{}:ft,Ye=Bt.destroyTooltipOnHide,qe=Ye===void 0?!1:Ye,rt=Bt.defaultVisible,ct=Bt.getTooltipContainer,st=Bt.overlayInnerStyle,et=Object(i.a)(Bt,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ft=Object(c.useRef)(null);Object(c.useImperativeHandle)(dr,function(){return Ft.current});var Ct=Object(n.a)({},et);"visible"in Bt&&(Ct.popupVisible=Bt.visible);var ir=function(){var un=Bt.arrowContent,mn=un===void 0?null:un,_n=Bt.overlay,qr=Bt.id;return[c.createElement("div",{className:"".concat(Kt,"-arrow"),key:"arrow"},mn),c.createElement(J,{key:"content",prefixCls:Kt,id:qr,overlay:_n,overlayInnerStyle:st})]},Xt=!1,_r=!1;if(typeof qe=="boolean")Xt=qe;else if(qe&&Object(a.a)(qe)==="object"){var Br=qe.keepParent;Xt=Br===!0,_r=Br===!1}return c.createElement(Dt,Object.assign({popupClassName:Oe,prefixCls:Kt,popup:ir,action:V,builtinPlacements:Y,popupPlacement:ot,ref:Ft,popupAlign:ze,getPopupContainer:ct,onPopupVisibleChange:wt,afterPopupVisibleChange:It,popupTransitionName:Lt,popupAnimation:Nt,defaultPopupVisible:rt,destroyPopupOnHide:Xt,autoDestroy:_r,mouseLeaveDelay:Ee,popupStyle:Ge,mouseEnterDelay:ue},Ct),tr)},bt=Object(c.forwardRef)(St),nt=bt,Rt={adjustX:1,adjustY:1},zt={adjustX:0,adjustY:0},Fr=[0,0];function Jt(Ut){return typeof Ut=="boolean"?Ut?Rt:zt:p()(p()({},zt),Ut)}function ge(Ut){var Bt=Ut.arrowWidth,dr=Bt===void 0?5:Bt,Oe=Ut.horizontalArrowShift,xe=Oe===void 0?16:Oe,V=Ut.verticalArrowShift,q=V===void 0?8:V,ue=Ut.autoAdjustOverflow,me={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:[-(xe+dr),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(q+dr)]},topRight:{points:["br","tc"],offset:[xe+dr,-4]},rightTop:{points:["tl","cr"],offset:[4,-(q+dr)]},bottomRight:{points:["tr","bc"],offset:[xe+dr,4]},rightBottom:{points:["bl","cr"],offset:[4,q+dr]},bottomLeft:{points:["tl","bc"],offset:[-(xe+dr),4]},leftBottom:{points:["br","cl"],offset:[-4,q+dr]}};return Object.keys(me).forEach(function(Ee){me[Ee]=Ut.arrowPointAtCenter?p()(p()({},me[Ee]),{overflow:Jt(ue),targetOffset:Fr}):p()(p()({},Y[Ee]),{overflow:Jt(ue)}),me[Ee].ignoreShake=!0}),me}var ye=e("0n0R"),Le=e("H84U"),we=e("09Wf"),Ke=function(Bt,dr){var Oe={},xe=p()({},Bt);return dr.forEach(function(V){Bt&&V in Bt&&(Oe[V]=Bt[V],delete xe[V])}),{picked:Oe,omitted:xe}},Je=new RegExp("^(".concat(we.a.join("|"),")(-inverse)?$"));function ut(Ut,Bt){var dr=Ut.type;if((dr.__ANT_BUTTON===!0||dr.__ANT_SWITCH===!0||dr.__ANT_CHECKBOX===!0||Ut.type==="button")&&Ut.props.disabled){var Oe=Ke(Ut.props.style,["position","left","right","top","bottom","float","display","zIndex"]),xe=Oe.picked,V=Oe.omitted,q=p()(p()({display:"inline-block"},xe),{cursor:"not-allowed",width:Ut.props.block?"100%":null}),ue=p()(p()({},V),{pointerEvents:"none"}),me=Object(ye.a)(Ut,{style:ue,className:null});return c.createElement("span",{style:q,className:T()(Ut.props.className,"".concat(Bt,"-disabled-compatible-wrapper"))},me)}return Ut}var vt=c.forwardRef(function(Ut,Bt){var dr,Oe=c.useContext(Le.b),xe=Oe.getPopupContainer,V=Oe.getPrefixCls,q=Oe.direction,ue=c.useState(!!Ut.visible||!!Ut.defaultVisible),me=m()(ue,2),Ee=me[0],Ge=me[1];c.useEffect(function(){"visible"in Ut&&Ge(Ut.visible)},[Ut.visible]);var dt=function(){var Br=Ut.title,Gr=Ut.overlay;return!Br&&!Gr&&Br!==0},Kt=function(Br){"visible"in Ut||Ge(dt()?!1:Br),Ut.onVisibleChange&&!dt()&&Ut.onVisibleChange(Br)},tr=function(){var Br=Ut.builtinPlacements,Gr=Ut.arrowPointAtCenter,un=Ut.autoAdjustOverflow;return Br||ge({arrowPointAtCenter:Gr,autoAdjustOverflow:un})},wt=function(Br,Gr){var un=tr(),mn=Object.keys(un).filter(function(yn){return un[yn].points[0]===Gr.points[0]&&un[yn].points[1]===Gr.points[1]})[0];if(!mn)return;var _n=Br.getBoundingClientRect(),qr={top:"50%",left:"50%"};mn.indexOf("top")>=0||mn.indexOf("Bottom")>=0?qr.top="".concat(_n.height-Gr.offset[1],"px"):(mn.indexOf("Top")>=0||mn.indexOf("bottom")>=0)&&(qr.top="".concat(-Gr.offset[1],"px")),mn.indexOf("left")>=0||mn.indexOf("Right")>=0?qr.left="".concat(_n.width-Gr.offset[0],"px"):(mn.indexOf("right")>=0||mn.indexOf("Left")>=0)&&(qr.left="".concat(-Gr.offset[0],"px")),Br.style.transformOrigin="".concat(qr.left," ").concat(qr.top)},It=function(){var Br=Ut.title,Gr=Ut.overlay;return Br===0?Br:Gr||Br||""},Lt=Ut.prefixCls,Nt=Ut.openClassName,$e=Ut.getPopupContainer,ot=Ut.getTooltipContainer,ft=Ut.overlayClassName,ze=Ut.color,Ye=Ut.overlayInnerStyle,qe=Ut.children,rt=V("tooltip",Lt),ct=Ee;!("visible"in Ut)&&dt()&&(ct=!1);var st=ut(Object(ye.b)(qe)?qe:c.createElement("span",null,qe),rt),et=st.props,Ft=T()(et.className,f()({},Nt||"".concat(rt,"-open"),!0)),Ct=T()(ft,(dr={},f()(dr,"".concat(rt,"-rtl"),q==="rtl"),f()(dr,"".concat(rt,"-").concat(ze),ze&&Je.test(ze)),dr)),ir,Xt;return ze&&!Je.test(ze)&&(ir=p()(p()({},Ye),{background:ze}),Xt={background:ze}),c.createElement(nt,p()({},Ut,{prefixCls:rt,overlayClassName:Ct,getTooltipContainer:$e||ot||xe,ref:Bt,builtinPlacements:tr(),overlay:It(),visible:ct,onVisibleChange:Kt,onPopupAlign:wt,overlayInnerStyle:ir,arrowContent:c.createElement("span",{className:"".concat(rt,"-arrow-content"),style:Xt})}),ct?Object(ye.a)(st,{className:Ft}):st)});vt.displayName="Tooltip",vt.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var _t=N.a=vt},"3TkU":function(R,N,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(R,N,e){var A=e("bYtY"),f=e("7a+S"),x=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:[]}});A.mixin(m,x);var g=m;R.exports=g},"3e3G":function(R,N,e){var A=e("bYtY"),f=e("QuXc"),x=function(p,c,s,a,n){this.x=p==null?.5:p,this.y=c==null?.5:c,this.r=s==null?.5:s,this.type="radial",this.global=n||!1,f.call(this,a)};x.prototype={constructor:x},A.inherits(x,f);var m=x;R.exports=m},"3gBT":function(R,N){var e=2311;function A(){return e++}R.exports=A},"3hzK":function(R,N){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};R.exports=e},"3m61":function(R,N){function e(f){return f instanceof Array||(f=[f,f]),f}function A(f){f.eachSeriesByType("graph",function(x){var m=x.getGraph(),g=x.getEdgeData(),p=e(x.get("edgeSymbol")),c=e(x.get("edgeSymbolSize")),s="lineStyle.color".split("."),a="lineStyle.opacity".split(".");g.setVisual("fromSymbol",p&&p[0]),g.setVisual("toSymbol",p&&p[1]),g.setVisual("fromSymbolSize",c&&c[0]),g.setVisual("toSymbolSize",c&&c[1]),g.setVisual("color",x.get(s)),g.setVisual("opacity",x.get(a)),g.each(function(n){var i=g.getItemModel(n),d=m.getEdgeByIndex(n),t=e(i.getShallow("symbol",!0)),l=e(i.getShallow("symbolSize",!0)),r=i.get(s),o=i.get(a);switch(r){case"source":r=d.node1.getVisual("color");break;case"target":r=d.node2.getVisual("color");break}t[0]&&d.setVisual("fromSymbol",t[0]),t[1]&&d.setVisual("toSymbol",t[1]),l[0]&&d.setVisual("fromSymbolSize",l[0]),l[1]&&d.setVisual("toSymbolSize",l[1]),d.setVisual("color",r),d.setVisual("opacity",o)})})}R.exports=A},"3ouR":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CloseSquareOutlined";var c=N.a=f.forwardRef(p)},"3zoK":function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("KCsZ"),m=e("nkfE"),g=e("OELB"),p=e("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return x([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(i){var d=this.activeIntervals=A.clone(i);if(d)for(var t=d.length-1;t>=0;t--)g.asc(d[t])},getActiveState:function(i){var d=this.activeIntervals;if(!d.length)return"normal";if(i==null||isNaN(i))return"inactive";if(d.length===1){var t=d[0];if(t[0]<=i&&i<=t[1])return"active"}else for(var l=0,r=d.length;l<r;l++)if(d[l][0]<=i&&i<=d[l][1])return"active";return"inactive"}}),s={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};A.merge(c.prototype,p);function a(i,d){return d.type||(d.data?"category":"value")}m("parallel",c,a,s);var n=c;R.exports=n},"4Feb":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("IwbS"),g=e("x3X8"),p=g.getDefaultLabel,c=e("MwEJ"),s=e("nVfU"),a=s.getLayoutOnAxis,n=e("gPAo"),i=e("T4UG"),d=e("Qxkt"),t=e("6Ic6"),l=e("sK/D"),r=l.createClipPath,o=e("qj72"),u=e("ANjR"),h=e("MHtr"),y=e("6usn"),b=e("Rx6q"),E=m.CACHED_LABEL_STYLE_PROPERTIES,v=["itemStyle"],w=["emphasis","itemStyle"],O=["label"],T=["emphasis","label"],S="e\0\0",C={cartesian2d:o,geo:u,singleAxis:h,polar:y,calendar:b};i.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(te,Te){return c(this.getSource(),this)},getDataParams:function(te,Te,Ie){var Fe=i.prototype.getDataParams.apply(this,arguments);return Ie&&(Fe.info=Ie.info),Fe}}),t.extend({type:"custom",_data:null,render:function(te,Te,Ie,Fe){var Qe=this._data,fe=te.getData(),He=this.group,se=F(te,fe,Te,Ie);fe.diff(Qe).add(function(mt){j(null,mt,se(mt,Fe),te,He,fe)}).update(function(mt,Ne){var ae=Qe.getItemGraphicEl(Ne);j(ae,mt,se(mt,Fe),te,He,fe)}).remove(function(mt){var Ne=Qe.getItemGraphicEl(mt);Ne&&He.remove(Ne)}).execute();var Ce=te.get("clip",!0)?r(te.coordinateSystem,!1,te):null;Ce?He.setClipPath(Ce):He.removeClipPath(),this._data=fe},incrementalPrepareRender:function(te,Te,Ie){this.group.removeAll(),this._data=null},incrementalRender:function(te,Te,Ie,Fe,Qe){var fe=Te.getData(),He=F(Te,fe,Ie,Fe);function se(Ne){Ne.isGroup||(Ne.incremental=!0,Ne.useHoverLayer=!0)}for(var Ce=te.start;Ce<te.end;Ce++){var mt=j(null,Ce,He(Ce,Qe),Te,this.group,fe);mt.traverse(se)}},dispose:x.noop,filterForExposedEvent:function(te,Te,Ie,Fe){var Qe=Te.element;if(Qe==null||Ie.name===Qe)return!0;for(;(Ie=Ie.parent)&&Ie!==this.group;)if(Ie.name===Qe)return!0;return!1}});function _(te){var Te=te.type,Ie;if(Te==="path"){var Fe=te.shape,Qe=Fe.width!=null&&Fe.height!=null?{x:Fe.x||0,y:Fe.y||0,width:Fe.width,height:Fe.height}:null,fe=$(Fe);Ie=m.makePath(fe,null,Qe,Fe.layout||"center"),Ie.__customPathData=fe}else if(Te==="image")Ie=new m.Image({}),Ie.__customImagePath=te.style.image;else if(Te==="text")Ie=new m.Text({}),Ie.__customText=te.style.text;else if(Te==="group")Ie=new m.Group;else{if(Te==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var He=m.getShapeClass(Te);Ie=new He}return Ie.__customGraphicType=Te,Ie.name=te.name,Ie}function I(te,Te,Ie,Fe,Qe,fe,He){var se={},Ce=Ie.style||{};if(Ie.shape&&(se.shape=x.clone(Ie.shape)),Ie.position&&(se.position=Ie.position.slice()),Ie.scale&&(se.scale=Ie.scale.slice()),Ie.origin&&(se.origin=Ie.origin.slice()),Ie.rotation&&(se.rotation=Ie.rotation),te.type==="image"&&Ie.style){var mt=se.style={};x.each(["x","y","width","height"],function(ce){k(ce,mt,Ce,te.style,fe)})}if(te.type==="text"&&Ie.style){var mt=se.style={};x.each(["x","y"],function(le){k(le,mt,Ce,te.style,fe)}),!Ce.hasOwnProperty("textFill")&&Ce.fill&&(Ce.textFill=Ce.fill),!Ce.hasOwnProperty("textStroke")&&Ce.stroke&&(Ce.textStroke=Ce.stroke)}if(te.type!=="group"&&(te.useStyle(Ce),fe)){te.style.opacity=0;var Ne=Ce.opacity;Ne==null&&(Ne=1),m.initProps(te,{style:{opacity:Ne}},Fe,Te)}fe?te.attr(se):m.updateProps(te,se,Fe,Te),Ie.hasOwnProperty("z2")&&te.attr("z2",Ie.z2||0),Ie.hasOwnProperty("silent")&&te.attr("silent",Ie.silent),Ie.hasOwnProperty("invisible")&&te.attr("invisible",Ie.invisible),Ie.hasOwnProperty("ignore")&&te.attr("ignore",Ie.ignore),Ie.hasOwnProperty("info")&&te.attr("info",Ie.info);var ae=Ie.styleEmphasis;m.setElementHoverStyle(te,ae),He&&m.setAsHighDownDispatcher(te,ae!==!1)}function k(te,Te,Ie,Fe,Qe){Ie[te]!=null&&!Qe&&(Te[te]=Ie[te],Ie[te]=Fe[te])}function F(te,Te,Ie,Fe){var Qe=te.get("renderItem"),fe=te.coordinateSystem,He={};fe&&(He=fe.prepareCustoms?fe.prepareCustoms():C[fe.type](fe));var se=x.defaults({getWidth:Fe.getWidth,getHeight:Fe.getHeight,getZr:Fe.getZr,getDevicePixelRatio:Fe.getDevicePixelRatio,value:Ze,style:De,styleEmphasis:ne,visual:he,barLayout:pe,currentSeriesIndices:Xe,font:lt},He.api||{}),Ce={context:{},seriesId:te.id,seriesName:te.name,seriesIndex:te.seriesIndex,coordSys:He.coordSys,dataInsideLength:Te.count(),encode:B(te.getData())},mt,Ne=!0,ae,ce,le,je;return function(At,Me){return mt=At,Ne=!0,Qe&&Qe(x.defaults({dataIndexInside:At,dataIndex:Te.getRawIndex(At),actionType:Me?Me.type:null},Ce),se)};function Re(At){At==null&&(At=mt),Ne&&(ae=Te.getItemModel(At),ce=ae.getModel(O),le=ae.getModel(T),je=Te.getItemVisual(At,"color"),Ne=!1)}function Ze(At,Me){return Me==null&&(Me=mt),Te.get(Te.getDimension(At||0),Me)}function De(At,Me){Me==null&&(Me=mt),Re(Me);var Ht=ae.getModel(v).getItemStyle();je!=null&&(Ht.fill=je);var tt=Te.getItemVisual(Me,"opacity");tt!=null&&(Ht.opacity=tt);var Mt=At?W(At,ce):ce;return m.setTextStyle(Ht,Mt,null,{autoColor:je,isRectText:!0}),Ht.text=Mt.getShallow("show")?x.retrieve2(te.getFormattedLabel(Me,"normal"),p(Te,Me)):null,At&&X(Ht,At),Ht}function ne(At,Me){Me==null&&(Me=mt),Re(Me);var Ht=ae.getModel(w).getItemStyle(),tt=At?W(At,le):le;return m.setTextStyle(Ht,tt,null,{isRectText:!0},!0),Ht.text=tt.getShallow("show")?x.retrieve3(te.getFormattedLabel(Me,"emphasis"),te.getFormattedLabel(Me,"normal"),p(Te,Me)):null,At&&X(Ht,At),Ht}function he(At,Me){return Me==null&&(Me=mt),Te.getItemVisual(Me,At)}function pe(At){if(fe.getBaseAxis){var Me=fe.getBaseAxis();return a(x.defaults({axis:Me},At),Fe)}}function Xe(){return Ie.getCurrentSeriesIndices()}function lt(At){return m.getFont(At,Ie)}}function B(te){var Te={};return x.each(te.dimensions,function(Ie,Fe){var Qe=te.getDimensionInfo(Ie);if(!Qe.isExtraCoord){var fe=Qe.coordDim,He=Te[fe]=Te[fe]||[];He[Qe.coordDimIndex]=Fe}}),Te}function j(te,Te,Ie,Fe,Qe,fe){return te=z(te,Te,Ie,Fe,Qe,fe,!0),te&&fe.setItemGraphicEl(Te,te),te}function z(te,Te,Ie,Fe,Qe,fe,He){var se=!Ie;Ie=Ie||{};var Ce=Ie.type,mt=Ie.shape,Ne=Ie.style;if(te&&(se||Ce!=null&&Ce!==te.__customGraphicType||Ce==="path"&&ie(mt)&&$(mt)!==te.__customPathData||Ce==="image"&&be(Ne,"image")&&Ne.image!==te.__customImagePath||Ce==="text"&&be(mt,"text")&&Ne.text!==te.__customText)&&(Qe.remove(te),te=null),se)return;var ae=!te;return!te&&(te=_(Ie)),I(te,Te,Ie,Fe,fe,ae,He),Ce==="group"&&M(te,Te,Ie,Fe,fe),Qe.add(te),te}function M(te,Te,Ie,Fe,Qe){var fe=Ie.children,He=fe?fe.length:0,se=Ie.$mergeChildren,Ce=se==="byName"||Ie.diffChildrenByName,mt=se===!1;if(!He&&!Ce&&!mt)return;if(Ce){U({oldChildren:te.children()||[],newChildren:fe||[],dataIndex:Te,animatableModel:Fe,group:te,data:Qe});return}mt&&te.removeAll();for(var Ne=0;Ne<He;Ne++)fe[Ne]&&z(te.childAt(Ne),Te,fe[Ne],Fe,te,Qe)}function U(te){new n(te.oldChildren,te.newChildren,P,P,te).add(H).update(H).remove(K).execute()}function P(te,Te){var Ie=te&&te.name;return Ie!=null?Ie:S+Te}function H(te,Te){var Ie=this.context,Fe=te!=null?Ie.newChildren[te]:null,Qe=Te!=null?Ie.oldChildren[Te]:null;z(Qe,Ie.dataIndex,Fe,Ie.animatableModel,Ie.group,Ie.data)}function W(te,Te){var Ie=new d({},Te);return x.each(E,function(Fe,Qe){te.hasOwnProperty(Fe)&&(Ie.option[Qe]=te[Fe])}),Ie}function X(te,Te){for(var Ie in Te)(Te.hasOwnProperty(Ie)||!E.hasOwnProperty(Ie))&&(te[Ie]=Te[Ie])}function K(te){var Te=this.context,Ie=Te.oldChildren[te];Ie&&Te.group.remove(Ie)}function $(te){return te&&(te.pathData||te.d)}function ie(te){return te&&(te.hasOwnProperty("pathData")||te.hasOwnProperty("d"))}function be(te,Te){return te&&te.hasOwnProperty(Te)}},"4HMb":function(R,N,e){var A=e("bYtY"),f=e("6GrX"),x=e("4NO4"),m=x.makeInner,g=e("aX7z"),p=g.makeLabelFormatter,c=g.getOptionCategoryInterval,s=g.shouldShowAllLabels,a=m();function n(O){return O.type==="category"?d(O):r(O)}function i(O,T){return O.type==="category"?l(O,T):{ticks:O.scale.getTicks()}}function d(O){var T=O.getLabelModel(),S=t(O,T);return!T.get("show")||O.scale.isBlank()?{labels:[],labelCategoryInterval:S.labelCategoryInterval}:S}function t(O,T){var S=o(O,"labels"),C=c(T),_=u(S,C);if(_)return _;var I,k;return A.isFunction(C)?I=w(O,C):(k=C==="auto"?y(O):C,I=v(O,k)),h(S,C,{labels:I,labelCategoryInterval:k})}function l(O,T){var S=o(O,"ticks"),C=c(T),_=u(S,C);if(_)return _;var I,k;if((!T.get("show")||O.scale.isBlank())&&(I=[]),A.isFunction(C))I=w(O,C,!0);else if(C==="auto"){var F=t(O,O.getLabelModel());k=F.labelCategoryInterval,I=A.map(F.labels,function(B){return B.tickValue})}else k=C,I=v(O,k,!0);return h(S,C,{ticks:I,tickCategoryInterval:k})}function r(O){var T=O.scale.getTicks(),S=p(O);return{labels:A.map(T,function(C,_){return{formattedLabel:S(C,_),rawLabel:O.scale.getLabel(C),tickValue:C}})}}function o(O,T){return a(O)[T]||(a(O)[T]=[])}function u(O,T){for(var S=0;S<O.length;S++)if(O[S].key===T)return O[S].value}function h(O,T,S){return O.push({key:T,value:S}),S}function y(O){var T=a(O).autoInterval;return T!=null?T:a(O).autoInterval=O.calculateCategoryInterval()}function b(O){var T=E(O),S=p(O),C=(T.axisRotate-T.labelRotate)/180*Math.PI,_=O.scale,I=_.getExtent(),k=_.count();if(I[1]-I[0]<1)return 0;var F=1;k>40&&(F=Math.max(1,Math.floor(k/40)));for(var B=I[0],j=O.dataToCoord(B+1)-O.dataToCoord(B),z=Math.abs(j*Math.cos(C)),M=Math.abs(j*Math.sin(C)),U=0,P=0;B<=I[1];B+=F){var H=0,W=0,X=f.getBoundingRect(S(B),T.font,"center","top");H=X.width*1.3,W=X.height*1.3,U=Math.max(U,H,7),P=Math.max(P,W,7)}var K=U/z,$=P/M;isNaN(K)&&(K=Infinity),isNaN($)&&($=Infinity);var ie=Math.max(0,Math.floor(Math.min(K,$))),be=a(O.model),te=O.getExtent(),Te=be.lastAutoInterval,Ie=be.lastTickCount;return Te!=null&&Ie!=null&&Math.abs(Te-ie)<=1&&Math.abs(Ie-k)<=1&&Te>ie&&be.axisExtend0===te[0]&&be.axisExtend1===te[1]?ie=Te:(be.lastTickCount=k,be.lastAutoInterval=ie,be.axisExtend0=te[0],be.axisExtend1=te[1]),ie}function E(O){var T=O.getLabelModel();return{axisRotate:O.getRotate?O.getRotate():O.isHorizontal&&!O.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function v(O,T,S){var C=p(O),_=O.scale,I=_.getExtent(),k=O.getLabelModel(),F=[],B=Math.max((T||0)+1,1),j=I[0],z=_.count();j!==0&&B>1&&z/B>2&&(j=Math.round(Math.ceil(j/B)*B));var M=s(O),U=k.get("showMinLabel")||M,P=k.get("showMaxLabel")||M;U&&j!==I[0]&&W(I[0]);for(var H=j;H<=I[1];H+=B)W(H);P&&H-B!==I[1]&&W(I[1]);function W(X){F.push(S?X:{formattedLabel:C(X),rawLabel:_.getLabel(X),tickValue:X})}return F}function w(O,T,S){var C=O.scale,_=p(O),I=[];return A.each(C.getTicks(),function(k){var F=C.getLabel(k);T(k,F)&&I.push(S?k:{formattedLabel:_(k),rawLabel:F,tickValue:k})}),I}N.createAxisLabels=n,N.createAxisTicks=i,N.calculateCategoryInterval=b},"4NO4":function(R,N,e){var A=e("bYtY"),f=e("ItGF"),x=A.each,m=A.isObject,g=A.isArray,p="series\0";function c(S){return S instanceof Array?S:S==null?[]:[S]}function s(S,C,_){if(S){S[C]=S[C]||{},S.emphasis=S.emphasis||{},S.emphasis[C]=S.emphasis[C]||{};for(var I=0,k=_.length;I<k;I++){var F=_[I];!S.emphasis[C].hasOwnProperty(F)&&S[C].hasOwnProperty(F)&&(S.emphasis[C][F]=S[C][F])}}}var a=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function n(S){return m(S)&&!g(S)&&!(S instanceof Date)?S.value:S}function i(S){return m(S)&&!(S instanceof Array)}function d(S,C){C=(C||[]).slice();var _=A.map(S||[],function(I,k){return{exist:I}});return x(C,function(I,k){if(!m(I))return;for(var F=0;F<_.length;F++)if(!_[F].option&&I.id!=null&&_[F].exist.id===I.id+""){_[F].option=I,C[k]=null;return}for(var F=0;F<_.length;F++){var B=_[F].exist;if(!_[F].option&&(B.id==null||I.id==null)&&I.name!=null&&!r(I)&&!r(B)&&B.name===I.name+""){_[F].option=I,C[k]=null;return}}}),x(C,function(I,k){if(!m(I))return;for(var F=0;F<_.length;F++){var B=_[F].exist;if(!_[F].option&&!r(B)&&I.id==null){_[F].option=I;break}}F>=_.length&&_.push({option:I})}),_}function t(S){var C=A.createHashMap();x(S,function(_,I){var k=_.exist;k&&C.set(k.id,_)}),x(S,function(_,I){var k=_.option;A.assert(!k||k.id==null||!C.get(k.id)||C.get(k.id)===_,"id duplicates: "+(k&&k.id)),k&&k.id!=null&&C.set(k.id,_),!_.keyInfo&&(_.keyInfo={})}),x(S,function(_,I){var k=_.exist,F=_.option,B=_.keyInfo;if(!m(F))return;if(B.name=F.name!=null?F.name+"":k?k.name:p+I,k)B.id=k.id;else if(F.id!=null)B.id=F.id+"";else{var j=0;do B.id="\0"+B.name+"\0"+j++;while(C.get(B.id))}C.set(B.id,_)})}function l(S){var C=S.name;return!!(C&&C.indexOf(p))}function r(S){return m(S)&&S.id&&(S.id+"").indexOf("\0_ec_\0")===0}function o(S,C){var _={},I={};return k(S||[],_),k(C||[],I,_),[F(_),F(I)];function k(B,j,z){for(var M=0,U=B.length;M<U;M++)for(var P=B[M].seriesId,H=c(B[M].dataIndex),W=z&&z[P],X=0,K=H.length;X<K;X++){var $=H[X];W&&W[$]?W[$]=null:(j[P]||(j[P]={}))[$]=1}}function F(B,j){var z=[];for(var M in B)if(B.hasOwnProperty(M)&&B[M]!=null)if(j)z.push(+M);else{var U=F(B[M],!0);U.length&&z.push({seriesId:M,dataIndex:U})}return z}}function u(S,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return A.isArray(C.dataIndex)?A.map(C.dataIndex,function(_){return S.indexOfRawIndex(_)}):S.indexOfRawIndex(C.dataIndex);if(C.name!=null)return A.isArray(C.name)?A.map(C.name,function(_){return S.indexOfName(_)}):S.indexOfName(C.name)}function h(){var S="__\0ec_inner_"+y+++"_"+Math.random().toFixed(5);return function(C){return C[S]||(C[S]={})}}var y=0;function b(S,C,_){if(A.isString(C)){var I={};I[C+"Index"]=0,C=I}var k=_&&_.defaultMainType;k&&!E(C,k+"Index")&&!E(C,k+"Id")&&!E(C,k+"Name")&&(C[k+"Index"]=0);var F={};return x(C,function(B,j){var B=C[j];if(j==="dataIndex"||j==="dataIndexInside"){F[j]=B;return}var z=j.match(/^(\w+)(Index|Id|Name)$/)||[],M=z[1],U=(z[2]||"").toLowerCase();if(!M||!U||B==null||U==="index"&&B==="none"||_&&_.includeMainTypes&&A.indexOf(_.includeMainTypes,M)<0)return;var P={mainType:M};(U!=="index"||B!=="all")&&(P[U]=B);var H=S.queryComponents(P);F[M+"Models"]=H,F[M+"Model"]=H[0]}),F}function E(S,C){return S&&S.hasOwnProperty(C)}function v(S,C,_){S.setAttribute?S.setAttribute(C,_):S[C]=_}function w(S,C){return S.getAttribute?S.getAttribute(C):S[C]}function O(S){return S==="auto"?f.domSupported?"html":"richText":S||"html"}function T(S,C){var _=A.createHashMap(),I=[];return A.each(S,function(k){var F=C(k);(_.get(F)||(I.push(F),_.set(F,[]))).push(k)}),{keys:I,buckets:_}}N.normalizeToArray=c,N.defaultEmphasis=s,N.TEXT_STYLE_OPTIONS=a,N.getDataItemValue=n,N.isDataItemOption=i,N.mappingToExists=d,N.makeIdAndName=t,N.isNameSpecified=l,N.isIdInner=r,N.compressBatches=o,N.queryDataIndex=u,N.makeInner=h,N.parseFinder=b,N.setAttribute=v,N.getAttribute=w,N.getTooltipRenderMode=O,N.groupData=T},"4NgU":function(R,N,e){var A=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 g=this._extent;return m>=g[0]&&m<=g[1]},f.prototype.normalize=function(m){var g=this._extent;return g[1]===g[0]?.5:(m-g[0])/(g[1]-g[0])},f.prototype.scale=function(m){var g=this._extent;return m*(g[1]-g[0])+g[0]},f.prototype.unionExtent=function(m){var g=this._extent;m[0]<g[0]&&(g[0]=m[0]),m[1]>g[1]&&(g[1]=m[1])},f.prototype.unionExtentFromData=function(m,g){this.unionExtent(m.getApproximateExtent(g))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,g){var p=this._extent;isNaN(m)||(p[0]=m),isNaN(g)||(p[1]=g)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(m){this._isBlank=m},f.prototype.getLabel=null,A.enableClassExtend(f),A.enableClassManagement(f,{registerWhenExtend:!0});var x=f;R.exports=x},"4fz+":function(R,N,e){var A=e("bYtY"),f=e("1bdT"),x=e("mFDi"),m=function(c){c=c||{},f.call(this,c);for(var s in c)c.hasOwnProperty(s)&&(this[s]=c[s]);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 s=this._children,a=0;a<s.length;a++)if(s[a].name===c)return s[a]},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,s){if(c&&c!==this&&c.parent!==this&&s&&s.parent===this){var a=this._children,n=a.indexOf(s);n>=0&&(a.splice(n,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var s=this.__storage,a=this.__zr;s&&s!==c.__storage&&(s.addToStorage(c),c instanceof m&&c.addChildrenToStorage(s)),a&&a.refresh()},remove:function(c){var s=this.__zr,a=this.__storage,n=this._children,i=A.indexOf(n,c);return i<0?this:(n.splice(i,1),c.parent=null,a&&(a.delFromStorage(c),c instanceof m&&c.delChildrenFromStorage(a)),s&&s.refresh(),this)},removeAll:function(){var c=this._children,s=this.__storage,a,n;for(n=0;n<c.length;n++)a=c[n],s&&(s.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(s)),a.parent=null;return c.length=0,this},eachChild:function(c,s){for(var a=this._children,n=0;n<a.length;n++){var i=a[n];c.call(s,i,n)}return this},traverse:function(c,s){for(var a=0;a<this._children.length;a++){var n=this._children[a];c.call(s,n),n.type==="group"&&n.traverse(c,s)}return this},addChildrenToStorage:function(c){for(var s=0;s<this._children.length;s++){var a=this._children[s];c.addToStorage(a),a instanceof m&&a.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var s=0;s<this._children.length;s++){var a=this._children[s];c.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var s=null,a=new x(0,0,0,0),n=c||this._children,i=[],d=0;d<n.length;d++){var t=n[d];if(t.ignore||t.invisible)continue;var l=t.getBoundingRect(),r=t.getLocalTransform(i);r?(a.copy(l),a.applyTransform(r),s=s||a.clone(),s.union(a)):(s=s||l.clone(),s.union(l))}return s||a}},A.inherits(m,f);var g=m;R.exports=g},"4i/N":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CloseOutlined";var c=N.a=f.forwardRef(p)},"4mN7":function(R,N,e){var A=e("QBsz"),f=e("Sj9i"),x=Math.min,m=Math.max,g=Math.sin,p=Math.cos,c=Math.PI*2,s=A.create(),a=A.create(),n=A.create();function i(h,y,b){if(h.length===0)return;var E=h[0],v=E[0],w=E[0],O=E[1],T=E[1],S;for(S=1;S<h.length;S++)E=h[S],v=x(v,E[0]),w=m(w,E[0]),O=x(O,E[1]),T=m(T,E[1]);y[0]=v,y[1]=O,b[0]=w,b[1]=T}function d(h,y,b,E,v,w){v[0]=x(h,b),v[1]=x(y,E),w[0]=m(h,b),w[1]=m(y,E)}var t=[],l=[];function r(h,y,b,E,v,w,O,T,S,C){var _=f.cubicExtrema,I=f.cubicAt,k,F=_(h,b,v,O,t);for(S[0]=Infinity,S[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,k=0;k<F;k++){var B=I(h,b,v,O,t[k]);S[0]=x(B,S[0]),C[0]=m(B,C[0])}for(F=_(y,E,w,T,l),k=0;k<F;k++){var j=I(y,E,w,T,l[k]);S[1]=x(j,S[1]),C[1]=m(j,C[1])}S[0]=x(h,S[0]),C[0]=m(h,C[0]),S[0]=x(O,S[0]),C[0]=m(O,C[0]),S[1]=x(y,S[1]),C[1]=m(y,C[1]),S[1]=x(T,S[1]),C[1]=m(T,C[1])}function o(h,y,b,E,v,w,O,T){var S=f.quadraticExtremum,C=f.quadraticAt,_=m(x(S(h,b,v),1),0),I=m(x(S(y,E,w),1),0),k=C(h,b,v,_),F=C(y,E,w,I);O[0]=x(h,v,k),O[1]=x(y,w,F),T[0]=m(h,v,k),T[1]=m(y,w,F)}function u(h,y,b,E,v,w,O,T,S){var C=A.min,_=A.max,I=Math.abs(v-w);if(I%c<1e-4&&I>1e-4){T[0]=h-b,T[1]=y-E,S[0]=h+b,S[1]=y+E;return}if(s[0]=p(v)*b+h,s[1]=g(v)*E+y,a[0]=p(w)*b+h,a[1]=g(w)*E+y,C(T,s,a),_(S,s,a),v=v%c,v<0&&(v=v+c),w=w%c,w<0&&(w=w+c),v>w&&!O?w+=c:v<w&&O&&(v+=c),O){var k=w;w=v,v=k}for(var F=0;F<w;F+=Math.PI/2)F>v&&(n[0]=p(F)*b+h,n[1]=g(F)*E+y,C(T,n,T),_(S,n,S))}N.fromPoints=i,N.fromLine=d,N.fromCubic=r,N.fromQuadratic=o,N.fromArc=u},"4vCz":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("X2/X")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="PlusSquareOutlined";var s=m.forwardRef(c);N.default=s},"4xFK":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"56rv":function(R,N,e){var A=e("IwbS"),f=e("x3X8"),x=f.getDefaultLabel;function m(p,c,s,a,n,i,d){var t=s.getModel("label"),l=s.getModel("emphasis.label");A.setLabelStyle(p,c,t,l,{labelFetcher:n,labelDataIndex:i,defaultText:x(n.getData(),i),isRectText:!0,autoColor:a}),g(p),g(c)}function g(p,c){p.textPosition==="outside"&&(p.textPosition=c)}N.setLabel=m},"59Ip":function(R,N,e){var A=e("Sj9i");function f(x,m,g,p,c,s,a,n,i,d,t){if(i===0)return!1;var l=i;if(t>m+l&&t>p+l&&t>s+l&&t>n+l||t<m-l&&t<p-l&&t<s-l&&t<n-l||d>x+l&&d>g+l&&d>c+l&&d>a+l||d<x-l&&d<g-l&&d<c-l&&d<a-l)return!1;var r=A.cubicProjectPoint(x,m,g,p,c,s,a,n,d,t,null);return r<=l/2}N.containStroke=f},"5Dmo":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("5YgA"),m=e.n(x)},"5GOC":function(R,N,e){"use strict";var A=e("cIOH"),f=e("b56q"),x=e("15/o")},"5GhG":function(R,N,e){var A=e("5GtS"),f=e("bYtY"),x=e("L0Ub"),m=x.getDimensionTypeByAxis,g=e("D5nY"),p=g.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(s,a){var n,i=a.getComponent("xAxis",this.get("xAxisIndex")),d=a.getComponent("yAxis",this.get("yAxisIndex")),t=i.get("type"),l=d.get("type"),r;t==="category"?(s.layout="horizontal",n=i.getOrdinalMeta(),r=!0):l==="category"?(s.layout="vertical",n=d.getOrdinalMeta(),r=!0):s.layout=s.layout||"horizontal";var o=["x","y"],u=s.layout==="horizontal"?0:1,h=this._baseAxisDim=o[u],y=o[1-u],b=[i,d],E=b[u].get("type"),v=b[1-u].get("type"),w=s.data;if(w&&r){var O=[];f.each(w,function(C,_){var I;C.value&&f.isArray(C.value)?(I=C.value.slice(),C.value.unshift(_)):f.isArray(C)?(I=C.slice(),C.unshift(_)):I=C,O.push(I)}),s.data=O}var T=this.defaultValueDimensions,S=[{name:h,type:m(E),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:y,type:m(v),dimsDef:T.slice()}];return A(this,{coordDimensions:S,dimensionsCount:T.length+1,encodeDefaulter:f.curry(p,S,this)})},getBaseAxis:function(){var s=this._baseAxisDim;return this.ecModel.getComponent(s+"Axis",this.get(s+"AxisIndex")).axis}};N.seriesModelMixin=c},"5GtS":function(R,N,e){var A=e("sdST"),f=e("YXkt"),x=e("bYtY"),m=x.extend,g=x.isArray;function p(c,s,a){s=g(s)&&{coordDimensions:s}||m({},s);var n=c.getSource(),i=A(n,s),d=new f(i,c);return d.initData(n,a),d}R.exports=p},"5Hur":function(R,N,e){var A=e("4NO4"),f=A.makeInner,x=A.normalizeToArray,m=f();function g(c,s){for(var a=c.length,n=0;n<a;n++)if(c[n].length>s)return c[n];return c[a-1]}var p={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(c,s,a){s=s||this;var n=m(s),i=n.colorIdx||0,d=n.colorNameMap=n.colorNameMap||{};if(d.hasOwnProperty(c))return d[c];var t=x(this.get("color",!0)),l=this.get("colorLayer",!0),r=a==null||!l?t:g(l,a);if(r=r||t,!r||!r.length)return;var o=r[i];return c&&(d[c]=o),n.colorIdx=(i+1)%r.length,o}};R.exports=p},"5NDa":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("OnYD"),m=e.n(x),g=e("+L6B")},"5NHt":function(R,N,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(R,N,e){"use strict";var A=e("J4zp"),f=e.n(A),x=e("q1tI"),m=e.n(x),g=e("ACnJ");function p(){var c=Object(x.useState)({}),s=f()(c,2),a=s[0],n=s[1];return Object(x.useEffect)(function(){var i=g.a.subscribe(function(d){n(d)});return function(){return g.a.unsubscribe(i)}},[]),a}N.a=p},"5RzL":function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("7W2i"),n=e.n(a),i=e("LQ03"),d=e.n(i),t=e("q1tI"),l=e.n(t),r=e("1OyB"),o=e("vuIU"),u=e("Ji7U"),h=e("LK+K"),y=e("KQm4"),b=e("U8pU"),E=e("ODXe"),v=e("VTBJ"),w=e("rePB"),O=e("Ff2n"),T=e("4IlW"),S=e("TSYQ"),C=e.n(S),_=e("6cGi"),I=e("bX4T"),k=e("8XRh"),F=function(nr){var ln=nr.className,er=nr.customizeIcon,hr=nr.customizeIconProps,Dr=nr.onMouseDown,Vr=nr.onClick,an=nr.children,Ot;return typeof er=="function"?Ot=er(hr):Ot=er,t.createElement("span",{className:ln,onMouseDown:function(vr){vr.preventDefault(),Dr&&Dr(vr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Vr,"aria-hidden":!0},Ot!==void 0?Ot:t.createElement("span",{className:C()(ln.split(/\s+/).map(function(lr){return"".concat(lr,"-icon")}))},an))},B=F,j=e("c+Xe"),z=function(nr,ln){var er=nr.prefixCls,hr=nr.id,Dr=nr.inputElement,Vr=nr.disabled,an=nr.tabIndex,Ot=nr.autoFocus,lr=nr.autoComplete,vr=nr.editable,Cr=nr.accessibilityIndex,Hr=nr.value,cn=nr.maxLength,Qr=nr.onKeyDown,gt=nr.onMouseDown,Gt=nr.onChange,Sr=nr.onPaste,Zr=nr.onCompositionStart,en=nr.onCompositionEnd,xn=nr.open,kn=nr.attrs,Zn=Dr||t.createElement("input",null),ui=Zn,ti=ui.ref,Qn=ui.props,$n=Qn.onKeyDown,Si=Qn.onChange,Ci=Qn.onMouseDown,vi=Qn.onCompositionStart,xi=Qn.onCompositionEnd,Ei=Qn.style;return Zn=t.cloneElement(Zn,Object(v.a)(Object(v.a)({id:hr,ref:Object(j.a)(ln,ti),disabled:Vr,tabIndex:an,autoComplete:lr||"off",type:"search",autoFocus:Ot,className:"".concat(er,"-selection-search-input"),style:Object(v.a)(Object(v.a)({},Ei),{},{opacity:vr?null:0}),role:"combobox","aria-expanded":xn,"aria-haspopup":"listbox","aria-owns":"".concat(hr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(hr,"_list"),"aria-activedescendant":"".concat(hr,"_list_").concat(Cr)},kn),{},{value:vr?Hr:"",maxLength:cn,readOnly:!vr,unselectable:vr?null:"on",onKeyDown:function(pi){Qr(pi),$n&&$n(pi)},onMouseDown:function(pi){gt(pi),Ci&&Ci(pi)},onChange:function(pi){Gt(pi),Si&&Si(pi)},onCompositionStart:function(pi){Zr(pi),vi&&vi(pi)},onCompositionEnd:function(pi){en(pi),xi&&xi(pi)},onPaste:Sr})),Zn},M=t.forwardRef(z);M.displayName="Input";var U=M;function P(xr){return Array.isArray(xr)?xr:xr!==void 0?[xr]:[]}function H(xr,nr){var ln=nr.labelInValue,er=nr.combobox;if(xr===void 0||xr===""&&er)return[];var hr=Array.isArray(xr)?xr:[xr];return ln?hr.map(function(Dr){var Vr=Dr.key,an=Dr.value;return an!==void 0?an:Vr}):hr}function W(xr,nr){var ln=nr.optionLabelProp,er=nr.labelInValue,hr=nr.prevValue,Dr=nr.options,Vr=nr.getLabeledValue,an=xr;return er&&(an=an.map(function(Ot){return Vr(Ot,{options:Dr,prevValue:hr,labelInValue:er,optionLabelProp:ln})})),an}function X(xr,nr){var ln=Object(y.a)(nr),er;for(er=xr.length-1;er>=0&&xr[er].disabled;er-=1);var hr=null;return er!==-1&&(hr=ln[er],ln.splice(er,1)),{values:ln,removedValue:hr}}var K=typeof window!="undefined"&&window.document&&window.document.documentElement,$=K,ie=0;function be(){var xr;return $?(xr=ie,ie+=1):xr="TEST_OR_SSR",xr}function te(xr,nr){$?t.useLayoutEffect(xr,nr):t.useEffect(xr,nr)}var Te="__RC_SELECT_MAX_REST_COUNT__",Ie=function(nr){var ln=nr.id,er=nr.prefixCls,hr=nr.values,Dr=nr.open,Vr=nr.searchValue,an=nr.inputRef,Ot=nr.placeholder,lr=nr.disabled,vr=nr.mode,Cr=nr.showSearch,Hr=nr.autoFocus,cn=nr.autoComplete,Qr=nr.accessibilityIndex,gt=nr.tabIndex,Gt=nr.removeIcon,Sr=nr.choiceTransitionName,Zr=nr.maxTagCount,en=nr.maxTagTextLength,xn=nr.maxTagPlaceholder,kn=xn===void 0?function(Yi){return"+ ".concat(Yi.length," ...")}:xn,Zn=nr.tagRender,ui=nr.onSelect,ti=nr.onInputChange,Qn=nr.onInputPaste,$n=nr.onInputKeyDown,Si=nr.onInputMouseDown,Ci=nr.onInputCompositionStart,vi=nr.onInputCompositionEnd,xi=Object(t.useState)(!1),Ei=Object(E.a)(xi,2),di=Ei[0],pi=Ei[1],_i=t.useRef(null),Ri=Object(t.useState)(0),Vi=Object(E.a)(Ri,2),Ii=Vi[0],ba=Vi[1],ga=Object(t.useState)(!1),Aa=Object(E.a)(ga,2),ha=Aa[0],vo=Aa[1];t.useEffect(function(){pi(!0)},[]);var la=Dr||vr==="tags"?Vr:"",Ba=vr==="tags"||Cr&&(Dr||ha);te(function(){ba(_i.current.scrollWidth)},[la]);var pa=hr,to;typeof Zr=="number"&&(to=hr.length-Zr,pa=hr.slice(0,Zr)),typeof en=="number"&&(pa=pa.map(function(Yi){var oo=Yi.label,Ya=Object(O.a)(Yi,["label"]),wa=oo;if(typeof oo=="string"||typeof oo=="number"){var $a=String(wa);$a.length>en&&(wa="".concat($a.slice(0,en),"..."))}return Object(v.a)(Object(v.a)({},Ya),{},{label:wa})})),to>0&&pa.push({key:Te,label:typeof kn=="function"?kn(hr.slice(Zr)):kn});var qa=t.createElement(k.a,{component:!1,keys:pa,motionName:Sr,motionAppear:di},function(Yi){var oo=Yi.key,Ya=Yi.label,wa=Yi.value,$a=Yi.disabled,Fi=Yi.className,Sa=Yi.style,Ea=oo||wa,yo=!lr&&oo!==Te&&!$a,_a=function(Da){Da.preventDefault(),Da.stopPropagation()},Hi=function(Da){Da&&Da.stopPropagation(),ui(wa,{selected:!1})};return typeof Zn=="function"?t.createElement("span",{key:Ea,onMouseDown:_a,className:Fi,style:Sa},Zn({label:Ya,value:wa,disabled:$a,closable:yo,onClose:Hi})):t.createElement("span",{key:Ea,className:C()(Fi,"".concat(er,"-selection-item"),Object(w.a)({},"".concat(er,"-selection-item-disabled"),$a)),style:Sa},t.createElement("span",{className:"".concat(er,"-selection-item-content")},Ya),yo&&t.createElement(B,{className:"".concat(er,"-selection-item-remove"),onMouseDown:_a,onClick:Hi,customizeIcon:Gt},"\xD7"))});return t.createElement(t.Fragment,null,qa,t.createElement("span",{className:"".concat(er,"-selection-search"),style:{width:Ii},onFocus:function(){vo(!0)},onBlur:function(){vo(!1)}},t.createElement(U,{ref:an,open:Dr,prefixCls:er,id:ln,inputElement:null,disabled:lr,autoFocus:Hr,autoComplete:cn,editable:Ba,accessibilityIndex:Qr,value:la,onKeyDown:$n,onMouseDown:Si,onChange:ti,onPaste:Qn,onCompositionStart:Ci,onCompositionEnd:vi,tabIndex:gt,attrs:Object(I.a)(nr,!0)}),t.createElement("span",{ref:_i,className:"".concat(er,"-selection-search-mirror"),"aria-hidden":!0},la,"\xA0")),!hr.length&&!la&&t.createElement("span",{className:"".concat(er,"-selection-placeholder")},Ot))},Fe=Ie,Qe=function(nr){var ln=nr.inputElement,er=nr.prefixCls,hr=nr.id,Dr=nr.inputRef,Vr=nr.disabled,an=nr.autoFocus,Ot=nr.autoComplete,lr=nr.accessibilityIndex,vr=nr.mode,Cr=nr.open,Hr=nr.values,cn=nr.placeholder,Qr=nr.tabIndex,gt=nr.showSearch,Gt=nr.searchValue,Sr=nr.activeValue,Zr=nr.maxLength,en=nr.onInputKeyDown,xn=nr.onInputMouseDown,kn=nr.onInputChange,Zn=nr.onInputPaste,ui=nr.onInputCompositionStart,ti=nr.onInputCompositionEnd,Qn=t.useState(!1),$n=Object(E.a)(Qn,2),Si=$n[0],Ci=$n[1],vi=vr==="combobox",xi=vi||gt,Ei=Hr[0],di=Gt||"";vi&&Sr&&!Si&&(di=Sr),t.useEffect(function(){vi&&Ci(!1)},[vi,Sr]);var pi=vr!=="combobox"&&!Cr?!1:!!di,_i=Ei&&(typeof Ei.label=="string"||typeof Ei.label=="number")?Ei.label.toString():void 0;return t.createElement(t.Fragment,null,t.createElement("span",{className:"".concat(er,"-selection-search")},t.createElement(U,{ref:Dr,prefixCls:er,id:hr,open:Cr,inputElement:ln,disabled:Vr,autoFocus:an,autoComplete:Ot,editable:xi,accessibilityIndex:lr,value:di,onKeyDown:en,onMouseDown:xn,onChange:function(Vi){Ci(!0),kn(Vi)},onPaste:Zn,onCompositionStart:ui,onCompositionEnd:ti,tabIndex:Qr,attrs:Object(I.a)(nr,!0),maxLength:vi?Zr:void 0})),!vi&&Ei&&!pi&&t.createElement("span",{className:"".concat(er,"-selection-item"),title:_i},Ei.label),!Ei&&!pi&&t.createElement("span",{className:"".concat(er,"-selection-placeholder")},cn))},fe=Qe;function He(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,nr=t.useRef(null),ln=t.useRef(null);t.useEffect(function(){return function(){window.clearTimeout(ln.current)}},[]);function er(hr){(hr||nr.current===null)&&(nr.current=hr),window.clearTimeout(ln.current),ln.current=window.setTimeout(function(){nr.current=null},xr)}return[function(){return nr.current},er]}var se=function(nr,ln){var er=Object(t.useRef)(null),hr=Object(t.useRef)(!1),Dr=nr.prefixCls,Vr=nr.multiple,an=nr.open,Ot=nr.mode,lr=nr.showSearch,vr=nr.tokenWithEnter,Cr=nr.onSearch,Hr=nr.onSearchSubmit,cn=nr.onToggleOpen,Qr=nr.onInputKeyDown,gt=nr.domRef;t.useImperativeHandle(ln,function(){return{focus:function(){er.current.focus()},blur:function(){er.current.blur()}}});var Gt=He(0),Sr=Object(E.a)(Gt,2),Zr=Sr[0],en=Sr[1],xn=function(pi){var _i=pi.which;(_i===T.a.UP||_i===T.a.DOWN)&&pi.preventDefault(),Qr&&Qr(pi),_i===T.a.ENTER&&Ot==="tags"&&!hr.current&&!an&&Hr(pi.target.value),[T.a.SHIFT,T.a.TAB,T.a.BACKSPACE,T.a.ESC].includes(_i)||cn(!0)},kn=function(){en(!0)},Zn=Object(t.useRef)(null),ui=function(pi){Cr(pi,!0,hr.current)!==!1&&cn(!0)},ti=function(){hr.current=!0},Qn=function(){hr.current=!1},$n=function(pi){var _i=pi.target.value;if(vr&&Zn.current&&/[\r\n]/.test(Zn.current)){var Ri=Zn.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");_i=_i.replace(Ri,Zn.current)}Zn.current=null,ui(_i)},Si=function(pi){var _i=pi.clipboardData,Ri=_i.getData("text");Zn.current=Ri},Ci=function(pi){var _i=pi.target;if(_i!==er.current){var Ri=document.body.style.msTouchAction!==void 0;Ri?setTimeout(function(){er.current.focus()}):er.current.focus()}},vi=function(pi){var _i=Zr();pi.target!==er.current&&!_i&&pi.preventDefault(),(Ot!=="combobox"&&(!lr||!_i)||!an)&&(an&&Cr("",!0,!1),cn())},xi={inputRef:er,onInputKeyDown:xn,onInputMouseDown:kn,onInputChange:$n,onInputPaste:Si,onInputCompositionStart:ti,onInputCompositionEnd:Qn},Ei=Vr?t.createElement(Fe,Object.assign({},nr,xi)):t.createElement(fe,Object.assign({},nr,xi));return t.createElement("div",{ref:gt,className:"".concat(Dr,"-selector"),onClick:Ci,onMouseDown:vi},Ei)},Ce=t.forwardRef(se);Ce.displayName="Selector";var mt=Ce,Ne=e("uciX"),ae=function(nr){var ln=typeof nr!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ln,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ln,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ln,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ln,adjustY:1}}}},ce=function(nr,ln){var er=nr.prefixCls,hr=nr.disabled,Dr=nr.visible,Vr=nr.children,an=nr.popupElement,Ot=nr.containerWidth,lr=nr.animation,vr=nr.transitionName,Cr=nr.dropdownStyle,Hr=nr.dropdownClassName,cn=nr.direction,Qr=cn===void 0?"ltr":cn,gt=nr.dropdownMatchSelectWidth,Gt=gt===void 0?!0:gt,Sr=nr.dropdownRender,Zr=nr.dropdownAlign,en=nr.getPopupContainer,xn=nr.empty,kn=nr.getTriggerDOMNode,Zn=Object(O.a)(nr,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),ui="".concat(er,"-dropdown"),ti=an;Sr&&(ti=Sr(an));var Qn=t.useMemo(function(){return ae(Gt)},[Gt]),$n=lr?"".concat(ui,"-").concat(lr):vr,Si=t.useRef(null);t.useImperativeHandle(ln,function(){return{getPopupElement:function(){return Si.current}}});var Ci=Object(v.a)({minWidth:Ot},Cr);return typeof Gt=="number"?Ci.width=Gt:Gt&&(Ci.width=Ot),t.createElement(Ne.a,Object.assign({},Zn,{showAction:[],hideAction:[],popupPlacement:Qr==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Qn,prefixCls:ui,popupTransitionName:$n,popup:t.createElement("div",{ref:Si},ti),popupAlign:Zr,popupVisible:Dr,getPopupContainer:en,popupClassName:C()(Hr,Object(w.a)({},"".concat(ui,"-empty"),xn)),popupStyle:Ci,getTriggerDOMNode:kn}),Vr)},le=t.forwardRef(ce);le.displayName="SelectTrigger";var je=le,Re="RC_SELECT_INTERNAL_PROPS_MARK";function Ze(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,nr=t.useState(!1),ln=Object(E.a)(nr,2),er=ln[0],hr=ln[1],Dr=t.useRef(null),Vr=function(){window.clearTimeout(Dr.current)};t.useEffect(function(){return Vr},[]);var an=function(lr,vr){Vr(),Dr.current=window.setTimeout(function(){hr(lr),vr&&vr()},xr)};return[er,an,Vr]}var De=e("T5bk"),ne=e("Kwbf");function he(xr,nr){var ln=xr.key,er;return"value"in xr&&(er=xr.value),ln!=null?ln:er!==void 0?er:"rc-index-key-".concat(nr)}function pe(xr){var nr=[];function ln(er,hr){er.forEach(function(Dr){hr||!("options"in Dr)?nr.push({key:he(Dr,nr.length),groupOption:hr,data:Dr}):(nr.push({key:he(Dr,nr.length),group:!0,data:Dr}),ln(Dr.options,!0))})}return ln(xr,!1),nr}function Xe(xr){var nr=Object(v.a)({},xr);return"props"in nr||Object.defineProperty(nr,"props",{get:function(){return Object(ne.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),nr}}),nr}function lt(xr,nr){var ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},er=ln.prevValueOptions,hr=er===void 0?[]:er,Dr=new Map;return nr.forEach(function(Vr){if(!Vr.group){var an=Vr.data;Dr.set(an.value,an)}}),xr.map(function(Vr){var an=Dr.get(Vr);return an||(an=Object(v.a)({},hr.find(function(Ot){return Ot._INTERNAL_OPTION_VALUE_===Vr}))),Xe(an)})}var At=function(nr,ln){var er=ln.options,hr=ln.prevValue,Dr=ln.labelInValue,Vr=ln.optionLabelProp,an=lt([nr],er)[0],Ot={value:nr},lr,vr=P(hr);return Dr&&(lr=vr.find(function(Cr){return Object(b.a)(Cr)==="object"&&"value"in Cr?Cr.value===nr:Cr.key===nr})),lr&&Object(b.a)(lr)==="object"&&"label"in lr?(Ot.label=lr.label,an&&typeof lr.label=="string"&&typeof an[Vr]=="string"&&lr.label.trim()!==an[Vr].trim()&&Object(ne.a)(!1,"`label` of `value` is not same as `label` in Select options.")):an&&Vr in an?Ot.label=an[Vr]:Ot.label=nr,Ot.key=Ot.value,Ot};function Me(xr){return P(xr).join("")}function Ht(xr){return function(nr,ln){var er=nr.toLowerCase();if("options"in ln)return Me(ln.label).toLowerCase().includes(er);var hr=ln[xr],Dr=Me(hr).toLowerCase();return Dr.includes(er)}}function tt(xr,nr,ln){var er=ln.optionFilterProp,hr=ln.filterOption,Dr=[],Vr;return hr===!1?Object(y.a)(nr):(typeof hr=="function"?Vr=hr:Vr=Ht(er),nr.forEach(function(an){if("options"in an){var Ot=Vr(xr,an);if(Ot)Dr.push(an);else{var lr=an.options.filter(function(vr){return Vr(xr,vr)});lr.length&&Dr.push(Object(v.a)(Object(v.a)({},an),{},{options:lr}))}return}Vr(xr,Xe(an))&&Dr.push(an)}),Dr)}function Mt(xr,nr){if(!nr||!nr.length)return null;var ln=!1;function er(Dr,Vr){var an=Object(De.a)(Vr),Ot=an[0],lr=an.slice(1);if(!Ot)return[Dr];var vr=Dr.split(Ot);return ln=ln||vr.length>1,vr.reduce(function(Cr,Hr){return[].concat(Object(y.a)(Cr),Object(y.a)(er(Hr,lr)))},[]).filter(function(Cr){return Cr})}var hr=er(xr,nr);return ln?hr:null}function jt(xr,nr){var ln=lt([xr],nr)[0];return ln.disabled}function kt(xr,nr,ln,er){var hr=P(nr).slice().sort(),Dr=Object(y.a)(xr),Vr=new Set;return xr.forEach(function(an){an.options?an.options.forEach(function(Ot){Vr.add(Ot.value)}):Vr.add(an.value)}),hr.forEach(function(an){var Ot=er?an.value:an;if(!Vr.has(Ot)){var lr;Dr.push(er?(lr={},Object(w.a)(lr,ln,an.label),Object(w.a)(lr,"value",Ot),lr):{value:Ot})}}),Dr}function Tt(xr,nr,ln){var er=t.useRef(null);er.current={elements:xr.filter(function(hr){return hr}),open:nr,triggerOpen:ln},t.useEffect(function(){function hr(Dr){var Vr=Dr.target;er.current.open&&er.current.elements.every(function(an){return!an.contains(Vr)&&an!==Vr})&&er.current.triggerOpen(!1)}return window.addEventListener("mousedown",hr),function(){return window.removeEventListener("mousedown",hr)}},[])}function Dt(xr){var nr=t.useRef(xr),ln=t.useMemo(function(){var er=new Map;nr.current.forEach(function(Dr){var Vr=Dr.value,an=Dr.label;Vr!==an&&er.set(Vr,an)});var hr=xr.map(function(Dr){var Vr=er.get(Dr.value);return Dr.value===Dr.label&&Vr?Object(v.a)(Object(v.a)({},Dr),{},{label:Vr}):Dr});return nr.current=hr,hr},[xr]);return ln}function Ue(xr,nr){var ln=t.useRef(null),er=t.useMemo(function(){var Dr=new Map;return nr.forEach(function(Vr){var an=Vr.data.value;Dr.set(an,Vr)}),Dr},[xr,nr]);ln.current=er;var hr=function(Vr){return Vr.map(function(an){return ln.current.get(an)}).filter(Boolean)};return hr}var G=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function Y(xr){var nr=xr.prefixCls,ln=xr.components.optionList,er=xr.convertChildrenToData,hr=xr.flattenOptions,Dr=xr.getLabeledValue,Vr=xr.filterOptions,an=xr.isValueDisabled,Ot=xr.findValueOption,lr=xr.warningProps,vr=xr.fillOptionsWithMissingValue,Cr=xr.omitDOMProps;function Hr(Qr,gt){var Gt,Sr=Qr.prefixCls,Zr=Sr===void 0?nr:Sr,en=Qr.className,xn=Qr.id,kn=Qr.open,Zn=Qr.defaultOpen,ui=Qr.options,ti=Qr.children,Qn=Qr.mode,$n=Qr.value,Si=Qr.defaultValue,Ci=Qr.labelInValue,vi=Qr.showSearch,xi=Qr.inputValue,Ei=Qr.searchValue,di=Qr.filterOption,pi=Qr.filterSort,_i=Qr.optionFilterProp,Ri=_i===void 0?"value":_i,Vi=Qr.autoClearSearchValue,Ii=Vi===void 0?!0:Vi,ba=Qr.onSearch,ga=Qr.allowClear,Aa=Qr.clearIcon,ha=Qr.showArrow,vo=Qr.inputIcon,la=Qr.menuItemSelectedIcon,Ba=Qr.disabled,pa=Qr.loading,to=Qr.defaultActiveFirstOption,qa=Qr.notFoundContent,Yi=qa===void 0?"Not Found":qa,oo=Qr.optionLabelProp,Ya=Qr.backfill,wa=Qr.getInputElement,$a=Qr.getPopupContainer,Fi=Qr.listHeight,Sa=Fi===void 0?200:Fi,Ea=Qr.listItemHeight,yo=Ea===void 0?20:Ea,_a=Qr.animation,Hi=Qr.transitionName,Xa=Qr.virtual,Da=Qr.dropdownStyle,va=Qr.dropdownClassName,Di=Qr.dropdownMatchSelectWidth,at=Qr.dropdownRender,qt=Qr.dropdownAlign,pr=Qr.showAction,ur=pr===void 0?[]:pr,$r=Qr.direction,Er=Qr.tokenSeparators,sr=Qr.tagRender,dn=Qr.onPopupScroll,wr=Qr.onDropdownVisibleChange,rn=Qr.onFocus,Fn=Qr.onBlur,Bn=Qr.onKeyUp,Tn=Qr.onKeyDown,Kn=Qr.onMouseDown,Mn=Qr.onChange,Un=Qr.onSelect,Vn=Qr.onDeselect,si=Qr.onClear,Jn=Qr.internalProps,Ai=Jn===void 0?{}:Jn,Ji=Object(O.a)(Qr,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","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"]),Oi=Ai.mark===Re,Mi=Cr?Cr(Ji):Ji;G.forEach(function(po){delete Mi[po]});var Li=Object(t.useRef)(null),Ki=Object(t.useRef)(null),so=Object(t.useRef)(null),Pa=Object(t.useRef)(null),Xi=Object(t.useMemo)(function(){return(Er||[]).some(function(po){return[`
|
|
|
`,`\r
|
|
|
`].includes(po)})},[Er]),yi=Ze(),Bi=Object(E.a)(yi,3),Zi=Bi[0],Fa=Bi[1],ya=Bi[2],ja=Object(t.useState)(),Wa=Object(E.a)(ja,2),wo=Wa[0],Do=Wa[1];Object(t.useEffect)(function(){Do("rc_select_".concat(be()))},[]);var es=xn||wo,To=oo;To===void 0&&(To=ui?"label":"children");var So=Qn==="combobox"?!1:Ci,Ia=Qn==="tags"||Qn==="multiple",Ua=vi!==void 0?vi:Ia||Qn==="combobox",aa=Object(t.useRef)(null);t.useImperativeHandle(gt,function(){return{focus:so.current.focus,blur:so.current.blur}});var lo=Object(_.a)(Si,{value:$n}),Qo=Object(E.a)(lo,2),ro=Qo[0],us=Qo[1],co=Object(t.useMemo)(function(){return H(ro,{labelInValue:So,combobox:Qn==="combobox"})},[ro,So]),go=Object(t.useMemo)(function(){return new Set(co)},[co]),$o=Object(t.useState)(null),Io=Object(E.a)($o,2),Bo=Io[0],Wr=Io[1],hi=Object(t.useState)(""),Ds=Object(E.a)(hi,2),ds=Ds[0],ts=Ds[1],Ro=ds;Qn==="combobox"&&ro!==void 0?Ro=ro:Ei!==void 0?Ro=Ei:xi&&(Ro=xi);var is=Object(t.useMemo)(function(){var po=ui;return po===void 0&&(po=er(ti)),Qn==="tags"&&vr&&(po=vr(po,ro,To,Ci)),po||[]},[ui,ti,Qn,ro]),vs=Object(t.useMemo)(function(){return hr(is,Qr)},[is]),Yo=Ue(co,vs),Vo=Object(t.useMemo)(function(){if(!Ro||!Ua)return Object(y.a)(is);var po=Vr(Ro,is,{optionFilterProp:Ri,filterOption:Qn==="combobox"&&di===void 0?function(){return!0}:di});return Qn==="tags"&&po.every(function(Ca){return Ca[Ri]!==Ro})&&po.unshift({value:Ro,label:Ro,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),pi&&Array.isArray(po)?Object(y.a)(po).sort(pi):po},[is,Ro,Qn,Ua,pi]),rs=Object(t.useMemo)(function(){return hr(Vo,Qr)},[Vo]);Object(t.useEffect)(function(){Pa.current&&Pa.current.scrollTo&&Pa.current.scrollTo(0)},[Ro]);var hs=Object(t.useMemo)(function(){var po=co.map(function(Ca){var Eo=Yo([Ca]),ko=Dr(Ca,{options:Eo,prevValue:ro,labelInValue:So,optionLabelProp:To});return Object(v.a)(Object(v.a)({},ko),{},{disabled:an(Ca,Eo)})});return!Qn&&po.length===1&&po[0].value===null&&po[0].label===null?[]:po},[ro,is,Qn]);hs=Dt(hs);var as=function(Ca,Eo,ko){var Ko=Yo([Ca]),Ao=Ot([Ca],Ko)[0];if(!Ai.skipTriggerSelect){var ss=So?Dr(Ca,{options:Ko,prevValue:ro,labelInValue:So,optionLabelProp:To}):Ca;Eo&&Un?Un(ss,Ao):!Eo&&Vn&&Vn(ss,Ao)}Oi&&(Eo&&Ai.onRawSelect?Ai.onRawSelect(Ca,Ao,ko):!Eo&&Ai.onRawDeselect&&Ai.onRawDeselect(Ca,Ao,ko))},io=Object(t.useState)([]),Ga=Object(E.a)(io,2),Xo=Ga[0],Ho=Ga[1],Ra=function(Ca){if(Oi&&Ai.skipTriggerChange)return;var Eo=Yo(Ca),ko=W(Array.from(Ca),{labelInValue:So,options:Eo,getLabeledValue:Dr,prevValue:ro,optionLabelProp:To}),Ko=Ia?ko:ko[0];if(Mn&&(co.length!==0||ko.length!==0)){var Ao=Ot(Ca,Eo,{prevValueOptions:Xo});Ho(Ao.map(function(ss,ys){var Rs=Object(v.a)({},ss);return Object.defineProperty(Rs,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ca[ys]}}),Rs})),Mn(Ko,Ia?Ao:Ao[0])}us(Ko)},Oo=function(Ca,Eo){var ko=Eo.selected,Ko=Eo.source;if(Ba)return;var Ao;Ia?(Ao=new Set(co),ko?Ao.add(Ca):Ao.delete(Ca)):(Ao=new Set,Ao.add(Ca)),(Ia||!Ia&&Array.from(co)[0]!==Ca)&&Ra(Array.from(Ao)),as(Ca,!Ia||ko,Ko),Qn==="combobox"?(ts(String(Ca)),Wr("")):(!Ia||Ii)&&(ts(""),Wr(""))},xs=function(Ca,Eo){Oo(Ca,Object(v.a)(Object(v.a)({},Eo),{},{source:"option"}))},Po=function(Ca,Eo){Oo(Ca,Object(v.a)(Object(v.a)({},Eo),{},{source:"selection"}))},Zo=Qn==="combobox"&&wa&&wa()||null,Vt=Object(_.a)(void 0,{defaultValue:Zn,value:kn}),re=Object(E.a)(Vt,2),ve=re[0],Se=re[1],We=ve,xt=!Yi&&!Vo.length;(Ba||xt&&We&&Qn==="combobox")&&(We=!1);var Qt=xt?!1:We,Or=function(Ca){var Eo=Ca!==void 0?Ca:!We;ve!==Eo&&!Ba&&(Se(Eo),wr&&wr(Eo))};Tt([Li.current,Ki.current&&Ki.current.getPopupElement()],Qt,Or);var Ur=function(Ca,Eo,ko){var Ko=!0,Ao=Ca;Wr(null);var ss=ko?null:Mt(Ca,Er),ys=ss;if(Qn==="combobox")Eo&&Ra([Ao]);else if(ss){Ao="",Qn!=="tags"&&(ys=ss.map(function(Us){var Ws=vs.find(function(hl){var ll=hl.data;return ll[To]===Us});return Ws?Ws.data.value:null}).filter(function(Us){return Us!==null}));var Rs=Array.from(new Set([].concat(Object(y.a)(co),Object(y.a)(ys))));Ra(Rs),Rs.forEach(function(Us){as(Us,!0,"input")}),Or(!1),Ko=!1}return ts(Ao),ba&&Ro!==Ao&&ba(Ao),Ko},on=function(Ca){var Eo=Array.from(new Set([].concat(Object(y.a)(co),[Ca])));Ra(Eo),Eo.forEach(function(ko){as(ko,!0,"input")}),ts("")};Object(t.useEffect)(function(){ve&&!!Ba&&Se(!1)},[Ba]),Object(t.useEffect)(function(){!We&&!Ia&&Qn!=="combobox"&&Ur("",!1,!1)},[We]);var Dn=He(),Hn=Object(E.a)(Dn,2),jn=Hn[0],ri=Hn[1],wi=function(Ca){var Eo=jn(),ko=Ca.which;if(!We&&ko===T.a.ENTER&&Or(!0),ri(!!Ro),ko===T.a.BACKSPACE&&!Eo&&Ia&&!Ro&&co.length){var Ko=X(hs,co);Ko.removedValue!==null&&(Ra(Ko.values),as(Ko.removedValue,!1,"input"))}for(var Ao=arguments.length,ss=new Array(Ao>1?Ao-1:0),ys=1;ys<Ao;ys++)ss[ys-1]=arguments[ys];if(We&&Pa.current){var Rs;(Rs=Pa.current).onKeyDown.apply(Rs,[Ca].concat(ss))}Tn&&Tn.apply(void 0,[Ca].concat(ss))},Gi=function(Ca){for(var Eo=arguments.length,ko=new Array(Eo>1?Eo-1:0),Ko=1;Ko<Eo;Ko++)ko[Ko-1]=arguments[Ko];if(We&&Pa.current){var Ao;(Ao=Pa.current).onKeyUp.apply(Ao,[Ca].concat(ko))}Bn&&Bn.apply(void 0,[Ca].concat(ko))},xa=Object(t.useRef)(!1),no=function(){Fa(!0),Ba||(rn&&!xa.current&&rn.apply(void 0,arguments),ur.includes("focus")&&Or(!0)),xa.current=!0},uo=function(){if(Fa(!1,function(){xa.current=!1,Or(!1)}),Ba)return;Ro&&(Qn==="tags"?(Ur("",!1,!1),Ra(Array.from(new Set([].concat(Object(y.a)(co),[Ro]))))):Qn==="multiple"&&ts("")),Fn&&Fn.apply(void 0,arguments)},Ja=[];Object(t.useEffect)(function(){return function(){Ja.forEach(function(po){return clearTimeout(po)}),Ja.splice(0,Ja.length)}},[]);var Go=function(Ca){var Eo=Ca.target,ko=Ki.current&&Ki.current.getPopupElement();if(ko&&ko.contains(Eo)){var Ko=setTimeout(function(){var Rs=Ja.indexOf(Ko);Rs!==-1&&Ja.splice(Rs,1),ya(),ko.contains(document.activeElement)||so.current.focus()});Ja.push(Ko)}if(Kn){for(var Ao=arguments.length,ss=new Array(Ao>1?Ao-1:0),ys=1;ys<Ao;ys++)ss[ys-1]=arguments[ys];Kn.apply(void 0,[Ca].concat(ss))}},_o=Object(t.useState)(0),xo=Object(E.a)(_o,2),Na=xo[0],Ha=xo[1],ns=to!==void 0?to:Qn!=="combobox",ps=function(Ca,Eo){var ko=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ko=ko.source,Ao=Ko===void 0?"keyboard":Ko;Ha(Eo),Ya&&Qn==="combobox"&&Ca!==null&&Ao==="keyboard"&&Wr(String(Ca))},Wo=Object(t.useState)(null),Cs=Object(E.a)(Wo,2),Ts=Cs[0],Os=Cs[1],Mo=Object(t.useState)({}),Ps=Object(E.a)(Mo,2),ms=Ps[1];function wl(){ms({})}te(function(){if(Qt){var po=Math.ceil(Li.current.offsetWidth);Ts!==po&&Os(po)}},[Qt]);var El=t.createElement(ln,{ref:Pa,prefixCls:Zr,id:es,open:We,childrenAsData:!ui,options:Vo,flattenOptions:rs,multiple:Ia,values:go,height:Sa,itemHeight:yo,onSelect:xs,onToggleOpen:Or,onActiveValue:ps,defaultActiveFirstOption:ns,notFoundContent:Yi,onScroll:dn,searchValue:Ro,menuItemSelectedIcon:la,virtual:Xa!==!1&&Di!==!1,onMouseEnter:wl}),Qs,os=function(){Oi&&Ai.onClear&&Ai.onClear(),si&&si(),Ra([]),Ur("",!1,!1)};!Ba&&ga&&(co.length||Ro)&&(Qs=t.createElement(B,{className:"".concat(Zr,"-clear"),onMouseDown:os,customizeIcon:Aa},"\xD7"));var Qi=ha!==void 0?ha:pa||!Ia&&Qn!=="combobox",nl;Qi&&(nl=t.createElement(B,{className:C()("".concat(Zr,"-arrow"),Object(w.a)({},"".concat(Zr,"-arrow-loading"),pa)),customizeIcon:vo,customizeIconProps:{loading:pa,searchValue:Ro,open:We,focused:Zi,showSearch:Ua}}));var sl=C()(Zr,en,(Gt={},Object(w.a)(Gt,"".concat(Zr,"-focused"),Zi),Object(w.a)(Gt,"".concat(Zr,"-multiple"),Ia),Object(w.a)(Gt,"".concat(Zr,"-single"),!Ia),Object(w.a)(Gt,"".concat(Zr,"-allow-clear"),ga),Object(w.a)(Gt,"".concat(Zr,"-show-arrow"),Qi),Object(w.a)(Gt,"".concat(Zr,"-disabled"),Ba),Object(w.a)(Gt,"".concat(Zr,"-loading"),pa),Object(w.a)(Gt,"".concat(Zr,"-open"),We),Object(w.a)(Gt,"".concat(Zr,"-customize-input"),Zo),Object(w.a)(Gt,"".concat(Zr,"-show-search"),Ua),Gt));return t.createElement("div",Object.assign({className:sl},Mi,{ref:Li,onMouseDown:Go,onKeyDown:wi,onKeyUp:Gi,onFocus:no,onBlur:uo}),Zi&&!We&&t.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(co.join(", "))),t.createElement(je,{ref:Ki,disabled:Ba,prefixCls:Zr,visible:Qt,popupElement:El,containerWidth:Ts,animation:_a,transitionName:Hi,dropdownStyle:Da,dropdownClassName:va,direction:$r,dropdownMatchSelectWidth:Di,dropdownRender:at,dropdownAlign:qt,getPopupContainer:$a,empty:!is.length,getTriggerDOMNode:function(){return aa.current}},t.createElement(mt,Object.assign({},Qr,{domRef:aa,prefixCls:Zr,inputElement:Zo,ref:so,id:es,showSearch:Ua,mode:Qn,accessibilityIndex:Na,multiple:Ia,tagRender:sr,values:hs,open:We,onToggleOpen:Or,searchValue:Ro,activeValue:Bo,onSearch:Ur,onSearchSubmit:on,onSelect:Po,tokenWithEnter:Xi}))),nl,Qs)}var cn=t.forwardRef(Hr);return cn}var Pe=e("Zm9Q"),Be=e("JX7q"),J=t.createContext(null),St=function(nr){var ln=nr.prefixCls,er=nr.level,hr=nr.isStart,Dr=nr.isEnd;if(!er)return null;for(var Vr="".concat(ln,"-indent-unit"),an=[],Ot=0;Ot<er;Ot+=1){var lr;an.push(t.createElement("span",{key:Ot,className:C()(Vr,(lr={},Object(w.a)(lr,"".concat(Vr,"-start"),hr[Ot]),Object(w.a)(lr,"".concat(Vr,"-end"),Dr[Ot]),lr))}))}return t.createElement("span",{"aria-hidden":"true",className:"".concat(ln,"-indent")},an)},bt=St,nt="open",Rt="close",zt="---",Fr=function(xr){Object(u.a)(ln,xr);var nr=Object(h.a)(ln);function ln(){var er;return Object(r.a)(this,ln),er=nr.apply(this,arguments),er.state={dragNodeHighlight:!1},er.onSelectorClick=function(hr){var Dr=er.props.context.onNodeClick;Dr(hr,wt(er.props)),er.isSelectable()?er.onSelect(hr):er.onCheck(hr)},er.onSelectorDoubleClick=function(hr){var Dr=er.props.context.onNodeDoubleClick;Dr(hr,wt(er.props))},er.onSelect=function(hr){if(er.isDisabled())return;var Dr=er.props.context.onNodeSelect;hr.preventDefault(),Dr(hr,wt(er.props))},er.onCheck=function(hr){if(er.isDisabled())return;var Dr=er.props,Vr=Dr.disableCheckbox,an=Dr.checked,Ot=er.props.context.onNodeCheck;if(!er.isCheckable()||Vr)return;hr.preventDefault();var lr=!an;Ot(hr,wt(er.props),lr)},er.onMouseEnter=function(hr){var Dr=er.props.context.onNodeMouseEnter;Dr(hr,wt(er.props))},er.onMouseLeave=function(hr){var Dr=er.props.context.onNodeMouseLeave;Dr(hr,wt(er.props))},er.onContextMenu=function(hr){var Dr=er.props.context.onNodeContextMenu;Dr(hr,wt(er.props))},er.onDragStart=function(hr){var Dr=er.props.context.onNodeDragStart;hr.stopPropagation(),er.setState({dragNodeHighlight:!0}),Dr(hr,Object(Be.a)(er));try{hr.dataTransfer.setData("text/plain","")}catch(Vr){}},er.onDragEnter=function(hr){var Dr=er.props.context.onNodeDragEnter;hr.preventDefault(),hr.stopPropagation(),Dr(hr,Object(Be.a)(er))},er.onDragOver=function(hr){var Dr=er.props.context.onNodeDragOver;hr.preventDefault(),hr.stopPropagation(),Dr(hr,Object(Be.a)(er))},er.onDragLeave=function(hr){var Dr=er.props.context.onNodeDragLeave;hr.stopPropagation(),Dr(hr,Object(Be.a)(er))},er.onDragEnd=function(hr){var Dr=er.props.context.onNodeDragEnd;hr.stopPropagation(),er.setState({dragNodeHighlight:!1}),Dr(hr,Object(Be.a)(er))},er.onDrop=function(hr){var Dr=er.props.context.onNodeDrop;hr.preventDefault(),hr.stopPropagation(),er.setState({dragNodeHighlight:!1}),Dr(hr,Object(Be.a)(er))},er.onExpand=function(hr){var Dr=er.props.context.onNodeExpand;Dr(hr,wt(er.props))},er.setSelectHandle=function(hr){er.selectHandle=hr},er.getNodeState=function(){var hr=er.props.expanded;return er.isLeaf()?null:hr?nt:Rt},er.hasChildren=function(){var hr=er.props.eventKey,Dr=er.props.context.keyEntities,Vr=Dr[hr]||{},an=Vr.children;return!!(an||[]).length},er.isLeaf=function(){var hr=er.props,Dr=hr.isLeaf,Vr=hr.loaded,an=er.props.context.loadData,Ot=er.hasChildren();return Dr===!1?!1:Dr||!an&&!Ot||an&&Vr&&!Ot},er.isDisabled=function(){var hr=er.props.disabled,Dr=er.props.context.disabled;return!!(Dr||hr)},er.isCheckable=function(){var hr=er.props.checkable,Dr=er.props.context.checkable;return!Dr||hr===!1?!1:Dr},er.syncLoadData=function(hr){var Dr=hr.expanded,Vr=hr.loading,an=hr.loaded,Ot=er.props.context,lr=Ot.loadData,vr=Ot.onNodeLoad;if(Vr)return;lr&&Dr&&!er.isLeaf()&&(!er.hasChildren()&&!an&&vr(wt(er.props)))},er.renderSwitcher=function(){var hr=er.props,Dr=hr.expanded,Vr=hr.switcherIcon,an=er.props.context,Ot=an.prefixCls,lr=an.switcherIcon,vr=Vr||lr;if(er.isLeaf())return t.createElement("span",{className:C()("".concat(Ot,"-switcher"),"".concat(Ot,"-switcher-noop"))},typeof vr=="function"?vr(Object(v.a)(Object(v.a)({},er.props),{},{isLeaf:!0})):vr);var Cr=C()("".concat(Ot,"-switcher"),"".concat(Ot,"-switcher_").concat(Dr?nt:Rt));return t.createElement("span",{onClick:er.onExpand,className:Cr},typeof vr=="function"?vr(Object(v.a)(Object(v.a)({},er.props),{},{isLeaf:!1})):vr)},er.renderCheckbox=function(){var hr=er.props,Dr=hr.checked,Vr=hr.halfChecked,an=hr.disableCheckbox,Ot=er.props.context.prefixCls,lr=er.isDisabled(),vr=er.isCheckable();if(!vr)return null;var Cr=typeof vr!="boolean"?vr:null;return t.createElement("span",{className:C()("".concat(Ot,"-checkbox"),Dr&&"".concat(Ot,"-checkbox-checked"),!Dr&&Vr&&"".concat(Ot,"-checkbox-indeterminate"),(lr||an)&&"".concat(Ot,"-checkbox-disabled")),onClick:er.onCheck},Cr)},er.renderIcon=function(){var hr=er.props.loading,Dr=er.props.context.prefixCls;return t.createElement("span",{className:C()("".concat(Dr,"-iconEle"),"".concat(Dr,"-icon__").concat(er.getNodeState()||"docu"),hr&&"".concat(Dr,"-icon_loading"))})},er.renderSelector=function(){var hr=er.state.dragNodeHighlight,Dr=er.props,Vr=Dr.title,an=Dr.selected,Ot=Dr.icon,lr=Dr.loading,vr=Dr.data,Cr=er.props.context,Hr=Cr.prefixCls,cn=Cr.showIcon,Qr=Cr.icon,gt=Cr.draggable,Gt=Cr.loadData,Sr=Cr.titleRender,Zr=er.isDisabled(),en="".concat(Hr,"-node-content-wrapper"),xn;if(cn){var kn=Ot||Qr;xn=kn?t.createElement("span",{className:C()("".concat(Hr,"-iconEle"),"".concat(Hr,"-icon__customize"))},typeof kn=="function"?kn(er.props):kn):er.renderIcon()}else Gt&&lr&&(xn=er.renderIcon());var Zn;typeof Vr=="function"?Zn=Vr(vr):Sr?Zn=Sr(vr):Zn=Vr;var ui=t.createElement("span",{className:"".concat(Hr,"-title")},Zn);return t.createElement("span",{ref:er.setSelectHandle,title:typeof Vr=="string"?Vr:"",className:C()("".concat(en),"".concat(en,"-").concat(er.getNodeState()||"normal"),!Zr&&(an||hr)&&"".concat(Hr,"-node-selected"),!Zr&>&&"draggable"),draggable:!Zr&>||void 0,"aria-grabbed":!Zr&>||void 0,onMouseEnter:er.onMouseEnter,onMouseLeave:er.onMouseLeave,onContextMenu:er.onContextMenu,onClick:er.onSelectorClick,onDoubleClick:er.onSelectorDoubleClick,onDragStart:gt?er.onDragStart:void 0},xn,ui)},er}return Object(o.a)(ln,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var hr=this.props.selectable,Dr=this.props.context.selectable;return typeof hr=="boolean"?hr:Dr}},{key:"render",value:function(){var hr,Dr=this.props,Vr=Dr.eventKey,an=Dr.className,Ot=Dr.style,lr=Dr.dragOver,vr=Dr.dragOverGapTop,Cr=Dr.dragOverGapBottom,Hr=Dr.isLeaf,cn=Dr.isStart,Qr=Dr.isEnd,gt=Dr.expanded,Gt=Dr.selected,Sr=Dr.checked,Zr=Dr.halfChecked,en=Dr.loading,xn=Dr.domRef,kn=Dr.active,Zn=Dr.onMouseMove,ui=Object(O.a)(Dr,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),ti=this.props.context,Qn=ti.prefixCls,$n=ti.filterTreeNode,Si=ti.draggable,Ci=ti.keyEntities,vi=this.isDisabled(),xi=q(ui),Ei=Ci[Vr]||{},di=Ei.level,pi=Qr[Qr.length-1];return t.createElement("div",Object.assign({ref:xn,className:C()(an,"".concat(Qn,"-treenode"),(hr={},Object(w.a)(hr,"".concat(Qn,"-treenode-disabled"),vi),Object(w.a)(hr,"".concat(Qn,"-treenode-switcher-").concat(gt?"open":"close"),!Hr),Object(w.a)(hr,"".concat(Qn,"-treenode-checkbox-checked"),Sr),Object(w.a)(hr,"".concat(Qn,"-treenode-checkbox-indeterminate"),Zr),Object(w.a)(hr,"".concat(Qn,"-treenode-selected"),Gt),Object(w.a)(hr,"".concat(Qn,"-treenode-loading"),en),Object(w.a)(hr,"".concat(Qn,"-treenode-active"),kn),Object(w.a)(hr,"".concat(Qn,"-treenode-leaf-last"),pi),Object(w.a)(hr,"drag-over",!vi&&lr),Object(w.a)(hr,"drag-over-gap-top",!vi&&vr),Object(w.a)(hr,"drag-over-gap-bottom",!vi&&Cr),Object(w.a)(hr,"filter-node",$n&&$n(wt(this.props))),hr)),style:Ot,onDragEnter:Si?this.onDragEnter:void 0,onDragOver:Si?this.onDragOver:void 0,onDragLeave:Si?this.onDragLeave:void 0,onDrop:Si?this.onDrop:void 0,onDragEnd:Si?this.onDragEnd:void 0,onMouseMove:Zn},xi),t.createElement(bt,{prefixCls:Qn,level:di,isStart:cn,isEnd:Qr}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ln}(t.Component),Jt=function(nr){return t.createElement(J.Consumer,null,function(ln){return t.createElement(Fr,Object.assign({},nr,{context:ln}))})};Jt.displayName="TreeNode",Jt.defaultProps={title:zt},Jt.isTreeNode=1;var ge=Jt,ye=.25,Le=2;function we(xr,nr){var ln=xr.slice(),er=ln.indexOf(nr);return er>=0&&ln.splice(er,1),ln}function Ke(xr,nr){var ln=xr.slice();return ln.indexOf(nr)===-1&&ln.push(nr),ln}function Je(xr){return xr.split("-")}function ut(xr,nr){return"".concat(xr,"-").concat(nr)}function vt(xr){return xr&&xr.type&&xr.type.isTreeNode}function _t(xr,nr){var ln=[xr],er=nr[xr];function hr(){var Dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Dr.forEach(function(Vr){var an=Vr.key,Ot=Vr.children;ln.push(an),hr(Ot)})}return hr(er.children),ln}function Ut(xr,nr){var ln=xr.clientY,er=nr.selectHandle.getBoundingClientRect(),hr=er.top,Dr=er.bottom,Vr=er.height,an=Math.max(Vr*ye,Le);return ln<=hr+an?-1:ln>=Dr-an?1:0}function Bt(xr,nr){if(!xr)return;var ln=nr.multiple;return ln?xr.slice():xr.length?[xr[0]]:xr}var dr=function(nr){return nr};function Oe(xr,nr){if(!xr)return[];var ln=nr||{},er=ln.processProps,hr=er===void 0?dr:er,Dr=Array.isArray(xr)?xr:[xr];return Dr.map(function(Vr){var an=Vr.children,Ot=Object(O.a)(Vr,["children"]),lr=Oe(an,nr);return l.a.createElement(ge,Object.assign({},hr(Ot)),lr)})}function xe(xr){if(!xr)return null;var nr;if(Array.isArray(xr))nr={checkedKeys:xr,halfCheckedKeys:void 0};else if(Object(b.a)(xr)==="object")nr={checkedKeys:xr.checked||void 0,halfCheckedKeys:xr.halfChecked||void 0};else return Object(ne.a)(!1,"`checkedKeys` is not an array or an object"),null;return nr}function V(xr,nr){var ln=new Set;function er(hr){if(ln.has(hr))return;var Dr=nr[hr];if(!Dr)return;ln.add(hr);var Vr=Dr.parent,an=Dr.node;if(an.disabled)return;Vr&&er(Vr.key)}return(xr||[]).forEach(function(hr){er(hr)}),Object(y.a)(ln)}function q(xr){var nr={};return Object.keys(xr).forEach(function(ln){(ln.startsWith("data-")||ln.startsWith("aria-"))&&(nr[ln]=xr[ln])}),nr}function ue(xr,nr){return xr!=null?xr:nr}function me(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nr=new Map;function ln(er){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(er||[]).forEach(function(Dr){var Vr=Dr.key,an=Dr.children;Object(ne.a)(Vr!=null,"Tree node must have a certain key: [".concat(hr).concat(Vr,"]"));var Ot=String(Vr);Object(ne.a)(!nr.has(Ot)||Vr===null||Vr===void 0,"Same 'key' exist in the Tree: ".concat(Ot)),nr.set(Ot,!0),ln(an,"".concat(hr).concat(Ot," > "))})}ln(xr)}function Ee(xr){function nr(ln){var er=Object(Pe.a)(ln);return er.map(function(hr){if(!vt(hr))return Object(ne.a)(!hr,"Tree/TreeNode can only accept TreeNode as children."),null;var Dr=hr.key,Vr=hr.props,an=Vr.children,Ot=Object(O.a)(Vr,["children"]),lr=Object(v.a)({key:Dr},Ot),vr=nr(an);return vr.length&&(lr.children=vr),lr}).filter(function(hr){return hr})}return nr(xr)}function Ge(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ln=new Set(nr===!0?[]:nr),er=[];function hr(Dr){var Vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Dr.map(function(an,Ot){var lr=ut(Vr?Vr.pos:"0",Ot),vr=ue(an.key,lr),Cr=Object(v.a)(Object(v.a)({},an),{},{parent:Vr,pos:lr,children:null,data:an,isStart:[].concat(Object(y.a)(Vr?Vr.isStart:[]),[Ot===0]),isEnd:[].concat(Object(y.a)(Vr?Vr.isEnd:[]),[Ot===Dr.length-1])});return er.push(Cr),nr===!0||ln.has(vr)?Cr.children=hr(an.children||[],Cr):Cr.children=[],Cr})}return hr(xr),er}function dt(xr,nr,ln){var er;ln?typeof ln=="string"?er=function(Vr){return Vr[ln]}:typeof ln=="function"&&(er=function(Vr){return ln(Vr)}):er=function(Vr,an){return ue(Vr.key,an)};function hr(Dr,Vr,an){var Ot=Dr?Dr.children:xr,lr=Dr?ut(an.pos,Vr):"0";if(Dr){var vr=er(Dr,lr),Cr={node:Dr,index:Vr,pos:lr,key:vr,parentPos:an.node?an.pos:null,level:an.level+1};nr(Cr)}Ot&&Ot.forEach(function(Hr,cn){hr(Hr,cn,{node:Dr,pos:lr,level:an?an.level+1:-1})})}hr(null)}function Kt(xr){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ln=nr.initWrapper,er=nr.processEntity,hr=nr.onProcessFinished,Dr=arguments.length>2?arguments[2]:void 0,Vr={},an={},Ot={posEntities:Vr,keyEntities:an};return ln&&(Ot=ln(Ot)||Ot),dt(xr,function(lr){var vr=lr.node,Cr=lr.index,Hr=lr.pos,cn=lr.key,Qr=lr.parentPos,gt=lr.level,Gt={node:vr,index:Cr,key:cn,pos:Hr,level:gt},Sr=ue(cn,Hr);Vr[Hr]=Gt,an[Sr]=Gt,Gt.parent=Vr[Qr],Gt.parent&&(Gt.parent.children=Gt.parent.children||[],Gt.parent.children.push(Gt)),er&&er(Gt,Ot)},Dr),hr&&hr(Ot),Ot}function tr(xr,nr){var ln=nr.expandedKeys,er=nr.selectedKeys,hr=nr.loadedKeys,Dr=nr.loadingKeys,Vr=nr.checkedKeys,an=nr.halfCheckedKeys,Ot=nr.dragOverNodeKey,lr=nr.dropPosition,vr=nr.keyEntities,Cr=vr[xr],Hr={eventKey:xr,expanded:ln.indexOf(xr)!==-1,selected:er.indexOf(xr)!==-1,loaded:hr.indexOf(xr)!==-1,loading:Dr.indexOf(xr)!==-1,checked:Vr.indexOf(xr)!==-1,halfChecked:an.indexOf(xr)!==-1,pos:String(Cr?Cr.pos:""),dragOver:Ot===xr&&lr===0,dragOverGapTop:Ot===xr&&lr===-1,dragOverGapBottom:Ot===xr&&lr===1};return Hr}function wt(xr){var nr=xr.data,ln=xr.expanded,er=xr.selected,hr=xr.checked,Dr=xr.loaded,Vr=xr.loading,an=xr.halfChecked,Ot=xr.dragOver,lr=xr.dragOverGapTop,vr=xr.dragOverGapBottom,Cr=xr.pos,Hr=xr.active,cn=Object(v.a)(Object(v.a)({},nr),{},{expanded:ln,selected:er,checked:hr,loaded:Dr,loading:Vr,halfChecked:an,dragOver:Ot,dragOverGapTop:lr,dragOverGapBottom:vr,pos:Cr,active:Hr});return"props"in cn||Object.defineProperty(cn,"props",{get:function(){return Object(ne.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),xr}}),cn}function It(xr,nr){var ln=new Set;return xr.forEach(function(er){nr.has(er)||ln.add(er)}),ln}function Lt(xr){var nr=xr||{},ln=nr.disabled,er=nr.disableCheckbox,hr=nr.checkable;return!!(ln||er)||hr===!1}function Nt(xr,nr,ln,er){for(var hr=new Set(xr),Dr=new Set,Vr=0;Vr<=ln;Vr+=1){var an=nr.get(Vr)||new Set;an.forEach(function(Cr){var Hr=Cr.key,cn=Cr.node,Qr=Cr.children,gt=Qr===void 0?[]:Qr;hr.has(Hr)&&!er(cn)&>.filter(function(Gt){return!er(Gt.node)}).forEach(function(Gt){hr.add(Gt.key)})})}for(var Ot=new Set,lr=ln;lr>=0;lr-=1){var vr=nr.get(lr)||new Set;vr.forEach(function(Cr){var Hr=Cr.parent,cn=Cr.node;if(er(cn)||!Cr.parent||Ot.has(Cr.parent.key))return;if(er(Cr.parent.node)){Ot.add(Hr.key);return}var Qr=!0,gt=!1;(Hr.children||[]).filter(function(Gt){return!er(Gt.node)}).forEach(function(Gt){var Sr=Gt.key,Zr=hr.has(Sr);Qr&&!Zr&&(Qr=!1),!gt&&(Zr||Dr.has(Sr))&&(gt=!0)}),Qr&&hr.add(Hr.key),gt&&Dr.add(Hr.key),Ot.add(Hr.key)})}return{checkedKeys:Array.from(hr),halfCheckedKeys:Array.from(It(Dr,hr))}}function $e(xr,nr,ln,er,hr){for(var Dr=new Set(xr),Vr=new Set(nr),an=0;an<=er;an+=1){var Ot=ln.get(an)||new Set;Ot.forEach(function(Hr){var cn=Hr.key,Qr=Hr.node,gt=Hr.children,Gt=gt===void 0?[]:gt;!Dr.has(cn)&&!Vr.has(cn)&&!hr(Qr)&&Gt.filter(function(Sr){return!hr(Sr.node)}).forEach(function(Sr){Dr.delete(Sr.key)})})}Vr=new Set;for(var lr=new Set,vr=er;vr>=0;vr-=1){var Cr=ln.get(vr)||new Set;Cr.forEach(function(Hr){var cn=Hr.parent,Qr=Hr.node;if(hr(Qr)||!Hr.parent||lr.has(Hr.parent.key))return;if(hr(Hr.parent.node)){lr.add(cn.key);return}var gt=!0,Gt=!1;(cn.children||[]).filter(function(Sr){return!hr(Sr.node)}).forEach(function(Sr){var Zr=Sr.key,en=Dr.has(Zr);gt&&!en&&(gt=!1),!Gt&&(en||Vr.has(Zr))&&(Gt=!0)}),gt||Dr.delete(cn.key),Gt&&Vr.add(cn.key),lr.add(cn.key)})}return{checkedKeys:Array.from(Dr),halfCheckedKeys:Array.from(It(Vr,Dr))}}function ot(xr,nr,ln,er){var hr=[],Dr;er?Dr=er:Dr=Lt;var Vr=new Set(xr.filter(function(vr){var Cr=!!ln[vr];return Cr||hr.push(vr),Cr})),an=new Map,Ot=0;Object.keys(ln).forEach(function(vr){var Cr=ln[vr],Hr=Cr.level,cn=an.get(Hr);cn||(cn=new Set,an.set(Hr,cn)),cn.add(Cr),Ot=Math.max(Ot,Hr)}),Object(ne.a)(!hr.length,"Tree missing follow keys: ".concat(hr.slice(0,100).map(function(vr){return"'".concat(vr,"'")}).join(", ")));var lr;return nr===!0?lr=Nt(Vr,an,Ot,Dr):lr=$e(Vr,nr.halfCheckedKeys,an,Ot,Dr),lr}var ft=e("YrtM"),ze=e("+nKL"),Ye=function(nr,ln){var er=nr.className,hr=nr.style,Dr=nr.motion,Vr=nr.motionNodes,an=nr.motionType,Ot=nr.onMotionStart,lr=nr.onMotionEnd,vr=nr.active,Cr=nr.treeNodeRequiredProps,Hr=Object(O.a)(nr,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),cn=t.useState(!0),Qr=Object(E.a)(cn,2),gt=Qr[0],Gt=Qr[1],Sr=t.useContext(J),Zr=Sr.prefixCls,en=t.useRef(!1),xn=function(){en.current||lr(),en.current=!0};return Object(t.useEffect)(function(){Vr&&an==="hide"&>&&Gt(!1)},[Vr]),Object(t.useEffect)(function(){return Vr&&Ot(),function(){Vr&&xn()}},[]),Vr?t.createElement(k.b,Object.assign({ref:ln,visible:gt},Dr,{motionAppear:an==="show",onAppearEnd:xn,onLeaveEnd:xn}),function(kn,Zn){var ui=kn.className,ti=kn.style;return t.createElement("div",{ref:Zn,className:C()("".concat(Zr,"-treenode-motion"),ui),style:ti},Vr.map(function(Qn){var $n=Qn.data,Si=$n.key,Ci=Object(O.a)($n,["key"]),vi=Qn.isStart,xi=Qn.isEnd;delete Ci.children;var Ei=tr(Si,Cr);return t.createElement(ge,Object.assign({},Ci,Ei,{active:vr,data:Qn.data,key:Si,isStart:vi,isEnd:xi}))}))}):t.createElement(ge,Object.assign({domRef:ln,className:er,style:hr},Hr,{active:vr}))};Ye.displayName="MotionTreeNode";var qe=t.forwardRef(Ye),rt=qe;function ct(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ln=xr.length,er=nr.length;if(Math.abs(ln-er)!==1)return{add:!1,key:null};function hr(Dr,Vr){var an=new Map;Dr.forEach(function(lr){an.set(lr,!0)});var Ot=Vr.filter(function(lr){return!an.has(lr)});return Ot.length===1?Ot[0]:null}return ln<er?{add:!0,key:hr(xr,nr)}:{add:!1,key:hr(nr,xr)}}function st(xr,nr,ln){var er=xr.findIndex(function(an){var Ot=an.data;return Ot.key===ln}),hr=xr[er+1],Dr=nr.findIndex(function(an){var Ot=an.data;return Ot.key===ln});if(hr){var Vr=nr.findIndex(function(an){var Ot=an.data;return Ot.key===hr.data.key});return nr.slice(Dr+1,Vr)}return nr.slice(Dr+1)}var et={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ft=function(){},Ct="RC_TREE_MOTION_".concat(Math.random()),ir={key:Ct},Xt={key:Ct,level:0,index:0,pos:"0",node:ir},_r={parent:null,children:[],pos:Xt.pos,data:ir,isStart:[],isEnd:[]};function Br(xr,nr,ln,er){return nr===!1||!ln?xr:xr.slice(0,Math.ceil(ln/er)+1)}function Gr(xr){var nr=xr.data.key,ln=xr.pos;return ue(nr,ln)}function un(xr){for(var nr=String(xr.data.key),ln=xr;ln.parent;)ln=ln.parent,nr="".concat(ln.data.key," > ").concat(nr);return nr}var mn=function(nr,ln){var er=nr.prefixCls,hr=nr.data,Dr=nr.selectable,Vr=nr.checkable,an=nr.expandedKeys,Ot=nr.selectedKeys,lr=nr.checkedKeys,vr=nr.loadedKeys,Cr=nr.loadingKeys,Hr=nr.halfCheckedKeys,cn=nr.keyEntities,Qr=nr.disabled,gt=nr.dragging,Gt=nr.dragOverNodeKey,Sr=nr.dropPosition,Zr=nr.motion,en=nr.height,xn=nr.itemHeight,kn=nr.virtual,Zn=nr.focusable,ui=nr.activeItem,ti=nr.focused,Qn=nr.tabIndex,$n=nr.onKeyDown,Si=nr.onFocus,Ci=nr.onBlur,vi=nr.onActiveChange,xi=nr.onListChangeStart,Ei=nr.onListChangeEnd,di=Object(O.a)(nr,["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"]),pi=t.useRef(null);t.useImperativeHandle(ln,function(){return{scrollTo:function(Hi){pi.current.scrollTo(Hi)}}});var _i=t.useState(an),Ri=Object(E.a)(_i,2),Vi=Ri[0],Ii=Ri[1],ba=t.useState(hr),ga=Object(E.a)(ba,2),Aa=ga[0],ha=ga[1],vo=t.useState(hr),la=Object(E.a)(vo,2),Ba=la[0],pa=la[1],to=t.useState([]),qa=Object(E.a)(to,2),Yi=qa[0],oo=qa[1],Ya=t.useState(null),wa=Object(E.a)(Ya,2),$a=wa[0],Fi=wa[1];function Sa(){ha(hr),pa(hr),oo([]),Fi(null),Ei()}t.useEffect(function(){Ii(an);var _a=ct(Vi,an);if(_a.key!==null)if(_a.add){var Hi=Aa.findIndex(function(qt){var pr=qt.data.key;return pr===_a.key}),Xa=Br(st(Aa,hr,_a.key),kn,en,xn),Da=Aa.slice();Da.splice(Hi+1,0,_r),pa(Da),oo(Xa),Fi("show")}else{var va=hr.findIndex(function(qt){var pr=qt.data.key;return pr===_a.key}),Di=Br(st(hr,Aa,_a.key),kn,en,xn),at=hr.slice();at.splice(va+1,0,_r),pa(at),oo(Di),Fi("hide")}else Aa!==hr&&(ha(hr),pa(hr))},[an,hr]),t.useEffect(function(){gt||Sa()},[gt]);var Ea=Zr?Ba:hr,yo={expandedKeys:an,selectedKeys:Ot,loadedKeys:vr,loadingKeys:Cr,checkedKeys:lr,halfCheckedKeys:Hr,dragOverNodeKey:Gt,dropPosition:Sr,keyEntities:cn};return t.createElement(t.Fragment,null,ti&&ui&&t.createElement("span",{style:et,"aria-live":"assertive"},un(ui)),t.createElement("div",{role:"tree"},t.createElement("input",{style:et,disabled:Zn===!1||Qr,tabIndex:Zn!==!1?Qn:null,onKeyDown:$n,onFocus:Si,onBlur:Ci,value:"",onChange:Ft})),t.createElement(ze.a,Object.assign({},di,{data:Ea,itemKey:Gr,height:en,fullHeight:!1,virtual:kn,itemHeight:xn,prefixCls:"".concat(er,"-list"),ref:pi}),function(_a){var Hi=_a.pos,Xa=_a.data,Da=Xa.key,va=Object(O.a)(Xa,["key"]),Di=_a.isStart,at=_a.isEnd,qt=ue(Da,Hi);delete va.children;var pr=tr(qt,yo);return t.createElement(rt,Object.assign({},va,pr,{active:ui&&Da===ui.data.key,pos:Hi,data:_a.data,isStart:Di,isEnd:at,motion:Zr,motionNodes:Da===Ct?Yi:null,motionType:$a,onMotionStart:xi,onMotionEnd:Sa,treeNodeRequiredProps:yo,onMouseMove:function(){vi(null)}}))}))},_n=t.forwardRef(mn);_n.displayName="NodeList";var qr=_n,yn=function(xr){Object(u.a)(ln,xr);var nr=Object(h.a)(ln);function ln(){var er;return Object(r.a)(this,ln),er=nr.apply(this,arguments),er.destroyed=!1,er.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},er.listRef=t.createRef(),er.onNodeDragStart=function(hr,Dr){var Vr=er.state,an=Vr.expandedKeys,Ot=Vr.keyEntities,lr=er.props.onDragStart,vr=Dr.props.eventKey;er.dragNode=Dr;var Cr=we(an,vr);er.setState({dragging:!0,dragNodesKeys:_t(vr,Ot)}),er.setExpandedKeys(Cr),lr&&lr({event:hr,node:wt(Dr.props)})},er.onNodeDragEnter=function(hr,Dr){var Vr=er.state,an=Vr.expandedKeys,Ot=Vr.keyEntities,lr=Vr.dragNodesKeys,vr=er.props.onDragEnter,Cr=Dr.props,Hr=Cr.pos,cn=Cr.eventKey;if(!er.dragNode||lr.indexOf(cn)!==-1)return;var Qr=Ut(hr,Dr);if(er.dragNode.props.eventKey===cn&&Qr===0){er.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){er.setState({dragOverNodeKey:cn,dropPosition:Qr}),er.delayedDragEnterLogic||(er.delayedDragEnterLogic={}),Object.keys(er.delayedDragEnterLogic).forEach(function(gt){clearTimeout(er.delayedDragEnterLogic[gt])}),er.delayedDragEnterLogic[Hr]=window.setTimeout(function(){if(!er.state.dragging)return;var gt=Object(y.a)(an),Gt=Ot[cn];Gt&&(Gt.children||[]).length&&(gt=Ke(an,cn)),"expandedKeys"in er.props||er.setExpandedKeys(gt),vr&&vr({event:hr,node:wt(Dr.props),expandedKeys:gt})},400)},0)},er.onNodeDragOver=function(hr,Dr){var Vr=er.state.dragNodesKeys,an=er.props.onDragOver,Ot=Dr.props.eventKey;if(Vr.indexOf(Ot)!==-1)return;if(er.dragNode&&Ot===er.state.dragOverNodeKey){var lr=Ut(hr,Dr);if(lr===er.state.dropPosition)return;er.setState({dropPosition:lr})}an&&an({event:hr,node:wt(Dr.props)})},er.onNodeDragLeave=function(hr,Dr){var Vr=er.props.onDragLeave;er.setState({dragOverNodeKey:""}),Vr&&Vr({event:hr,node:wt(Dr.props)})},er.onNodeDragEnd=function(hr,Dr){var Vr=er.props.onDragEnd;er.setState({dragOverNodeKey:""}),er.cleanDragState(),Vr&&Vr({event:hr,node:wt(Dr.props)}),er.dragNode=null},er.onNodeDrop=function(hr,Dr){var Vr=er.state,an=Vr.dragNodesKeys,Ot=an===void 0?[]:an,lr=Vr.dropPosition,vr=er.props.onDrop,Cr=Dr.props,Hr=Cr.eventKey,cn=Cr.pos;if(er.setState({dragOverNodeKey:""}),er.cleanDragState(),Ot.indexOf(Hr)!==-1){Object(ne.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Qr=Je(cn),gt={event:hr,node:wt(Dr.props),dragNode:er.dragNode?wt(er.dragNode.props):null,dragNodesKeys:Ot.slice(),dropPosition:lr+Number(Qr[Qr.length-1]),dropToGap:!1};lr!==0&&(gt.dropToGap=!0),vr&&vr(gt),er.dragNode=null},er.cleanDragState=function(){var hr=er.state.dragging;hr&&er.setState({dragging:!1})},er.onNodeClick=function(hr,Dr){var Vr=er.props.onClick;Vr&&Vr(hr,Dr)},er.onNodeDoubleClick=function(hr,Dr){var Vr=er.props.onDoubleClick;Vr&&Vr(hr,Dr)},er.onNodeSelect=function(hr,Dr){var Vr=er.state.selectedKeys,an=er.state.keyEntities,Ot=er.props,lr=Ot.onSelect,vr=Ot.multiple,Cr=Dr.selected,Hr=Dr.key,cn=!Cr;cn?vr?Vr=Ke(Vr,Hr):Vr=[Hr]:Vr=we(Vr,Hr);var Qr=Vr.map(function(gt){var Gt=an[gt];return Gt?Gt.node:null}).filter(function(gt){return gt});er.setUncontrolledState({selectedKeys:Vr}),lr&&lr(Vr,{event:"select",selected:cn,node:Dr,selectedNodes:Qr,nativeEvent:hr.nativeEvent})},er.onNodeCheck=function(hr,Dr,Vr){var an=er.state,Ot=an.keyEntities,lr=an.checkedKeys,vr=an.halfCheckedKeys,Cr=er.props,Hr=Cr.checkStrictly,cn=Cr.onCheck,Qr=Dr.key,gt,Gt={event:"check",node:Dr,checked:Vr,nativeEvent:hr.nativeEvent};if(Hr){var Sr=Vr?Ke(lr,Qr):we(lr,Qr),Zr=we(vr,Qr);gt={checked:Sr,halfChecked:Zr},Gt.checkedNodes=Sr.map(function(ti){return Ot[ti]}).filter(function(ti){return ti}).map(function(ti){return ti.node}),er.setUncontrolledState({checkedKeys:Sr})}else{var en=ot([].concat(Object(y.a)(lr),[Qr]),!0,Ot),xn=en.checkedKeys,kn=en.halfCheckedKeys;if(!Vr){var Zn=new Set(xn);Zn.delete(Qr);var ui=ot(Array.from(Zn),{checked:!1,halfCheckedKeys:kn},Ot);xn=ui.checkedKeys,kn=ui.halfCheckedKeys}gt=xn,Gt.checkedNodes=[],Gt.checkedNodesPositions=[],Gt.halfCheckedKeys=kn,xn.forEach(function(ti){var Qn=Ot[ti];if(!Qn)return;var $n=Qn.node,Si=Qn.pos;Gt.checkedNodes.push($n),Gt.checkedNodesPositions.push({node:$n,pos:Si})}),er.setUncontrolledState({checkedKeys:xn},!1,{halfCheckedKeys:kn})}cn&&cn(gt,Gt)},er.onNodeLoad=function(hr){return new Promise(function(Dr){er.setState(function(Vr){var an=Vr.loadedKeys,Ot=an===void 0?[]:an,lr=Vr.loadingKeys,vr=lr===void 0?[]:lr,Cr=er.props,Hr=Cr.loadData,cn=Cr.onLoad,Qr=hr.key;if(!Hr||Ot.indexOf(Qr)!==-1||vr.indexOf(Qr)!==-1)return{};var gt=Hr(hr);return gt.then(function(){var Gt=er.state,Sr=Gt.loadedKeys,Zr=Gt.loadingKeys,en=Ke(Sr,Qr),xn=we(Zr,Qr);cn&&cn(en,{event:"load",node:hr}),er.setUncontrolledState({loadedKeys:en}),er.setState({loadingKeys:xn}),Dr()}),{loadingKeys:Ke(vr,Qr)}})})},er.onNodeMouseEnter=function(hr,Dr){var Vr=er.props.onMouseEnter;Vr&&Vr({event:hr,node:Dr})},er.onNodeMouseLeave=function(hr,Dr){var Vr=er.props.onMouseLeave;Vr&&Vr({event:hr,node:Dr})},er.onNodeContextMenu=function(hr,Dr){var Vr=er.props.onRightClick;Vr&&(hr.preventDefault(),Vr({event:hr,node:Dr}))},er.onFocus=function(){var hr=er.props.onFocus;er.setState({focused:!0}),hr&&hr.apply(void 0,arguments)},er.onBlur=function(){var hr=er.props.onBlur;er.setState({focused:!1}),er.onActiveChange(null),hr&&hr.apply(void 0,arguments)},er.getTreeNodeRequiredProps=function(){var hr=er.state,Dr=hr.expandedKeys,Vr=hr.selectedKeys,an=hr.loadedKeys,Ot=hr.loadingKeys,lr=hr.checkedKeys,vr=hr.halfCheckedKeys,Cr=hr.dragOverNodeKey,Hr=hr.dropPosition,cn=hr.keyEntities;return{expandedKeys:Dr||[],selectedKeys:Vr||[],loadedKeys:an||[],loadingKeys:Ot||[],checkedKeys:lr||[],halfCheckedKeys:vr||[],dragOverNodeKey:Cr,dropPosition:Hr,keyEntities:cn}},er.setExpandedKeys=function(hr){var Dr=er.state.treeData,Vr=Ge(Dr,hr);er.setUncontrolledState({expandedKeys:hr,flattenNodes:Vr},!0)},er.onNodeExpand=function(hr,Dr){var Vr=er.state.expandedKeys,an=er.state.listChanging,Ot=er.props,lr=Ot.onExpand,vr=Ot.loadData,Cr=Dr.key,Hr=Dr.expanded;if(an)return;var cn=Vr.indexOf(Cr),Qr=!Hr;if(Object(ne.a)(Hr&&cn!==-1||!Hr&&cn===-1,"Expand state not sync with index check"),Qr?Vr=Ke(Vr,Cr):Vr=we(Vr,Cr),er.setExpandedKeys(Vr),lr&&lr(Vr,{node:Dr,expanded:Qr,nativeEvent:hr.nativeEvent}),Qr&&vr){var gt=er.onNodeLoad(Dr);gt&>.then(function(){var Gt=Ge(er.state.treeData,Vr);er.setUncontrolledState({flattenNodes:Gt})})}},er.onListChangeStart=function(){er.setUncontrolledState({listChanging:!0})},er.onListChangeEnd=function(){setTimeout(function(){er.setUncontrolledState({listChanging:!1})})},er.onActiveChange=function(hr){var Dr=er.state.activeKey,Vr=er.props.onActiveChange;if(Dr===hr)return;er.setState({activeKey:hr}),hr!==null&&er.scrollTo({key:hr}),Vr&&Vr(hr)},er.getActiveItem=function(){var hr=er.state,Dr=hr.activeKey,Vr=hr.flattenNodes;return Dr===null?null:Vr.find(function(an){var Ot=an.data.key;return Ot===Dr})||null},er.offsetActiveKey=function(hr){var Dr=er.state,Vr=Dr.flattenNodes,an=Dr.activeKey,Ot=Vr.findIndex(function(Cr){var Hr=Cr.data.key;return Hr===an});Ot===-1&&hr<0&&(Ot=Vr.length),Ot=(Ot+hr+Vr.length)%Vr.length;var lr=Vr[Ot];if(lr){var vr=lr.data.key;er.onActiveChange(vr)}else er.onActiveChange(null)},er.onKeyDown=function(hr){var Dr=er.state,Vr=Dr.activeKey,an=Dr.expandedKeys,Ot=Dr.checkedKeys,lr=er.props,vr=lr.onKeyDown,Cr=lr.checkable,Hr=lr.selectable;switch(hr.which){case T.a.UP:{er.offsetActiveKey(-1),hr.preventDefault();break}case T.a.DOWN:{er.offsetActiveKey(1),hr.preventDefault();break}}var cn=er.getActiveItem();if(cn&&cn.data){var Qr=er.getTreeNodeRequiredProps(),gt=cn.data.isLeaf===!1||!!(cn.data.children||[]).length,Gt=wt(Object(v.a)(Object(v.a)({},tr(Vr,Qr)),{},{data:cn.data,active:!0}));switch(hr.which){case T.a.LEFT:{gt&&an.includes(Vr)?er.onNodeExpand({},Gt):cn.parent&&er.onActiveChange(cn.parent.data.key),hr.preventDefault();break}case T.a.RIGHT:{gt&&!an.includes(Vr)?er.onNodeExpand({},Gt):cn.children&&cn.children.length&&er.onActiveChange(cn.children[0].data.key),hr.preventDefault();break}case T.a.ENTER:case T.a.SPACE:{Cr&&!Gt.disabled&&Gt.checkable!==!1&&!Gt.disableCheckbox?er.onNodeCheck({},Gt,!Ot.includes(Vr)):!Cr&&Hr&&!Gt.disabled&&Gt.selectable!==!1&&er.onNodeSelect({},Gt);break}}}vr&&vr(hr)},er.setUncontrolledState=function(hr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(er.destroyed)return;var an=!1,Ot=!0,lr={};Object.keys(hr).forEach(function(vr){if(vr in er.props){Ot=!1;return}an=!0,lr[vr]=hr[vr]}),an&&(!Dr||Ot)&&er.setState(Object(v.a)(Object(v.a)({},lr),Vr))},er.scrollTo=function(hr){er.listRef.current.scrollTo(hr)},er}return Object(o.a)(ln,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var hr,Dr=this.state,Vr=Dr.focused,an=Dr.flattenNodes,Ot=Dr.keyEntities,lr=Dr.dragging,vr=Dr.activeKey,Cr=this.props,Hr=Cr.prefixCls,cn=Cr.className,Qr=Cr.style,gt=Cr.showLine,Gt=Cr.focusable,Sr=Cr.tabIndex,Zr=Sr===void 0?0:Sr,en=Cr.selectable,xn=Cr.showIcon,kn=Cr.icon,Zn=Cr.switcherIcon,ui=Cr.draggable,ti=Cr.checkable,Qn=Cr.checkStrictly,$n=Cr.disabled,Si=Cr.motion,Ci=Cr.loadData,vi=Cr.filterTreeNode,xi=Cr.height,Ei=Cr.itemHeight,di=Cr.virtual,pi=Cr.titleRender,_i=Cr.onContextMenu,Ri=q(this.props);return t.createElement(J.Provider,{value:{prefixCls:Hr,selectable:en,showIcon:xn,icon:kn,switcherIcon:Zn,draggable:ui,checkable:ti,checkStrictly:Qn,disabled:$n,keyEntities:Ot,loadData:Ci,filterTreeNode:vi,titleRender:pi,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}},t.createElement("div",{className:C()(Hr,cn,(hr={},Object(w.a)(hr,"".concat(Hr,"-show-line"),gt),Object(w.a)(hr,"".concat(Hr,"-focused"),Vr),Object(w.a)(hr,"".concat(Hr,"-active-focused"),vr!==null),hr))},t.createElement(qr,Object.assign({ref:this.listRef,prefixCls:Hr,style:Qr,data:an,disabled:$n,selectable:en,checkable:!!ti,motion:Si,dragging:lr,height:xi,itemHeight:Ei,virtual:di,focusable:Gt,focused:Vr,tabIndex:Zr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_i},this.getTreeNodeRequiredProps(),Ri))))}}],[{key:"getDerivedStateFromProps",value:function(hr,Dr){var Vr=Dr.prevProps,an={prevProps:hr};function Ot(kn){return!Vr&&kn in hr||Vr&&Vr[kn]!==hr[kn]}var lr;if(Ot("treeData")?lr=hr.treeData:Ot("children")&&(Object(ne.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),lr=Ee(hr.children)),lr){an.treeData=lr;var vr=Kt(lr);an.keyEntities=Object(v.a)(Object(w.a)({},Ct,Xt),vr.keyEntities)}var Cr=an.keyEntities||Dr.keyEntities;if(Ot("expandedKeys")||Vr&&Ot("autoExpandParent"))an.expandedKeys=hr.autoExpandParent||!Vr&&hr.defaultExpandParent?V(hr.expandedKeys,Cr):hr.expandedKeys;else if(!Vr&&hr.defaultExpandAll){var Hr=Object(v.a)({},Cr);delete Hr[Ct],an.expandedKeys=Object.keys(Hr).map(function(kn){return Hr[kn].key})}else!Vr&&hr.defaultExpandedKeys&&(an.expandedKeys=hr.autoExpandParent||hr.defaultExpandParent?V(hr.defaultExpandedKeys,Cr):hr.defaultExpandedKeys);if(an.expandedKeys||delete an.expandedKeys,lr||an.expandedKeys){var cn=Ge(lr||Dr.treeData,an.expandedKeys||Dr.expandedKeys);an.flattenNodes=cn}if(hr.selectable&&(Ot("selectedKeys")?an.selectedKeys=Bt(hr.selectedKeys,hr):!Vr&&hr.defaultSelectedKeys&&(an.selectedKeys=Bt(hr.defaultSelectedKeys,hr))),hr.checkable){var Qr;if(Ot("checkedKeys")?Qr=xe(hr.checkedKeys)||{}:!Vr&&hr.defaultCheckedKeys?Qr=xe(hr.defaultCheckedKeys)||{}:lr&&(Qr=xe(hr.checkedKeys)||{checkedKeys:Dr.checkedKeys,halfCheckedKeys:Dr.halfCheckedKeys}),Qr){var gt=Qr,Gt=gt.checkedKeys,Sr=Gt===void 0?[]:Gt,Zr=gt.halfCheckedKeys,en=Zr===void 0?[]:Zr;if(!hr.checkStrictly){var xn=ot(Sr,!0,Cr);Sr=xn.checkedKeys,en=xn.halfCheckedKeys}an.checkedKeys=Sr,an.halfCheckedKeys=en}}return Ot("loadedKeys")&&(an.loadedKeys=hr.loadedKeys),an}}]),ln}(t.Component);yn.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:[]},yn.TreeNode=ge;var nn=yn,cr=nn,Pr=t.createContext(null);function Ar(xr,nr){if(!xr)return!0;var ln=xr.data,er=ln.disabled,hr=ln.disableCheckbox;switch(nr){case"select":return er;case"checkbox":return er||hr}return!1}function Mr(xr,nr){var ln=t.useCallback(function(hr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Vr=arguments.length>2?arguments[2]:void 0,an=xr.get(hr);return!Vr&&Ar(an,Dr)?null:an},[xr]),er=t.useCallback(function(hr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Vr=arguments.length>2?arguments[2]:void 0,an=nr.get(hr);return!Vr&&Ar(an,Dr)?null:an},[nr]);return[ln,er]}function fn(xr){return t.useMemo(function(){var nr=new Map,ln=new Map;return xr.forEach(function(er){nr.set(er.key,er),ln.set(er.data.value,er)}),[nr,ln]},[xr])}var En={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Rn=function(nr,ln){var er=nr.prefixCls,hr=nr.height,Dr=nr.itemHeight,Vr=nr.virtual,an=nr.options,Ot=nr.flattenOptions,lr=nr.multiple,vr=nr.searchValue,Cr=nr.onSelect,Hr=nr.onToggleOpen,cn=nr.open,Qr=nr.notFoundContent,gt=nr.onMouseEnter,Gt=t.useContext(Pr),Sr=Gt.checkable,Zr=Gt.checkedKeys,en=Gt.halfCheckedKeys,xn=Gt.treeExpandedKeys,kn=Gt.treeDefaultExpandAll,Zn=Gt.treeDefaultExpandedKeys,ui=Gt.onTreeExpand,ti=Gt.treeIcon,Qn=Gt.showTreeIcon,$n=Gt.switcherIcon,Si=Gt.treeLine,Ci=Gt.treeNodeFilterProp,vi=Gt.loadData,xi=Gt.treeLoadedKeys,Ei=Gt.treeMotion,di=Gt.onTreeLoad,pi=t.useRef(),_i=Object(ft.a)(function(){return an},[cn,an],function(pr,ur){return ur[0]&&pr[1]!==ur[1]}),Ri=fn(Ot),Vi=Object(E.a)(Ri,2),Ii=Vi[0],ba=Vi[1],ga=Mr(Ii,ba),Aa=Object(E.a)(ga,2),ha=Aa[0],vo=Aa[1],la=t.useMemo(function(){return Zr.map(function(pr){var ur=vo(pr);return ur?ur.key:null})},[Zr]),Ba=t.useMemo(function(){return Sr?{checked:la,halfChecked:en}:null},[la,en,Sr]);t.useEffect(function(){if(cn&&!lr&&la.length){var pr;(pr=pi.current)===null||pr===void 0||pr.scrollTo({key:la[0]})}},[cn]);var pa=String(vr).toLowerCase(),to=function(ur){return pa?String(ur[Ci]).toLowerCase().includes(pa):!1},qa=t.useState(Zn),Yi=Object(E.a)(qa,2),oo=Yi[0],Ya=Yi[1],wa=t.useState(null),$a=Object(E.a)(wa,2),Fi=$a[0],Sa=$a[1],Ea=t.useMemo(function(){return xn?Object(y.a)(xn):vr?Fi:oo},[oo,Fi,pa,xn]);t.useEffect(function(){vr&&Sa(Ot.map(function(pr){return pr.key}))},[vr]);var yo=function(ur){Ya(ur),Sa(ur),ui&&ui(ur)},_a=function(ur){ur.preventDefault()},Hi=function(ur,$r){var Er=$r.node.key,sr=ha(Er,Sr?"checkbox":"select");sr!==null&&Cr(sr.data.value,{selected:!Zr.includes(sr.data.value)}),lr||Hr(!1)},Xa=t.useState(null),Da=Object(E.a)(Xa,2),va=Da[0],Di=Da[1],at=ha(va);if(t.useImperativeHandle(ln,function(){return{onKeyDown:function(ur){var $r,Er=ur.which;switch(Er){case T.a.UP:case T.a.DOWN:case T.a.LEFT:case T.a.RIGHT:($r=pi.current)===null||$r===void 0||$r.onKeyDown(ur);break;case T.a.ENTER:{at!==null&&Hi(null,{node:{key:va},selected:!Zr.includes(at.data.value)});break}case T.a.ESC:Hr(!1)}},onKeyUp:function(){}}}),_i.length===0)return t.createElement("div",{role:"listbox",className:"".concat(er,"-empty"),onMouseDown:_a},Qr);var qt={};return xi&&(qt.loadedKeys=xi),Ea&&(qt.expandedKeys=Ea),t.createElement("div",{onMouseDown:_a,onMouseEnter:gt},at&&cn&&t.createElement("span",{style:En,"aria-live":"assertive"},at.data.value),t.createElement(cr,Object.assign({ref:pi,focusable:!1,prefixCls:"".concat(er,"-tree"),treeData:_i,height:hr,itemHeight:Dr,virtual:Vr,multiple:lr,icon:ti,showIcon:Qn,switcherIcon:$n,showLine:Si,loadData:vr?null:vi,motion:Ei,checkable:Sr,checkStrictly:!0,checkedKeys:Ba,selectedKeys:Sr?[]:la,defaultExpandAll:kn},qt,{onActiveChange:Di,onSelect:Hi,onCheck:Hi,onExpand:yo,onLoad:di,filterTreeNode:to})))},oi=t.forwardRef(Rn);oi.displayName="OptionList";var An=oi,mi=function(){return null},ai=mi;function Xr(xr){return Object(Pe.a)(xr).map(function(nr){if(!t.isValidElement(nr)||!nr.type)return null;var ln=nr.key,er=nr.props,hr=er.children,Dr=er.value,Vr=Object(O.a)(er,["children","value"]),an=Object(v.a)({key:ln,value:Dr},Vr),Ot=Xr(hr);return Ot.length&&(an.children=Ot),an}).filter(function(nr){return nr})}function pn(xr){if(!xr)return xr;var nr=Object(v.a)({},xr);return"props"in nr||Object.defineProperty(nr,"props",{get:function(){return Object(ne.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),nr}}),nr}function Ln(xr,nr,ln,er,hr){var Dr=null,Vr=null;function an(){function Ot(lr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return lr.map(function(Hr,cn){var Qr="".concat(vr,"-").concat(cn),gt=ln.includes(Hr.value),Gt=Ot(Hr.children||[],Qr,gt),Sr=t.createElement(ai,Object.assign({},Hr),Gt.map(function(en){return en.node}));if(nr===Hr.value&&(Dr=Sr),gt){var Zr={pos:Qr,node:Sr,children:Gt};return Cr||Vr.push(Zr),Zr}return null}).filter(function(Hr){return Hr})}Vr||(Vr=[],Ot(er),Vr.sort(function(lr,vr){var Cr=lr.node.props.value,Hr=vr.node.props.value,cn=ln.indexOf(Cr),Qr=ln.indexOf(Hr);return cn-Qr}))}Object.defineProperty(xr,"triggerNode",{get:function(){return Object(ne.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),an(),Dr}}),Object.defineProperty(xr,"allCheckedNodes",{get:function(){return Object(ne.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),an(),hr?Vr:Vr.map(function(lr){var vr=lr.node;return vr})}})}function tn(xr){return Array.isArray(xr)?xr:xr!==void 0?[xr]:[]}function $t(xr,nr){var ln=new Map;return nr.forEach(function(er){var hr=er.data;ln.set(hr.value,hr)}),xr.map(function(er){return pn(ln.get(er))})}function yr(xr,nr){var ln=$t([xr],nr)[0];return ln?ln.disabled:!1}function kr(xr){return xr.disabled||xr.disableCheckbox||xr.checkable===!1}function gr(xr){for(var nr=xr.parent,ln=0,er=nr;er;)er=er.parent,ln+=1;return ln}function Kr(xr){function nr(er){return(er||[]).map(function(hr){var Dr=hr.value,Vr=hr.key,an=hr.children,Ot=Object(v.a)(Object(v.a)({},hr),{},{key:"key"in hr?Vr:Dr});return an&&(Ot.children=nr(an)),Ot})}var ln=Ge(nr(xr),!0);return ln.map(function(er){return{key:er.data.key,data:er.data,level:gr(er)}})}function sn(xr){return function(nr,ln){var er=ln[xr];return String(er).toLowerCase().includes(String(nr).toLowerCase())}}function Ir(xr,nr,ln){var er=ln.optionFilterProp,hr=ln.filterOption;if(hr===!1)return nr;var Dr;typeof hr=="function"?Dr=hr:Dr=sn(er);function Vr(an){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return an.map(function(lr){var vr=lr.children,Cr=Ot||Dr(xr,pn(lr)),Hr=Vr(vr||[],Cr);return Cr||Hr.length?Object(v.a)(Object(v.a)({},lr),{},{children:Hr}):null}).filter(function(lr){return lr})}return Vr(nr)}function Rr(xr,nr,ln,er){var hr=new Map;return tn(nr).forEach(function(Dr){Dr&&Object(b.a)(Dr)==="object"&&"value"in Dr&&hr.set(Dr.value,Dr)}),xr.map(function(Dr){var Vr={value:Dr},an=ln(Dr,"select",!0),Ot=an?er(an.data):Dr;if(hr.has(Dr)){var lr=hr.get(Dr);Vr.label="label"in lr?lr.label:Ot,"halfChecked"in lr&&(Vr.halfChecked=lr.halfChecked)}else Vr.label=Ot;return Vr})}function ar(xr,nr){var ln=new Set(xr);return ln.add(nr),Array.from(ln)}function Tr(xr,nr){var ln=new Set(xr);return ln.delete(nr),Array.from(ln)}function br(xr){var nr=xr.searchPlaceholder,ln=xr.treeCheckStrictly,er=xr.treeCheckable,hr=xr.labelInValue,Dr=xr.value,Vr=xr.multiple;Object(ne.a)(!nr,"`searchPlaceholder` has been removed."),ln&&hr===!1&&Object(ne.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(hr||ln)&&Object(ne.a)(tn(Dr).every(function(an){return an&&Object(b.a)(an)==="object"&&"value"in an}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ln||Vr||er?Object(ne.a)(!Dr||Array.isArray(Dr),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(ne.a)(!Array.isArray(Dr),"`value` should not be array when `TreeSelect` is single mode.")}var fr=br,zr=10;function wn(xr,nr){var ln=nr.id,er=nr.pId,hr=nr.rootPId,Dr={},Vr=[],an=xr.map(function(Ot){var lr=Object(v.a)({},Ot),vr=lr[ln];return Dr[vr]=lr,lr.key=lr.key||vr,lr});return an.forEach(function(Ot){var lr=Ot[er],vr=Dr[lr];vr&&(vr.children=vr.children||[],vr.children.push(Ot)),(lr===hr||!vr&&hr===null)&&Vr.push(Ot)}),Vr}function On(xr,nr){var ln=0,er=new Set;function hr(Dr){return(Dr||[]).map(function(Vr){var an=Vr.key,Ot=Vr.value,lr=Vr.children,vr=Object(O.a)(Vr,["key","value","children"]),Cr="value"in Vr?Ot:an,Hr=Object(v.a)(Object(v.a)({},vr),{},{key:an!=null?an:Cr,value:Cr,title:nr(Vr)});return"children"in Vr&&(Hr.children=hr(lr)),Hr})}return hr(xr)}function Wn(xr,nr,ln){var er=ln.getLabelProp,hr=ln.simpleMode,Dr=t.useRef({});return xr?(Dr.current.formatTreeData=Dr.current.treeData===xr?Dr.current.formatTreeData:On(hr?wn(xr,Object(v.a)({id:"id",pId:"pId",rootPId:null},hr!==!0?hr:{})):xr,er),Dr.current.treeData=xr):Dr.current.formatTreeData=Dr.current.children===nr?Dr.current.formatTreeData:On(Xr(nr),er),Dr.current.formatTreeData}var Xn="SHOW_ALL",ii="SHOW_PARENT",li="SHOW_CHILD";function bi(xr,nr,ln){var er=new Set(xr);return nr===li?xr.filter(function(hr){var Dr=ln[hr];return!(Dr&&Dr.children&&Dr.children.every(function(Vr){var an=Vr.node;return kr(an)||er.has(an.key)}))}):nr===ii?xr.filter(function(hr){var Dr=ln[hr],Vr=Dr?Dr.parent:null;return!(Vr&&!kr(Vr.node)&&er.has(Vr.node.key))}):xr}function gi(xr,nr){var ln=nr.value,er=nr.getEntityByValue,hr=nr.getEntityByKey,Dr=nr.treeConduction,Vr=nr.showCheckedStrategy,an=nr.conductKeyEntities,Ot=nr.getLabelProp;return t.useMemo(function(){var lr=xr;if(Dr){var vr=bi(xr.map(function(Cr){var Hr=er(Cr);return Hr?Hr.key:Cr}),Vr,an);lr=vr.map(function(Cr){var Hr=hr(Cr);return Hr?Hr.data.value:Cr})}return Rr(lr,ln,er,Ot)},[xr,ln,Dr,Vr,er])}var Ni=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ki=Y({prefixCls:"rc-tree-select",components:{optionList:An},convertChildrenToData:function(){return null},flattenOptions:Kr,getLabeledValue:At,filterOptions:Ir,isValueDisabled:yr,findValueOption:$t,omitDOMProps:function(nr){var ln=Object(v.a)({},nr);return Ni.forEach(function(er){delete ln[er]}),ln}});ki.displayName="Select";var sa=t.forwardRef(function(xr,nr){var ln=xr.multiple,er=xr.treeCheckable,hr=xr.treeCheckStrictly,Dr=xr.showCheckedStrategy,Vr=Dr===void 0?"SHOW_CHILD":Dr,an=xr.labelInValue,Ot=xr.loadData,lr=xr.treeLoadedKeys,vr=xr.treeNodeFilterProp,Cr=vr===void 0?"value":vr,Hr=xr.treeNodeLabelProp,cn=xr.treeDataSimpleMode,Qr=xr.treeData,gt=xr.treeExpandedKeys,Gt=xr.treeDefaultExpandedKeys,Sr=xr.treeDefaultExpandAll,Zr=xr.children,en=xr.treeIcon,xn=xr.showTreeIcon,kn=xr.switcherIcon,Zn=xr.treeLine,ui=xr.treeMotion,ti=xr.filterTreeNode,Qn=xr.dropdownPopupAlign,$n=xr.onChange,Si=xr.onTreeExpand,Ci=xr.onTreeLoad,vi=xr.onDropdownVisibleChange,xi=xr.onSelect,Ei=xr.onDeselect,di=er||hr,pi=ln||di,_i=er&&!hr,Ri=hr||an,Vi=t.useRef(null);t.useImperativeHandle(nr,function(){return{focus:Vi.current.focus,blur:Vi.current.blur}});var Ii=function(Er){return Qr&&Er.label||Er.title},ba=function(Er){return Hr?Er[Hr]:Ii(Er)},ga=Wn(Qr,Zr,{getLabelProp:Ii,simpleMode:cn}),Aa=Object(t.useMemo)(function(){return Kr(ga)},[ga]),ha=fn(Aa),vo=Object(E.a)(ha,2),la=vo[0],Ba=vo[1],pa=Mr(la,Ba),to=Object(E.a)(pa,2),qa=to[0],Yi=to[1],oo=Object(t.useMemo)(function(){return _i?Kt(ga):{keyEntities:null}},[ga,er,hr]),Ya=oo.keyEntities,wa=Object(_.a)(xr.defaultValue,{value:xr.value}),$a=Object(E.a)(wa,2),Fi=$a[0],Sa=$a[1],Ea=function(Er){var sr=[],dn=[];return Er.forEach(function(wr){Yi(wr)?dn.push(wr):sr.push(wr)}),{missingRawValues:sr,existRawValues:dn}},yo=Object(t.useMemo)(function(){var $r=[],Er=[];if(tn(Fi).forEach(function(Kn){if(Kn&&Object(b.a)(Kn)==="object"&&"value"in Kn)if(Kn.halfChecked&&hr){var Mn=Yi(Kn.value);$r.push(Mn?Mn.key:Kn.value)}else Er.push(Kn.value);else Er.push(Kn)}),_i){var sr=Ea(Er),dn=sr.missingRawValues,wr=sr.existRawValues,rn=wr.map(function(Kn){return Yi(Kn).key}),Fn=ot(rn,!0,Ya),Bn=Fn.checkedKeys,Tn=Fn.halfCheckedKeys;return[[].concat(Object(y.a)(dn),Object(y.a)(Bn.map(function(Kn){return qa(Kn).data.value}))),Tn]}return[Er,$r]},[Fi,pi,Ri,er,hr]),_a=Object(E.a)(yo,2),Hi=_a[0],Xa=_a[1],Da=gi(Hi,{treeConduction:_i,value:Fi,showCheckedStrategy:Vr,conductKeyEntities:Ya,getEntityByValue:Yi,getEntityByKey:qa,getLabelProp:ba}),va=function(Er,sr,dn){if(Sa(pi?Er:Er[0]),$n){var wr=Er;if(_i&&Vr!=="SHOW_ALL"){var rn=Er.map(function(Jn){var Ai=Yi(Jn);return Ai?Ai.key:Jn}),Fn=bi(rn,Vr,Ya);wr=Fn.map(function(Jn){var Ai=qa(Jn);return Ai?Ai.data.value:Jn})}var Bn=sr||{triggerValue:void 0,selected:void 0},Tn=Bn.triggerValue,Kn=Bn.selected,Mn=Ri?Rr(wr,Fi,Yi,ba):wr;if(hr){var Un=Xa.map(function(Jn){var Ai=qa(Jn);return Ai?Ai.data.value:Jn}).filter(function(Jn){return!wr.includes(Jn)});Mn=[].concat(Object(y.a)(Mn),Object(y.a)(Rr(Un,Fi,Yi,ba)))}var Vn={preValue:Da,triggerValue:Tn},si=!0;(hr||dn==="selection"&&!Kn)&&(si=!1),Ln(Vn,Tn,Er,ga,si),di?Vn.checked=Kn:Vn.selected=Kn,$n(pi?Mn:Mn[0],Ri?null:wr.map(function(Jn){var Ai=Yi(Jn);return Ai?ba(Ai.data):null}),Vn)}},Di=function(Er,sr,dn){var wr=Er;if(!pi)va([Er],{selected:!0,triggerValue:Er},dn);else{var rn=ar(Hi,Er);if(_i){var Fn=Ea(rn),Bn=Fn.missingRawValues,Tn=Fn.existRawValues,Kn=Tn.map(function(Vn){return Yi(Vn).key}),Mn=ot(Kn,!0,Ya),Un=Mn.checkedKeys;rn=[].concat(Object(y.a)(Bn),Object(y.a)(Un.map(function(Vn){return qa(Vn).data.value})))}va(rn,{selected:!0,triggerValue:Er},dn)}xi&&xi(wr,sr)},at=function(Er,sr,dn){var wr=Er,rn=Tr(Hi,Er);if(_i){var Fn=Ea(rn),Bn=Fn.missingRawValues,Tn=Fn.existRawValues,Kn=Tn.map(function(Vn){return Yi(Vn).key}),Mn=ot(Kn,{checked:!1,halfCheckedKeys:Xa},Ya),Un=Mn.checkedKeys;rn=[].concat(Object(y.a)(Bn),Object(y.a)(Un.map(function(Vn){return qa(Vn).data.value})))}va(rn,{selected:!1,triggerValue:Er},dn),Ei&&Ei(wr,sr)},qt=function(){va([],null,"clear")},pr=t.useCallback(function($r){if(vi){var Er={};Object.defineProperty(Er,"documentClickClose",{get:function(){return Object(ne.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),vi($r,Er)}},[vi]),ur={optionLabelProp:null,optionFilterProp:Cr,dropdownAlign:Qn,internalProps:{mark:Re,onClear:qt,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Di,onRawDeselect:at}};return"filterTreeNode"in xr&&(ur.filterOption=ti),t.createElement(Pr.Provider,{value:{checkable:di,loadData:Ot,treeLoadedKeys:lr,onTreeLoad:Ci,checkedKeys:Hi,halfCheckedKeys:Xa,treeDefaultExpandAll:Sr,treeExpandedKeys:gt,treeDefaultExpandedKeys:Gt,onTreeExpand:Si,treeIcon:en,treeMotion:ui,showTreeIcon:xn,switcherIcon:kn,treeLine:Zn,treeNodeFilterProp:Cr}},t.createElement(ki,Object.assign({ref:Vi,mode:pi?"multiple":null},xr,ur,{value:Da,labelInValue:!0,options:ga,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:pr})))}),Wi=function(xr){Object(u.a)(ln,xr);var nr=Object(h.a)(ln);function ln(){var er;return Object(r.a)(this,ln),er=nr.apply(this,arguments),er.selectRef=t.createRef(),er.focus=function(){er.selectRef.current.focus()},er.blur=function(){er.selectRef.current.blur()},er}return Object(o.a)(ln,[{key:"render",value:function(){return t.createElement(sa,Object.assign({ref:this.selectRef},this.props))}}]),ln}(t.Component);Wi.TreeNode=ai,Wi.SHOW_ALL=Xn,Wi.SHOW_PARENT=ii,Wi.SHOW_CHILD=li;var Ta=Wi,La=Ta,ta=e("BGR+"),Ka=e("H84U"),ni=e("uaoM"),zi=e("1vzs"),Va=e("2jpz"),Za=e("3Nzz"),Oa=function(xr){n()(ln,xr);var nr=d()(ln);function ln(er){var hr;return p()(this,ln),hr=nr.call(this,er),hr.selectRef=t.createRef(),hr.renderTreeSelect=function(Dr){var Vr=Dr.getPopupContainer,an=Dr.getPrefixCls,Ot=Dr.renderEmpty,lr=Dr.direction,vr=Dr.virtual,Cr=Dr.dropdownMatchSelectWidth,Hr=hr.props,cn=Hr.prefixCls,Qr=Hr.size,gt=Hr.className,Gt=Hr.treeCheckable,Sr=Hr.multiple,Zr=Hr.listHeight,en=Zr===void 0?256:Zr,xn=Hr.listItemHeight,kn=xn===void 0?26:xn,Zn=Hr.notFoundContent,ui=Hr.switcherIcon,ti=Hr.treeLine,Qn=Hr.getPopupContainer,$n=Hr.dropdownClassName,Si=Hr.bordered,Ci=Hr.treeIcon,vi=Ci===void 0?!1:Ci,xi=an("select",cn),Ei=an("select-tree",cn),di=an("tree-select",cn),pi=C()($n,"".concat(di,"-dropdown"),m()({},"".concat(di,"-dropdown-rtl"),lr==="rtl")),_i=!!(Gt||Sr),Ri=Object(zi.a)(f()(f()({},hr.props),{multiple:_i,prefixCls:xi})),Vi=Ri.suffixIcon,Ii=Ri.itemIcon,ba=Ri.removeIcon,ga=Ri.clearIcon,Aa;Zn!==void 0?Aa=Zn:Aa=Ot("Select");var ha=Object(ta.default)(hr.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return t.createElement(Za.b.Consumer,null,function(vo){var la,Ba=Qr||vo,pa=C()(!cn&&di,(la={},m()(la,"".concat(xi,"-lg"),Ba==="large"),m()(la,"".concat(xi,"-sm"),Ba==="small"),m()(la,"".concat(xi,"-rtl"),lr==="rtl"),m()(la,"".concat(xi,"-borderless"),!Si),la),gt);return t.createElement(La,f()({virtual:vr,dropdownMatchSelectWidth:Cr},ha,{ref:hr.selectRef,prefixCls:xi,className:pa,listHeight:en,listItemHeight:kn,treeCheckable:Gt&&t.createElement("span",{className:"".concat(xi,"-tree-checkbox-inner")}),inputIcon:Vi,menuItemSelectedIcon:Ii,removeIcon:ba,clearIcon:ga,switcherIcon:function(qa){return Object(Va.a)(Ei,ui,ti,qa)},showTreeIcon:vi,notFoundContent:Aa,getPopupContainer:Qn||Vr,treeMotion:null,dropdownClassName:pi}))})},Object(ni.a)(er.multiple!==!1||!er.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),hr}return s()(ln,[{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 t.createElement(Ka.a,null,this.renderTreeSelect)}}]),ln}(t.Component);Oa.TreeNode=ai,Oa.SHOW_ALL=Xn,Oa.SHOW_PARENT=ii,Oa.SHOW_CHILD=li,Oa.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ma=N.a=Oa},"5Uyt":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"5YOS":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"5YgA":function(R,N,e){},"5bA4":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="LeftOutlined";var c=N.a=f.forwardRef(p)},"5nXd":function(R,N,e){var A=e("MFOe"),f=A.slice,x=A.pluck,m=A.each,g=A.bind,p=A.create,c=A.isList,s=A.isFunction,a=A.isObject;R.exports={createStore:d};var n={version:"2.0.12",enabled:!1,get:function(l,r){var o=this.storage.read(this._namespacePrefix+l);return this._deserialize(o,r)},set:function(l,r){return r===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(r)),r)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var r=this;this.storage.each(function(o,u){l.call(r,r._deserialize(o),(u||"").replace(r._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return d(this.storage,this.plugins,l)}};function i(){var t=typeof console=="undefined"?null:console;if(!t)return;var l=t.warn?t.warn:t.log;l.apply(t,arguments)}function d(t,l,r){r||(r=""),t&&!c(t)&&(t=[t]),l&&!c(l)&&(l=[l]);var o=r?"__storejs_"+r+"_":"",u=r?new RegExp("^"+o):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var y={_namespacePrefix:o,_namespaceRegexp:u,_testStorage:function(v){try{var w="__storejs__test__";v.write(w,w);var O=v.read(w)===w;return v.remove(w),O}catch(T){return!1}},_assignPluginFnProp:function(v,w){var O=this[w];this[w]=function(){var S=f(arguments,0),C=this;function _(){return O?(m(arguments,function(k,F){S[F]=k}),O.apply(C,S)):void 0}var I=[_].concat(S);return v.apply(C,I)}},_serialize:function(v){return JSON.stringify(v)},_deserialize:function(v,w){if(!v)return w;var O="";try{O=JSON.parse(v)}catch(T){O=v}return O!==void 0?O:w},_addStorage:function(v){if(this.enabled)return;this._testStorage(v)&&(this.storage=v,this.enabled=!0)},_addPlugin:function(v){var w=this;if(c(v)){m(v,function(S){w._addPlugin(S)});return}var O=x(this.plugins,function(S){return v===S});if(O)return;if(this.plugins.push(v),!s(v))throw new Error("Plugins must be function values that return objects");var T=v.call(this);if(!a(T))throw new Error("Plugins must return an object of function properties");m(T,function(S,C){if(!s(S))throw new Error("Bad plugin property: "+C+" from plugin "+v.name+". Plugins should only return functions.");w._assignPluginFnProp(S,C)})},addStorage:function(v){i("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(v)}},b=p(y,n,{plugins:[]});return b.raw={},m(b,function(E,v){s(E)&&(b.raw[v]=g(b,E))}),m(t,function(E){b._addStorage(E)}),m(l,function(E){b._addPlugin(E)}),b}},"5rEg":function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lwsE"),m=e.n(x),g=e("W8MJ"),p=e.n(g),c=e("7W2i"),s=e.n(c),a=e("LQ03"),n=e.n(a),i=e("lSNA"),d=e.n(i),t=e("q1tI"),l=e("TSYQ"),r=e.n(l),o=e("BGR+"),u=e("kbBi"),h=e.n(u),y=e("CWQg"),b=e("0n0R"),E=Object(y.a)("text","input");function v(le){return!!(le.prefix||le.suffix||le.allowClear)}var w=function(le){s()(Re,le);var je=n()(Re);function Re(){var Ze;return m()(this,Re),Ze=je.apply(this,arguments),Ze.containerRef=t.createRef(),Ze.onInputMouseUp=function(De){var ne;if((ne=Ze.containerRef.current)===null||ne===void 0?void 0:ne.contains(De.target)){var he=Ze.props.triggerFocus;he()}},Ze}return p()(Re,[{key:"renderClearIcon",value:function(De){var ne=this.props,he=ne.allowClear,pe=ne.value,Xe=ne.disabled,lt=ne.readOnly,At=ne.inputType,Me=ne.handleReset;if(!he)return null;var Ht=!Xe&&!lt&&pe,tt=At===E[0]?"".concat(De,"-textarea-clear-icon"):"".concat(De,"-clear-icon");return t.createElement(h.a,{onClick:Me,className:r()(tt,d()({},"".concat(tt,"-hidden"),!Ht)),role:"button"})}},{key:"renderSuffix",value:function(De){var ne=this.props,he=ne.suffix,pe=ne.allowClear;return he||pe?t.createElement("span",{className:"".concat(De,"-suffix")},this.renderClearIcon(De),he):null}},{key:"renderLabeledIcon",value:function(De,ne){var he,pe=this.props,Xe=pe.focused,lt=pe.value,At=pe.prefix,Me=pe.className,Ht=pe.size,tt=pe.suffix,Mt=pe.disabled,jt=pe.allowClear,kt=pe.direction,Tt=pe.style,Dt=pe.readOnly,Ue=pe.bordered,G=this.renderSuffix(De);if(!v(this.props))return Object(b.a)(ne,{value:lt});var Y=At?t.createElement("span",{className:"".concat(De,"-prefix")},At):null,Pe=r()(Me,"".concat(De,"-affix-wrapper"),(he={},d()(he,"".concat(De,"-affix-wrapper-focused"),Xe),d()(he,"".concat(De,"-affix-wrapper-disabled"),Mt),d()(he,"".concat(De,"-affix-wrapper-sm"),Ht==="small"),d()(he,"".concat(De,"-affix-wrapper-lg"),Ht==="large"),d()(he,"".concat(De,"-affix-wrapper-input-with-clear-btn"),tt&&jt&<),d()(he,"".concat(De,"-affix-wrapper-rtl"),kt==="rtl"),d()(he,"".concat(De,"-affix-wrapper-readonly"),Dt),d()(he,"".concat(De,"-affix-wrapper-borderless"),!Ue),he));return t.createElement("span",{ref:this.containerRef,className:Pe,style:Tt,onMouseUp:this.onInputMouseUp},Y,Object(b.a)(ne,{style:null,value:lt,className:k(De,Ue,Ht,Mt)}),G)}},{key:"renderInputWithLabel",value:function(De,ne){var he,pe,Xe=this.props,lt=Xe.addonBefore,At=Xe.addonAfter,Me=Xe.style,Ht=Xe.size,tt=Xe.className,Mt=Xe.direction;if(!lt&&!At)return ne;var jt="".concat(De,"-group"),kt="".concat(jt,"-addon"),Tt=lt?t.createElement("span",{className:kt},lt):null,Dt=At?t.createElement("span",{className:kt},At):null,Ue=r()("".concat(De,"-wrapper"),(he={},d()(he,jt,lt||At),d()(he,"".concat(jt,"-rtl"),Mt==="rtl"),he)),G=r()(tt,"".concat(De,"-group-wrapper"),(pe={},d()(pe,"".concat(De,"-group-wrapper-sm"),Ht==="small"),d()(pe,"".concat(De,"-group-wrapper-lg"),Ht==="large"),d()(pe,"".concat(De,"-group-wrapper-rtl"),Mt==="rtl"),pe));return t.createElement("span",{className:G,style:Me},t.createElement("span",{className:Ue},Tt,Object(b.a)(ne,{style:null}),Dt))}},{key:"renderTextAreaWithClearIcon",value:function(De,ne){var he,pe=this.props,Xe=pe.value,lt=pe.allowClear,At=pe.className,Me=pe.style,Ht=pe.direction,tt=pe.bordered;if(!lt)return Object(b.a)(ne,{value:Xe});var Mt=r()(At,"".concat(De,"-affix-wrapper"),"".concat(De,"-affix-wrapper-textarea-with-clear-btn"),(he={},d()(he,"".concat(De,"-affix-wrapper-rtl"),Ht==="rtl"),d()(he,"".concat(De,"-affix-wrapper-borderless"),!tt),he));return t.createElement("span",{className:Mt,style:Me},Object(b.a)(ne,{style:null,value:Xe}),this.renderClearIcon(De))}},{key:"render",value:function(){var De=this.props,ne=De.prefixCls,he=De.inputType,pe=De.element;return he===E[0]?this.renderTextAreaWithClearIcon(ne,pe):this.renderInputWithLabel(ne,this.renderLabeledIcon(ne,pe))}}]),Re}(t.Component),O=w,T=e("H84U"),S=e("3Nzz"),C=e("uaoM");function _(le){return typeof le=="undefined"||le===null?"":le}function I(le,je,Re){if(Re){var Ze=je;if(je.type==="click"){Ze=Object.create(je),Ze.target=le,Ze.currentTarget=le;var De=le.value;le.value="",Re(Ze),le.value=De;return}Re(Ze)}}function k(le,je,Re,Ze,De){var ne;return r()(le,(ne={},d()(ne,"".concat(le,"-sm"),Re==="small"),d()(ne,"".concat(le,"-lg"),Re==="large"),d()(ne,"".concat(le,"-disabled"),Ze),d()(ne,"".concat(le,"-rtl"),De==="rtl"),d()(ne,"".concat(le,"-borderless"),!je),ne))}var F=function(le){s()(Re,le);var je=n()(Re);function Re(Ze){var De;m()(this,Re),De=je.call(this,Ze),De.direction="ltr",De.focus=function(){De.input.focus()},De.saveClearableInput=function(he){De.clearableInput=he},De.saveInput=function(he){De.input=he},De.onFocus=function(he){var pe=De.props.onFocus;De.setState({focused:!0},De.clearPasswordValueAttribute),pe&&pe(he)},De.onBlur=function(he){var pe=De.props.onBlur;De.setState({focused:!1},De.clearPasswordValueAttribute),pe&&pe(he)},De.handleReset=function(he){De.setValue("",function(){De.focus()}),I(De.input,he,De.props.onChange)},De.renderInput=function(he,pe,Xe){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},At=De.props,Me=At.className,Ht=At.addonBefore,tt=At.addonAfter,Mt=At.size,jt=At.disabled,kt=Object(o.default)(De.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return t.createElement("input",f()({autoComplete:lt.autoComplete},kt,{onChange:De.handleChange,onFocus:De.onFocus,onBlur:De.onBlur,onKeyDown:De.handleKeyDown,className:r()(k(he,Xe,Mt||pe,jt,De.direction),d()({},Me,Me&&!Ht&&!tt)),ref:De.saveInput}))},De.clearPasswordValueAttribute=function(){De.removePasswordTimeout=setTimeout(function(){De.input&&De.input.getAttribute("type")==="password"&&De.input.hasAttribute("value")&&De.input.removeAttribute("value")})},De.handleChange=function(he){De.setValue(he.target.value,De.clearPasswordValueAttribute),I(De.input,he,De.props.onChange)},De.handleKeyDown=function(he){var pe=De.props,Xe=pe.onPressEnter,lt=pe.onKeyDown;he.keyCode===13&&Xe&&Xe(he),lt&<(he)},De.renderComponent=function(he){var pe=he.getPrefixCls,Xe=he.direction,lt=he.input,At=De.state,Me=At.value,Ht=At.focused,tt=De.props,Mt=tt.prefixCls,jt=tt.bordered,kt=jt===void 0?!0:jt,Tt=pe("input",Mt);return De.direction=Xe,t.createElement(S.b.Consumer,null,function(Dt){return t.createElement(O,f()({size:Dt},De.props,{prefixCls:Tt,inputType:"input",value:_(Me),element:De.renderInput(Tt,Dt,kt,lt),handleReset:De.handleReset,ref:De.saveClearableInput,direction:Xe,focused:Ht,triggerFocus:De.focus,bordered:kt}))})};var ne=typeof Ze.value=="undefined"?Ze.defaultValue:Ze.value;return De.state={value:ne,focused:!1,prevValue:Ze.value},De}return p()(Re,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(De){return v(De)!==v(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(De,ne){this.props.value===void 0&&this.setState({value:De},ne)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(De,ne){var he=ne.prevValue,pe={prevValue:De.value};return(De.value!==void 0||he!==De.value)&&(pe.value=De.value),pe}}]),Re}(t.Component);F.defaultProps={type:"text"};var B=F,j=function(je){return t.createElement(T.a,null,function(Re){var Ze,De=Re.getPrefixCls,ne=Re.direction,he=je.prefixCls,pe=je.className,Xe=pe===void 0?"":pe,lt=De("input-group",he),At=r()(lt,(Ze={},d()(Ze,"".concat(lt,"-lg"),je.size==="large"),d()(Ze,"".concat(lt,"-sm"),je.size==="small"),d()(Ze,"".concat(lt,"-compact"),je.compact),d()(Ze,"".concat(lt,"-rtl"),ne==="rtl"),Ze),Xe);return t.createElement("span",{className:At,style:je.style,onMouseEnter:je.onMouseEnter,onMouseLeave:je.onMouseLeave,onFocus:je.onFocus,onBlur:je.onBlur},je.children)})},z=j,M=e("c+Xe"),U=e("w6Tc"),P=e.n(U),H=e("gZBC"),W=e.n(H),X=e("2/Rp"),K=function(le,je){var Re={};for(var Ze in le)Object.prototype.hasOwnProperty.call(le,Ze)&&je.indexOf(Ze)<0&&(Re[Ze]=le[Ze]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ze=Object.getOwnPropertySymbols(le);De<Ze.length;De++)je.indexOf(Ze[De])<0&&Object.prototype.propertyIsEnumerable.call(le,Ze[De])&&(Re[Ze[De]]=le[Ze[De]]);return Re},$=t.forwardRef(function(le,je){var Re=t.useRef(null),Ze=function(Me){var Ht=le.onChange,tt=le.onSearch;Me&&Me.target&&Me.type==="click"&&tt&&tt(Me.target.value,Me),Ht&&Ht(Me)},De=function(Me){var Ht;document.activeElement===((Ht=Re.current)===null||Ht===void 0?void 0:Ht.input)&&Me.preventDefault()},ne=function(Me){var Ht,tt=le.onSearch,Mt=le.loading,jt=le.disabled;if(Mt||jt)return;tt&&tt((Ht=Re.current)===null||Ht===void 0?void 0:Ht.input.value,Me)},he=function(Me){var Ht=le.enterButton,tt=le.size;return Ht?t.createElement(S.b.Consumer,{key:"enterButton"},function(Mt){return t.createElement(X.a,{className:"".concat(Me,"-button"),type:"primary",size:tt||Mt},t.createElement(W.a,null))}):t.createElement(W.a,{className:"".concat(Me,"-icon"),key:"loadingIcon"})},pe=function(Me){var Ht=le.suffix,tt=le.enterButton,Mt=le.loading;if(Mt&&!tt)return[Ht,he(Me)];if(tt)return Ht;var jt=t.createElement(P.a,{className:"".concat(Me,"-icon"),key:"searchIcon",onClick:ne});return Ht?[Object(b.c)(Ht,null,{key:"suffix"}),jt]:jt},Xe=function(Me,Ht){var tt=le.enterButton,Mt=le.disabled,jt=le.addonAfter,kt=le.loading,Tt="".concat(Me,"-button");if(kt&&tt)return[he(Me),jt];if(!tt)return jt;var Dt,Ue=tt,G=Ue.type&&Ue.type.__ANT_BUTTON===!0;return G||Ue.type==="button"?Dt=Object(b.a)(Ue,f()({onMouseDown:De,onClick:ne,key:"enterButton"},G?{className:Tt,size:Ht}:{})):Dt=t.createElement(X.a,{className:Tt,type:"primary",size:Ht,disabled:Mt,key:"enterButton",onMouseDown:De,onClick:ne},tt===!0?t.createElement(P.a,null):tt),jt?[Dt,Object(b.c)(jt,null,{key:"addonAfter"})]:Dt},lt=function(Me){var Ht=Me.getPrefixCls,tt=Me.direction,Mt=le.prefixCls,jt=le.inputPrefixCls,kt=le.enterButton,Tt=le.className,Dt=le.size,Ue=K(le,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ue.onSearch,delete Ue.loading;var G=Ht("input-search",Mt),Y=Ht("input",jt),Pe=function(J){var St;if(kt){var bt;St=r()(G,Tt,(bt={},d()(bt,"".concat(G,"-rtl"),tt==="rtl"),d()(bt,"".concat(G,"-enter-button"),!!kt),d()(bt,"".concat(G,"-").concat(J),!!J),bt))}else St=r()(G,Tt,d()({},"".concat(G,"-rtl"),tt==="rtl"));return St};return t.createElement(S.b.Consumer,null,function(Be){return t.createElement(B,f()({ref:Object(M.a)(Re,je),onPressEnter:ne},Ue,{size:Dt||Be,prefixCls:Y,addonAfter:Xe(G,Dt||Be),suffix:pe(G),onChange:Ze,className:Pe(Dt||Be)}))})};return t.createElement(T.a,null,lt)});$.defaultProps={enterButton:!1},$.displayName="Search";var ie=$,be=e("Y1PL"),te=function(le){s()(Re,le);var je=n()(Re);function Re(Ze){var De;m()(this,Re),De=je.call(this,Ze),De.focus=function(){De.resizableTextArea.textArea.focus()},De.saveTextArea=function(he){De.resizableTextArea=he==null?void 0:he.resizableTextArea},De.saveClearableInput=function(he){De.clearableInput=he},De.handleChange=function(he){De.setValue(he.target.value),I(De.resizableTextArea.textArea,he,De.props.onChange)},De.handleReset=function(he){De.setValue("",function(){De.focus()}),I(De.resizableTextArea.textArea,he,De.props.onChange)},De.renderTextArea=function(he,pe){return t.createElement(be.default,f()({},Object(o.default)(De.props,["allowClear","bordered"]),{className:r()(De.props.className,d()({},"".concat(he,"-borderless"),!pe)),prefixCls:he,onChange:De.handleChange,ref:De.saveTextArea}))},De.renderComponent=function(he){var pe=he.getPrefixCls,Xe=he.direction,lt=De.state.value,At=De.props,Me=At.prefixCls,Ht=At.bordered,tt=Ht===void 0?!0:Ht,Mt=pe("input",Me);return t.createElement(O,f()({},De.props,{prefixCls:Mt,direction:Xe,inputType:"text",value:_(lt),element:De.renderTextArea(Mt,tt),handleReset:De.handleReset,ref:De.saveClearableInput,triggerFocus:De.focus,bordered:tt}))};var ne=typeof Ze.value=="undefined"?Ze.defaultValue:Ze.value;return De.state={value:ne},De}return p()(Re,[{key:"setValue",value:function(De,ne){this.props.value===void 0&&this.setState({value:De},ne)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(De){return De.value!==void 0?{value:De.value}:null}}]),Re}(t.Component),Te=te,Ie=e("J4zp"),Fe=e.n(Ie),Qe=e("qPY4"),fe=e.n(Qe),He=e("fUL4"),se=e.n(He),Ce=function(le,je){var Re={};for(var Ze in le)Object.prototype.hasOwnProperty.call(le,Ze)&&je.indexOf(Ze)<0&&(Re[Ze]=le[Ze]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ze=Object.getOwnPropertySymbols(le);De<Ze.length;De++)je.indexOf(Ze[De])<0&&Object.prototype.propertyIsEnumerable.call(le,Ze[De])&&(Re[Ze[De]]=le[Ze[De]]);return Re},mt={click:"onClick",hover:"onMouseOver"},Ne=t.forwardRef(function(le,je){var Re=Object(t.useState)(!1),Ze=Fe()(Re,2),De=Ze[0],ne=Ze[1],he=function(){var At=le.disabled;if(At)return;ne(!De)},pe=function(At){var Me,Ht=le.action,tt=le.iconRender,Mt=tt===void 0?function(){return null}:tt,jt=mt[Ht]||"",kt=Mt(De),Tt=(Me={},d()(Me,jt,he),d()(Me,"className","".concat(At,"-icon")),d()(Me,"key","passwordIcon"),d()(Me,"onMouseDown",function(Ue){Ue.preventDefault()}),d()(Me,"onMouseUp",function(Ue){Ue.preventDefault()}),Me);return t.cloneElement(t.isValidElement(kt)?kt:t.createElement("span",null,kt),Tt)},Xe=function(At){var Me=At.getPrefixCls,Ht=le.className,tt=le.prefixCls,Mt=le.inputPrefixCls,jt=le.size,kt=le.visibilityToggle,Tt=Ce(le,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Dt=Me("input",Mt),Ue=Me("input-password",tt),G=kt&&pe(Ue),Y=r()(Ue,Ht,d()({},"".concat(Ue,"-").concat(jt),!!jt)),Pe=f()(f()({},Object(o.default)(Tt,["suffix","iconRender"])),{type:De?"text":"password",className:Y,prefixCls:Dt,suffix:G});return jt&&(Pe.size=jt),t.createElement(B,f()({ref:je},Pe))};return t.createElement(T.a,null,Xe)});Ne.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(je){return je?t.createElement(fe.a,null):t.createElement(se.a,null)}},Ne.displayName="Password";var ae=Ne;B.Group=z,B.Search=ie,B.TextArea=Te,B.Password=ae;var ce=N.a=B},"5s0K":function(R,N,e){var A=e("bYtY");function f(){var x=[],m={},g;return{add:function(p,c,s,a,n){return A.isString(a)&&(n=a,a=0),m[p.id]?!1:(m[p.id]=1,x.push({el:p,target:c,time:s,delay:a,easing:n}),!0)},done:function(p){return g=p,this},start:function(){for(var p=x.length,c=0,s=x.length;c<s;c++){var a=x[c];a.el.animateTo(a.target,a.time,a.delay,a.easing,n)}return this;function n(){p--,p||(x.length=0,m={},g&&g())}}}}N.createWrap=f},"5yev":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"6/nd":function(R,N,e){var A=e("ProS");A.registerAction("legendScroll","legendscroll",function(f,x){var m=f.scrollDataIndex;m!=null&&x.eachComponent({mainType:"legend",subType:"scroll",query:f},function(g){g.setScrollDataIndex(m)})})},"62sa":function(R,N,e){var A=e("bYtY"),f=e("4NO4"),x=f.makeInner,m=e("zTMp"),g=e("Ez2D"),p=A.each,c=A.curry,s=x();function a(b,E,v){var w=b.currTrigger,O=[b.x,b.y],T=b,S=b.dispatchAction||A.bind(v.dispatchAction,v),C=E.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;y(O)&&(O=g({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},E).point);var _=y(O),I=T.axesInfo,k=C.axesInfo,F=w==="leave"||y(O),B={},j={},z={list:[],map:{}},M={showPointer:c(d,j),showTooltip:c(t,z)};p(C.coordSysMap,function(P,H){var W=_||P.containPoint(O);p(C.coordSysAxesInfo[H],function(X,K){var $=X.axis,ie=u(I,X);if(!F&&W&&(!I||ie)){var be=ie&&ie.value;be==null&&!_&&(be=$.pointToData(O)),be!=null&&n(X,be,M,!1,B)}})});var U={};return p(k,function(P,H){var W=P.linkGroup;W&&!j[H]&&p(W.axesInfo,function(X,K){var $=j[K];if(X!==P&&$){var ie=$.value;W.mapper&&(ie=P.axis.scale.parse(W.mapper(ie,h(X),h(P)))),U[P.key]=ie}})}),p(U,function(P,H){n(k[H],P,M,!0,B)}),l(j,k,B),r(z,O,b,S),o(k,S,v),B}function n(b,E,v,w,O){var T=b.axis;if(T.scale.isBlank()||!T.containData(E))return;if(!b.involveSeries){v.showPointer(b,E);return}var S=i(E,b),C=S.payloadBatch,_=S.snapToValue;C[0]&&O.seriesIndex==null&&A.extend(O,C[0]),!w&&b.snap&&(T.containData(_)&&_!=null&&(E=_)),v.showPointer(b,E,C,O),v.showTooltip(b,S,_)}function i(b,E){var v=E.axis,w=v.dim,O=b,T=[],S=Number.MAX_VALUE,C=-1;return p(E.seriesModels,function(_,I){var k=_.getData().mapDimension(w,!0),F,B;if(_.getAxisTooltipData){var j=_.getAxisTooltipData(k,b,v);B=j.dataIndices,F=j.nestestValue}else{if(B=_.getData().indicesOfNearest(k[0],b,v.type==="category"?.5:null),!B.length)return;F=_.getData().get(k[0],B[0])}if(F==null||!isFinite(F))return;var z=b-F,M=Math.abs(z);M<=S&&((M<S||z>=0&&C<0)&&(S=M,C=z,O=F,T.length=0),p(B,function(U){T.push({seriesIndex:_.seriesIndex,dataIndexInside:U,dataIndex:_.getData().getRawIndex(U)})}))}),{payloadBatch:T,snapToValue:O}}function d(b,E,v,w){b[E.key]={value:v,payloadBatch:w}}function t(b,E,v,w){var O=v.payloadBatch,T=E.axis,S=T.model,C=E.axisPointerModel;if(!E.triggerTooltip||!O.length)return;var _=E.coordSys.model,I=m.makeKey(_),k=b.map[I];k||(k=b.map[I]={coordSysId:_.id,coordSysIndex:_.componentIndex,coordSysType:_.type,coordSysMainType:_.mainType,dataByAxis:[]},b.list.push(k)),k.dataByAxis.push({axisDim:T.dim,axisIndex:S.componentIndex,axisType:S.type,axisId:S.id,value:w,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:O.slice()})}function l(b,E,v){var w=v.axesInfo=[];p(E,function(O,T){var S=O.axisPointerModel.option,C=b[T];C?(!O.useHandle&&(S.status="show"),S.value=C.value,S.seriesDataIndices=(C.payloadBatch||[]).slice()):!O.useHandle&&(S.status="hide"),S.status==="show"&&w.push({axisDim:O.axis.dim,axisIndex:O.axis.model.componentIndex,value:S.value})})}function r(b,E,v,w){if(y(E)||!b.list.length){w({type:"hideTip"});return}var O=((b.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};w({type:"showTip",escapeConnect:!0,x:E[0],y:E[1],tooltipOption:v.tooltipOption,position:v.position,dataIndexInside:O.dataIndexInside,dataIndex:O.dataIndex,seriesIndex:O.seriesIndex,dataByCoordSys:b.list})}function o(b,E,v){var w=v.getZr(),O="axisPointerLastHighlights",T=s(w)[O]||{},S=s(w)[O]={};p(b,function(I,k){var F=I.axisPointerModel.option;F.status==="show"&&p(F.seriesDataIndices,function(B){var j=B.seriesIndex+" | "+B.dataIndex;S[j]=B})});var C=[],_=[];A.each(T,function(I,k){!S[k]&&_.push(I)}),A.each(S,function(I,k){!T[k]&&C.push(I)}),_.length&&v.dispatchAction({type:"downplay",escapeConnect:!0,batch:_}),C.length&&v.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function u(b,E){for(var v=0;v<(b||[]).length;v++){var w=b[v];if(E.axis.dim===w.axisDim&&E.axis.model.componentIndex===w.axisIndex)return w}}function h(b){var E=b.axis.model,v={},w=v.axisDim=b.axis.dim;return v.axisIndex=v[w+"AxisIndex"]=E.componentIndex,v.axisName=v[w+"AxisName"]=E.name,v.axisId=v[w+"AxisId"]=E.id,v}function y(b){return!b||b[0]==null||isNaN(b[0])||b[1]==null||isNaN(b[1])}R.exports=a},"6BzB":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.shrinkBuf=A,N.arraySet=f,N.flattenChunks=x,N.Buf32=N.Buf16=N.Buf8=void 0;function A(c,s){return c.length===s?c:c.subarray?c.subarray(0,s):(c.length=s,c)}function f(c,s,a,n,i){if(s.subarray&&c.subarray){c.set(s.subarray(a,a+n),i);return}for(var d=0;d<n;d++)c[i+d]=s[a+d]}function x(c){var s,a,n,i,d,t;for(n=0,s=0,a=c.length;s<a;s++)n+=c[s].length;for(t=new Uint8Array(n),i=0,s=0,a=c.length;s<a;s++)d=c[s],t.set(d,i),i+=d.length;return t}var m=Uint8Array;N.Buf8=m;var g=Uint16Array;N.Buf16=g;var p=Int32Array;N.Buf32=p},"6D9b":function(R,N,e){},"6GrX":function(R,N,e){var A=e("mFDi"),f=e("Xnb7"),x=e("bYtY"),m=x.getContext,g=x.extend,p=x.retrieve2,c=x.retrieve3,s=x.trim,a={},n=0,i=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,t="12px sans-serif",l={};function r(z,M){l[z]=M}function o(z,M){M=M||t;var U=z+":"+M;if(a[U])return a[U];for(var P=(z+"").split(`
|
|
|
`),H=0,W=0,X=P.length;W<X;W++)H=Math.max(I(P[W],M).width,H);return n>i&&(n=0,a={}),n++,a[U]=H,H}function u(z,M,U,P,H,W,X,K){return X?y(z,M,U,P,H,W,X,K):h(z,M,U,P,H,W,K)}function h(z,M,U,P,H,W,X){var K=k(z,M,H,W,X),$=o(z,M);H&&($+=H[1]+H[3]);var ie=K.outerHeight,be=b(0,$,U),te=E(0,ie,P),Te=new A(be,te,$,ie);return Te.lineHeight=K.lineHeight,Te}function y(z,M,U,P,H,W,X,K){var $=F(z,{rich:X,truncate:K,font:M,textAlign:U,textPadding:H,textLineHeight:W}),ie=$.outerWidth,be=$.outerHeight,te=b(0,ie,U),Te=E(0,be,P);return new A(te,Te,ie,be)}function b(z,M,U){return U==="right"?z-=M:U==="center"&&(z-=M/2),z}function E(z,M,U){return U==="middle"?z-=M/2:U==="bottom"&&(z-=M),z}function v(z,M,U){var P=M.textPosition,H=M.textDistance,W=U.x,X=U.y;H=H||0;var K=U.height,$=U.width,ie=K/2,be="left",te="top";switch(P){case"left":W-=H,X+=ie,be="right",te="middle";break;case"right":W+=H+$,X+=ie,te="middle";break;case"top":W+=$/2,X-=H,be="center",te="bottom";break;case"bottom":W+=$/2,X+=K+H,be="center";break;case"inside":W+=$/2,X+=ie,be="center",te="middle";break;case"insideLeft":W+=H,X+=ie,te="middle";break;case"insideRight":W+=$-H,X+=ie,be="right",te="middle";break;case"insideTop":W+=$/2,X+=H,be="center";break;case"insideBottom":W+=$/2,X+=K-H,be="center",te="bottom";break;case"insideTopLeft":W+=H,X+=H;break;case"insideTopRight":W+=$-H,X+=H,be="right";break;case"insideBottomLeft":W+=H,X+=K-H,te="bottom";break;case"insideBottomRight":W+=$-H,X+=K-H,be="right",te="bottom";break}return z=z||{},z.x=W,z.y=X,z.textAlign=be,z.textVerticalAlign=te,z}function w(z,M,U){var P={textPosition:z,textDistance:U};return v({},P,M)}function O(z,M,U,P,H){if(!M)return"";var W=(z+"").split(`
|
|
|
`);H=T(M,U,P,H);for(var X=0,K=W.length;X<K;X++)W[X]=S(W[X],H);return W.join(`
|
|
|
`)}function T(z,M,U,P){P=g({},P),P.font=M;var U=p(U,"...");P.maxIterations=p(P.maxIterations,2);var H=P.minChar=p(P.minChar,0);P.cnCharWidth=o("\u56FD",M);var W=P.ascCharWidth=o("a",M);P.placeholder=p(P.placeholder,"");for(var X=z=Math.max(0,z-1),K=0;K<H&&X>=W;K++)X-=W;var $=o(U,M);return $>X&&(U="",$=0),X=z-$,P.ellipsis=U,P.ellipsisWidth=$,P.contentWidth=X,P.containerWidth=z,P}function S(z,M){var U=M.containerWidth,P=M.font,H=M.contentWidth;if(!U)return"";var W=o(z,P);if(W<=U)return z;for(var X=0;;X++){if(W<=H||X>=M.maxIterations){z+=M.ellipsis;break}var K=X===0?C(z,H,M.ascCharWidth,M.cnCharWidth):W>0?Math.floor(z.length*H/W):0;z=z.substr(0,K),W=o(z,P)}return z===""&&(z=M.placeholder),z}function C(z,M,U,P){for(var H=0,W=0,X=z.length;W<X&&H<M;W++){var K=z.charCodeAt(W);H+=0<=K&&K<=127?U:P}return W}function _(z){return o("\u56FD",z)}function I(z,M){return l.measureText(z,M)}l.measureText=function(z,M){var U=m();return U.font=M||t,U.measureText(z)};function k(z,M,U,P,H){z!=null&&(z+="");var W=p(P,_(M)),X=z?z.split(`
|
|
|
`):[],K=X.length*W,$=K,ie=!0;if(U&&($+=U[0]+U[2]),z&&H){ie=!1;var be=H.outerHeight,te=H.outerWidth;if(be!=null&&$>be)z="",X=[];else if(te!=null)for(var Te=T(te-(U?U[1]+U[3]:0),M,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Ie=0,Fe=X.length;Ie<Fe;Ie++)X[Ie]=S(X[Ie],Te)}return{lines:X,height:K,outerHeight:$,lineHeight:W,canCacheByTextString:ie}}function F(z,M){var U={lines:[],width:0,height:0};if(z!=null&&(z+=""),!z)return U;for(var P=d.lastIndex=0,H;(H=d.exec(z))!=null;){var W=H.index;W>P&&B(U,z.substring(P,W)),B(U,H[2],H[1]),P=d.lastIndex}P<z.length&&B(U,z.substring(P,z.length));var X=U.lines,K=0,$=0,ie=[],be=M.textPadding,te=M.truncate,Te=te&&te.outerWidth,Ie=te&&te.outerHeight;be&&(Te!=null&&(Te-=be[1]+be[3]),Ie!=null&&(Ie-=be[0]+be[2]));for(var Fe=0;Fe<X.length;Fe++){for(var Qe=X[Fe],fe=0,He=0,se=0;se<Qe.tokens.length;se++){var Ce=Qe.tokens[se],mt=Ce.styleName&&M.rich[Ce.styleName]||{},Ne=Ce.textPadding=mt.textPadding,ae=Ce.font=mt.font||M.font,ce=Ce.textHeight=p(mt.textHeight,_(ae));if(Ne&&(ce+=Ne[0]+Ne[2]),Ce.height=ce,Ce.lineHeight=c(mt.textLineHeight,M.textLineHeight,ce),Ce.textAlign=mt&&mt.textAlign||M.textAlign,Ce.textVerticalAlign=mt&&mt.textVerticalAlign||"middle",Ie!=null&&K+Ce.lineHeight>Ie)return{lines:[],width:0,height:0};Ce.textWidth=o(Ce.text,ae);var le=mt.textWidth,je=le==null||le==="auto";if(typeof le=="string"&&le.charAt(le.length-1)==="%")Ce.percentWidth=le,ie.push(Ce),le=0;else{if(je){le=Ce.textWidth;var Re=mt.textBackgroundColor,Ze=Re&&Re.image;Ze&&(Ze=f.findExistImage(Ze),f.isImageReady(Ze)&&(le=Math.max(le,Ze.width*ce/Ze.height)))}var De=Ne?Ne[1]+Ne[3]:0;le+=De;var ne=Te!=null?Te-He:null;ne!=null&&ne<le&&(!je||ne<De?(Ce.text="",Ce.textWidth=le=0):(Ce.text=O(Ce.text,ne-De,ae,te.ellipsis,{minChar:te.minChar}),Ce.textWidth=o(Ce.text,ae),le=Ce.textWidth+De))}He+=Ce.width=le,mt&&(fe=Math.max(fe,Ce.lineHeight))}Qe.width=He,Qe.lineHeight=fe,K+=fe,$=Math.max($,He)}U.outerWidth=U.width=p(M.textWidth,$),U.outerHeight=U.height=p(M.textHeight,K),be&&(U.outerWidth+=be[1]+be[3],U.outerHeight+=be[0]+be[2]);for(var Fe=0;Fe<ie.length;Fe++){var Ce=ie[Fe],he=Ce.percentWidth;Ce.width=parseInt(he,10)/100*$}return U}function B(z,M,U){for(var P=M==="",H=M.split(`
|
|
|
`),W=z.lines,X=0;X<H.length;X++){var K=H[X],$={styleName:U,text:K,isLineHolder:!K&&!P};if(X)W.push({tokens:[$]});else{var ie=(W[W.length-1]||(W[0]={tokens:[]})).tokens,be=ie.length;be===1&&ie[0].isLineHolder?ie[0]=$:(K||!be||P)&&ie.push($)}}}function j(z){var M=(z.fontSize||z.fontFamily)&&[z.fontStyle,z.fontWeight,(z.fontSize||12)+"px",z.fontFamily||"sans-serif"].join(" ");return M&&s(M)||z.textFont||z.font}N.DEFAULT_FONT=t,N.$override=r,N.getWidth=o,N.getBoundingRect=u,N.adjustTextX=b,N.adjustTextY=E,N.calculateTextPosition=v,N.adjustTextPositionOnRect=w,N.truncateText=O,N.getLineHeight=_,N.measureText=I,N.parsePlainText=k,N.parseRichText=F,N.makeFont=j},"6Hfg":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("FhB9")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="SwapRightOutlined";var s=m.forwardRef(c);N.default=s},"6Ic6":function(R,N,e){var A=e("bYtY"),f=A.each,x=e("4fz+"),m=e("iRjW"),g=e("Yl7c"),p=e("4NO4"),c=e("IwbS"),s=e("9H2F"),a=s.createTask,n=e("zM3Q"),i=p.makeInner(),d=n();function t(){this.group=new x,this.uid=m.getUID("viewChart"),this.renderTask=a({plan:u,reset:h}),this.renderTask.context={view:this}}t.prototype={type:"chart",init:function(E,v){},render:function(E,v,w,O){},highlight:function(E,v,w,O){o(E.getData(),O,"emphasis")},downplay:function(E,v,w,O){o(E.getData(),O,"normal")},remove:function(E,v){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=t.prototype;l.updateView=l.updateLayout=l.updateVisual=function(E,v,w,O){this.render(E,v,w,O)};function r(E,v,w){if(E&&(E.trigger(v,w),E.isGroup&&!c.isHighDownDispatcher(E)))for(var O=0,T=E.childCount();O<T;O++)r(E.childAt(O),v,w)}function o(E,v,w){var O=p.queryDataIndex(E,v),T=v&&v.highlightKey!=null?c.getHighlightDigit(v.highlightKey):null;O!=null?f(p.normalizeToArray(O),function(S){r(E.getItemGraphicEl(S),w,T)}):E.eachItemGraphicEl(function(S){r(S,w,T)})}g.enableClassExtend(t,["dispose"]),g.enableClassManagement(t,{registerWhenExtend:!0}),t.markUpdateMethod=function(E,v){i(E).updateMethod=v};function u(E){return d(E.model)}function h(E){var v=E.model,w=E.ecModel,O=E.api,T=E.payload,S=v.pipelineContext.progressiveRender,C=E.view,_=T&&i(T).updateMethod,I=S?"incrementalPrepareRender":_&&C[_]?_:"render";return I!=="render"&&C[I](v,w,O,T),y[I]}var y={incrementalPrepareRender:{progress:function(E,v){v.view.incrementalRender(E,v.model,v.ecModel,v.api,v.payload)}},render:{forceFirstProgress:!0,progress:function(E,v){v.view.render(v.model,v.ecModel,v.api,v.payload)}}},b=t;R.exports=b},"6MrE":function(R,N,e){},"6Qwc":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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"};N.default=A},"6SEX":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"6UJt":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("v56E"),m=e.n(x),g=e("R9oj"),p=e("5NDa")},"6VBw":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("ODXe"),x=e("rePB"),m=e("Ff2n"),g=e("q1tI"),p=e("TSYQ"),c=e.n(p),s=e("Pw59"),a=e("Qi1f"),n=["icon","className","onClick","style","primaryColor","secondaryColor"],i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function d(E){var v=E.primaryColor,w=E.secondaryColor;i.primaryColor=v,i.secondaryColor=w||Object(a.b)(v),i.calculated=!!w}function t(){return Object(A.a)({},i)}var l=function(v){var w=v.icon,O=v.className,T=v.onClick,S=v.style,C=v.primaryColor,_=v.secondaryColor,I=Object(m.a)(v,n),k=i;if(C&&(k={primaryColor:C,secondaryColor:_||Object(a.b)(C)}),Object(a.f)(),Object(a.g)(Object(a.c)(w),"icon should be icon definiton, but got ".concat(w)),!Object(a.c)(w))return null;var F=w;return F&&typeof F.icon=="function"&&(F=Object(A.a)(Object(A.a)({},F),{},{icon:F.icon(k.primaryColor,k.secondaryColor)})),Object(a.a)(F.icon,"svg-".concat(F.name),Object(A.a)({className:O,onClick:T,style:S,"data-icon":F.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},I))};l.displayName="IconReact",l.getTwoToneColors=t,l.setTwoToneColors=d;var r=l;function o(E){var v=Object(a.d)(E),w=Object(f.a)(v,2),O=w[0],T=w[1];return r.setTwoToneColors({primaryColor:O,secondaryColor:T})}function u(){var E=r.getTwoToneColors();return E.calculated?[E.primaryColor,E.secondaryColor]:E.primaryColor}var h=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];o("#1890ff");var y=g.forwardRef(function(E,v){var w,O=E.className,T=E.icon,S=E.spin,C=E.rotate,_=E.tabIndex,I=E.onClick,k=E.twoToneColor,F=Object(m.a)(E,h),B=g.useContext(s.a),j=B.prefixCls,z=j===void 0?"anticon":j,M=c()(z,(w={},Object(x.a)(w,"".concat(z,"-").concat(T.name),!!T.name),Object(x.a)(w,"".concat(z,"-spin"),!!S||T.name==="loading"),w),O),U=_;U===void 0&&I&&(U=-1);var P=C?{msTransform:"rotate(".concat(C,"deg)"),transform:"rotate(".concat(C,"deg)")}:void 0,H=Object(a.d)(k),W=Object(f.a)(H,2),X=W[0],K=W[1];return g.createElement("span",Object(A.a)(Object(A.a)({role:"img","aria-label":T.name},F),{},{ref:v,tabIndex:U,onClick:I,className:M}),g.createElement(r,{icon:T,primaryColor:X,secondaryColor:K,style:P}))});y.displayName="AntdIcon",y.getTwoToneColor=u,y.setTwoToneColor=o;var b=N.a=y},"6cGi":function(R,N,e){"use strict";e.d(N,"a",function(){return m});var A=e("ODXe"),f=e("q1tI"),x=e.n(f);function m(g,p){var c=p||{},s=c.defaultValue,a=c.value,n=c.onChange,i=c.postState,d=f.useState(function(){return a!==void 0?a:s!==void 0?typeof s=="function"?s():s:typeof g=="function"?g():g}),t=Object(A.a)(d,2),l=t[0],r=t[1],o=a!==void 0?a:l;i&&(o=i(o));function u(y){r(y),o!==y&&n&&n(y,o)}var h=f.useRef(!0);return f.useEffect(function(){if(h.current){h.current=!1;return}a===void 0&&r(a)},[a]),[o,u]}},"6fms":function(R,N,e){var A=e("SUKs"),f=e("06Qe"),x=e("bYtY"),m=x.each;function g(a){return parseInt(a,10)}function p(a,n){f.initVML(),this.root=a,this.storage=n;var i=document.createElement("div"),d=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",d.style.cssText="position:absolute;left:0;top:0;",a.appendChild(i),this._vmlRoot=d,this._vmlViewport=i,this.resize();var t=n.delFromStorage,l=n.addToStorage;n.delFromStorage=function(r){t.call(n,r),r&&(r.onRemove&&r.onRemove(d))},n.addToStorage=function(r){r.onAdd&&r.onAdd(d),l.call(n,r)},this._firstPaint=!0}p.prototype={constructor:p,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 i=this._vmlRoot,d=0;d<n.length;d++){var t=n[d];t.invisible||t.ignore?(t.__alreadyNotVisible||t.onRemove(i),t.__alreadyNotVisible=!0):(t.__alreadyNotVisible&&t.onAdd(i),t.__alreadyNotVisible=!1,t.__dirty&&(t.beforeBrush&&t.beforeBrush(),(t.brushVML||t.brush).call(t,i),t.afterBrush&&t.afterBrush())),t.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(i),this._firstPaint=!1)},resize:function(n,i){var n=n==null?this._getWidth():n,i=i==null?this._getHeight():i;if(this._width!==n||this._height!==i){this._width=n,this._height=i;var d=this._vmlViewport.style;d.width=n+"px",d.height=i+"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,i=n.currentStyle;return(n.clientWidth||g(i.width))-g(i.paddingLeft)-g(i.paddingRight)|0},_getHeight:function(){var n=this.root,i=n.currentStyle;return(n.clientHeight||g(i.height))-g(i.paddingTop)-g(i.paddingBottom)|0}};function c(a){return function(){A('In IE8.0 VML mode painter not support method "'+a+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(a){p.prototype[a]=c(a)});var s=p;R.exports=s},"6r85":function(R,N,e){var A=e("bYtY");function f(x){if(!x||!A.isArray(x.series))return;A.each(x.series,function(m){A.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}R.exports=f},"6uqw":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("ItGF"),m=e("YOMW"),g=e("XxSj"),p=e("K4ya"),c=e("4NO4"),s=e("OELB"),a=g.mapVisual,n=g.eachVisual,i=f.isArray,d=f.each,t=s.asc,l=s.linearMap,r=f.noop,o=A.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(h,y,b){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,b)},optionUpdated:function(h,y){var b=this.option;x.canvasSupported||(b.realtime=!1),!y&&p.replaceVisualOption(b,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var y=this.stateList;h=f.bind(h,this),this.controllerVisuals=p.createVisualMappings(this.option.controller,y,h),this.targetVisuals=p.createVisualMappings(this.option.target,y,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,y=[];return h==null||h==="all"?this.ecModel.eachSeries(function(b,E){y.push(E)}):y=c.normalizeToArray(h),y},eachTargetSeries:function(h,y){f.each(this.getTargetSeriesIndices(),function(b){h.call(y,this.ecModel.getSeriesByIndex(b))},this)},isTargetSeries:function(h){var y=!1;return this.eachTargetSeries(function(b){b===h&&(y=!0)}),y},formatValueText:function(h,y,b){var E=this.option,v=E.precision,w=this.dataBound,O=E.formatter,T,S;if(b=b||["<",">"],f.isArray(h)&&(h=h.slice(),T=!0),S=y?h:T?[C(h[0]),C(h[1])]:C(h),f.isString(O))return O.replace("{value}",T?S[0]:S).replace("{value2}",T?S[1]:S);if(f.isFunction(O))return T?O(h[0],h[1]):O(h);if(T)return h[0]===w[0]?b[0]+" "+S[1]:h[1]===w[1]?b[1]+" "+S[0]:S[0]+" - "+S[1];return S;function C(_){return _===w[0]?"min":_===w[1]?"max":(+_).toFixed(Math.min(v,20))}},resetExtent:function(){var h=this.option,y=t([h.min,h.max]);this._dataExtent=y},getDataDimension:function(h){var y=this.option.dimension,b=h.dimensions;if(y==null&&!b.length)return;if(y!=null)return h.getDimension(y);for(var E=h.dimensions,v=E.length-1;v>=0;v--){var w=E[v],O=h.getDimensionInfo(w);if(!O.isCalculationCoord)return w}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,y=this.option,b={inRange:y.inRange,outOfRange:y.outOfRange},E=y.target||(y.target={}),v=y.controller||(y.controller={});f.merge(E,b),f.merge(v,b);var w=this.isCategory();O.call(this,E),O.call(this,v),T.call(this,E,"inRange","outOfRange"),S.call(this,v);function O(C){i(y.color)&&!C.inRange&&(C.inRange={color:y.color.slice().reverse()}),C.inRange=C.inRange||{color:h.get("gradientColor")},d(this.stateList,function(_){var I=C[_];if(f.isString(I)){var k=m.get(I,"active",w);k?(C[_]={},C[_][I]=k):delete C[_]}},this)}function T(C,_,I){var k=C[_],F=C[I];k&&!F&&(F=C[I]={},d(k,function(B,j){if(!g.isValidType(j))return;var z=m.get(j,"inactive",w);z!=null&&(F[j]=z,j==="color"&&!F.hasOwnProperty("opacity")&&!F.hasOwnProperty("colorAlpha")&&(F.opacity=[0,0]))}))}function S(C){var _=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,I=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,k=this.get("inactiveColor");d(this.stateList,function(F){var B=this.itemSize,j=C[F];j||(j=C[F]={color:w?k:[k]}),j.symbol==null&&(j.symbol=_&&f.clone(_)||(w?"roundRect":["roundRect"])),j.symbolSize==null&&(j.symbolSize=I&&f.clone(I)||(w?B[0]:[B[0],B[0]])),j.symbol=a(j.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var z=j.symbolSize;if(z!=null){var M=-Infinity;n(z,function(U){U>M&&(M=U)}),j.symbolSize=a(z,function(U){return l(U,[0,M],[0,B[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:r,getValueState:r,getVisualMeta:r}),u=o;R.exports=u},"6usn":function(R,N,e){var A=e("bYtY");function f(m,g){return A.map(["Radius","Angle"],function(p,c){var s=this["get"+p+"Axis"](),a=g[c],n=m[c]/2,i="dataTo"+p,d=s.type==="category"?s.getBandWidth():Math.abs(s[i](a-n)-s[i](a+n));return p==="Angle"&&(d=d*Math.PI/180),d},this)}function x(m){var g=m.getRadiusAxis(),p=m.getAngleAxis(),c=g.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:A.bind(function(s){var a=g.dataToRadius(s[0]),n=p.dataToAngle(s[1]),i=m.coordToPoint([a,n]);return i.push(a,n*Math.PI/180),i}),size:A.bind(f,m)}}}R.exports=x},"6xvX":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"711d":function(R,N){function e(A){return function(f){return f==null?void 0:f[A]}}R.exports=e},"72pK":function(R,N){function e(x,m,g,p,c,s){x=x||0;var a=g[1]-g[0];if(c!=null&&(c=f(c,[0,a])),s!=null&&(s=Math.max(s,c!=null?c:0)),p==="all"){var n=Math.abs(m[1]-m[0]);n=f(n,[0,a]),c=s=f(n,[c,s]),p=0}m[0]=f(m[0],g),m[1]=f(m[1],g);var i=A(m,p);m[p]+=x;var d=c||0,t=g.slice();i.sign<0?t[0]+=d:t[1]-=d,m[p]=f(m[p],t);var l=A(m,p);c!=null&&(l.sign!==i.sign||l.span<c)&&(m[1-p]=m[p]+i.sign*c);var l=A(m,p);return s!=null&&l.span>s&&(m[1-p]=m[p]+l.sign*s),m}function A(x,m){var g=x[m]-x[1-m];return{span:Math.abs(g),sign:g>0?-1:g<0?1:m?-1:1}}function f(x,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,x))}R.exports=e},"75ce":function(R,N,e){var A=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),x=e("h8O9"),m=e("/d5a");e("Ae16"),A.registerVisual(f("line","circle","line")),A.registerLayout(x("line")),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(R,N,e){var A=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),x=e("yik8");A.registerVisual(f("tree","circle")),A.registerLayout(x)},"7AJT":function(R,N,e){var A=e("bYtY"),f=e("hM6l"),x=function(g,p,c,s,a){f.call(this,g,p,c),this.type=s||"value",this.position=a||"bottom"};x.prototype={constructor:x,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},getGlobalExtent:function(g){var p=this.getExtent();return p[0]=this.toGlobalCoord(p[0]),p[1]=this.toGlobalCoord(p[1]),g&&p[0]>p[1]&&p.reverse(),p},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(g,p){return this.coordToData(this.toLocalCoord(g[this.dim==="x"?0:1]),p)},toLocalCoord:null,toGlobalCoord:null},A.inherits(x,f);var m=x;R.exports=m},"7Cbv":function(R,N,e){"use strict";var A=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 x(){if(!A)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return A(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 g(t){return typeof t=="string"&&m.test(t)}for(var p=g,c=[],s=0;s<256;++s)c.push((s+256).toString(16).substr(1));function a(t){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(c[t[l+0]]+c[t[l+1]]+c[t[l+2]]+c[t[l+3]]+"-"+c[t[l+4]]+c[t[l+5]]+"-"+c[t[l+6]]+c[t[l+7]]+"-"+c[t[l+8]]+c[t[l+9]]+"-"+c[t[l+10]]+c[t[l+11]]+c[t[l+12]]+c[t[l+13]]+c[t[l+14]]+c[t[l+15]]).toLowerCase();if(!p(r))throw TypeError("Stringified UUID is invalid");return r}var n=a;function i(t,l,r){t=t||{};var o=t.random||(t.rng||x)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,l){r=r||0;for(var u=0;u<16;++u)l[r+u]=o[u];return l}return n(o)}var d=N.a=i},"7DRL":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.createHashMap,g=x.isString,p=x.isArray,c=x.each,s=x.assert,a=e("MEGo"),n=a.parseXML,i=m(),d={registerMap:function(l,r,o){var u;return p(r)?u=r:r.svg?u=[{type:"svg",source:r.svg,specialAreas:r.specialAreas}]:(r.geoJson&&!r.features&&(o=r.specialAreas,r=r.geoJson),u=[{type:"geoJSON",source:r,specialAreas:o}]),c(u,function(h){var y=h.type;y==="geoJson"&&(y=h.type="geoJSON");var b=t[y];b(h)}),i.set(l,u)},retrieveMap:function(l){return i.get(l)}},t={geoJSON:function(l){var r=l.source;l.geoJSON=g(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r},svg:function(l){l.svgXML=n(l.source)}};R.exports=d},"7G+c":function(R,N,e){var A=e("bYtY"),f=A.createHashMap,x=A.isTypedArray,m=e("Yl7c"),g=m.enableClassCheck,p=e("k9D9"),c=p.SOURCE_FORMAT_ORIGINAL,s=p.SERIES_LAYOUT_BY_COLUMN,a=p.SOURCE_FORMAT_UNKNOWN,n=p.SOURCE_FORMAT_TYPED_ARRAY,i=p.SOURCE_FORMAT_KEYED_COLUMNS;function d(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===i?{}:[]),this.sourceFormat=l.sourceFormat||a,this.seriesLayoutBy=l.seriesLayoutBy||s,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&f(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}d.seriesDataToSource=function(l){return new d({data:l,sourceFormat:x(l)?n:c,fromDataset:!1})},g(d);var t=d;R.exports=t},"7Kak":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("KPFz"),m=e.n(x)},"7Phj":function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=f.parsePercent,m=A.each;function g(a){var n=p(a);m(n,function(i){var d=i.seriesModels;if(!d.length)return;c(i),m(d,function(t,l){s(t,i.boxOffsetList[l],i.boxWidthList[l])})})}function p(a){var n=[],i=[];return a.eachSeriesByType("boxplot",function(d){var t=d.getBaseAxis(),l=A.indexOf(i,t);l<0&&(l=i.length,i[l]=t,n[l]={axis:t,seriesModels:[]}),n[l].seriesModels.push(d)}),n}function c(a){var n,i=a.axis,d=a.seriesModels,t=d.length,l=a.boxWidthList=[],r=a.boxOffsetList=[],o=[],u;if(i.type==="category")u=i.getBandWidth();else{var h=0;m(d,function(w){h=Math.max(h,w.getData().count())}),n=i.getExtent(),Math.abs(n[1]-n[0])/h}m(d,function(w){var O=w.get("boxWidth");A.isArray(O)||(O=[O,O]),o.push([x(O[0],u)||0,x(O[1],u)||0])});var y=u*.8-2,b=y/t*.3,E=(y-b*(t-1))/t,v=E/2-y/2;m(d,function(w,O){r.push(v),v+=b+E,l.push(Math.min(Math.max(E,o[O][0]),o[O][1]))})}function s(a,n,i){var d=a.coordinateSystem,t=a.getData(),l=i/2,r=a.get("layout")==="horizontal"?0:1,o=1-r,u=["x","y"],h=t.mapDimension(u[r]),y=t.mapDimension(u[o],!0);if(h==null||y.length<5)return;for(var b=0;b<t.count();b++){var E=t.get(h,b),v=_(E,y[2],b),w=_(E,y[0],b),O=_(E,y[1],b),T=_(E,y[3],b),S=_(E,y[4],b),C=[];I(C,O,0),I(C,T,1),C.push(w,O,S,T),k(C,w),k(C,S),k(C,v),t.setItemLayout(b,{initBaseline:v[o],ends:C})}function _(F,B,j){var z=t.get(B,j),M=[];M[r]=F,M[o]=z;var U;return isNaN(F)||isNaN(z)?U=[NaN,NaN]:(U=d.dataToPoint(M),U[r]+=n),U}function I(F,B,j){var z=B.slice(),M=B.slice();z[r]+=l,M[r]-=l,j?F.push(z,M):F.push(M,z)}function k(F,B){var j=B.slice(),z=B.slice();j[r]-=l,z[r]+=l,F.push(j,z)}}R.exports=g},"7SHv":function(R,N,e){var A=e("LPTA"),f=A.devicePixelRatio,x=e("bYtY"),m=e("SUKs"),g=e("mFDi"),p=e("BPZU"),c=e("Xmg4"),s=e("mLcG"),a=e("Dagg"),n=e("ItGF"),i=1e5,d=314159,t=.01,l=.001;function r(T){return parseInt(T,10)}function o(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var u=new g(0,0,0,0),h=new g(0,0,0,0);function y(T,S,C){return u.copy(T.getBoundingRect()),T.transform&&u.applyTransform(T.transform),h.width=S,h.height=C,!u.intersect(h)}function b(T,S){if(T===S)return!1;if(!T||!S||T.length!==S.length)return!0;for(var C=0;C<T.length;C++)if(T[C]!==S[C])return!0;return!1}function E(T,S){for(var C=0;C<T.length;C++){var _=T[C];_.setTransform(S),S.beginPath(),_.buildPath(S,_.shape),S.clip(),_.restoreTransform(S)}}function v(T,S){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+T+"px","height:"+S+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var w=function(S,C,_){this.type="canvas";var I=!S.nodeName||S.nodeName.toUpperCase()==="CANVAS";this._opts=_=x.extend({},_||{}),this.dpr=_.devicePixelRatio||f,this._singleCanvas=I,this.root=S;var k=S.style;k&&(k["-webkit-tap-highlight-color"]="transparent",k["-webkit-user-select"]=k["user-select"]=k["-webkit-touch-callout"]="none",S.innerHTML=""),this.storage=C;var F=this._zlevelList=[],B=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,I){var z=S.width,M=S.height;_.width!=null&&(z=_.width),_.height!=null&&(M=_.height),this.dpr=_.devicePixelRatio||1,S.width=z*this.dpr,S.height=M*this.dpr,this._width=z,this._height=M;var U=new c(S,this,this.dpr);U.__builtin__=!0,U.initContext(),B[d]=U,U.zlevel=d,F.push(d),this._domRoot=S}else{this._width=this._getSize(0),this._height=this._getSize(1);var j=this._domRoot=v(this._width,this._height);S.appendChild(j)}this._hoverlayer=null,this._hoverElements=[]};w.prototype={constructor:w,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var S=this.getViewportRoot();if(S)return{offsetLeft:S.offsetLeft||0,offsetTop:S.offsetTop||0}},refresh:function(S){var C=this.storage.getDisplayList(!0),_=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,S,this._redrawId);for(var I=0;I<_.length;I++){var k=_[I],F=this._layers[k];if(!F.__builtin__&&F.refresh){var B=I===0?this._backgroundColor:null;F.refresh(B)}}return this.refreshHover(),this},addHover:function(S,C){if(S.__hoverMir)return;var _=new S.constructor({style:S.style,shape:S.shape,z:S.z,z2:S.z2,silent:S.silent});return _.__from=S,S.__hoverMir=_,C&&_.setStyle(C),this._hoverElements.push(_),_},removeHover:function(S){var C=S.__hoverMir,_=this._hoverElements,I=x.indexOf(_,C);I>=0&&_.splice(I,1),S.__hoverMir=null},clearHover:function(S){for(var C=this._hoverElements,_=0;_<C.length;_++){var I=C[_].__from;I&&(I.__hoverMir=null)}C.length=0},refreshHover:function(){var S=this._hoverElements,C=S.length,_=this._hoverlayer;if(_&&_.clear(),!C)return;p(S,this.storage.displayableSortFunc),_||(_=this._hoverlayer=this.getLayer(i));var I={};_.ctx.save();for(var k=0;k<C;){var F=S[k],B=F.__from;if(!(B&&B.__zr)){S.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,_,!0,I))}_.ctx.restore()},getHoverLayer:function(){return this.getLayer(i)},_paintList:function(S,C,_){if(this._redrawId!==_)return;C=C||!1,this._updateLayerStatus(S);var I=this._doPaintList(S,C);if(this._needsManuallyCompositing&&this._compositeManually(),!I){var k=this;s(function(){k._paintList(S,C,_)})}},_compositeManually:function(){var S=this.getLayer(d).ctx,C=this._domRoot.width,_=this._domRoot.height;S.clearRect(0,0,C,_),this.eachBuiltinLayer(function(I){I.virtual&&S.drawImage(I.dom,0,0,C,_)})},_doPaintList:function(S,C){for(var _=[],I=0;I<this._zlevelList.length;I++){var k=this._zlevelList[I],F=this._layers[k];F.__builtin__&&F!==this._hoverlayer&&(F.__dirty||C)&&_.push(F)}for(var B=!0,j=0;j<_.length;j++){var F=_[j],z=F.ctx,M={};z.save();var U=C?F.__startIndex:F.__drawIndex,P=!C&&F.incremental&&Date.now,H=P&&Date.now(),W=F.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(F.__startIndex===F.__endIndex)F.clear(!1,W);else if(U===F.__startIndex){var X=S[U];(!X.incremental||!X.notClear||C)&&F.clear(!1,W)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=F.__startIndex);for(var K=U;K<F.__endIndex;K++){var $=S[K];if(this._doPaintEl($,F,C,M),$.__dirty=$.__dirtyText=!1,P){var ie=Date.now()-H;if(ie>15)break}}F.__drawIndex=K,F.__drawIndex<F.__endIndex&&(B=!1),M.prevElClipPaths&&z.restore(),z.restore()}return n.wxa&&x.each(this._layers,function(be){be&&be.ctx&&be.ctx.draw&&be.ctx.draw()}),B},_doPaintEl:function(S,C,_,I){var k=C.ctx,F=S.transform;if((C.__dirty||_)&&!S.invisible&&S.style.opacity!==0&&!(F&&!F[0]&&!F[3])&&!(S.culling&&y(S,this._width,this._height))){var B=S.__clipPaths,j=I.prevElClipPaths;(!j||b(B,j))&&(j&&(k.restore(),I.prevElClipPaths=null,I.prevEl=null),B&&(k.save(),E(B,k),I.prevElClipPaths=B)),S.beforeBrush&&S.beforeBrush(k),S.brush(k,I.prevEl||null),I.prevEl=S,S.afterBrush&&S.afterBrush(k)}},getLayer:function(S,C){this._singleCanvas&&!this._needsManuallyCompositing&&(S=d);var _=this._layers[S];return _||(_=new c("zr_"+S,this,this.dpr),_.zlevel=S,_.__builtin__=!0,this._layerConfig[S]?x.merge(_,this._layerConfig[S],!0):this._layerConfig[S-t]&&x.merge(_,this._layerConfig[S-t],!0),C&&(_.virtual=C),this.insertLayer(S,_),_.initContext()),_},insertLayer:function(S,C){var _=this._layers,I=this._zlevelList,k=I.length,F=null,B=-1,j=this._domRoot;if(_[S]){m("ZLevel "+S+" has been used already");return}if(!o(C)){m("Layer of zlevel "+S+" is not valid");return}if(k>0&&S>I[0]){for(B=0;B<k-1&&!(I[B]<S&&I[B+1]>S);B++);F=_[I[B]]}if(I.splice(B+1,0,S),_[S]=C,!C.virtual)if(F){var z=F.dom;z.nextSibling?j.insertBefore(C.dom,z.nextSibling):j.appendChild(C.dom)}else j.firstChild?j.insertBefore(C.dom,j.firstChild):j.appendChild(C.dom)},eachLayer:function(S,C){var _=this._zlevelList,I,k;for(k=0;k<_.length;k++)I=_[k],S.call(C,this._layers[I],I)},eachBuiltinLayer:function(S,C){var _=this._zlevelList,I,k,F;for(F=0;F<_.length;F++)k=_[F],I=this._layers[k],I.__builtin__&&S.call(C,I,k)},eachOtherLayer:function(S,C){var _=this._zlevelList,I,k,F;for(F=0;F<_.length;F++)k=_[F],I=this._layers[k],I.__builtin__||S.call(C,I,k)},getLayers:function(){return this._layers},_updateLayerStatus:function(S){this.eachBuiltinLayer(function(M,U){M.__dirty=M.__used=!1});function C(M){k&&(k.__endIndex!==M&&(k.__dirty=!0),k.__endIndex=M)}if(this._singleCanvas)for(var _=1;_<S.length;_++){var I=S[_];if(I.zlevel!==S[_-1].zlevel||I.incremental){this._needsManuallyCompositing=!0;break}}for(var k=null,F=0,B,_=0;_<S.length;_++){var I=S[_],j=I.zlevel,z;B!==j&&(B=j,F=0),I.incremental?(z=this.getLayer(j+l,this._needsManuallyCompositing),z.incremental=!0,F=1):z=this.getLayer(j+(F>0?t:0),this._needsManuallyCompositing),z.__builtin__||m("ZLevel "+j+" has been used by unkown layer "+z.id),z!==k&&(z.__used=!0,z.__startIndex!==_&&(z.__dirty=!0),z.__startIndex=_,z.incremental?z.__drawIndex=-1:z.__drawIndex=_,C(_),k=z),I.__dirty&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=_))}C(_),this.eachBuiltinLayer(function(M,U){!M.__used&&M.getElementCount()>0&&(M.__dirty=!0,M.__startIndex=M.__endIndex=M.__drawIndex=0),M.__dirty&&M.__drawIndex<0&&(M.__drawIndex=M.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(S){S.clear()},setBackgroundColor:function(S){this._backgroundColor=S},configLayer:function(S,C){if(C){var _=this._layerConfig;_[S]?x.merge(_[S],C,!0):_[S]=C;for(var I=0;I<this._zlevelList.length;I++){var k=this._zlevelList[I];if(k===S||k===S+t){var F=this._layers[k];x.merge(F,_[S],!0)}}}},delLayer:function(S){var C=this._layers,_=this._zlevelList,I=C[S];if(!I)return;I.dom.parentNode.removeChild(I.dom),delete C[S],_.splice(x.indexOf(_,S),1)},resize:function(S,C){if(this._domRoot.style){var _=this._domRoot;_.style.display="none";var I=this._opts;if(S!=null&&(I.width=S),C!=null&&(I.height=C),S=this._getSize(0),C=this._getSize(1),_.style.display="",this._width!==S||C!==this._height){_.style.width=S+"px",_.style.height=C+"px";for(var k in this._layers)this._layers.hasOwnProperty(k)&&this._layers[k].resize(S,C);x.each(this._progressiveLayers,function(F){F.resize(S,C)}),this.refresh(!0)}this._width=S,this._height=C}else{if(S==null||C==null)return;this._width=S,this._height=C,this.getLayer(d).resize(S,C)}return this},clearLayer:function(S){var C=this._layers[S];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(S){if(S=S||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var C=new c("image",this,S.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,S.backgroundColor||this._backgroundColor),S.pixelRatio<=this.dpr){this.refresh();var _=C.dom.width,I=C.dom.height,k=C.ctx;this.eachLayer(function(M){M.__builtin__?k.drawImage(M.dom,0,0,_,I):M.renderToCanvas&&(C.ctx.save(),M.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var F={},B=this.storage.getDisplayList(!0),j=0;j<B.length;j++){var z=B[j];this._doPaintEl(z,C,!0,F)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(S){var C=this._opts,_=["width","height"][S],I=["clientWidth","clientHeight"][S],k=["paddingLeft","paddingTop"][S],F=["paddingRight","paddingBottom"][S];if(C[_]!=null&&C[_]!=="auto")return parseFloat(C[_]);var B=this.root,j=document.defaultView.getComputedStyle(B);return(B[I]||r(j[_])||r(B.style[_]))-(r(j[k])||0)-(r(j[F])||0)|0},pathToImage:function(S,C){C=C||this.dpr;var _=document.createElement("canvas"),I=_.getContext("2d"),k=S.getBoundingRect(),F=S.style,B=F.shadowBlur*C,j=F.shadowOffsetX*C,z=F.shadowOffsetY*C,M=F.hasStroke()?F.lineWidth:0,U=Math.max(M/2,-j+B),P=Math.max(M/2,j+B),H=Math.max(M/2,-z+B),W=Math.max(M/2,z+B),X=k.width+U+P,K=k.height+H+W;_.width=X*C,_.height=K*C,I.scale(C,C),I.clearRect(0,0,X,K),I.dpr=C;var $={position:S.position,rotation:S.rotation,scale:S.scale};S.position=[U-k.x,H-k.y],S.rotation=0,S.scale=[1,1],S.updateTransform(),S&&S.brush(I);var ie=a,be=new ie({style:{x:0,y:0,image:_}});return $.position!=null&&(be.position=S.position=$.position),$.rotation!=null&&(be.rotation=S.rotation=$.rotation),$.scale!=null&&(be.scale=S.scale=$.scale),be}};var O=w;R.exports=O},"7a+S":function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("YXkt"),m=e("4NO4"),g=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,s,a){this._data,this._names,this.mergeDefaultAndTheme(c,a),this._initData()},mergeOption:function(c){g.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var s=this._data.count();this.option.loop?c=(c%s+s)%s:(c>=s&&(c=s-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,s=c.data||[],a=c.axisType,n=this._names=[];if(a==="category"){var i=[];A.each(s,function(l,r){var o=m.getDataItemValue(l),u;A.isObject(l)?(u=A.clone(l),u.value=r):u=r,i.push(u),!A.isString(o)&&(o==null||isNaN(o))&&(o=""),n.push(o+"")}),s=i}var d={category:"ordinal",time:"time"}[a]||"number",t=this._data=new x([{name:"value",type:d}],this);t.initData(s,n)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),p=g;R.exports=p},"7aKB":function(R,N,e){var A=e("bYtY"),f=e("6GrX"),x=e("OELB");function m(v){return isNaN(v)?"-":(v=(v+"").split("."),v[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(v.length>1?"."+v[1]:""))}function g(v,w){return v=(v||"").toLowerCase().replace(/-(.)/g,function(O,T){return T.toUpperCase()}),w&&v&&(v=v.charAt(0).toUpperCase()+v.slice(1)),v}var p=A.normalizeCssArray,c=/([&<>"'])/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(v){return v==null?"":(v+"").replace(c,function(w,O){return s[O]})}var n=["a","b","c","d","e","f","g"],i=function(v,w){return"{"+v+(w==null?"":w)+"}"};function d(v,w,O){A.isArray(w)||(w=[w]);var T=w.length;if(!T)return"";for(var S=w[0].$vars||[],C=0;C<S.length;C++){var _=n[C];v=v.replace(i(_),i(_,0))}for(var I=0;I<T;I++)for(var k=0;k<S.length;k++){var F=w[I][S[k]];v=v.replace(i(n[k],I),O?a(F):F)}return v}function t(v,w,O){return A.each(w,function(T,S){v=v.replace("{"+S+"}",O?a(T):T)}),v}function l(v,w){v=A.isString(v)?{color:v,extraCssText:w}:v||{};var O=v.color,T=v.type,w=v.extraCssText,S=v.renderMode||"html",C=v.markerId||"X";return O?S==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+a(O)+";"+(w||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+a(O)+";"+(w||"")+'"></span>':{renderMode:S,content:"{marker"+C+"|} ",style:{color:O}}:""}function r(v,w){return v+="","0000".substr(0,w-v.length)+v}function o(v,w,O){(v==="week"||v==="month"||v==="quarter"||v==="half-year"||v==="year")&&(v=`MM-dd
|
|
|
yyyy`);var T=x.parseDate(w),S=O?"UTC":"",C=T["get"+S+"FullYear"](),_=T["get"+S+"Month"]()+1,I=T["get"+S+"Date"](),k=T["get"+S+"Hours"](),F=T["get"+S+"Minutes"](),B=T["get"+S+"Seconds"](),j=T["get"+S+"Milliseconds"]();return v=v.replace("MM",r(_,2)).replace("M",_).replace("yyyy",C).replace("yy",C%100).replace("dd",r(I,2)).replace("d",I).replace("hh",r(k,2)).replace("h",k).replace("mm",r(F,2)).replace("m",F).replace("ss",r(B,2)).replace("s",B).replace("SSS",r(j,3)),v}function u(v){return v&&v.charAt(0).toUpperCase()+v.substr(1)}var h=f.truncateText;function y(v){return f.getBoundingRect(v.text,v.font,v.textAlign,v.textVerticalAlign,v.textPadding,v.textLineHeight,v.rich,v.truncate)}function b(v,w,O,T,S,C,_,I){return f.getBoundingRect(v,w,O,T,S,I,C,_)}function E(v,w){if(w==="_blank"||w==="blank"){var O=window.open();O.opener=null,O.location=v}else window.open(v,w)}N.addCommas=m,N.toCamelCase=g,N.normalizeCssArray=p,N.encodeHTML=a,N.formatTpl=d,N.formatTplSimple=t,N.getTooltipMarker=l,N.formatTime=o,N.capitalFirst=u,N.truncateText=h,N.getTextBoundingRect=y,N.getTextRect=b,N.windowOpen=E},"7bkD":function(R,N,e){var A=e("bYtY");function f(x,m){m=m||{};var g=x.coordinateSystem,p=x.axis,c={},s=p.position,a=p.orient,n=g.getRect(),i=[n.x,n.x+n.width,n.y,n.y+n.height],d={horizontal:{top:i[2],bottom:i[3]},vertical:{left:i[0],right:i[1]}};c.position=[a==="vertical"?d.vertical[s]:i[0],a==="horizontal"?d.horizontal[s]:i[3]];var t={horizontal:0,vertical:1};c.rotation=Math.PI/2*t[a];var l={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=l[s],x.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),A.retrieve(m.labelInside,x.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var r=m.rotate;return r==null&&(r=x.get("axisLabel.rotate")),c.labelRotation=s==="top"?-r:r,c.z2=1,c}N.layout=f},"7hqr":function(R,N,e){var A=e("bYtY"),f=A.each,x=A.isString;function m(c,s,a){a=a||{};var n=a.byIndex,i=a.stackedCoordDimension,d=!!(c&&c.get("stack")),t,l,r,o;if(f(s,function(b,E){x(b)&&(s[E]=b={name:b}),d&&!b.isExtraCoord&&(!n&&!t&&b.ordinalMeta&&(t=b),!l&&b.type!=="ordinal"&&b.type!=="time"&&(!i||i===b.coordDim)&&(l=b))}),l&&!n&&!t&&(n=!0),l){r="__\0ecstackresult",o="__\0ecstackedover",t&&(t.createInvertedIndices=!0);var u=l.coordDim,h=l.type,y=0;f(s,function(b){b.coordDim===u&&y++}),s.push({name:r,coordDim:u,coordDimIndex:y,type:h,isExtraCoord:!0,isCalculationCoord:!0}),y++,s.push({name:o,coordDim:o,coordDimIndex:y,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:t&&t.name,isStackedByIndex:n,stackedOverDimension:o,stackResultDimension:r}}function g(c,s){return!!s&&s===c.getCalculationInfo("stackedDimension")}function p(c,s){return g(c,s)?c.getCalculationInfo("stackResultDimension"):s}N.enableDataStack=m,N.isDimensionStacked=g,N.getStackedDimension=p},"7mYs":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS"),m=e("7aKB"),g=e("OELB"),p={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"]},s=A.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(a,n,i){var d=this.group;d.removeAll();var t=a.coordinateSystem,l=t.getRangeInfo(),r=t.getOrient();this._renderDayRect(a,l,d),this._renderLines(a,l,r,d),this._renderYearText(a,l,r,d),this._renderMonthText(a,r,d),this._renderWeekText(a,l,r,d)},_renderDayRect:function(a,n,i){for(var d=a.coordinateSystem,t=a.getModel("itemStyle").getItemStyle(),l=d.getCellWidth(),r=d.getCellHeight(),o=n.start.time;o<=n.end.time;o=d.getNextNDay(o,1).time){var u=d.dataToRect([o],!1).tl,h=new x.Rect({shape:{x:u[0],y:u[1],width:l,height:r},cursor:"default",style:t});i.add(h)}},_renderLines:function(a,n,i,d){var t=this,l=a.coordinateSystem,r=a.getModel("splitLine.lineStyle").getLineStyle(),o=a.get("splitLine.show"),u=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=n.start,y=0;h.time<=n.end.time;y++){E(h.formatedDate),y===0&&(h=l.getDateInfo(n.start.y+"-"+n.start.m));var b=h.date;b.setMonth(b.getMonth()+1),h=l.getDateInfo(b)}E(l.getNextNDay(n.end.time,1).formatedDate);function E(v){t._firstDayOfMonth.push(l.getDateInfo(v)),t._firstDayPoints.push(l.dataToRect([v],!1).tl);var w=t._getLinePointsOfOneWeek(a,v,i);t._tlpoints.push(w[0]),t._blpoints.push(w[w.length-1]),o&&t._drawSplitline(w,r,d)}o&&this._drawSplitline(t._getEdgesPoints(t._tlpoints,u,i),r,d),o&&this._drawSplitline(t._getEdgesPoints(t._blpoints,u,i),r,d)},_getEdgesPoints:function(a,n,i){var d=[a[0].slice(),a[a.length-1].slice()],t=i==="horizontal"?0:1;return d[0][t]=d[0][t]-n/2,d[1][t]=d[1][t]+n/2,d},_drawSplitline:function(a,n,i){var d=new x.Polyline({z2:20,shape:{points:a},style:n});i.add(d)},_getLinePointsOfOneWeek:function(a,n,i){var d=a.coordinateSystem;n=d.getDateInfo(n);for(var t=[],l=0;l<7;l++){var r=d.getNextNDay(n.time,l),o=d.dataToRect([r.time],!1);t[2*r.day]=o.tl,t[2*r.day+1]=o[i==="horizontal"?"bl":"tr"]}return t},_formatterLabel:function(a,n){return typeof a=="string"&&a?m.formatTplSimple(a,n):typeof a=="function"?a(n):n.nameMap},_yearTextPositionControl:function(a,n,i,d,t){n=n.slice();var l=["center","bottom"];d==="bottom"?(n[1]+=t,l=["center","top"]):d==="left"?n[0]-=t:d==="right"?(n[0]+=t,l=["center","top"]):n[1]-=t;var r=0;return(d==="left"||d==="right")&&(r=Math.PI/2),{rotation:r,position:n,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(a,n,i,d){var t=a.getModel("yearLabel");if(!t.get("show"))return;var l=t.get("margin"),r=t.get("position");r||(r=i!=="horizontal"?"top":"left");var o=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(o[0][0]+o[1][0])/2,h=(o[0][1]+o[1][1])/2,y=i==="horizontal"?0:1,b={top:[u,o[y][1]],bottom:[u,o[1-y][1]],left:[o[1-y][0],h],right:[o[y][0],h]},E=n.start.y;+n.end.y>+n.start.y&&(E=E+"-"+n.end.y);var v=t.get("formatter"),w={start:n.start.y,end:n.end.y,nameMap:E},O=this._formatterLabel(v,w),T=new x.Text({z2:30});x.setTextStyle(T.style,t,{text:O}),T.attr(this._yearTextPositionControl(T,b[r],i,r,l)),d.add(T)},_monthTextPositionControl:function(a,n,i,d,t){var l="left",r="top",o=a[0],u=a[1];return i==="horizontal"?(u=u+t,n&&(l="center"),d==="start"&&(r="bottom")):(o=o+t,n&&(r="middle"),d==="start"&&(l="right")),{x:o,y:u,textAlign:l,textVerticalAlign:r}},_renderMonthText:function(a,n,i){var d=a.getModel("monthLabel");if(!d.get("show"))return;var t=d.get("nameMap"),l=d.get("margin"),r=d.get("position"),o=d.get("align"),u=[this._tlpoints,this._blpoints];f.isString(t)&&(t=p[t.toUpperCase()]||[]);var h=r==="start"?0:1,y=n==="horizontal"?0:1;l=r==="start"?-l:l;for(var b=o==="center",E=0;E<u[h].length-1;E++){var v=u[h][E].slice(),w=this._firstDayOfMonth[E];if(b){var O=this._firstDayPoints[E];v[y]=(O[y]+u[0][E+1][y])/2}var T=d.get("formatter"),S=t[+w.m-1],C={yyyy:w.y,yy:(w.y+"").slice(2),MM:w.m,M:+w.m,nameMap:S},_=this._formatterLabel(T,C),I=new x.Text({z2:30});f.extend(x.setTextStyle(I.style,d,{text:_}),this._monthTextPositionControl(v,b,n,r,l)),i.add(I)}},_weekTextPositionControl:function(a,n,i,d,t){var l="center",r="middle",o=a[0],u=a[1],h=i==="start";return n==="horizontal"?(o=o+d+(h?1:-1)*t[0]/2,l=h?"right":"left"):(u=u+d+(h?1:-1)*t[1]/2,r=h?"bottom":"top"),{x:o,y:u,textAlign:l,textVerticalAlign:r}},_renderWeekText:function(a,n,i,d){var t=a.getModel("dayLabel");if(!t.get("show"))return;var l=a.coordinateSystem,r=t.get("position"),o=t.get("nameMap"),u=t.get("margin"),h=l.getFirstDayOfWeek();f.isString(o)&&(o=c[o.toUpperCase()]||[]);var y=l.getNextNDay(n.end.time,7-n.lweek).time,b=[l.getCellWidth(),l.getCellHeight()];u=g.parsePercent(u,b[i==="horizontal"?0:1]),r==="start"&&(y=l.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var E=0;E<7;E++){var v=l.getNextNDay(y,E),w=l.dataToRect([v.time],!1).center,O=E;O=Math.abs((E+h)%7);var T=new x.Text({z2:30});f.extend(x.setTextStyle(T.style,t,{text:o[O]}),this._weekTextPositionControl(w,i,r,u,b)),d.add(T)}}});R.exports=s},"7oTu":function(R,N,e){var A=e("IMiH"),f=e("QBsz"),x=f.applyTransform,m=A.CMD,g=[[],[],[]],p=Math.sqrt,c=Math.atan2;function s(a,n){var i=a.data,d,t,l,r,o,u,h=m.M,y=m.C,b=m.L,E=m.R,v=m.A,w=m.Q;for(l=0,r=0;l<i.length;){d=i[l++],r=l,t=0;switch(d){case h:t=1;break;case b:t=1;break;case y:t=3;break;case w:t=2;break;case v:var O=n[4],T=n[5],S=p(n[0]*n[0]+n[1]*n[1]),C=p(n[2]*n[2]+n[3]*n[3]),_=c(-n[1]/C,n[0]/S);i[l]*=S,i[l++]+=O,i[l]*=C,i[l++]+=T,i[l++]*=S,i[l++]*=C,i[l++]+=_,i[l++]+=_,l+=2,r=l;break;case E:u[0]=i[l++],u[1]=i[l++],x(u,u,n),i[r++]=u[0],i[r++]=u[1],u[0]+=i[l++],u[1]+=i[l++],x(u,u,n),i[r++]=u[0],i[r++]=u[1]}for(o=0;o<t;o++){var u=g[o];u[0]=i[l++],u[1]=i[l++],x(u,u,n),i[r++]=u[0],i[r++]=u[1]}}}R.exports=s},"7pVf":function(R,N,e){var A=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),A.registerPreprocessor(f)},"7ph2":function(R,N){function e(x){return x instanceof Array||(x=[x,x]),x}var A="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(x,m,g){var p=e(x.get("symbol")),c=e(x.get("symbolSize")),s=x.getData();s.setVisual("fromSymbol",p&&p[0]),s.setVisual("toSymbol",p&&p[1]),s.setVisual("fromSymbolSize",c&&c[0]),s.setVisual("toSymbolSize",c&&c[1]),s.setVisual("opacity",x.get(A));function a(n,i){var d=n.getItemModel(i),t=e(d.getShallow("symbol",!0)),l=e(d.getShallow("symbolSize",!0)),r=d.get(A);t[0]&&n.setItemVisual(i,"fromSymbol",t[0]),t[1]&&n.setItemVisual(i,"toSymbol",t[1]),l[0]&&n.setItemVisual(i,"fromSymbolSize",l[0]),l[1]&&n.setItemVisual(i,"toSymbolSize",l[1]),n.setItemVisual(i,"opacity",r)}return{dataEach:s.hasItemOption?a:null}}};R.exports=f},"7uqq":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("AUH6"),p=e("+TT/"),c=e("OELB"),s=e("W4dC"),a=e("7DRL");function n(l,r){var o=l.get("boundingCoords");if(o!=null){var u=o[0],h=o[1];isNaN(u[0])||isNaN(u[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(u[0],u[1],h[0]-u[0],h[1]-u[1])}var y=this.getBoundingRect(),b,E=l.get("layoutCenter"),v=l.get("layoutSize"),w=r.getWidth(),O=r.getHeight(),T=y.width/y.height*this.aspectScale,S=!1;E&&v&&(E=[c.parsePercent(E[0],w),c.parsePercent(E[1],O)],v=c.parsePercent(v,Math.min(w,O)),!isNaN(E[0])&&!isNaN(E[1])&&!isNaN(v)&&(S=!0));var C;if(S){var C={};T>1?(C.width=v,C.height=v/T):(C.height=v,C.width=v*T),C.y=E[1]-C.height/2,C.x=E[0]-C.width/2}else b=l.getBoxLayoutParams(),b.aspect=T,C=p.getLayoutRect(b,{width:w,height:O});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function i(l,r){m.each(r.get("geoCoord"),function(o,u){l.addGeoCoord(u,o)})}var d={dimensions:g.prototype.dimensions,create:function(l,r){var o=[];l.eachComponent("geo",function(h,y){var b=h.get("map"),E=h.get("aspectScale"),v=!0,w=a.retrieveMap(b);w&&w[0]&&w[0].type==="svg"?(E==null&&(E=1),v=!1):E==null&&(E=.75);var O=new g(b+y,b,h.get("nameMap"),v);O.aspectScale=E,O.zoomLimit=h.get("scaleLimit"),o.push(O),i(O,h),h.coordinateSystem=O,O.model=h,O.resize=n,O.resize(h,r)}),l.eachSeries(function(h){var y=h.get("coordinateSystem");if(y==="geo"){var b=h.get("geoIndex")||0;h.coordinateSystem=o[b]}});var u={};return l.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var y=h.getMapType();u[y]=u[y]||[],u[y].push(h)}}),m.each(u,function(h,y){var b=m.map(h,function(v){return v.get("nameMap")}),E=new g(y,y,m.mergeAll(b));E.zoomLimit=m.retrieve.apply(null,m.map(h,function(v){return v.get("scaleLimit")})),o.push(E),E.resize=n,E.aspectScale=h[0].get("aspectScale"),E.resize(h[0],r),m.each(h,function(v){v.coordinateSystem=E,i(E,v)})}),o},getFilledRegions:function(l,r,o){for(var u=(l||[]).slice(),h=m.createHashMap(),y=0;y<u.length;y++)h.set(u[y].name,u[y]);var b=s.load(r,o);return m.each(b.regions,function(E){var v=E.name;!h.get(v)&&u.push({name:v})}),u}};x.registerCoordinateSystem("geo",d);var t=d;R.exports=t},"7yuC":function(R,N,e){var A=e("QBsz"),f=A.scaleAndAdd;function x(m,g,p){for(var c=p.rect,s=c.width,a=c.height,n=[c.x+s/2,c.y+a/2],i=p.gravity==null?.1:p.gravity,d=0;d<m.length;d++){var t=m[d];t.p||(t.p=A.create(s*(Math.random()-.5)+n[0],a*(Math.random()-.5)+n[1])),t.pp=A.clone(t.p),t.edges=null}var l=p.friction==null?.6:p.friction,r=l;return{warmUp:function(){r=l*.8},setFixed:function(o){m[o].fixed=!0},setUnfixed:function(o){m[o].fixed=!1},step:function(o){for(var u=[],h=m.length,y=0;y<g.length;y++){var b=g[y];if(b.ignoreForceLayout)continue;var E=b.n1,v=b.n2;A.sub(u,v.p,E.p);var w=A.len(u)-b.d,O=v.w/(E.w+v.w);isNaN(O)&&(O=0),A.normalize(u,u),!E.fixed&&f(E.p,E.p,u,O*w*r),!v.fixed&&f(v.p,v.p,u,-(1-O)*w*r)}for(var y=0;y<h;y++){var T=m[y];T.fixed||(A.sub(u,n,T.p),f(T.p,T.p,u,i*r))}for(var y=0;y<h;y++)for(var E=m[y],S=y+1;S<h;S++){var v=m[S];A.sub(u,v.p,E.p);var w=A.len(u);w===0&&(A.set(u,Math.random()-.5,Math.random()-.5),w=1);var C=(E.rep+v.rep)/w/w;!E.fixed&&f(E.pp,E.pp,u,C),!v.fixed&&f(v.pp,v.pp,u,-C)}for(var _=[],y=0;y<h;y++){var T=m[y];T.fixed||(A.sub(_,T.p,T.pp),f(T.p,T.p,_,r),A.copy(T.pp,T.p))}r=r*.992,o&&o(m,g,r<.01)}}}N.forceLayout=x},"8+yF":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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 g=A[m];return g!==void 0?g:16777216|m}};N.default=f},"8CQX":function(R,N,e){"use strict";function A(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(o){return typeof o}:A=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},A(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.getKeycode=i,N.getKey=d,N.getKeysym=t;var f=n(e("mHUz")),x=n(e("8+yF")),m=n(e("6Qwc")),g=n(e("gIYZ")),p=n(e("mTgk")),c=a(e("GdRQ"));function s(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return s=function(){return l},l}function a(l){if(l&&l.__esModule)return l;if(l===null||A(l)!=="object"&&typeof l!="function")return{default:l};var r=s();if(r&&r.has(l))return r.get(l);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var y=u?Object.getOwnPropertyDescriptor(l,h):null;y&&(y.get||y.set)?Object.defineProperty(o,h,y):o[h]=l[h]}return o.default=l,r&&r.set(l,o),o}function n(l){return l&&l.__esModule?l:{default:l}}function i(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 r=m.default[l.keyCode];if(c.isMac()&&r==="ContextMenu"&&(r="MetaRight"),l.location===2)switch(r){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(r){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 r}return"Unidentified"}function d(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!c.isIE()&&!c.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var r=i(l);return r in g.default?g.default[r]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function t(l){var r=d(l);if(r==="Unidentified")return null;if(r in p.default){var o=l.location;if(r==="Meta"&&o===0&&(o=2),r==="Clear"&&o===3){var u=i(l);u==="NumLock"&&(o=0)}if((o===void 0||o>3)&&(o=0),r==="Meta"){var h=i(l);if(h==="AltLeft")return f.default.XK_Meta_L;if(h==="AltRight")return f.default.XK_Meta_R}if(r==="Clear"){var y=i(l);if(y==="NumLock")return f.default.XK_Num_Lock}return p.default[r][o]}if(r.length!==1)return null;var b=r.charCodeAt();return b?x.default.lookup(b):null}},"8EBN":function(R,N,e){(function(A){A(e("VrN/"))})(function(A){"use strict";A.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<A.modeInfo.length;f++){var x=A.modeInfo[f];x.mimes&&(x.mime=x.mimes[0])}A.findModeByMIME=function(m){m=m.toLowerCase();for(var g=0;g<A.modeInfo.length;g++){var p=A.modeInfo[g];if(p.mime==m)return p;if(p.mimes){for(var c=0;c<p.mimes.length;c++)if(p.mimes[c]==m)return p}}if(/\+xml$/.test(m))return A.findModeByMIME("application/xml");if(/\+json$/.test(m))return A.findModeByMIME("application/json")},A.findModeByExtension=function(m){m=m.toLowerCase();for(var g=0;g<A.modeInfo.length;g++){var p=A.modeInfo[g];if(p.ext){for(var c=0;c<p.ext.length;c++)if(p.ext[c]==m)return p}}},A.findModeByFileName=function(m){for(var g=0;g<A.modeInfo.length;g++){var p=A.modeInfo[g];if(p.file&&p.file.test(m))return p}var c=m.lastIndexOf("."),s=c>-1&&m.substring(c+1,m.length);if(s)return A.findModeByExtension(s)},A.findModeByName=function(m){m=m.toLowerCase();for(var g=0;g<A.modeInfo.length;g++){var p=A.modeInfo[g];if(p.name.toLowerCase()==m)return p;if(p.alias){for(var c=0;c<p.alias.length;c++)if(p.alias[c].toLowerCase()==m)return p}}}})},"8IMR":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"8ISB":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},"8K/p":function(R,N,e){"use strict";function A(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(t){return typeof t}:A=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(i)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=p(e("Lo0S")),x=m(e("ItS6"));function m(i){return i&&i.__esModule?i:{default:i}}function g(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return g=function(){return i},i}function p(i){if(i&&i.__esModule)return i;if(i===null||A(i)!=="object"&&typeof i!="function")return{default:i};var d=g();if(d&&d.has(i))return d.get(i);var t={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var o=l?Object.getOwnPropertyDescriptor(i,r):null;o&&(o.get||o.set)?Object.defineProperty(t,r,o):t[r]=i[r]}return t.default=i,d&&d.set(i,t),t}function c(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")}function s(i,d){for(var t=0;t<d.length;t++){var l=d[t];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}function a(i,d,t){return d&&s(i.prototype,d),t&&s(i,t),i}var n=function(){function i(){c(this,i),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var d=0;d<4;d++)this._zlibs[d]=new x.default}return a(i,[{key:"decodeRect",value:function(t,l,r,o,u,h,y){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var b=0;b<4;b++)this._ctl>>b&1&&(this._zlibs[b].reset(),f.Info("Reset zlib stream "+b));this._ctl=this._ctl>>4}var E;if(this._ctl===8)E=this._fillRect(t,l,r,o,u,h,y);else if(this._ctl===9)E=this._jpegRect(t,l,r,o,u,h,y);else if(this._ctl===10)E=this._pngRect(t,l,r,o,u,h,y);else if((this._ctl&128)==0)E=this._basicRect(this._ctl,t,l,r,o,u,h,y);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return E&&(this._ctl=null),E}},{key:"_fillRect",value:function(t,l,r,o,u,h,y){if(u.rQwait("TIGHT",3))return!1;var b=u.rQi,E=u.rQ;return h.fillRect(t,l,r,o,[E[b+2],E[b+1],E[b]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(t,l,r,o,u,h,y){var b=this._readData(u);return b===null?!1:(h.imageRect(t,l,r,o,"image/jpeg",b),!0)}},{key:"_pngRect",value:function(t,l,r,o,u,h,y){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(t,l,r,o,u,h,y,b){if(this._filter===null)if(t&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var E=t&3,v;switch(this._filter){case 0:v=this._copyFilter(E,l,r,o,u,h,y,b);break;case 1:v=this._paletteFilter(E,l,r,o,u,h,y,b);break;case 2:v=this._gradientFilter(E,l,r,o,u,h,y,b);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return v&&(this._filter=null),v}},{key:"_copyFilter",value:function(t,l,r,o,u,h,y,b){var E=o*u*3,v;if(E<12){if(h.rQwait("TIGHT",E))return!1;v=h.rQshiftBytes(E)}else{if(v=this._readData(h),v===null)return!1;this._zlibs[t].setInput(v),v=this._zlibs[t].inflate(E),this._zlibs[t].setInput(null)}return y.blitRgbImage(l,r,o,u,v,0,!1),!0}},{key:"_paletteFilter",value:function(t,l,r,o,u,h,y,b){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var E=h.rQpeek8()+1,v=E*3;if(h.rQwait("TIGHT palette",1+v))return!1;this._numColors=E,h.rQskipBytes(1),h.rQshiftTo(this._palette,v)}var w=this._numColors<=2?1:8,O=Math.floor((o*w+7)/8),T=O*u,S;if(T<12){if(h.rQwait("TIGHT",T))return!1;S=h.rQshiftBytes(T)}else{if(S=this._readData(h),S===null)return!1;this._zlibs[t].setInput(S),S=this._zlibs[t].inflate(T),this._zlibs[t].setInput(null)}return this._numColors==2?this._monoRect(l,r,o,u,S,this._palette,y):this._paletteRect(l,r,o,u,S,this._palette,y),this._numColors=0,!0}},{key:"_monoRect",value:function(t,l,r,o,u,h,y){for(var b=this._getScratchBuffer(r*o*4),E=Math.floor((r+7)/8),v=Math.floor(r/8),w=0;w<o;w++){var O=void 0,T=void 0,S=void 0;for(S=0;S<v;S++)for(var C=7;C>=0;C--)O=(w*r+S*8+7-C)*4,T=(u[w*E+S]>>C&1)*3,b[O]=h[T],b[O+1]=h[T+1],b[O+2]=h[T+2],b[O+3]=255;for(var _=7;_>=8-r%8;_--)O=(w*r+S*8+7-_)*4,T=(u[w*E+S]>>_&1)*3,b[O]=h[T],b[O+1]=h[T+1],b[O+2]=h[T+2],b[O+3]=255}y.blitRgbxImage(t,l,r,o,b,0,!1)}},{key:"_paletteRect",value:function(t,l,r,o,u,h,y){for(var b=this._getScratchBuffer(r*o*4),E=r*o*4,v=0,w=0;v<E;v+=4,w++){var O=u[w]*3;b[v]=h[O],b[v+1]=h[O+1],b[v+2]=h[O+2],b[v+3]=255}y.blitRgbxImage(t,l,r,o,b,0,!1)}},{key:"_gradientFilter",value:function(t,l,r,o,u,h,y,b){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(t){if(this._len===0){if(t.rQwait("TIGHT",3))return null;var l;l=t.rQshift8(),this._len=l&127,l&128&&(l=t.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=t.rQshift8(),this._len|=l<<14))}if(t.rQwait("TIGHT",this._len))return null;var r=t.rQshiftBytes(this._len);return this._len=0,r}},{key:"_getScratchBuffer",value:function(t){return(!this._scratchBuffer||this._scratchBuffer.length<t)&&(this._scratchBuffer=new Uint8Array(t)),this._scratchBuffer}}]),i}();N.default=n},"8SMY":function(R,N,e){var A=e("n4Lv"),f=A.prepareDataCoordInfo,x=A.getStackedOnPoint;function m(p,c){var s=[];return c.diff(p).add(function(a){s.push({cmd:"+",idx:a})}).update(function(a,n){s.push({cmd:"=",idx:n,idx1:a})}).remove(function(a){s.push({cmd:"-",idx:a})}).execute(),s}function g(p,c,s,a,n,i,d,t){for(var l=m(p,c),r=[],o=[],u=[],h=[],y=[],b=[],E=[],v=f(n,c,d),w=f(i,p,t),O=0;O<l.length;O++){var T=l[O],S=!0;switch(T.cmd){case"=":var C=p.getItemLayout(T.idx),_=c.getItemLayout(T.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=_.slice()),r.push(C),o.push(_),u.push(s[T.idx]),h.push(a[T.idx1]),E.push(c.getRawIndex(T.idx1));break;case"+":var I=T.idx;r.push(n.dataToPoint([c.get(v.dataDimsForPoint[0],I),c.get(v.dataDimsForPoint[1],I)])),o.push(c.getItemLayout(I).slice()),u.push(x(v,n,c,I)),h.push(a[I]),E.push(c.getRawIndex(I));break;case"-":var I=T.idx,k=p.getRawIndex(I);k!==I?(r.push(p.getItemLayout(I)),o.push(i.dataToPoint([p.get(w.dataDimsForPoint[0],I),p.get(w.dataDimsForPoint[1],I)])),u.push(s[I]),h.push(x(w,i,p,I)),E.push(k)):S=!1}S&&(y.push(T),b.push(b.length))}b.sort(function(U,P){return E[U]-E[P]});for(var F=[],B=[],j=[],z=[],M=[],O=0;O<b.length;O++){var I=b[O];F[O]=r[I],B[O]=o[I],j[O]=u[I],z[O]=h[I],M[O]=y[I]}return{current:F,next:B,stackedOnCurrent:j,stackedOnNext:z,status:M}}R.exports=g},"8Skl":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="DownOutlined";var c=N.a=f.forwardRef(p)},"8Th4":function(R,N,e){var A=e("3LNs"),f=e("/y7N"),x=e("7bkD"),m=e("Znkb"),g=["x","y"],p=["width","height"],c=A.extend({makeElOption:function(d,t,l,r,o){var u=l.axis,h=u.coordinateSystem,y=n(h,1-a(u)),b=h.dataToPoint(t)[0],E=r.get("type");if(E&&E!=="none"){var v=f.buildElStyle(r),w=s[E](u,b,y);w.style=v,d.graphicKey=w.type,d.pointer=w}var O=x.layout(l);f.buildCartesianSingleLabelElOption(t,d,O,l,r,o)},getHandleTransform:function(d,t,l){var r=x.layout(t,{labelInside:!1});return r.labelMargin=l.get("handle.margin"),{position:f.getTransformedPosition(t.axis,d,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(d,t,l,r){var o=l.axis,u=o.coordinateSystem,h=a(o),y=n(u,h),b=d.position;b[h]+=t[h],b[h]=Math.min(y[1],b[h]),b[h]=Math.max(y[0],b[h]);var E=n(u,1-h),v=(E[1]+E[0])/2,w=[v,v];return w[h]=b[h],{position:b,rotation:d.rotation,cursorPoint:w,tooltipOption:{verticalAlign:"middle"}}}}),s={line:function(d,t,l){var r=f.makeLineShape([t,l[0]],[t,l[1]],a(d));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(d,t,l){var r=d.getBandWidth(),o=l[1]-l[0];return{type:"Rect",shape:f.makeRectShape([t-r/2,l[0]],[r,o],a(d))}}};function a(d){return d.isHorizontal()?0:1}function n(d,t){var l=d.getRect();return[l[g[t]],l[g[t]]+l[p[t]]]}m.registerAxisPointerClass("SingleAxisPointer",c);var i=c;R.exports=i},"8Uz6":function(R,N,e){var A=e("hNWo"),f=e("+TT/"),x=f.mergeLayoutParam,m=f.getLayoutParams,g=A.extend({type:"legend.scroll",setScrollDataIndex:function(s){this.option.scrollDataIndex=s},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(s,a,n,i){var d=m(s);g.superCall(this,"init",s,a,n,i),p(this,s,d)},mergeOption:function(s,a){g.superCall(this,"mergeOption",s,a),p(this,this.option,s)}});function p(s,a,n){var i=s.getOrient(),d=[1,1];d[i.index]=0,x(a,n,{type:"box",ignoreSize:d})}var c=g;R.exports=c},"8X+K":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("4mN7"),g=m.fromPoints,p=e("9wZj"),c=e("FBjb"),s=e("8SMY"),a=e("IwbS"),n=e("4NO4"),i=e("1NG9"),d=i.Polyline,t=i.Polygon,l=e("6Ic6"),r=e("n4Lv"),o=r.prepareDataCoordInfo,u=r.getStackedOnPoint,h=e("sK/D"),y=h.createGridClipPath,b=h.createPolarClipPath;function E(F,B){if(F.length!==B.length)return;for(var j=0;j<F.length;j++){var z=F[j],M=B[j];if(z[0]!==M[0]||z[1]!==M[1])return}return!0}function v(F,B){var j=[],z=[],M=[],U=[];return g(F,j,z),g(B,M,U),Math.max(Math.abs(j[0]-M[0]),Math.abs(j[1]-M[1]),Math.abs(z[0]-U[0]),Math.abs(z[1]-U[1]))}function w(F){return typeof F=="number"?F:F?.5:0}function O(F,B,j){if(!j.valueDim)return[];for(var z=[],M=0,U=B.count();M<U;M++)z.push(u(j,F,B,M));return z}function T(F,B,j){for(var z=B.getBaseAxis(),M=z.dim==="x"||z.dim==="radius"?0:1,U=[],P=0;P<F.length-1;P++){var H=F[P+1],W=F[P];U.push(W);var X=[];switch(j){case"end":X[M]=H[M],X[1-M]=W[1-M],U.push(X);break;case"middle":var K=(W[M]+H[M])/2,$=[];X[M]=$[M]=K,X[1-M]=W[1-M],$[1-M]=H[1-M],U.push(X),U.push($);break;default:X[M]=W[M],X[1-M]=H[1-M],U.push(X)}}return F[P]&&U.push(F[P]),U}function S(F,B){var j=F.getVisual("visualMeta");if(!j||!j.length||!F.count())return;if(B.type!=="cartesian2d")return;for(var z,M,U=j.length-1;U>=0;U--){var P=j[U].dimension,H=F.dimensions[P],W=F.getDimensionInfo(H);if(z=W&&W.coordDim,z==="x"||z==="y"){M=j[U];break}}if(!M)return;var X=B.getAxis(z),K=x.map(M.stops,function(Qe){return{coord:X.toGlobalCoord(X.dataToCoord(Qe.value)),color:Qe.color}}),$=K.length,ie=M.outerColors.slice();$&&K[0].coord>K[$-1].coord&&(K.reverse(),ie.reverse());var be=10,te=K[0].coord-be,Te=K[$-1].coord+be,Ie=Te-te;if(Ie<.001)return"transparent";x.each(K,function(Qe){Qe.offset=(Qe.coord-te)/Ie}),K.push({offset:$?K[$-1].offset:.5,color:ie[1]||"transparent"}),K.unshift({offset:$?K[0].offset:.5,color:ie[0]||"transparent"});var Fe=new a.LinearGradient(0,0,0,0,K,!0);return Fe[z]=te,Fe[z+"2"]=Te,Fe}function C(F,B,j){var z=F.get("showAllSymbol"),M=z==="auto";if(z&&!M)return;var U=j.getAxesByScale("ordinal")[0];if(!U)return;if(M&&_(U,B))return;var P=B.mapDimension(U.dim),H={};return x.each(U.getViewLabels(),function(W){H[W.tickValue]=1}),function(W){return!H.hasOwnProperty(B.get(P,W))}}function _(F,B){var j=F.getExtent(),z=Math.abs(j[1]-j[0])/F.scale.count();isNaN(z)&&(z=0);for(var M=B.count(),U=Math.max(1,Math.round(M/5)),P=0;P<M;P+=U)if(c.getSymbolSize(B,P)[F.isHorizontal()?1:0]*1.5>z)return!1;return!0}function I(F,B,j){if(F.type==="cartesian2d"){var z=F.getBaseAxis().isHorizontal(),M=y(F,B,j);if(!j.get("clip",!0)){var U=M.shape,P=Math.max(U.width,U.height);z?(U.y-=P,U.height+=P*2):(U.x-=P,U.width+=P*2)}return M}else return b(F,B,j)}var k=l.extend({type:"line",init:function(){var F=new a.Group,B=new p;this.group.add(B.group),this._symbolDraw=B,this._lineGroup=F},render:function(F,B,j){var z=F.coordinateSystem,M=this.group,U=F.getData(),P=F.getModel("lineStyle"),H=F.getModel("areaStyle"),W=U.mapArray(U.getItemLayout),X=z.type==="polar",K=this._coordSys,$=this._symbolDraw,ie=this._polyline,be=this._polygon,te=this._lineGroup,Te=F.get("animation"),Ie=!H.isEmpty(),Fe=H.get("origin"),Qe=o(z,U,Fe),fe=O(z,U,Qe),He=F.get("showSymbol"),se=He&&!X&&C(F,U,z),Ce=this._data;Ce&&Ce.eachItemGraphicEl(function(Re,Ze){Re.__temp&&(M.remove(Re),Ce.setItemGraphicEl(Ze,null))}),He||$.remove(),M.add(te);var mt=!X&&F.get("step"),Ne;z&&z.getArea&&F.get("clip",!0)&&(Ne=z.getArea(),Ne.width!=null?(Ne.x-=.1,Ne.y-=.1,Ne.width+=.2,Ne.height+=.2):Ne.r0&&(Ne.r0-=.5,Ne.r1+=.5)),this._clipShapeForSymbol=Ne,ie&&K.type===z.type&&mt===this._step?(Ie&&!be?be=this._newPolygon(W,fe,z,Te):be&&!Ie&&(te.remove(be),be=this._polygon=null),te.setClipPath(I(z,!1,F)),He&&$.updateData(U,{isIgnore:se,clipShape:Ne}),U.eachItemGraphicEl(function(Re){Re.stopAnimation(!0)}),(!E(this._stackedOnPoints,fe)||!E(this._points,W))&&(Te?this._updateAnimation(U,fe,z,j,mt,Fe):(mt&&(W=T(W,z,mt),fe=T(fe,z,mt)),ie.setShape({points:W}),be&&be.setShape({points:W,stackedOnPoints:fe})))):(He&&$.updateData(U,{isIgnore:se,clipShape:Ne}),mt&&(W=T(W,z,mt),fe=T(fe,z,mt)),ie=this._newPolyline(W,z,Te),Ie&&(be=this._newPolygon(W,fe,z,Te)),te.setClipPath(I(z,!0,F)));var ae=S(U,z)||U.getVisual("color");ie.useStyle(x.defaults(P.getLineStyle(),{fill:"none",stroke:ae,lineJoin:"bevel"}));var ce=F.get("smooth");if(ce=w(F.get("smooth")),ie.setShape({smooth:ce,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")}),be){var le=U.getCalculationInfo("stackedOnSeries"),je=0;be.useStyle(x.defaults(H.getAreaStyle(),{fill:ae,opacity:.7,lineJoin:"bevel"})),le&&(je=w(le.get("smooth"))),be.setShape({smooth:ce,stackedOnSmooth:je,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")})}this._data=U,this._coordSys=z,this._stackedOnPoints=fe,this._points=W,this._step=mt,this._valueOrigin=Fe},dispose:function(){},highlight:function(F,B,j,z){var M=F.getData(),U=n.queryDataIndex(M,z);if(!(U instanceof Array)&&U!=null&&U>=0){var P=M.getItemGraphicEl(U);if(!P){var H=M.getItemLayout(U);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;P=new c(M,U),P.position=H,P.setZ(F.get("zlevel"),F.get("z")),P.ignore=isNaN(H[0])||isNaN(H[1]),P.__temp=!0,M.setItemGraphicEl(U,P),P.stopSymbolAnimation(!0),this.group.add(P)}P.highlight()}else l.prototype.highlight.call(this,F,B,j,z)},downplay:function(F,B,j,z){var M=F.getData(),U=n.queryDataIndex(M,z);if(U!=null&&U>=0){var P=M.getItemGraphicEl(U);P&&(P.__temp?(M.setItemGraphicEl(U,null),this.group.remove(P)):P.downplay())}else l.prototype.downplay.call(this,F,B,j,z)},_newPolyline:function(F){var B=this._polyline;return B&&this._lineGroup.remove(B),B=new d({shape:{points:F},silent:!0,z2:10}),this._lineGroup.add(B),this._polyline=B,B},_newPolygon:function(F,B){var j=this._polygon;return j&&this._lineGroup.remove(j),j=new t({shape:{points:F,stackedOnPoints:B},silent:!0}),this._lineGroup.add(j),this._polygon=j,j},_updateAnimation:function(F,B,j,z,M,U){var P=this._polyline,H=this._polygon,W=F.hostModel,X=s(this._data,F,this._stackedOnPoints,B,this._coordSys,j,this._valueOrigin,U),K=X.current,$=X.stackedOnCurrent,ie=X.next,be=X.stackedOnNext;if(M&&(K=T(X.current,j,M),$=T(X.stackedOnCurrent,j,M),ie=T(X.next,j,M),be=T(X.stackedOnNext,j,M)),v(K,ie)>3e3||H&&v($,be)>3e3){P.setShape({points:ie}),H&&H.setShape({points:ie,stackedOnPoints:be});return}P.shape.__points=X.current,P.shape.points=K,a.updateProps(P,{shape:{points:ie}},W),H&&(H.setShape({points:K,stackedOnPoints:$}),a.updateProps(H,{shape:{points:ie,stackedOnPoints:be}},W));for(var te=[],Te=X.status,Ie=0;Ie<Te.length;Ie++){var Fe=Te[Ie].cmd;if(Fe==="="){var Qe=F.getItemGraphicEl(Te[Ie].idx1);Qe&&te.push({el:Qe,ptIdx:Ie})}}P.animators&&P.animators.length&&P.animators[0].during(function(){for(var fe=0;fe<te.length;fe++){var He=te[fe].el;He.attr("position",P.shape.__points[te[fe].ptIdx])}})},remove:function(F){var B=this.group,j=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),j&&j.eachItemGraphicEl(function(z,M){z.__temp&&(B.remove(z),j.setItemGraphicEl(M,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});R.exports=k},"8XDt":function(R,N,e){e("qH13");var A=e("aX58"),f=A.registerPainter,x=e("6fms");f("vml",x)},"8XRh":function(R,N,e){"use strict";e.d(N,"a",function(){return he});var A=e("rePB"),f=e("VTBJ"),x=e("ODXe"),m=e("U8pU"),g=e("q1tI"),p=e("m+aA"),c=e("c+Xe"),s=e("TSYQ"),a=e.n(s),n=e("MNnm");function i(Xe,lt){var At={};return At[Xe.toLowerCase()]=lt.toLowerCase(),At["Webkit".concat(Xe)]="webkit".concat(lt),At["Moz".concat(Xe)]="moz".concat(lt),At["ms".concat(Xe)]="MS".concat(lt),At["O".concat(Xe)]="o".concat(lt.toLowerCase()),At}function d(Xe,lt){var At={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return Xe&&("AnimationEvent"in lt||delete At.animationend.animation,"TransitionEvent"in lt||delete At.transitionend.transition),At}var t=d(Object(n.a)(),typeof window!="undefined"?window:{}),l={};if(Object(n.a)()){var r=document.createElement("div");l=r.style}var o={};function u(Xe){if(o[Xe])return o[Xe];var lt=t[Xe];if(lt)for(var At=Object.keys(lt),Me=At.length,Ht=0;Ht<Me;Ht+=1){var tt=At[Ht];if(Object.prototype.hasOwnProperty.call(lt,tt)&&tt in l)return o[Xe]=lt[tt],o[Xe]}return""}var h=u("animationend"),y=u("transitionend"),b=!!(h&&y),E=h||"animationend",v=y||"transitionend";function w(Xe,lt){if(!Xe)return null;if(Object(m.a)(Xe)==="object"){var At=lt.replace(/-\w/g,function(Me){return Me[1].toUpperCase()});return Xe[At]}return"".concat(Xe,"-").concat(lt)}var O="none",T="appear",S="enter",C="leave",_="none",I="prepare",k="start",F="active",B="end";function j(Xe){var lt=Object(g.useRef)(!1),At=Object(g.useState)(Xe),Me=Object(x.a)(At,2),Ht=Me[0],tt=Me[1];function Mt(jt){lt.current||tt(jt)}return Object(g.useEffect)(function(){return function(){lt.current=!0}},[]),[Ht,Mt]}var z=Object(n.a)()?g.useLayoutEffect:g.useEffect,M=z,U=e("wgJM"),P=function(){var Xe=g.useRef(null);function lt(){U.a.cancel(Xe.current)}function At(Me){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;lt();var tt=Object(U.a)(function(){Ht<=1?Me({isCanceled:function(){return tt!==Xe.current}}):At(Me,Ht-1)});Xe.current=tt}return g.useEffect(function(){return function(){lt()}},[]),[At,lt]},H=[I,k,F,B],W=!1,X=!0;function K(Xe){return Xe===F||Xe===B}var $=function(Xe,lt){var At=g.useState(_),Me=Object(x.a)(At,2),Ht=Me[0],tt=Me[1],Mt=P(),jt=Object(x.a)(Mt,2),kt=jt[0],Tt=jt[1];function Dt(){tt(I)}return M(function(){if(Ht!==_&&Ht!==B){var Ue=H.indexOf(Ht),G=H[Ue+1],Y=lt(Ht);Y===W?tt(G):kt(function(Pe){function Be(){if(Pe.isCanceled())return;tt(G)}Y===!0?Be():Promise.resolve(Y).then(Be)})}},[Xe,Ht]),g.useEffect(function(){return function(){Tt()}},[]),[Dt,Ht]},ie=function(Xe){var lt=Object(g.useRef)(),At=Object(g.useRef)(Xe);At.current=Xe;var Me=g.useCallback(function(Mt){At.current(Mt)},[]);function Ht(Mt){Mt&&(Mt.removeEventListener(v,Me),Mt.removeEventListener(E,Me))}function tt(Mt){lt.current&<.current!==Mt&&Ht(lt.current),Mt&&Mt!==lt.current&&(Mt.addEventListener(v,Me),Mt.addEventListener(E,Me),lt.current=Mt)}return g.useEffect(function(){return function(){Ht(lt.current)}},[]),[tt,Ht]};function be(Xe,lt,At,Me){var Ht=Me.motionEnter,tt=Ht===void 0?!0:Ht,Mt=Me.motionAppear,jt=Mt===void 0?!0:Mt,kt=Me.motionLeave,Tt=kt===void 0?!0:kt,Dt=Me.motionDeadline,Ue=Me.motionLeaveImmediately,G=Me.onAppearPrepare,Y=Me.onEnterPrepare,Pe=Me.onLeavePrepare,Be=Me.onAppearStart,J=Me.onEnterStart,St=Me.onLeaveStart,bt=Me.onAppearActive,nt=Me.onEnterActive,Rt=Me.onLeaveActive,zt=Me.onAppearEnd,Fr=Me.onEnterEnd,Jt=Me.onLeaveEnd,ge=Me.onVisibleChanged,ye=j(),Le=Object(x.a)(ye,2),we=Le[0],Ke=Le[1],Je=j(O),ut=Object(x.a)(Je,2),vt=ut[0],_t=ut[1],Ut=j(null),Bt=Object(x.a)(Ut,2),dr=Bt[0],Oe=Bt[1],xe=Object(g.useRef)(!1),V=Object(g.useRef)(null),q=Object(g.useRef)(!1),ue=Object(g.useRef)(null);function me(){var ze=At();return ze||ue.current}var Ee=Object(g.useRef)(!1);function Ge(ze){var Ye=me();if(ze&&!ze.deadline&&ze.target!==Ye)return;var qe;vt===T&&Ee.current?qe=zt==null?void 0:zt(Ye,ze):vt===S&&Ee.current?qe=Fr==null?void 0:Fr(Ye,ze):vt===C&&Ee.current&&(qe=Jt==null?void 0:Jt(Ye,ze)),qe!==!1&&!q.current&&(_t(O),Oe(null))}var dt=ie(Ge),Kt=Object(x.a)(dt,1),tr=Kt[0],wt=g.useMemo(function(){var ze,Ye,qe;switch(vt){case"appear":return ze={},Object(A.a)(ze,I,G),Object(A.a)(ze,k,Be),Object(A.a)(ze,F,bt),ze;case"enter":return Ye={},Object(A.a)(Ye,I,Y),Object(A.a)(Ye,k,J),Object(A.a)(Ye,F,nt),Ye;case"leave":return qe={},Object(A.a)(qe,I,Pe),Object(A.a)(qe,k,St),Object(A.a)(qe,F,Rt),qe;default:return{}}},[vt]),It=$(vt,function(ze){if(ze===I){var Ye=wt[I];return Ye?Ye(me()):W}if($e in wt){var qe;Oe(((qe=wt[$e])===null||qe===void 0?void 0:qe.call(wt,me(),null))||null)}return $e===F&&(tr(me()),Dt>0&&(clearTimeout(V.current),V.current=setTimeout(function(){Ge({deadline:!0})},Dt))),X}),Lt=Object(x.a)(It,2),Nt=Lt[0],$e=Lt[1],ot=K($e);Ee.current=ot,M(function(){Ke(lt);var ze=xe.current;if(xe.current=!0,!Xe)return;var Ye;!ze&<&&jt&&(Ye=T),ze&<&&tt&&(Ye=S),(ze&&!lt&&Tt||!ze&&Ue&&!lt&&Tt)&&(Ye=C),Ye&&(_t(Ye),Nt())},[lt]),Object(g.useEffect)(function(){(vt===T&&!jt||vt===S&&!tt||vt===C&&!Tt)&&_t(O)},[jt,tt,Tt]),Object(g.useEffect)(function(){return function(){clearTimeout(V.current),q.current=!0}},[]),Object(g.useEffect)(function(){we!==void 0&&vt===O&&(ge==null||ge(we))},[we,vt]);var ft=dr;return wt[I]&&$e===k&&(ft=Object(f.a)({transition:"none"},ft)),[vt,$e,ft,we!=null?we:lt]}var te=e("1OyB"),Te=e("vuIU"),Ie=e("Ji7U"),Fe=e("LK+K"),Qe=function(Xe){Object(Ie.a)(At,Xe);var lt=Object(Fe.a)(At);function At(){return Object(te.a)(this,At),lt.apply(this,arguments)}return Object(Te.a)(At,[{key:"render",value:function(){return this.props.children}}]),At}(g.Component),fe=Qe;function He(Xe){var lt=Xe;Object(m.a)(Xe)==="object"&&(lt=Xe.transitionSupport);function At(Ht){return!!(Ht.motionName&<)}var Me=g.forwardRef(function(Ht,tt){var Mt=Ht.visible,jt=Mt===void 0?!0:Mt,kt=Ht.removeOnLeave,Tt=kt===void 0?!0:kt,Dt=Ht.forceRender,Ue=Ht.children,G=Ht.motionName,Y=Ht.leavedClassName,Pe=Ht.eventProps,Be=At(Ht),J=Object(g.useRef)(),St=Object(g.useRef)();function bt(){try{return Object(p.a)(J.current||St.current)}catch(_t){return null}}var nt=be(Be,jt,bt,Ht),Rt=Object(x.a)(nt,4),zt=Rt[0],Fr=Rt[1],Jt=Rt[2],ge=Rt[3],ye=g.useRef(ge);ge&&(ye.current=!0);var Le=Object(g.useRef)(tt);Le.current=tt;var we=g.useCallback(function(_t){J.current=_t,Object(c.b)(Le.current,_t)},[]),Ke,Je=Object(f.a)(Object(f.a)({},Pe),{},{visible:jt});if(!Ue)Ke=null;else if(zt===O||!At(Ht))ge?Ke=Ue(Object(f.a)({},Je),we):!Tt&&ye.current?Ke=Ue(Object(f.a)(Object(f.a)({},Je),{},{className:Y}),we):Dt?Ke=Ue(Object(f.a)(Object(f.a)({},Je),{},{style:{display:"none"}}),we):Ke=null;else{var ut,vt;Fr===I?vt="prepare":K(Fr)?vt="active":Fr===k&&(vt="start"),Ke=Ue(Object(f.a)(Object(f.a)({},Je),{},{className:a()(w(G,zt),(ut={},Object(A.a)(ut,w(G,"".concat(zt,"-").concat(vt)),vt),Object(A.a)(ut,G,typeof G=="string"),ut)),style:Jt}),we)}return g.createElement(fe,{ref:St},Ke)});return Me.displayName="CSSMotion",Me}var se=He(b),Ce=e("wx14"),mt=e("Ff2n"),Ne="add",ae="keep",ce="remove",le="removed";function je(Xe){var lt;return Xe&&Object(m.a)(Xe)==="object"&&"key"in Xe?lt=Xe:lt={key:Xe},Object(f.a)(Object(f.a)({},lt),{},{key:String(lt.key)})}function Re(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Xe.map(je)}function Ze(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],At=[],Me=0,Ht=lt.length,tt=Re(Xe),Mt=Re(lt);tt.forEach(function(Tt){for(var Dt=!1,Ue=Me;Ue<Ht;Ue+=1){var G=Mt[Ue];if(G.key===Tt.key){Me<Ue&&(At=At.concat(Mt.slice(Me,Ue).map(function(Y){return Object(f.a)(Object(f.a)({},Y),{},{status:Ne})})),Me=Ue),At.push(Object(f.a)(Object(f.a)({},G),{},{status:ae})),Me+=1,Dt=!0;break}}Dt||At.push(Object(f.a)(Object(f.a)({},Tt),{},{status:ce}))}),Me<Ht&&(At=At.concat(Mt.slice(Me).map(function(Tt){return Object(f.a)(Object(f.a)({},Tt),{},{status:Ne})})));var jt={};At.forEach(function(Tt){var Dt=Tt.key;jt[Dt]=(jt[Dt]||0)+1});var kt=Object.keys(jt).filter(function(Tt){return jt[Tt]>1});return kt.forEach(function(Tt){At=At.filter(function(Dt){var Ue=Dt.key,G=Dt.status;return Ue!==Tt||G!==ce}),At.forEach(function(Dt){Dt.key===Tt&&(Dt.status=ae)})}),At}var De=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ne(Xe){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,At=function(Me){Object(Ie.a)(tt,Me);var Ht=Object(Fe.a)(tt);function tt(){var Mt;return Object(te.a)(this,tt),Mt=Ht.apply(this,arguments),Mt.state={keyEntities:[]},Mt.removeKey=function(jt){Mt.setState(function(kt){var Tt=kt.keyEntities;return{keyEntities:Tt.map(function(Dt){return Dt.key!==jt?Dt:Object(f.a)(Object(f.a)({},Dt),{},{status:le})})}})},Mt}return Object(Te.a)(tt,[{key:"render",value:function(){var jt=this,kt=this.state.keyEntities,Tt=this.props,Dt=Tt.component,Ue=Tt.children,G=Tt.onVisibleChanged,Y=Object(mt.a)(Tt,["component","children","onVisibleChanged"]),Pe=Dt||g.Fragment,Be={};return De.forEach(function(J){Be[J]=Y[J],delete Y[J]}),delete Y.keys,g.createElement(Pe,Y,kt.map(function(J){var St=J.status,bt=Object(mt.a)(J,["status"]),nt=St===Ne||St===ae;return g.createElement(lt,Object(Ce.a)({},Be,{key:bt.key,visible:nt,eventProps:bt,onVisibleChanged:function(zt){G==null||G(zt,{key:bt.key}),zt||jt.removeKey(bt.key)}}),Ue)}))}}],[{key:"getDerivedStateFromProps",value:function(jt,kt){var Tt=jt.keys,Dt=kt.keyEntities,Ue=Re(Tt),G=Ze(Dt,Ue);return{keyEntities:G.filter(function(Y){var Pe=Dt.find(function(Be){var J=Be.key;return Y.key===J});return!(Pe&&Pe.status===le&&Y.status===ce)})}}}]),tt}(g.Component);return At.defaultProps={component:"div"},At}var he=ne(b),pe=N.b=se},"8hn6":function(R,N){var e="#eee",A=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"],x={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:A(),logAxis:A(),valueAxis:A(),categoryAxis:A(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};x.categoryAxis.splitLine.show=!1;var m=x;R.exports=m},"8nMs":function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("+rIm"),m=e("Znkb"),g=e("AVZG"),p=e("WN+l"),c=p.rectCoordAxisBuildSplitArea,s=p.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine","minorSplitLine"],i=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(d,t,l,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!d.get("show"))return;var u=d.getCoordSysModel(),h=g.layout(u,d),y=new x(d,h);A.each(a,y.add,y),this._axisGroup.add(y.getGroup()),A.each(n,function(b){d.get(b+".show")&&this["_"+b](d,u)},this),f.groupTransition(o,this._axisGroup,d),i.superCall(this,"render",d,t,l,r)},remove:function(){s(this)},_splitLine:function(d,t){var l=d.axis;if(l.scale.isBlank())return;var r=d.getModel("splitLine"),o=r.getModel("lineStyle"),u=o.get("color");u=A.isArray(u)?u:[u];for(var h=t.coordinateSystem.getRect(),y=l.isHorizontal(),b=0,E=l.getTicksCoords({tickModel:r}),v=[],w=[],O=o.getLineStyle(),T=0;T<E.length;T++){var S=l.toGlobalCoord(E[T].coord);y?(v[0]=S,v[1]=h.y,w[0]=S,w[1]=h.y+h.height):(v[0]=h.x,v[1]=S,w[0]=h.x+h.width,w[1]=S);var C=b++%u.length,_=E[T].tickValue;this._axisGroup.add(new f.Line({anid:_!=null?"line_"+E[T].tickValue:null,subPixelOptimize:!0,shape:{x1:v[0],y1:v[1],x2:w[0],y2:w[1]},style:A.defaults({stroke:u[C]},O),silent:!0}))}},_minorSplitLine:function(d,t){var l=d.axis,r=d.getModel("minorSplitLine"),o=r.getModel("lineStyle"),u=t.coordinateSystem.getRect(),h=l.isHorizontal(),y=l.getMinorTicksCoords();if(!y.length)return;for(var b=[],E=[],v=o.getLineStyle(),w=0;w<y.length;w++)for(var O=0;O<y[w].length;O++){var T=l.toGlobalCoord(y[w][O].coord);h?(b[0]=T,b[1]=u.y,E[0]=T,E[1]=u.y+u.height):(b[0]=u.x,b[1]=T,E[0]=u.x+u.width,E[1]=T),this._axisGroup.add(new f.Line({anid:"minor_line_"+y[w][O].tickValue,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:v,silent:!0}))}},_splitArea:function(d,t){c(this,this._axisGroup,d,t)}});i.extend({type:"xAxis"}),i.extend({type:"yAxis"})},"8nly":function(R,N,e){var A=e("mFDi"),f=e("4mN7"),x=e("QBsz"),m=e("BlVb");function g(c,s,a){if(this.name=c,this.geometries=s,a)a=[a[0],a[1]];else{var n=this.getBoundingRect();a=[n.x+n.width/2,n.y+n.height/2]}this.center=a}g.prototype={constructor:g,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var s=Number.MAX_VALUE,a=[s,s],n=[-s,-s],i=[],d=[],t=this.geometries,l=0;l<t.length;l++){if(t[l].type!=="polygon")continue;var r=t[l].exterior;f.fromPoints(r,i,d),x.min(a,a,i),x.max(n,n,d)}return l===0&&(a[0]=a[1]=n[0]=n[1]=0),this._rect=new A(a[0],a[1],n[0]-a[0],n[1]-a[1])},contain:function(c){var s=this.getBoundingRect(),a=this.geometries;if(!s.contain(c[0],c[1]))return!1;e:for(var n=0,i=a.length;n<i;n++){if(a[n].type!=="polygon")continue;var d=a[n].exterior,t=a[n].interiors;if(m.contain(d,c[0],c[1])){for(var l=0;l<(t?t.length:0);l++)if(m.contain(t[l]))continue e;return!0}}return!1},transformTo:function(c,s,a,n){var i=this.getBoundingRect(),d=i.width/i.height;a?n||(n=a/d):a=d*n;for(var t=new A(c,s,a,n),l=i.calculateTransform(t),r=this.geometries,o=0;o<r.length;o++){if(r[o].type!=="polygon")continue;for(var u=r[o].exterior,h=r[o].interiors,y=0;y<u.length;y++)x.applyTransform(u[y],u[y],l);for(var b=0;b<(h?h.length:0);b++)for(var y=0;y<h[b].length;y++)x.applyTransform(h[b][y],h[b][y],l)}i=this._rect,i.copy(t),this.center=[i.x+i.width/2,i.y+i.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var s=new g(c,this.geometries,this.center);return s._rect=this._rect,s.transformTo=null,s}};var p=g;R.exports=p},"8waO":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("iLNv"),m=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var g=5;A.extendComponentView({type:"parallel",render:function(s,a,n){this._model=s,this._api=n,this._handlers||(this._handlers={},f.each(p,function(i,d){n.getZr().on(d,this._handlers[d]=f.bind(i,this))},this)),x.createOrUpdate(this,"_throttledDispatchExpand",s.get("axisExpandRate"),"fixRate")},dispose:function(s,a){f.each(this._handlers,function(n,i){a.getZr().off(i,n)}),this._handlers=null},_throttledDispatchExpand:function(s){this._dispatchExpand(s)},_dispatchExpand:function(s){s&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},s))}});var p={mousedown:function(s){c(this,"click")&&(this._mouseDownPoint=[s.offsetX,s.offsetY])},mouseup:function(s){var a=this._mouseDownPoint;if(c(this,"click")&&a){var n=[s.offsetX,s.offsetY],i=Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2);if(i>g)return;var d=this._model.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]);d.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:d.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(s){if(this._mouseDownPoint||!c(this,"mousemove"))return;var a=this._model,n=a.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]),i=n.behavior;i==="jump"&&this._throttledDispatchExpand.debounceNextCall(a.get("axisExpandDebounce")),this._throttledDispatchExpand(i==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:i==="jump"?null:!1})}};function c(s,a){var n=s._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===a}A.registerPreprocessor(m)},"8x+h":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("K4ya"),p=e("Qxkt"),c=["#ddd"],s=x.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(i,d){var t=this.option;!d&&g.replaceVisualOption(t,i,["inBrush","outOfBrush"]);var l=t.inBrush=t.inBrush||{};t.outOfBrush=t.outOfBrush||{color:c},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(i){if(!i)return;this.areas=m.map(i,function(d){return a(this.option,d)},this)},setBrushOption:function(i){this.brushOption=a(this.option,i),this.brushType=this.brushOption.brushType}});function a(i,d){return m.merge({brushType:i.brushType,brushMode:i.brushMode,transformable:i.transformable,brushStyle:new p(i.brushStyle).getItemStyle(),removeOnClick:i.removeOnClick,z:i.z},d,!0)}var n=s;R.exports=n},"8z0m":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("RIqP"),m=e.n(x),g=e("pVnL"),p=e.n(g),c=e("J4zp"),s=e.n(c),a=e("q1tI"),n=e.n(a),i=e("TSYQ"),d=e.n(i);function t(Jt,ge){var ye="cannot "+Jt.method+" "+Jt.action+" "+ge.status+"'",Le=new Error(ye);return Le.status=ge.status,Le.method=Jt.method,Le.url=Jt.action,Le}function l(Jt){var ge=Jt.responseText||Jt.response;if(!ge)return ge;try{return JSON.parse(ge)}catch(ye){return ge}}function r(Jt){var ge=new XMLHttpRequest;Jt.onProgress&&ge.upload&&(ge.upload.onprogress=function(Ke){Ke.total>0&&(Ke.percent=Ke.loaded/Ke.total*100),Jt.onProgress(Ke)});var ye=new FormData;Jt.data&&Object.keys(Jt.data).forEach(function(we){var Ke=Jt.data[we];if(Array.isArray(Ke)){Ke.forEach(function(Je){ye.append(we+"[]",Je)});return}ye.append(we,Jt.data[we])}),Jt.file instanceof Blob?ye.append(Jt.filename,Jt.file,Jt.file.name):ye.append(Jt.filename,Jt.file),ge.onerror=function(Ke){Jt.onError(Ke)},ge.onload=function(){return ge.status<200||ge.status>=300?Jt.onError(t(Jt,ge),l(ge)):Jt.onSuccess(l(ge),ge)},ge.open(Jt.method,Jt.action,!0),Jt.withCredentials&&"withCredentials"in ge&&(ge.withCredentials=!0);var Le=Jt.headers||{};return Le["X-Requested-With"]!==null&&ge.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Le).forEach(function(we){Le[we]!==null&&ge.setRequestHeader(we,Le[we])}),ge.send(ye),{abort:function(){ge.abort()}}}var o=+new Date,u=0;function h(){return"rc-upload-"+o+"-"+ ++u}function y(Jt,ge){return Jt.indexOf(ge,Jt.length-ge.length)!==-1}var b=function(Jt,ge){if(Jt&&ge){var ye=Array.isArray(ge)?ge:ge.split(","),Le=Jt.name||"",we=Jt.type||"",Ke=we.replace(/\/.*$/,"");return ye.some(function(Je){var ut=Je.trim();return ut.charAt(0)==="."?y(Le.toLowerCase(),ut.toLowerCase()):/\/\*$/.test(ut)?Ke===ut.replace(/\/.*$/,""):we===ut})}return!0};function E(Jt,ge){var ye=Jt.createReader(),Le=[];function we(){ye.readEntries(function(Ke){var Je=Array.prototype.slice.apply(Ke);Le=Le.concat(Je);var ut=!Je.length;ut?ge(Le):we()})}we()}var v=function(ge,ye,Le){var we=function Ke(Je,ut){ut=ut||"",Je.isFile?Je.file(function(vt){Le(vt)&&(Je.fullPath&&!vt.webkitRelativePath&&(Object.defineProperties(vt,{webkitRelativePath:{writable:!0}}),vt.webkitRelativePath=Je.fullPath.replace(/^\//,""),Object.defineProperties(vt,{webkitRelativePath:{writable:!1}})),ye([vt]))}):Je.isDirectory&&E(Je,function(vt){vt.forEach(function(_t){Ke(_t,""+ut+Je.name+"/")})})};ge.forEach(function(Ke){we(Ke.webkitGetAsEntry())})},w=v,O=Object.assign||function(Jt){for(var ge=1;ge<arguments.length;ge++){var ye=arguments[ge];for(var Le in ye)Object.prototype.hasOwnProperty.call(ye,Le)&&(Jt[Le]=ye[Le])}return Jt},T=function(){function Jt(ge,ye){var Le=[],we=!0,Ke=!1,Je=void 0;try{for(var ut=ge[Symbol.iterator](),vt;!(we=(vt=ut.next()).done)&&!(Le.push(vt.value),ye&&Le.length===ye);we=!0);}catch(_t){Ke=!0,Je=_t}finally{try{!we&&ut.return&&ut.return()}finally{if(Ke)throw Je}}return Le}return function(ge,ye){if(Array.isArray(ge))return ge;if(Symbol.iterator in Object(ge))return Jt(ge,ye);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function(){function Jt(ge,ye){for(var Le=0;Le<ye.length;Le++){var we=ye[Le];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ge,we.key,we)}}return function(ge,ye,Le){return ye&&Jt(ge.prototype,ye),Le&&Jt(ge,Le),ge}}();function C(Jt,ge,ye){return ge in Jt?Object.defineProperty(Jt,ge,{value:ye,enumerable:!0,configurable:!0,writable:!0}):Jt[ge]=ye,Jt}function _(Jt,ge){var ye={};for(var Le in Jt){if(ge.indexOf(Le)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Jt,Le))continue;ye[Le]=Jt[Le]}return ye}function I(Jt,ge){if(!(Jt instanceof ge))throw new TypeError("Cannot call a class as a function")}function k(Jt,ge){if(!Jt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge&&(typeof ge=="object"||typeof ge=="function")?ge:Jt}function F(Jt,ge){if(typeof ge!="function"&&ge!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ge);Jt.prototype=Object.create(ge&&ge.prototype,{constructor:{value:Jt,enumerable:!1,writable:!0,configurable:!0}}),ge&&(Object.setPrototypeOf?Object.setPrototypeOf(Jt,ge):Jt.__proto__=ge)}var B=function(ge){return Object.keys(ge).reduce(function(ye,Le){return(Le.substr(0,5)==="data-"||Le.substr(0,5)==="aria-"||Le==="role")&&(ye[Le]=ge[Le]),ye},{})},j=function(Jt){F(ge,Jt);function ge(){var ye,Le,we,Ke;I(this,ge);for(var Je=arguments.length,ut=Array(Je),vt=0;vt<Je;vt++)ut[vt]=arguments[vt];return Ke=(Le=(we=k(this,(ye=ge.__proto__||Object.getPrototypeOf(ge)).call.apply(ye,[this].concat(ut))),we),we.state={uid:h()},we.reqs={},we.onChange=function(_t){var Ut=_t.target.files;we.uploadFiles(Ut),we.reset()},we.onClick=function(_t){var Ut=we.fileInput;if(!Ut)return;var Bt=we.props,dr=Bt.children,Oe=Bt.onClick;dr&&dr.type==="button"&&(Ut.parentNode.focus(),Ut.parentNode.querySelector("button").blur()),Ut.click(),Oe&&Oe(_t)},we.onKeyDown=function(_t){_t.key==="Enter"&&we.onClick()},we.onFileDrop=function(_t){var Ut=we.props.multiple;if(_t.preventDefault(),_t.type==="dragover")return;if(we.props.directory)w(Array.prototype.slice.call(_t.dataTransfer.items),we.uploadFiles,function(dr){return b(dr,we.props.accept)});else{var Bt=Array.prototype.slice.call(_t.dataTransfer.files).filter(function(dr){return b(dr,we.props.accept)});Ut===!1&&(Bt=Bt.slice(0,1)),we.uploadFiles(Bt)}},we.uploadFiles=function(_t){var Ut=Array.prototype.slice.call(_t);Ut.map(function(Bt){return Bt.uid=h(),Bt}).forEach(function(Bt){we.upload(Bt,Ut)})},we.saveFileInput=function(_t){we.fileInput=_t},Le),k(we,Ke)}return S(ge,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Le,we){var Ke=this,Je=this.props;if(!Je.beforeUpload)return setTimeout(function(){return Ke.post(Le)},0);var ut=Je.beforeUpload(Le,we);ut&&ut.then?ut.then(function(vt){var _t=Object.prototype.toString.call(vt);return _t==="[object File]"||_t==="[object Blob]"?Ke.post(vt):Ke.post(Le)}).catch(function(vt){console.log(vt)}):ut!==!1&&setTimeout(function(){return Ke.post(Le)},0);return}},{key:"post",value:function(Le){var we=this;if(!this._isMounted)return;var Ke=this.props,Je=Ke.onStart,ut=Ke.onProgress,vt=Ke.transformFile,_t=vt===void 0?function(Ut){return Ut}:vt;new Promise(function(Ut){var Bt=Ke.action;return typeof Bt=="function"&&(Bt=Bt(Le)),Ut(Bt)}).then(function(Ut){var Bt=Le.uid,dr=Ke.customRequest||r,Oe=Promise.resolve(_t(Le)).then(function(xe){var V=Ke.data;return typeof V=="function"&&(V=V(xe)),Promise.all([xe,V])}).catch(function(xe){console.error(xe)});Oe.then(function(xe){var V=T(xe,2),q=V[0],ue=V[1],me={action:Ut,filename:Ke.name,data:ue,file:q,headers:Ke.headers,withCredentials:Ke.withCredentials,method:Ke.method||"post",onProgress:ut?function(Ee){ut(Ee,Le)}:null,onSuccess:function(Ge,dt){delete we.reqs[Bt],Ke.onSuccess(Ge,Le,dt)},onError:function(Ge,dt){delete we.reqs[Bt],Ke.onError(Ge,dt,Le)}};Je(Le),we.reqs[Bt]=dr(me)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(Le){var we=this.reqs;if(Le){var Ke=Le;Le&&Le.uid&&(Ke=Le.uid),we[Ke]&&we[Ke].abort&&we[Ke].abort(),delete we[Ke]}else Object.keys(we).forEach(function(Je){we[Je]&&we[Je].abort&&we[Je].abort(),delete we[Je]})}},{key:"render",value:function(){var Le,we=this.props,Ke=we.component,Je=we.prefixCls,ut=we.className,vt=we.disabled,_t=we.id,Ut=we.style,Bt=we.multiple,dr=we.accept,Oe=we.children,xe=we.directory,V=we.openFileDialogOnClick,q=we.onMouseEnter,ue=we.onMouseLeave,me=_(we,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ee=d()((Le={},C(Le,Je,!0),C(Le,Je+"-disabled",vt),C(Le,ut,ut),Le)),Ge=vt?{}:{onClick:V?this.onClick:function(){},onKeyDown:V?this.onKeyDown:function(){},onMouseEnter:q,onMouseLeave:ue,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return n.a.createElement(Ke,O({},Ge,{className:Ee,role:"button",style:Ut}),n.a.createElement("input",O({},B(me),{id:_t,type:"file",ref:this.saveFileInput,onClick:function(Kt){return Kt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:dr,directory:xe?"directory":null,webkitdirectory:xe?"webkitdirectory":null,multiple:Bt,onChange:this.onChange})),Oe)}}]),ge}(a.Component),z=j,M=Object.assign||function(Jt){for(var ge=1;ge<arguments.length;ge++){var ye=arguments[ge];for(var Le in ye)Object.prototype.hasOwnProperty.call(ye,Le)&&(Jt[Le]=ye[Le])}return Jt},U=function(){function Jt(ge,ye){for(var Le=0;Le<ye.length;Le++){var we=ye[Le];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ge,we.key,we)}}return function(ge,ye,Le){return ye&&Jt(ge.prototype,ye),Le&&Jt(ge,Le),ge}}();function P(Jt,ge){if(!(Jt instanceof ge))throw new TypeError("Cannot call a class as a function")}function H(Jt,ge){if(!Jt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge&&(typeof ge=="object"||typeof ge=="function")?ge:Jt}function W(Jt,ge){if(typeof ge!="function"&&ge!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ge);Jt.prototype=Object.create(ge&&ge.prototype,{constructor:{value:Jt,enumerable:!1,writable:!0,configurable:!0}}),ge&&(Object.setPrototypeOf?Object.setPrototypeOf(Jt,ge):Jt.__proto__=ge)}function X(){}var K=function(Jt){W(ge,Jt);function ge(){var ye,Le,we,Ke;P(this,ge);for(var Je=arguments.length,ut=Array(Je),vt=0;vt<Je;vt++)ut[vt]=arguments[vt];return Ke=(Le=(we=H(this,(ye=ge.__proto__||Object.getPrototypeOf(ge)).call.apply(ye,[this].concat(ut))),we),we.saveUploader=function(_t){we.uploader=_t},Le),H(we,Ke)}return U(ge,[{key:"abort",value:function(Le){this.uploader.abort(Le)}},{key:"render",value:function(){return n.a.createElement(z,M({},this.props,{ref:this.saveUploader}))}}]),ge}(a.Component);K.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:X,onError:X,onSuccess:X,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var $=K,ie=$,be=function(Jt,ge){var ye={};for(var Le in Jt)Object.prototype.hasOwnProperty.call(Jt,Le)&&ge.indexOf(Le)<0&&(ye[Le]=Jt[Le]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Le=Object.getOwnPropertySymbols(Jt);we<Le.length;we++)ge.indexOf(Le[we])<0&&Object.prototype.propertyIsEnumerable.call(Jt,Le[we])&&(ye[Le[we]]=Jt[Le[we]]);return ye},te=function(ge,ye){var Le=ge.style,we=ge.height,Ke=be(ge,["style","height"]);return a.createElement(zt,p()({ref:ye},Ke,{type:"drag",style:p()(p()({},Le),{height:we})}))},Te=a.forwardRef(te);Te.displayName="Dragger";var Ie=Te,Fe=e("UmKh"),Qe=e("gZBC"),fe=e.n(Qe),He=e("+d4F"),se=e.n(He),Ce=e("XAae"),mt=e.n(Ce),Ne=e("6xvX"),ae=e.n(Ne),ce=e("qPY4"),le=e.n(ce),je=e("QB+1"),Re=e.n(je),Ze=e("Qs3X"),De=e.n(Ze),ne=e("0n0R");function he(){return!0}function pe(Jt){return p()(p()({},Jt),{lastModified:Jt.lastModified,lastModifiedDate:Jt.lastModifiedDate,name:Jt.name,size:Jt.size,type:Jt.type,uid:Jt.uid,percent:0,originFileObj:Jt})}function Xe(Jt,ge){var ye=Jt.uid!==void 0?"uid":"name";return ge.filter(function(Le){return Le[ye]===Jt[ye]})[0]}function lt(Jt,ge){var ye=Jt.uid!==void 0?"uid":"name",Le=ge.filter(function(we){return we[ye]!==Jt[ye]});return Le.length===ge.length?null:Le}var At=function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ye=ge.split("/"),Le=ye[ye.length-1],we=Le.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(we)||[""])[0]},Me=function(ge){return ge.indexOf("image/")===0},Ht=function(ge){if(ge.type&&!ge.thumbUrl)return Me(ge.type);var ye=ge.thumbUrl||ge.url,Le=At(ye);return/^data:image\//.test(ye)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Le)?!0:/^data:/.test(ye)?!1:!Le},tt=200;function Mt(Jt){return new Promise(function(ge){if(!Jt.type||!Me(Jt.type)){ge("");return}var ye=document.createElement("canvas");ye.width=tt,ye.height=tt,ye.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(tt,"px; height: ").concat(tt,"px; z-index: 9999; display: none;"),document.body.appendChild(ye);var Le=ye.getContext("2d"),we=new Image;we.onload=function(){var Ke=we.width,Je=we.height,ut=tt,vt=tt,_t=0,Ut=0;Ke<Je?(vt=Je*(tt/Ke),Ut=-(vt-ut)/2):(ut=Ke*(tt/Je),_t=-(ut-vt)/2),Le.drawImage(we,_t,Ut,ut,vt);var Bt=ye.toDataURL();document.body.removeChild(ye),ge(Bt)},we.src=window.URL.createObjectURL(Jt)})}var jt=e("3S7+"),kt=e("CFYs"),Tt=e("H84U"),Dt=e("2/Rp"),Ue=e("hkKa"),G=function(ge,ye){var Le,we=ge.listType,Ke=ge.previewFile,Je=ge.onPreview,ut=ge.onDownload,vt=ge.onRemove,_t=ge.locale,Ut=ge.iconRender,Bt=ge.isImageUrl,dr=ge.prefixCls,Oe=ge.items,xe=Oe===void 0?[]:Oe,V=ge.showPreviewIcon,q=ge.showRemoveIcon,ue=ge.showDownloadIcon,me=ge.removeIcon,Ee=ge.downloadIcon,Ge=ge.progress,dt=Object(Ue.a)();a.useEffect(function(){if(we!=="picture"&&we!=="picture-card")return;(xe||[]).forEach(function(rt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(rt.originFileObj instanceof File||rt.originFileObj instanceof Blob)||rt.thumbUrl!==void 0)return;rt.thumbUrl="",Ke&&Ke(rt.originFileObj).then(function(ct){rt.thumbUrl=ct||"",dt()})})},[we,xe,Ke]);var Kt=function(ct,st){return Je?(st.preventDefault(),Je(ct)):void 0},tr=function(ct){typeof ut=="function"?ut(ct):ct.url&&window.open(ct.url)},wt=function(ct){vt&&vt(ct)},It=function(ct){if(Ut)return Ut(ct,we);var st=ct.status==="uploading",et=Bt&&Bt(ct)?a.createElement(mt.a,null):a.createElement(ae.a,null),Ft=st?a.createElement(fe.a,null):a.createElement(se.a,null);return we==="picture"?Ft=st?a.createElement(fe.a,null):et:we==="picture-card"&&(Ft=st?_t.uploading:et),Ft},Lt=function(ct,st,et,Ft){var Ct={type:"text",size:"small",title:Ft,onClick:function(_r){st(),Object(ne.b)(ct)&&ct.props.onClick&&ct.props.onClick(_r)},className:"".concat(et,"-list-item-card-actions-btn")};if(Object(ne.b)(ct)){var ir=Object(ne.a)(ct,p()(p()({},ct.props),{onClick:function(){}}));return a.createElement(Dt.a,p()({},Ct,{icon:ir}))}return a.createElement(Dt.a,Ct,a.createElement("span",null,ct))};a.useImperativeHandle(ye,function(){return{handlePreview:Kt,handleDownload:tr}});var Nt=a.useContext(Tt.b),$e=Nt.getPrefixCls,ot=Nt.direction,ft=$e("upload",dr),ze=xe.map(function(rt){var ct,st,et,Ft=It(rt),Ct=a.createElement("div",{className:"".concat(ft,"-text-icon")},Ft);if(we==="picture"||we==="picture-card")if(rt.status==="uploading"||!rt.thumbUrl&&!rt.url){var ir,Xt=d()((ir={},f()(ir,"".concat(ft,"-list-item-thumbnail"),!0),f()(ir,"".concat(ft,"-list-item-file"),rt.status!=="uploading"),ir));Ct=a.createElement("div",{className:Xt},Ft)}else{var _r,Br=Bt&&Bt(rt)?a.createElement("img",{src:rt.thumbUrl||rt.url,alt:rt.name,className:"".concat(ft,"-list-item-image")}):Ft,Gr=d()((_r={},f()(_r,"".concat(ft,"-list-item-thumbnail"),!0),f()(_r,"".concat(ft,"-list-item-file"),Bt&&!Bt(rt)),_r));Ct=a.createElement("a",{className:Gr,onClick:function(ai){return Kt(rt,ai)},href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Br)}if(rt.status==="uploading"){var un="percent"in rt?a.createElement(kt.a,p()({},Ge,{type:"line",percent:rt.percent})):null;et=a.createElement("div",{className:"".concat(ft,"-list-item-progress"),key:"progress"},un)}var mn=d()((ct={},f()(ct,"".concat(ft,"-list-item"),!0),f()(ct,"".concat(ft,"-list-item-").concat(rt.status),!0),f()(ct,"".concat(ft,"-list-item-list-type-").concat(we),!0),ct)),_n=typeof rt.linkProps=="string"?JSON.parse(rt.linkProps):rt.linkProps,qr=q?Lt(me||a.createElement(Re.a,null),function(){return wt(rt)},ft,_t.removeFile):null,yn=ue&&rt.status==="done"?Lt(Ee||a.createElement(De.a,null),function(){return tr(rt)},ft,_t.downloadFile):null,nn=we!=="picture-card"&&a.createElement("span",{key:"download-delete",className:"".concat(ft,"-list-item-card-actions ").concat(we==="picture"?"picture":"")},yn,qr),cr=d()((st={},f()(st,"".concat(ft,"-list-item-name"),!0),f()(st,"".concat(ft,"-list-item-name-icon-count-").concat([yn,qr].filter(function(mi){return mi}).length),!0),st)),Pr=rt.url?[a.createElement("a",p()({key:"view",target:"_blank",rel:"noopener noreferrer",className:cr,title:rt.name},_n,{href:rt.url,onClick:function(ai){return Kt(rt,ai)}}),rt.name),nn]:[a.createElement("span",{key:"view",className:cr,onClick:function(ai){return Kt(rt,ai)},title:rt.name},rt.name),nn],Ar={pointerEvents:"none",opacity:.5},Mr=V?a.createElement("a",{href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:rt.url||rt.thumbUrl?void 0:Ar,onClick:function(ai){return Kt(rt,ai)},title:_t.previewFile},a.createElement(le.a,null)):null,fn=we==="picture-card"&&rt.status!=="uploading"&&a.createElement("span",{className:"".concat(ft,"-list-item-actions")},Mr,rt.status==="done"&&yn,qr),En;rt.response&&typeof rt.response=="string"?En=rt.response:En=rt.error&&rt.error.statusText||_t.uploadError;var Rn=a.createElement("span",null,Ct,Pr),oi=a.createElement("div",{className:mn},a.createElement("div",{className:"".concat(ft,"-list-item-info")},Rn),fn,a.createElement(Fe.a,{transitionName:"fade",component:""},et)),An=d()(f()({},"".concat(ft,"-list-picture-card-container"),we==="picture-card"));return a.createElement("div",{key:rt.uid,className:An},rt.status==="error"?a.createElement(jt.a,{title:En,getPopupContainer:function(ai){return ai.parentNode}},oi):a.createElement("span",null,oi))}),Ye=d()((Le={},f()(Le,"".concat(ft,"-list"),!0),f()(Le,"".concat(ft,"-list-").concat(we),!0),f()(Le,"".concat(ft,"-list-rtl"),ot==="rtl"),Le)),qe=we==="picture-card"?"animate-inline":"animate";return a.createElement(Fe.a,{transitionName:"".concat(ft,"-").concat(qe),component:"div",className:Ye},ze)},Y=a.forwardRef(G);Y.displayName="UploadList",Y.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Mt,isImageUrl:Ht};var Pe=Y,Be=e("YMnH"),J=e("ZvpZ"),St=e("uaoM"),bt=e("sPtV"),nt=function(ge,ye){var Le,we=ge.fileList,Ke=ge.defaultFileList,Je=ge.onRemove,ut=ge.showUploadList,vt=ge.listType,_t=ge.onPreview,Ut=ge.onDownload,Bt=ge.previewFile,dr=ge.disabled,Oe=ge.locale,xe=ge.iconRender,V=ge.isImageUrl,q=ge.progress,ue=ge.prefixCls,me=ge.className,Ee=ge.type,Ge=ge.children,dt=ge.style,Kt=Object(bt.a)(we||Ke||[]),tr=s()(Kt,2),wt=tr[0],It=tr[1],Lt=a.useState("drop"),Nt=s()(Lt,2),$e=Nt[0],ot=Nt[1],ft=a.useRef();a.useEffect(function(){It(we||Ke||[]),Object(St.a)("fileList"in ge||!("value"in ge),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),a.useEffect(function(){"fileList"in ge&&It(we||[])},[we]);var ze=function(Pr){"fileList"in ge||It(Pr.fileList);var Ar=ge.onChange;Ar&&Ar(p()(p()({},Pr),{fileList:m()(Pr.fileList)}))},Ye=function(Pr){var Ar=pe(Pr);Ar.status="uploading";var Mr=wt().concat(),fn=Mr.findIndex(function(En){var Rn=En.uid;return Rn===Ar.uid});fn===-1?Mr.push(Ar):Mr[fn]=Ar,ze({file:Ar,fileList:Mr})},qe=function(Pr,Ar,Mr){try{typeof Pr=="string"&&(Pr=JSON.parse(Pr))}catch(En){}var fn=Xe(Ar,wt());if(!fn)return;fn.status="done",fn.response=Pr,fn.xhr=Mr,ze({file:p()({},fn),fileList:wt().concat()})},rt=function(Pr,Ar){var Mr=Xe(Ar,wt());if(!Mr)return;Mr.percent=Pr.percent,ze({event:Pr,file:p()({},Mr),fileList:wt().concat()})},ct=function(Pr,Ar,Mr){var fn=Xe(Mr,wt());if(!fn)return;fn.error=Pr,fn.response=Ar,fn.status="error",ze({file:p()({},fn),fileList:wt().concat()})},st=function(Pr){Promise.resolve(typeof Je=="function"?Je(Pr):Je).then(function(Ar){if(Ar===!1)return;var Mr=lt(Pr,wt());Mr&&(Pr.status="removed",ft.current&&ft.current.abort(Pr),ze({file:Pr,fileList:Mr}))})},et=function(Pr){ot(Pr.type)},Ft=function(Pr,Ar){var Mr=ge.beforeUpload;if(!Mr)return!0;var fn=Mr(Pr,Ar);if(fn===!1){var En=[];return wt().concat(Ar.map(pe)).forEach(function(Rn){En.every(function(oi){return oi.uid!==Rn.uid})&&En.push(Rn)}),ze({file:Pr,fileList:En}),!1}return fn&&fn.then?fn:!0},Ct=Object(Ue.a)();a.useImperativeHandle(ye,function(){return{onStart:Ye,onSuccess:qe,onProgress:rt,onError:ct,fileList:wt(),upload:ft.current,forceUpdate:Ct}});var ir=function(Pr){var Ar=ut.showRemoveIcon,Mr=ut.showPreviewIcon,fn=ut.showDownloadIcon,En=ut.removeIcon,Rn=ut.downloadIcon;return a.createElement(Pe,{listType:vt,items:wt(),previewFile:Bt,onPreview:_t,onDownload:Ut,onRemove:st,showRemoveIcon:!dr&&Ar,showPreviewIcon:Mr,showDownloadIcon:fn,removeIcon:En,downloadIcon:Rn,iconRender:xe,locale:p()(p()({},Pr),Oe),isImageUrl:V,progress:q})},Xt=a.useContext(Tt.b),_r=Xt.getPrefixCls,Br=Xt.direction,Gr=_r("upload",ue),un=p()(p()({onStart:Ye,onError:ct,onProgress:rt,onSuccess:qe},ge),{prefixCls:Gr,beforeUpload:Ft});delete un.className,delete un.style,(!Ge||dr)&&delete un.id;var mn=ut?a.createElement(Be.a,{componentName:"Upload",defaultLocale:J.a.Upload},ir):null;if(Ee==="drag"){var _n,qr=d()(Gr,(_n={},f()(_n,"".concat(Gr,"-drag"),!0),f()(_n,"".concat(Gr,"-drag-uploading"),wt().some(function(cr){return cr.status==="uploading"})),f()(_n,"".concat(Gr,"-drag-hover"),$e==="dragover"),f()(_n,"".concat(Gr,"-disabled"),dr),f()(_n,"".concat(Gr,"-rtl"),Br==="rtl"),_n),me);return a.createElement("span",null,a.createElement("div",{className:qr,onDrop:et,onDragOver:et,onDragLeave:et,style:dt},a.createElement(ie,p()({},un,{ref:ft,className:"".concat(Gr,"-btn")}),a.createElement("div",{className:"".concat(Gr,"-drag-container")},Ge))),mn)}var yn=d()(Gr,(Le={},f()(Le,"".concat(Gr,"-select"),!0),f()(Le,"".concat(Gr,"-select-").concat(vt),!0),f()(Le,"".concat(Gr,"-disabled"),dr),f()(Le,"".concat(Gr,"-rtl"),Br==="rtl"),Le)),nn=a.createElement("div",{className:yn,style:Ge?void 0:{display:"none"}},a.createElement(ie,p()({},un,{ref:ft})));return vt==="picture-card"?a.createElement("span",{className:d()(me,"".concat(Gr,"-picture-card-wrapper"))},mn,nn):a.createElement("span",{className:me},nn,mn)},Rt=a.forwardRef(nt);Rt.Dragger=Ie,Rt.displayName="Upload",Rt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:he,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var zt=Rt;zt.Dragger=Ie;var Fr=N.a=zt},"98bh":function(R,N,e){var A=e("ProS"),f=e("5GtS"),x=e("bYtY"),m=e("4NO4"),g=e("OELB"),p=g.getPercentWithPrecision,c=e("cCMj"),s=e("KxfA"),a=s.retrieveRawAttr,n=e("D5nY"),i=n.makeSeriesEncodeForNameBased,d=e("xKMd"),t=A.extendSeriesModel({type:"series.pie",init:function(r){t.superApply(this,"init",arguments),this.legendVisualProvider=new d(x.bind(this.getData,this),x.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(r)},mergeOption:function(r){t.superCall(this,"mergeOption",r),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(r,o){return f(this,{coordDimensions:["value"],encodeDefaulter:x.curry(i,this)})},_createSelectableList:function(){for(var r=this.getRawData(),o=r.mapDimension("value"),u=[],h=0,y=r.count();h<y;h++)u.push({name:r.getName(h),value:r.get(o,h),selected:a(r,h,"selected")});return u},getDataParams:function(r){var o=this.getData(),u=t.superCall(this,"getDataParams",r),h=[];return o.each(o.mapDimension("value"),function(y){h.push(y)}),u.percent=p(h,r,o.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(r){m.defaultEmphasis(r,"labelLine",["show"]);var o=r.labelLine,u=r.emphasis.labelLine;o.show=o.show&&r.label.show,u.show=u.show&&r.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"}});x.mixin(t,c);var l=t;R.exports=l},"9H2F":function(R,N,e){var A=e("bYtY"),f=A.assert,x=A.isArray,m=e("Tghj"),g=m.__DEV__;function p(d){return new c(d)}function c(d){d=d||{},this._reset=d.reset,this._plan=d.plan,this._count=d.count,this._onDirty=d.onDirty,this._dirty=!0,this.context}var s=c.prototype;s.perform=function(d){var t=this._upstream,l=d&&d.skip;if(this._dirty&&t){var r=this.context;r.data=r.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!l&&(o=this._plan(this.context));var u=E(this._modBy),h=this._modDataCount||0,y=E(d&&d.modBy),b=d&&d.modDataCount||0;(u!==y||h!==b)&&(o="reset");function E(I){return!(I>=1)&&(I=1),I}var v;(this._dirty||o==="reset")&&(this._dirty=!1,v=i(this,l)),this._modBy=y,this._modDataCount=b;var w=d&&d.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var O=this._dueIndex,T=Math.min(w!=null?this._dueIndex+w:Infinity,this._dueEnd);if(!l&&(v||O<T)){var S=this._progress;if(x(S))for(var C=0;C<S.length;C++)n(this,S[C],O,T,y,b);else n(this,S,O,T,y,b)}this._dueIndex=T;var _=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var a=function(){var d,t,l,r,o,u={reset:function(b,E,v,w){t=b,d=E,l=v,r=w,o=Math.ceil(r/l),u.next=l>1&&r>0?y:h}};return u;function h(){return t<d?t++:null}function y(){var b=t%o*l+Math.ceil(t/o),E=t>=d?null:b<r?b:t;return t++,E}}();s.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function n(d,t,l,r,o,u){a.reset(l,r,o,u),d._callingProgress=t,d._callingProgress({start:l,end:r,count:r-l,next:a.next},d.context)}function i(d,t){d._dueIndex=d._outputDueEnd=d._dueEnd=0,d._settedOutputEnd=null;var l,r;!t&&d._reset&&(l=d._reset(d.context),l&&l.progress&&(r=l.forceFirstProgress,l=l.progress),x(l)&&!l.length&&(l=null)),d._progress=l,d._modBy=d._modDataCount=null;var o=d._downstream;return o&&o.dirty(),r}s.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},s.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},s.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},s.getUpstream=function(){return this._upstream},s.getDownstream=function(){return this._downstream},s.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},N.createTask=p},"9KIM":function(R,N,e){var A=e("mFDi"),f=e("xSat"),x=f.onIrrelevantElement,m=e("IwbS");function g(a){return a=s(a),function(n,i){return m.clipPointsByRect(n,a)}}function p(a,n){return a=s(a),function(i){var d=n!=null?n:i,t=d?a.width:a.height,l=d?a.x:a.y;return[l,l+(t||0)]}}function c(a,n,i){return a=s(a),function(d,t,l){return a.contain(t[0],t[1])&&!x(d,n,i)}}function s(a){return A.create(a)}N.makeRectPanelClipPath=g,N.makeLinearBrushOtherExtent=p,N.makeRectIsTargetByCursor=c},"9ama":function(R,N,e){},"9eas":function(R,N,e){e("HM/N"),e("tBnm")},"9hCq":function(R,N,e){var A=e("IwbS"),f=e("+TT/"),x=e("bYtY"),m=e("VaxA"),g=m.wrapTreePathInfo,p=8,c=8,s=5;function a(t){this.group=new A.Group,t.add(this.group)}a.prototype={constructor:a,render:function(t,l,r,o){var u=t.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!u.get("show")||!r)return;var y=u.getModel("itemStyle"),b=y.getModel("textStyle"),E={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,E,b),this._renderContent(t,E,y,b,o),f.positionElement(h,E.pos,E.box)},_prepare:function(t,l,r){for(var o=t;o;o=o.parentNode){var u=o.getModel().get("name"),h=r.getTextRect(u),y=Math.max(h.width+p*2,l.emptyItemWidth);l.totalWidth+=y+c,l.renderList.push({node:o,text:u,width:y})}},_renderContent:function(t,l,r,o,u){for(var h=0,y=l.emptyItemWidth,b=t.get("breadcrumb.height"),E=f.getAvailableSize(l.pos,l.box),v=l.totalWidth,w=l.renderList,O=w.length-1;O>=0;O--){var T=w[O],S=T.node,C=T.width,_=T.text;v>E.width&&(v-=C-y,C=y,_=null);var I=new A.Polygon({shape:{points:n(h,0,C,b,O===w.length-1,O===0)},style:x.defaults(r.getItemStyle(),{lineJoin:"bevel",text:_,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:x.curry(u,S)});this.group.add(I),i(I,t,S),h+=C+c}},remove:function(){this.group.removeAll()}};function n(t,l,r,o,u,h){var y=[[u?t:t-s,l],[t+r,l],[t+r,l+o],[u?t:t-s,l+o]];return!h&&y.splice(2,0,[t+r+s,l+o/2]),!u&&y.push([t,l+o/2]),y}function i(t,l,r){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&g(r,l)}}var d=a;R.exports=d},"9u0u":function(R,N,e){var A=e("bYtY");function f(m,g){var p={};return A.each(m,function(c){c.each(c.mapDimension("value"),function(s,a){var n="ec-"+c.getName(a);p[n]=p[n]||[],isNaN(s)||p[n].push(s)})}),m[0].map(m[0].mapDimension("value"),function(c,s){for(var a="ec-"+m[0].getName(s),n=0,i=Infinity,d=-Infinity,t=p[a].length,l=0;l<t;l++)i=Math.min(i,p[a][l]),d=Math.max(d,p[a][l]),n+=p[a][l];var r;return g==="min"?r=i:g==="max"?r=d:g==="average"?r=n/t:r=n,t===0?NaN:r})}function x(m){var g={};m.eachSeriesByType("map",function(p){var c=p.getHostGeoModel(),s=c?"o"+c.id:"i"+p.getMapType();(g[s]=g[s]||[]).push(p)}),A.each(g,function(p,c){for(var s=f(A.map(p,function(n){return n.getData()}),p[0].get("mapValueCalculation")),a=0;a<p.length;a++)p[a].originalData=p[a].getData();for(var a=0;a<p.length;a++)p[a].seriesGroup=p,p[a].needsDrawMap=a===0&&!p[a].getHostGeoModel(),p[a].setData(s.cloneShallow()),p[a].mainSeries=p[0]})}R.exports=x},"9wZj":function(R,N,e){var A=e("IwbS"),f=e("FBjb"),x=e("bYtY"),m=x.isObject;function g(i){this.group=new A.Group,this._symbolCtor=i||f}var p=g.prototype;function c(i,d,t,l){return d&&!isNaN(d[0])&&!isNaN(d[1])&&!(l.isIgnore&&l.isIgnore(t))&&!(l.clipShape&&!l.clipShape.contain(d[0],d[1]))&&i.getItemVisual(t,"symbol")!=="none"}p.updateData=function(i,d){d=s(d);var t=this.group,l=i.hostModel,r=this._data,o=this._symbolCtor,u=a(i);r||t.removeAll(),i.diff(r).add(function(h){var y=i.getItemLayout(h);if(c(i,y,h,d)){var b=new o(i,h,u);b.attr("position",y),i.setItemGraphicEl(h,b),t.add(b)}}).update(function(h,y){var b=r.getItemGraphicEl(y),E=i.getItemLayout(h);if(!c(i,E,h,d)){t.remove(b);return}b?(b.updateData(i,h,u),A.updateProps(b,{position:E},l)):(b=new o(i,h),b.attr("position",E)),t.add(b),i.setItemGraphicEl(h,b)}).remove(function(h){var y=r.getItemGraphicEl(h);y&&y.fadeOut(function(){t.remove(y)})}).execute(),this._data=i},p.isPersistent=function(){return!0},p.updateLayout=function(){var i=this._data;i&&i.eachItemGraphicEl(function(d,t){var l=i.getItemLayout(t);d.attr("position",l)})},p.incrementalPrepareUpdate=function(i){this._seriesScope=a(i),this._data=null,this.group.removeAll()},p.incrementalUpdate=function(i,d,t){t=s(t);function l(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var r=i.start;r<i.end;r++){var o=d.getItemLayout(r);if(c(d,o,r,t)){var u=new this._symbolCtor(d,r,this._seriesScope);u.traverse(l),u.attr("position",o),this.group.add(u),d.setItemGraphicEl(r,u)}}};function s(i){return i!=null&&!m(i)&&(i={isIgnore:i}),i||{}}p.remove=function(i){var d=this.group,t=this._data;t&&i?t.eachItemGraphicEl(function(l){l.fadeOut(function(){d.remove(l)})}):d.removeAll()};function a(i){var d=i.hostModel;return{itemStyle:d.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:d.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:d.get("symbolRotate"),symbolOffset:d.get("symbolOffset"),hoverAnimation:d.get("hoverAnimation"),labelModel:d.getModel("label"),hoverLabelModel:d.getModel("emphasis.label"),cursorStyle:d.get("cursor")}}var n=g;R.exports=n},"9yH6":function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("q1tI"),p=e("x1Ya"),c=e("TSYQ"),s=e.n(c),a=e("H84U"),n=g.createContext(null),i=n.Provider,d=n,t=e("cDf5"),l=e.n(t);function r(j,z){typeof j=="function"?j(z):l()(j)==="object"&&j&&"current"in j&&(j.current=z)}function o(){for(var j=arguments.length,z=new Array(j),M=0;M<j;M++)z[M]=arguments[M];return function(U){z.forEach(function(P){r(P,U)})}}var u=e("uaoM"),h=function(j,z){var M={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(M[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,U=Object.getOwnPropertySymbols(j);P<U.length;P++)z.indexOf(U[P])<0&&Object.prototype.propertyIsEnumerable.call(j,U[P])&&(M[U[P]]=j[U[P]]);return M},y=function(z,M){var U,P=g.useContext(d),H=g.useContext(a.b),W=H.getPrefixCls,X=H.direction,K=g.useRef(),$=o(M,K);g.useEffect(function(){Object(u.a)(!("optionType"in z),"Radio","`optionType` is only support in Radio.Group.")},[]);var ie=function(Ce){z.onChange&&z.onChange(Ce),(P==null?void 0:P.onChange)&&P.onChange(Ce)},be=z.prefixCls,te=z.className,Te=z.children,Ie=z.style,Fe=h(z,["prefixCls","className","children","style"]),Qe=W("radio",be),fe=m()({},Fe);P&&(fe.name=P.name,fe.onChange=ie,fe.checked=z.value===P.value,fe.disabled=z.disabled||P.disabled);var He=s()(te,(U={},f()(U,"".concat(Qe,"-wrapper"),!0),f()(U,"".concat(Qe,"-wrapper-checked"),fe.checked),f()(U,"".concat(Qe,"-wrapper-disabled"),fe.disabled),f()(U,"".concat(Qe,"-wrapper-rtl"),X==="rtl"),U));return g.createElement("label",{className:He,style:Ie,onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},g.createElement(p.a,m()({},fe,{prefixCls:Qe,ref:$})),Te!==void 0?g.createElement("span",null,Te):null)},b=g.forwardRef(y);b.displayName="Radio",b.defaultProps={type:"radio"};var E=b,v=e("J4zp"),w=e.n(v),O=e("6cGi"),T=e("3Nzz"),S=g.forwardRef(function(j,z){var M=g.useContext(a.b),U=M.getPrefixCls,P=M.direction,H=g.useContext(T.b),W=Object(O.a)(j.defaultValue,{value:j.value}),X=w()(W,2),K=X[0],$=X[1],ie=function(Te){var Ie=K,Fe=Te.target.value;"value"in j||$(Fe);var Qe=j.onChange;Qe&&Fe!==Ie&&Qe(Te)},be=function(){var Te,Ie=j.prefixCls,Fe=j.className,Qe=Fe===void 0?"":Fe,fe=j.options,He=j.optionType,se=j.buttonStyle,Ce=j.disabled,mt=j.children,Ne=j.size,ae=j.style,ce=j.id,le=j.onMouseEnter,je=j.onMouseLeave,Re=U("radio",Ie),Ze="".concat(Re,"-group"),De=mt;if(fe&&fe.length>0){var ne=He==="button"?"".concat(Re,"-button"):Re;De=fe.map(function(Xe){return typeof Xe=="string"?g.createElement(E,{ref:z,key:Xe,prefixCls:ne,disabled:Ce,value:Xe,checked:K===Xe},Xe):g.createElement(E,{ref:z,key:"radio-group-value-options-".concat(Xe.value),prefixCls:ne,disabled:Xe.disabled||Ce,value:Xe.value,checked:K===Xe.value,style:Xe.style},Xe.label)})}var he=Ne||H,pe=s()(Ze,"".concat(Ze,"-").concat(se),(Te={},f()(Te,"".concat(Ze,"-").concat(he),he),f()(Te,"".concat(Ze,"-rtl"),P==="rtl"),Te),Qe);return g.createElement("div",{className:pe,style:ae,onMouseEnter:le,onMouseLeave:je,id:ce},De)};return g.createElement(i,{value:{onChange:ie,value:K,disabled:j.disabled,name:j.name}},be())});S.defaultProps={buttonStyle:"outline"};var C=g.memo(S),_=function(j,z){var M={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(M[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,U=Object.getOwnPropertySymbols(j);P<U.length;P++)z.indexOf(U[P])<0&&Object.prototype.propertyIsEnumerable.call(j,U[P])&&(M[U[P]]=j[U[P]]);return M},I=function(z,M){var U=g.useContext(d),P=g.useContext(a.b),H=P.getPrefixCls,W=z.prefixCls,X=_(z,["prefixCls"]),K=H("radio-button",W);return U&&(X.checked=z.value===U.value,X.disabled=z.disabled||U.disabled),g.createElement(E,m()({prefixCls:K},X,{type:"radio",ref:M}))},k=g.forwardRef(I),F=E;F.Button=k,F.Group=C;var B=N.a=F},A1Ka:function(R,N,e){var A=e("bLfw"),f=e("sS/r"),x=e("D5nY"),m=x.detectSourceFormat,g=e("k9D9"),p=g.SERIES_LAYOUT_BY_COLUMN;A.extend({type:"dataset",defaultOption:{seriesLayoutBy:p,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),f.extend({type:"dataset"})},ABKa:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("Qs9O")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="FolderOutlined";var s=m.forwardRef(c);N.default=s},ACnJ:function(R,N,e){"use strict";e.d(N,"b",function(){return g});var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=["xxl","xl","lg","md","sm","xs"],p={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,s=-1,a={},n={matchHandlers:{},dispatch:function(d){return a=d,c.forEach(function(t){return t(a)}),c.size>=1},subscribe:function(d){return c.size||this.register(),s+=1,c.set(s,d),d(a),s},unsubscribe:function(d){c.delete(d),c.size||this.unregister()},unregister:function(){var d=this;Object.keys(p).forEach(function(t){var l=p[t],r=d.matchHandlers[l];r==null||r.mql.removeListener(r==null?void 0:r.listener)}),c.clear()},register:function(){var d=this;Object.keys(p).forEach(function(t){var l=p[t],r=function(h){var y=h.matches;d.dispatch(m()(m()({},a),f()({},t,y)))},o=window.matchMedia(l);o.addListener(r),d.matchHandlers[l]={mql:o,listener:r},r(o)})}};N.a=n},AE9C:function(R,N,e){var A=e("bYtY"),f=e("crZl"),x=e("IwbS"),m=e("oVpE"),g=m.createSymbol,p=e("+TT/"),c=e("y7Aq"),s=f.extend({type:"visualMap.piecewise",doRender:function(){var n=this.group;n.removeAll();var i=this.visualMapModel,d=i.get("textGap"),t=i.textStyleModel,l=t.getFont(),r=t.getTextColor(),o=this._getItemAlign(),u=i.itemSize,h=this._getViewData(),y=h.endsText,b=A.retrieve(i.get("showLabel",!0),!y);y&&this._renderEndsText(n,y[0],u,b,o),A.each(h.viewPieceList,E,this),y&&this._renderEndsText(n,y[1],u,b,o),p.box(i.get("orient"),n,i.get("itemGap")),this.renderBackground(n),this.positionGroup(n);function E(v){var w=v.piece,O=new x.Group;O.onclick=A.bind(this._onItemClick,this,w),this._enableHoverLink(O,v.indexInModelPieceList);var T=i.getRepresentValue(w);if(this._createItemSymbol(O,T,[0,0,u[0],u[1]]),b){var S=this.visualMapModel.getValueState(T);O.add(new x.Text({style:{x:o==="right"?-d:u[0]+d,y:u[1]/2,text:w.text,textVerticalAlign:"middle",textAlign:o,textFont:l,textFill:r,opacity:S==="outOfRange"?.5:1}}))}n.add(O)}},_enableHoverLink:function(n,i){n.on("mouseover",A.bind(d,this,"highlight")).on("mouseout",A.bind(d,this,"downplay"));function d(t){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:t,batch:c.makeHighDownBatch(l.findTargetDataIndices(i),l)})}},_getItemAlign:function(){var n=this.visualMapModel,i=n.option;if(i.orient==="vertical")return c.getItemAlign(n,this.api,n.itemSize);var d=i.align;return(!d||d==="auto")&&(d="left"),d},_renderEndsText:function(n,i,d,t,l){if(!i)return;var r=new x.Group,o=this.visualMapModel.textStyleModel;r.add(new x.Text({style:{x:t?l==="right"?d[0]:0:d[0]/2,y:d[1]/2,textVerticalAlign:"middle",textAlign:t?l:"center",text:i,textFont:o.getFont(),textFill:o.getTextColor()}})),n.add(r)},_getViewData:function(){var n=this.visualMapModel,i=A.map(n.getPieceList(),function(r,o){return{piece:r,indexInModelPieceList:o}}),d=n.get("text"),t=n.get("orient"),l=n.get("inverse");return(t==="horizontal"?l:!l)?i.reverse():d&&(d=d.slice().reverse()),{viewPieceList:i,endsText:d}},_createItemSymbol:function(n,i,d){n.add(g(this.getControllerVisual(i,"symbol"),d[0],d[1],d[2],d[3],this.getControllerVisual(i,"color")))},_onItemClick:function(n){var i=this.visualMapModel,d=i.option,t=A.clone(d.selected),l=i.getSelectedMapKey(n);d.selectedMode==="single"?(t[l]=!0,A.each(t,function(r,o){t[o]=o===l})):t[l]=!t[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:t})}}),a=s;R.exports=a},AEZ6:function(R,N,e){var A=e("bYtY"),f=A.each,x=A.createHashMap,m=e("T4UG"),g=e("MwEJ"),p=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(a,n){var i=this.getSource();return c(i,this),g(i,this)},getRawIndicesByActiveState:function(a){var n=this.coordinateSystem,i=this.getData(),d=[];return n.eachActiveState(i,function(t,l){a===t&&d.push(i.getRawIndex(l))}),d},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(a,n){if(a.encodeDefine)return;var i=n.ecModel.getComponent("parallel",n.get("parallelIndex"));if(!i)return;var d=a.encodeDefine=x();f(i.dimensions,function(t){var l=s(t);d.set(t,l)})}function s(a){return+a.replace("dim","")}R.exports=p},AH3D:function(R,N,e){var A=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),A.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),A.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("5GtS"),m=e("4NO4"),g=m.defaultEmphasis,p=e("D5nY"),c=p.makeSeriesEncodeForNameBased,s=e("xKMd"),a=A.extendSeriesModel({type:"series.funnel",init:function(i){a.superApply(this,"init",arguments),this.legendVisualProvider=new s(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(i)},getInitialData:function(i,d){return x(this,{coordDimensions:["value"],encodeDefaulter:f.curry(c,this)})},_defaultLabelLine:function(i){g(i,"labelLine",["show"]);var d=i.labelLine,t=i.emphasis.labelLine;d.show=d.show&&i.label.show,t.show=t.show&&i.emphasis.label.show},getDataParams:function(i){var d=this.getData(),t=a.superCall(this,"getDataParams",i),l=d.mapDimension("value"),r=d.getSum(l);return t.percent=r?+(d.get(l,i)/r*100).toFixed(2):0,t.$vars.push("percent"),t},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=a;R.exports=n},ANhw:function(R,N){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A={rotl:function(x,m){return x<<m|x>>>32-m},rotr:function(x,m){return x<<32-m|x>>>m},endian:function(x){if(x.constructor==Number)return A.rotl(x,8)&16711935|A.rotl(x,24)&4278255360;for(var m=0;m<x.length;m++)x[m]=A.endian(x[m]);return x},randomBytes:function(x){for(var m=[];x>0;x--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(x){for(var m=[],g=0,p=0;g<x.length;g++,p+=8)m[p>>>5]|=x[g]<<24-p%32;return m},wordsToBytes:function(x){for(var m=[],g=0;g<x.length*32;g+=8)m.push(x[g>>>5]>>>24-g%32&255);return m},bytesToHex:function(x){for(var m=[],g=0;g<x.length;g++)m.push((x[g]>>>4).toString(16)),m.push((x[g]&15).toString(16));return m.join("")},hexToBytes:function(x){for(var m=[],g=0;g<x.length;g+=2)m.push(parseInt(x.substr(g,2),16));return m},bytesToBase64:function(x){for(var m=[],g=0;g<x.length;g+=3)for(var p=x[g]<<16|x[g+1]<<8|x[g+2],c=0;c<4;c++)g*8+c*6<=x.length*8?m.push(e.charAt(p>>>6*(3-c)&63)):m.push("=");return m.join("")},base64ToBytes:function(x){x=x.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],g=0,p=0;g<x.length;p=++g%4){if(p==0)continue;m.push((e.indexOf(x.charAt(g-1))&Math.pow(2,-2*p+8)-1)<<p*2|e.indexOf(x.charAt(g))>>>6-p*2)}return m}};R.exports=A})()},ANjR:function(R,N,e){var A=e("bYtY");function f(m,g){return g=g||[0,0],A.map([0,1],function(p){var c=g[p],s=m[p]/2,a=[],n=[];return a[p]=c-s,n[p]=c+s,a[1-p]=n[1-p]=g[1-p],Math.abs(this.dataToPoint(a)[p]-this.dataToPoint(n)[p])},this)}function x(m){var g=m.getBoundingRect();return{coordSys:{type:"geo",x:g.x,y:g.y,width:g.width,height:g.height,zoom:m.getZoom()},api:{coord:function(p){return m.dataToPoint(p)},size:A.bind(f,m)}}}R.exports=x},AOa7:function(R,N,e){},AUH6:function(R,N,e){var A=e("bYtY"),f=e("mFDi"),x=e("bMXI"),m=e("W4dC");function g(s,a,n,i){x.call(this,s),this.map=a;var d=m.load(a,n);this._nameCoordMap=d.nameCoordMap,this._regionsMap=d.regionsMap,this._invertLongitute=i==null?!0:i,this.regions=d.regions,this._rect=d.boundingRect}g.prototype={constructor:g,type:"geo",dimensions:["lng","lat"],containCoord:function(s){for(var a=this.regions,n=0;n<a.length;n++)if(a[n].contain(s))return!0;return!1},transformTo:function(s,a,n,i){var d=this.getBoundingRect(),t=this._invertLongitute;d=d.clone(),t&&(d.y=-d.y-d.height);var l=this._rawTransformable;if(l.transform=d.calculateTransform(new f(s,a,n,i)),l.decomposeTransform(),t){var r=l.scale;r[1]=-r[1]}l.updateTransform(),this._updateTransform()},getRegion:function(s){return this._regionsMap.get(s)},getRegionByCoord:function(s){for(var a=this.regions,n=0;n<a.length;n++)if(a[n].contain(s))return a[n]},addGeoCoord:function(s,a){this._nameCoordMap.set(s,a)},getGeoCoord:function(s){return this._nameCoordMap.get(s)},getBoundingRect:function(){return this._rect},dataToPoint:function(s,a,n){if(typeof s=="string"&&(s=this.getGeoCoord(s)),s)return x.prototype.dataToPoint.call(this,s,a,n)},convertToPixel:A.curry(p,"dataToPoint"),convertFromPixel:A.curry(p,"pointToData")},A.mixin(g,x);function p(s,a,n,i){var d=n.geoModel,t=n.seriesModel,l=d?d.coordinateSystem:t?t.coordinateSystem||(t.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[s](i):null}var c=g;R.exports=c},AVZG:function(R,N,e){var A=e("bYtY");function f(x,m,g){g=g||{};var p=x.coordinateSystem,c=m.axis,s={},a=c.getAxesOnZeroOf()[0],n=c.position,i=a?"onZero":n,d=c.dim,t=p.getRect(),l=[t.x,t.x+t.width,t.y,t.y+t.height],r={left:0,right:1,top:0,bottom:1,onZero:2},o=m.get("offset")||0,u=d==="x"?[l[2]-o,l[3]+o]:[l[0]-o,l[1]+o];if(a){var h=a.toGlobalCoord(a.dataToCoord(0));u[r.onZero]=Math.max(Math.min(h,u[1]),u[0])}s.position=[d==="y"?u[r[i]]:l[0],d==="x"?u[r[i]]:l[3]],s.rotation=Math.PI/2*(d==="x"?0:1);var y={top:-1,bottom:1,left:-1,right:1};s.labelDirection=s.tickDirection=s.nameDirection=y[n],s.labelOffset=a?u[r[n]]-u[r.onZero]:0,m.get("axisTick.inside")&&(s.tickDirection=-s.tickDirection),A.retrieve(g.labelInside,m.get("axisLabel.inside"))&&(s.labelDirection=-s.labelDirection);var b=m.get("axisLabel.rotate");return s.labelRotate=i==="top"?-b:b,s.z2=1,s}N.layout=f},"Ae+d":function(R,N){function e(f,x,m){var g=f.target,p=g.position;p[0]+=x,p[1]+=m,g.dirty()}function A(f,x,m,g){var p=f.target,c=f.zoomLimit,s=p.position,a=p.scale,n=f.zoom=f.zoom||1;if(n*=x,c){var i=c.min||0,d=c.max||Infinity;n=Math.max(Math.min(d,n),i)}var t=n/f.zoom;f.zoom=n,s[0]-=(m-s[0])*(t-1),s[1]-=(g-s[1])*(t-1),a[0]*=t,a[1]*=t,p.dirty()}N.updateViewOnPan=e,N.updateViewOnZoom=A},Ae16:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS");e("Wqna"),e("rySg"),A.extendComponentView({type:"grid",render:function(m,g){this.group.removeAll(),m.get("show")&&this.group.add(new x.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),A.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("PQMj"),m=e.n(x)},"B+YJ":function(R,N,e){e("TYVI"),e("p1MT")},"B6l+":function(R,N,e){var A=e("Sq3C"),f=e("Z1HP"),x=e("Sxd8"),m=e("dt0z");function g(p,c,s){p=m(p),c=x(c);var a=c?f(p):0;return c&&a<c?p+A(c-a,s):p}R.exports=g},B9cy:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("0XgM"),m=e.n(x)},B9fm:function(R,N,e){var A=e("bYtY"),f=e("Qe9p"),x=e("YH21"),m=e("Ze12"),g=e("ItGF"),p=e("7aKB"),c=A.each,s=p.toCamelCase,a=["","-webkit-","-moz-","-o-"],n="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function i(u){var h="cubic-bezier(0.23, 1, 0.32, 1)",y="left "+u+"s "+h+",top "+u+"s "+h;return A.map(a,function(b){return b+"transition:"+y}).join(";")}function d(u){var h=[],y=u.get("fontSize"),b=u.getTextColor();return b&&h.push("color:"+b),h.push("font:"+u.getFont()),y&&h.push("line-height:"+Math.round(y*3/2)+"px"),c(["decoration","align"],function(E){var v=u.get(E);v&&h.push("text-"+E+":"+v)}),h.join(";")}function t(u){var h=[],y=u.get("transitionDuration"),b=u.get("backgroundColor"),E=u.getModel("textStyle"),v=u.get("padding");return y&&h.push(i(y)),b&&(g.canvasSupported?h.push("background-Color:"+b):(h.push("background-Color:#"+f.toHex(b)),h.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(w){var O="border-"+w,T=s(O),S=u.get(T);S!=null&&h.push(O+":"+S+(w==="color"?"":"px"))}),h.push(d(E)),v!=null&&h.push("padding:"+p.normalizeCssArray(v).join("px ")+"px"),h.join(";")+";"}function l(u,h,y,b,E){var v=h&&h.painter;if(y){var w=v&&v.getViewportRoot();w&&m.transformLocalCoord(u,w,document.body,b,E)}else{u[0]=b,u[1]=E;var O=v&&v.getViewportRootOffset();O&&(u[0]+=O.offsetLeft,u[1]+=O.offsetTop)}}function r(u,h,y){if(g.wxa)return null;var b=document.createElement("div");b.domBelongToZr=!0,this.el=b;var E=this._zr=h.getZr(),v=this._appendToBody=y&&y.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,E,v,h.getWidth()/2,h.getHeight()/2),v?document.body.appendChild(b):u.appendChild(b),this._container=u,this._show=!1,this._hideTimeout;var w=this;b.onmouseenter=function(){w._enterable&&(clearTimeout(w._hideTimeout),w._show=!0),w._inContent=!0},b.onmousemove=function(O){if(O=O||window.event,!w._enterable){var T=E.handler,S=E.painter.getViewportRoot();x.normalizeEvent(S,O,!0),T.dispatch("mousemove",O)}},b.onmouseleave=function(){w._enterable&&(w._show&&w.hideLater(w._hideDelay)),w._inContent=!1}}r.prototype={constructor:r,_enterable:!0,update:function(){var u=this._container,h=u.currentStyle||document.defaultView.getComputedStyle(u),y=u.style;y.position!=="absolute"&&h.position!=="absolute"&&(y.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var h=this.el,y=this._styleCoord;h.style.cssText=n+t(u)+";left:"+y[0]+"px;top:"+y[1]+"px;"+(u.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,h){var y=this._styleCoord;l(y,this._zr,this._appendToBody,u,h);var b=this.el.style;b.left=y[0]+"px",b.top=y[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(A.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var y=document.defaultView.getComputedStyle(this.el);y&&(u+=parseInt(y.borderLeftWidth,10)+parseInt(y.borderRightWidth,10),h+=parseInt(y.borderTopWidth,10)+parseInt(y.borderBottomWidth,10))}return{width:u,height:h}}};var o=r;R.exports=o},BEtg:function(R,N){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/R.exports=function(f){return f!=null&&(e(f)||A(f)||!!f._isBuffer)};function e(f){return!!f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f)}function A(f){return typeof f.readFloatLE=="function"&&typeof f.slice=="function"&&e(f.slice(0,0))}},BMrR:function(R,N,e){"use strict";var A=e("qrJ5");N.a=A.a},BPZU:function(R,N){var e=32,A=7,f=256;function x(i){for(var d=0;i>=e;)d|=i&1,i>>=1;return i+d}function m(i,d,t,l){var r=d+1;if(r===t)return 1;if(l(i[r++],i[d])<0){for(;r<t&&l(i[r],i[r-1])<0;)r++;g(i,d,r)}else for(;r<t&&l(i[r],i[r-1])>=0;)r++;return r-d}function g(i,d,t){for(t--;d<t;){var l=i[d];i[d++]=i[t],i[t--]=l}}function p(i,d,t,l,r){for(l===d&&l++;l<t;l++){for(var o=i[l],u=d,h=l,y;u<h;)y=u+h>>>1,r(o,i[y])<0?h=y:u=y+1;var b=l-u;switch(b){case 3:i[u+3]=i[u+2];case 2:i[u+2]=i[u+1];case 1:i[u+1]=i[u];break;default:for(;b>0;)i[u+b]=i[u+b-1],b--}i[u]=o}}function c(i,d,t,l,r,o){var u=0,h=0,y=1;if(o(i,d[t+r])>0){for(h=l-r;y<h&&o(i,d[t+r+y])>0;)u=y,y=(y<<1)+1,y<=0&&(y=h);y>h&&(y=h),u+=r,y+=r}else{for(h=r+1;y<h&&o(i,d[t+r-y])<=0;)u=y,y=(y<<1)+1,y<=0&&(y=h);y>h&&(y=h);var b=u;u=r-y,y=r-b}for(u++;u<y;){var E=u+(y-u>>>1);o(i,d[t+E])>0?u=E+1:y=E}return y}function s(i,d,t,l,r,o){var u=0,h=0,y=1;if(o(i,d[t+r])<0){for(h=r+1;y<h&&o(i,d[t+r-y])<0;)u=y,y=(y<<1)+1,y<=0&&(y=h);y>h&&(y=h);var b=u;u=r-y,y=r-b}else{for(h=l-r;y<h&&o(i,d[t+r+y])>=0;)u=y,y=(y<<1)+1,y<=0&&(y=h);y>h&&(y=h),u+=r,y+=r}for(u++;u<y;){var E=u+(y-u>>>1);o(i,d[t+E])<0?y=E:u=E+1}return y}function a(i,d){var t=A,l=0,r=f,o=0,u,h,y=0;l=i.length,l<2*f&&(r=l>>>1);var b=[];o=l<120?5:l<1542?10:l<119151?19:40,u=[],h=[];function E(C,_){u[y]=C,h[y]=_,y+=1}function v(){for(;y>1;){var C=y-2;if(C>=1&&h[C-1]<=h[C]+h[C+1]||C>=2&&h[C-2]<=h[C]+h[C-1])h[C-1]<h[C+1]&&C--;else if(h[C]>h[C+1])break;O(C)}}function w(){for(;y>1;){var C=y-2;C>0&&h[C-1]<h[C+1]&&C--,O(C)}}function O(C){var _=u[C],I=h[C],k=u[C+1],F=h[C+1];h[C]=I+F,C===y-3&&(u[C+1]=u[C+2],h[C+1]=h[C+2]),y--;var B=s(i[k],i,_,I,0,d);if(_+=B,I-=B,I===0)return;if(F=c(i[_+I-1],i,k,F,F-1,d),F===0)return;I<=F?T(_,I,k,F):S(_,I,k,F)}function T(C,_,I,k){var F=0;for(F=0;F<_;F++)b[F]=i[C+F];var B=0,j=I,z=C;if(i[z++]=i[j++],--k===0){for(F=0;F<_;F++)i[z+F]=b[B+F];return}if(_===1){for(F=0;F<k;F++)i[z+F]=i[j+F];i[z+k]=b[B];return}for(var M=t,U,P,H;;){U=0,P=0,H=!1;do if(d(i[j],b[B])<0){if(i[z++]=i[j++],P++,U=0,--k===0){H=!0;break}}else if(i[z++]=b[B++],U++,P=0,--_===1){H=!0;break}while((U|P)<M);if(H)break;do{if(U=s(i[j],b,B,_,0,d),U!==0){for(F=0;F<U;F++)i[z+F]=b[B+F];if(z+=U,B+=U,_-=U,_<=1){H=!0;break}}if(i[z++]=i[j++],--k===0){H=!0;break}if(P=c(b[B],i,j,k,0,d),P!==0){for(F=0;F<P;F++)i[z+F]=i[j+F];if(z+=P,j+=P,k-=P,k===0){H=!0;break}}if(i[z++]=b[B++],--_===1){H=!0;break}M--}while(U>=A||P>=A);if(H)break;M<0&&(M=0),M+=2}if(t=M,t<1&&(t=1),_===1){for(F=0;F<k;F++)i[z+F]=i[j+F];i[z+k]=b[B]}else{if(_===0)throw new Error;for(F=0;F<_;F++)i[z+F]=b[B+F]}}function S(C,_,I,k){var F=0;for(F=0;F<k;F++)b[F]=i[I+F];var B=C+_-1,j=k-1,z=I+k-1,M=0,U=0;if(i[z--]=i[B--],--_===0){for(M=z-(k-1),F=0;F<k;F++)i[M+F]=b[F];return}if(k===1){for(z-=_,B-=_,U=z+1,M=B+1,F=_-1;F>=0;F--)i[U+F]=i[M+F];i[z]=b[j];return}for(var P=t;;){var H=0,W=0,X=!1;do if(d(b[j],i[B])<0){if(i[z--]=i[B--],H++,W=0,--_===0){X=!0;break}}else if(i[z--]=b[j--],W++,H=0,--k===1){X=!0;break}while((H|W)<P);if(X)break;do{if(H=_-s(b[j],i,C,_,_-1,d),H!==0){for(z-=H,B-=H,_-=H,U=z+1,M=B+1,F=H-1;F>=0;F--)i[U+F]=i[M+F];if(_===0){X=!0;break}}if(i[z--]=b[j--],--k===1){X=!0;break}if(W=k-c(i[B],b,0,k,k-1,d),W!==0){for(z-=W,j-=W,k-=W,U=z+1,M=j+1,F=0;F<W;F++)i[U+F]=b[M+F];if(k<=1){X=!0;break}}if(i[z--]=i[B--],--_===0){X=!0;break}P--}while(H>=A||W>=A);if(X)break;P<0&&(P=0),P+=2}if(t=P,t<1&&(t=1),k===1){for(z-=_,B-=_,U=z+1,M=B+1,F=_-1;F>=0;F--)i[U+F]=i[M+F];i[z]=b[j]}else{if(k===0)throw new Error;for(M=z-(k-1),F=0;F<k;F++)i[M+F]=b[F]}}this.mergeRuns=v,this.forceMergeRuns=w,this.pushRun=E}function n(i,d,t,l){t||(t=0),l||(l=i.length);var r=l-t;if(r<2)return;var o=0;if(r<e){o=m(i,t,l,d),p(i,t,l,t+o,d);return}var u=new a(i,d),h=x(r);do{if(o=m(i,t,l,d),o<h){var y=r;y>h&&(y=h),p(i,t,t+y,t+o,d),o=y}u.pushRun(t,o),u.mergeRuns(),r-=o,t+=o}while(r!==0);u.forceMergeRuns()}R.exports=n},Bd2K:function(R,N,e){(function(A){A(e("VrN/"),e("osHv"))})(function(A){A.defineOption("autoCloseTags",!1,function(a,n,i){if(i!=A.Init&&i&&a.removeKeyMap("autoCloseTags"),!n)return;var d={name:"autoCloseTags"};(typeof n!="object"||n.whenClosing!==!1)&&(d["'/'"]=function(t){return p(t)}),(typeof n!="object"||n.whenOpening!==!1)&&(d["'>'"]=function(t){return m(t)}),a.addKeyMap(d)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],x=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(a){if(a.getOption("disableInput"))return A.Pass;for(var n=a.listSelections(),i=[],d=a.getOption("autoCloseTags"),t=0;t<n.length;t++){if(!n[t].empty())return A.Pass;var l=n[t].head,r=a.getTokenAt(l),o=A.innerMode(a.getMode(),r.state),u=o.state,h=o.mode.xmlCurrentTag&&o.mode.xmlCurrentTag(u),y=h&&h.name;if(!y)return A.Pass;var b=o.mode.configuration=="html",E=typeof d=="object"&&d.dontCloseTags||b&&f,v=typeof d=="object"&&d.indentTags||b&&x;r.end>l.ch&&(y=y.slice(0,y.length-r.end+l.ch));var w=y.toLowerCase();if(!y||r.type=="string"&&(r.end!=l.ch||!/[\"\']/.test(r.string.charAt(r.string.length-1))||r.string.length==1)||r.type=="tag"&&h.close||r.string.indexOf("/")==l.ch-r.start-1||E&&c(E,w)>-1||s(a,o.mode.xmlCurrentContext&&o.mode.xmlCurrentContext(u)||[],y,l,!0))return A.Pass;var O=typeof d=="object"&&d.emptyTags;if(O&&c(O,y)>-1){i[t]={text:"/>",newPos:A.Pos(l.line,l.ch+2)};continue}var T=v&&c(v,w)>-1;i[t]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+y+">",newPos:T?A.Pos(l.line+1,0):A.Pos(l.line,l.ch+1)}}for(var S=typeof d=="object"&&d.dontIndentOnAutoClose,t=n.length-1;t>=0;t--){var C=i[t];a.replaceRange(C.text,n[t].head,n[t].anchor,"+insert");var _=a.listSelections().slice(0);_[t]={head:C.newPos,anchor:C.newPos},a.setSelections(_),!S&&C.indent&&(a.indentLine(C.newPos.line,null,!0),a.indentLine(C.newPos.line+1,null,!0))}}function g(a,n){for(var i=a.listSelections(),d=[],t=n?"/":"</",l=a.getOption("autoCloseTags"),r=typeof l=="object"&&l.dontIndentOnSlash,o=0;o<i.length;o++){if(!i[o].empty())return A.Pass;var u=i[o].head,h=a.getTokenAt(u),y=A.innerMode(a.getMode(),h.state),b=y.state;if(n&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=u.ch-1))return A.Pass;var E,v=y.mode.name!="xml"&&a.getMode().name=="htmlmixed";if(v&&y.mode.name=="javascript")E=t+"script";else if(v&&y.mode.name=="css")E=t+"style";else{var w=y.mode.xmlCurrentContext&&y.mode.xmlCurrentContext(b);if(!w||w.length&&s(a,w,w[w.length-1],u))return A.Pass;E=t+w[w.length-1]}a.getLine(u.line).charAt(h.end)!=">"&&(E+=">"),d[o]=E}if(a.replaceSelections(d),i=a.listSelections(),!r)for(var o=0;o<i.length;o++)(o==i.length-1||i[o].head.line<i[o+1].head.line)&&a.indentLine(i[o].head.line)}function p(a){return a.getOption("disableInput")?A.Pass:g(a,!0)}A.commands.closeTag=function(a){return g(a)};function c(a,n){if(a.indexOf)return a.indexOf(n);for(var i=0,d=a.length;i<d;++i)if(a[i]==n)return i;return-1}function s(a,n,i,d,t){if(!A.scanForClosingTag)return!1;var l=Math.min(a.lastLine()+1,d.line+500),r=A.scanForClosingTag(a,d,null,l);if(!r||r.tag!=i)return!1;for(var o=t?1:0,u=n.length-1;u>=0&&n[u]==i;u--)++o;d=r.to;for(var u=1;u<o;u++){var h=A.scanForClosingTag(a,d,null,l);if(!h||h.tag!=i)return!1;d=h.to}return!0}})},BlVb:function(R,N,e){var A=e("hyiK"),f=1e-8;function x(g,p){return Math.abs(g-p)<f}function m(g,p,c){var s=0,a=g[0];if(!a)return!1;for(var n=1;n<g.length;n++){var i=g[n];s+=A(a[0],a[1],i[0],i[1],p,c),a=i}var d=g[0];return(!x(a[0],d[0])||!x(a[1],d[1]))&&(s+=A(a[0],a[1],d[0],d[1],p,c)),s!==0}N.contain=m},BoS7:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("czTT"),m=e.n(x)},Bq2U:function(R,N,e){var A=e("RDYZ"),f=e("Qe9p"),x=e("bYtY"),m=x.isArrayLike,g=Array.prototype.slice;function p(E,v){return E[v]}function c(E,v,w){E[v]=w}function s(E,v,w){return(v-E)*w+E}function a(E,v,w){return w>.5?v:E}function n(E,v,w,O,T){var S=E.length;if(T===1)for(var C=0;C<S;C++)O[C]=s(E[C],v[C],w);else for(var _=S&&E[0].length,C=0;C<S;C++)for(var I=0;I<_;I++)O[C][I]=s(E[C][I],v[C][I],w)}function i(E,v,w){var O=E.length,T=v.length;if(O!==T){var S=O>T;if(S)E.length=T;else for(var C=O;C<T;C++)E.push(w===1?v[C]:g.call(v[C]))}for(var _=E[0]&&E[0].length,C=0;C<E.length;C++)if(w===1)isNaN(E[C])&&(E[C]=v[C]);else for(var I=0;I<_;I++)isNaN(E[C][I])&&(E[C][I]=v[C][I])}function d(E,v,w){if(E===v)return!0;var O=E.length;if(O!==v.length)return!1;if(w===1){for(var T=0;T<O;T++)if(E[T]!==v[T])return!1}else for(var S=E[0].length,T=0;T<O;T++)for(var C=0;C<S;C++)if(E[T][C]!==v[T][C])return!1;return!0}function t(E,v,w,O,T,S,C,_,I){var k=E.length;if(I===1)for(var F=0;F<k;F++)_[F]=l(E[F],v[F],w[F],O[F],T,S,C);else for(var B=E[0].length,F=0;F<k;F++)for(var j=0;j<B;j++)_[F][j]=l(E[F][j],v[F][j],w[F][j],O[F][j],T,S,C)}function l(E,v,w,O,T,S,C){var _=(w-E)*.5,I=(O-v)*.5;return(2*(v-w)+_+I)*C+(-3*(v-w)-2*_-I)*S+_*T+v}function r(E){if(m(E)){var v=E.length;if(m(E[0])){for(var w=[],O=0;O<v;O++)w.push(g.call(E[O]));return w}return g.call(E)}return E}function o(E){return E[0]=Math.floor(E[0]),E[1]=Math.floor(E[1]),E[2]=Math.floor(E[2]),"rgba("+E.join(",")+")"}function u(E){var v=E[E.length-1].value;return m(v&&v[0])?2:1}function h(E,v,w,O,T,S){var C=E._getter,_=E._setter,I=v==="spline",k=O.length;if(!k)return;var F=O[0].value,B=m(F),j=!1,z=!1,M=B?u(O):0,U;O.sort(function(ae,ce){return ae.time-ce.time}),U=O[k-1].time;for(var P=[],H=[],W=O[0].value,X=!0,K=0;K<k;K++){P.push(O[K].time/U);var $=O[K].value;if(B&&d($,W,M)||!B&&$===W||(X=!1),W=$,typeof $=="string"){var ie=f.parse($);ie?($=ie,j=!0):z=!0}H.push($)}if(!S&&X)return;for(var be=H[k-1],K=0;K<k-1;K++)B?i(H[K],be,M):isNaN(H[K])&&!isNaN(be)&&!z&&!j&&(H[K]=be);B&&i(C(E._target,T),be,M);var te=0,Te=0,Ie,Fe,Qe,fe,He,se;if(j)var Ce=[0,0,0,0];var mt=function(ce,le){var je;if(le<0)je=0;else if(le<Te){for(Ie=Math.min(te+1,k-1),je=Ie;je>=0&&!(P[je]<=le);je--);je=Math.min(je,k-2)}else{for(je=te;je<k&&!(P[je]>le);je++);je=Math.min(je-1,k-2)}te=je,Te=le;var Re=P[je+1]-P[je];if(Re===0)return;if(Fe=(le-P[je])/Re,I)if(fe=H[je],Qe=H[je===0?je:je-1],He=H[je>k-2?k-1:je+1],se=H[je>k-3?k-1:je+2],B)t(Qe,fe,He,se,Fe,Fe*Fe,Fe*Fe*Fe,C(ce,T),M);else{var Ze;if(j)Ze=t(Qe,fe,He,se,Fe,Fe*Fe,Fe*Fe*Fe,Ce,1),Ze=o(Ce);else{if(z)return a(fe,He,Fe);Ze=l(Qe,fe,He,se,Fe,Fe*Fe,Fe*Fe*Fe)}_(ce,T,Ze)}else if(B)n(H[je],H[je+1],Fe,C(ce,T),M);else{var Ze;if(j)n(H[je],H[je+1],Fe,Ce,1),Ze=o(Ce);else{if(z)return a(H[je],H[je+1],Fe);Ze=s(H[je],H[je+1],Fe)}_(ce,T,Ze)}},Ne=new A({target:E._target,life:U,loop:E._loop,delay:E._delay,onframe:mt,ondestroy:w});return v&&v!=="spline"&&(Ne.easing=v),Ne}var y=function(v,w,O,T){this._tracks={},this._target=v,this._loop=w||!1,this._getter=O||p,this._setter=T||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};y.prototype={when:function(v,w){var O=this._tracks;for(var T in w){if(!w.hasOwnProperty(T))continue;if(!O[T]){O[T]=[];var S=this._getter(this._target,T);if(S==null)continue;v!==0&&O[T].push({time:0,value:r(S)})}O[T].push({time:v,value:w[T]})}return this},during:function(v){return this._onframeList.push(v),this},pause:function(){for(var v=0;v<this._clipList.length;v++)this._clipList[v].pause();this._paused=!0},resume:function(){for(var v=0;v<this._clipList.length;v++)this._clipList[v].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var v=this._doneList,w=v.length,O=0;O<w;O++)v[O].call(this)},start:function(v,w){var O=this,T=0,S=function(){T--,T||O._doneCallback()},C;for(var _ in this._tracks){if(!this._tracks.hasOwnProperty(_))continue;var I=h(this,v,S,this._tracks[_],_,w);I&&(this._clipList.push(I),T++,this.animation&&this.animation.addClip(I),C=I)}if(C){var k=C.onframe;C.onframe=function(F,B){k(F,B);for(var j=0;j<O._onframeList.length;j++)O._onframeList[j](F,B)}}return T||this._doneCallback(),this},stop:function(v){for(var w=this._clipList,O=this.animation,T=0;T<w.length;T++){var S=w[T];v&&S.onframe(this._target,1),O&&O.removeClip(S)}w.length=0},delay:function(v){return this._delay=v,this},done:function(v){return v&&this._doneList.push(v),this},getClips:function(){return this._clipList}};var b=y;R.exports=b},Bqw1:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},Bsck:function(R,N,e){var A=e("bYtY"),f=e("Qxkt"),x=e("Mdki"),m=e("YXkt"),g=e("sdST"),p=function(n,i){this.name=n||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=i};p.prototype={constructor:p,isRemoved:function(){return this.dataIndex<0},eachNode:function(n,i,d){typeof n=="function"&&(d=i,i=n,n=null),n=n||{},A.isString(n)&&(n={order:n});var t=n.order||"preorder",l=this[n.attr||"children"],r;t==="preorder"&&(r=i.call(d,this));for(var o=0;!r&&o<l.length;o++)l[o].eachNode(n,i,d);t==="postorder"&&i.call(d,this)},updateDepthAndHeight:function(n){var i=0;this.depth=n;for(var d=0;d<this.children.length;d++){var t=this.children[d];t.updateDepthAndHeight(n+1),t.height>i&&(i=t.height)}this.height=i+1},getNodeById:function(n){if(this.getId()===n)return this;for(var i=0,d=this.children,t=d.length;i<t;i++){var l=d[i].getNodeById(n);if(l)return l}},contains:function(n){if(n===this)return!0;for(var i=0,d=this.children,t=d.length;i<t;i++){var l=d[i].contains(n);if(l)return l}},getAncestors:function(n){for(var i=[],d=n?this:this.parentNode;d;)i.push(d),d=d.parentNode;return i.reverse(),i},getValue:function(n){var i=this.hostTree.data;return i.get(i.getDimension(n||"value"),this.dataIndex)},setLayout:function(n,i){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(n){if(this.dataIndex<0)return;var i=this.hostTree,d=i.data.getItemModel(this.dataIndex),t=this.getLevelModel();return t?d.getModel(n,t.getModel(n)):d.getModel(n)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(n,i){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this.hostTree.data.getItemVisual(this.dataIndex,n,i)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(n){for(var i=n.parentNode;i;){if(i===this)return!0;i=i.parentNode}return!1},isDescendantOf:function(n){return n!==this&&n.isAncestorOf(this)}};function c(n,i){this.root,this.data,this._nodes=[],this.hostModel=n,this.levelModels=A.map(i||[],function(d){return new f(d,n,n.ecModel)})}c.prototype={constructor:c,type:"tree",eachNode:function(n,i,d){this.root.eachNode(n,i,d)},getNodeByDataIndex:function(n){var i=this.data.getRawIndex(n);return this._nodes[i]},getNodeByName:function(n){return this.root.getNodeByName(n)},update:function(){for(var n=this.data,i=this._nodes,d=0,t=i.length;d<t;d++)i[d].dataIndex=-1;for(var d=0,t=n.count();d<t;d++)i[n.getRawIndex(d)].dataIndex=d},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(n,i,d,t){var l=new c(i,d&&d.levels),r=[],o=1;u(n);function u(b,E){var v=b.value;o=Math.max(o,A.isArray(v)?v.length:1),r.push(b);var w=new p(b.name,l);E?s(w,E):l.root=w,l._nodes.push(w);var O=b.children;if(O)for(var T=0;T<O.length;T++)u(O[T],w)}l.root.updateDepthAndHeight(0);var h=g(r,{coordDimensions:["value"],dimensionsCount:o}),y=new m(h,i);return y.initData(r),t&&t(y),x({mainData:y,struct:l,structAttr:"tree"}),l.update(),l};function s(n,i){var d=i.children;if(n.parentNode===i)return;d.push(n),n.parentNode=i}var a=c;R.exports=a},BtR2:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="LikeOutlined";var c=N.a=f.forwardRef(p)},BuqR:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("6uqw"),g=e("XxSj"),p=e("YOMW"),c=e("OELB"),s=c.reformIntervals,a=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,l){a.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var r=this._mode=this._determineMode();n[this._mode].call(this),this._resetSelected(t,l);var o=this.option.categories;this.resetVisual(function(u,h){r==="categories"?(u.mappingMethod="category",u.categories=x.clone(o)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=x.map(this._pieceList,function(y){var y=x.clone(y);return h!=="inRange"&&(y.visual=null),y}))})},completeVisualOption:function(){var t=this.option,l={},r=g.listVisualTypes(),o=this.isCategory();x.each(t.pieces,function(h){x.each(r,function(y){h.hasOwnProperty(y)&&(l[y]=1)})}),x.each(l,function(h,y){var b=0;x.each(this.stateList,function(E){b|=u(t,E,y)||u(t.target,E,y)},this),!b&&x.each(this.stateList,function(E){(t[E]||(t[E]={}))[y]=p.get(y,E==="inRange"?"active":"inactive",o)})},this);function u(h,y,b){return h&&h[y]&&(x.isObject(h[y])?h[y].hasOwnProperty(b):h[y]===b)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,l){var r=this.option,o=this._pieceList,u=(l?r:t).selected||{};if(r.selected=u,x.each(o,function(y,b){var E=this.getSelectedMapKey(y);u.hasOwnProperty(E)||(u[E]=!0)},this),r.selectedMode==="single"){var h=!1;x.each(o,function(y,b){var E=this.getSelectedMapKey(y);u[E]&&(h?u[E]=!1:h=!0)},this)}},getSelectedMapKey:function(t){return this._mode==="categories"?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=x.clone(t)},getValueState:function(t){var l=g.findPieceIndex(t,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var l=[];return this.eachTargetSeries(function(r){var o=[],u=r.getData();u.each(this.getDataDimension(u),function(h,y){var b=g.findPieceIndex(h,this._pieceList);b===t&&o.push(y)},this),l.push({seriesId:r.id,dataIndex:o})},this),l},getRepresentValue:function(t){var l;if(this.isCategory())l=t.value;else if(t.value!=null)l=t.value;else{var r=t.interval||[];l=r[0]===-Infinity&&r[1]===Infinity?0:(r[0]+r[1])/2}return l},getVisualMeta:function(t){if(this.isCategory())return;var l=[],r=[],o=this;function u(E,v){var w=o.getRepresentValue({interval:E});v||(v=o.getValueState(w));var O=t(w,v);E[0]===-Infinity?r[0]=O:E[1]===Infinity?r[1]=O:l.push({value:E[0],color:O},{value:E[1],color:O})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var y=h[0].interval[0];y!==-Infinity&&h.unshift({interval:[-Infinity,y]}),y=h[h.length-1].interval[1],y!==Infinity&&h.push({interval:[y,Infinity]})}var b=-Infinity;return x.each(h,function(E){var v=E.interval;v&&(v[0]>b&&u([b,v[0]],"outOfRange"),u(v.slice()),b=v[1])},this),{stops:l,outerColors:r}}}),n={splitNumber:function(){var t=this.option,l=this._pieceList,r=Math.min(t.precision,20),o=this.getExtent(),u=t.splitNumber;u=Math.max(parseInt(u,10),1),t.splitNumber=u;for(var h=(o[1]-o[0])/u;+h.toFixed(r)!==h&&r<5;)r++;t.precision=r,h=+h.toFixed(r),t.minOpen&&l.push({interval:[-Infinity,o[0]],close:[0,0]});for(var y=0,b=o[0];y<u;b+=h,y++){var E=y===u-1?o[1]:b+h;l.push({interval:[b,E],close:[1,1]})}t.maxOpen&&l.push({interval:[o[1],Infinity],close:[0,0]}),s(l),x.each(l,function(v,w){v.index=w,v.text=this.formatValueText(v.interval)},this)},categories:function(){var t=this.option;x.each(t.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),i(t,this._pieceList)},pieces:function(){var t=this.option,l=this._pieceList;x.each(t.pieces,function(r,o){x.isObject(r)||(r={value:r});var u={text:"",index:o};if(r.label!=null&&(u.text=r.label),r.hasOwnProperty("value")){var h=u.value=r.value;u.interval=[h,h],u.close=[1,1]}else{for(var y=u.interval=[],b=u.close=[0,0],E=[1,0,1],v=[-Infinity,Infinity],w=[],O=0;O<2;O++){for(var T=[["gte","gt","min"],["lte","lt","max"]][O],S=0;S<3&&y[O]==null;S++)y[O]=r[T[S]],b[O]=E[S],w[O]=S===2;y[O]==null&&(y[O]=v[O])}w[0]&&y[1]===Infinity&&(b[0]=0),w[1]&&y[0]===-Infinity&&(b[1]=0),y[0]===y[1]&&b[0]&&b[1]&&(u.value=y[0])}u.visual=g.retrieveVisuals(r),l.push(u)},this),i(t,l),s(l),x.each(l,function(r){var o=r.close,u=[["<","\u2264"][o[1]],[">","\u2265"][o[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,u)},this)}};function i(t,l){var r=t.inverse;(t.orient==="vertical"?!r:r)&&l.reverse()}var d=a;R.exports=d},BvKs:function(R,N,e){"use strict";e.d(N,"a",function(){return wt});var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("7W2i"),n=e.n(a),i=e("LQ03"),d=e.n(i),t=e("q1tI"),l=e("VTBJ"),r=e("1OyB"),o=e("vuIU"),u=e("JX7q"),h=e("Ji7U"),y=e("LK+K"),b=e("I8Z2"),E=e("BGR+"),v=e("wx14"),w=e("rePB"),O=e("4IlW"),T=e("2GS6"),S=e("Gytx"),C=e.n(S),_=e("TSYQ"),I=e.n(_),k=e("U8pU"),F=e("ODXe"),B=/iPhone/i,j=/iPod/i,z=/iPad/i,M=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,P=/\bAndroid(?:.+)SD4930UR\b/i,H=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,W=/Windows Phone/i,X=/\bWindows(?:.+)ARM\b/i,K=/BlackBerry/i,$=/BB10/i,ie=/Opera Mini/i,be=/\b(CriOS|Chrome)(?:.+)Mobile/i,te=/Mobile(?:.+)Firefox\b/i;function Te(It,Lt){return It.test(Lt)}function Ie(It){var Lt=It||(typeof navigator!="undefined"?navigator.userAgent:""),Nt=Lt.split("[FBAN");if(typeof Nt[1]!="undefined"){var $e=Nt,ot=Object(F.a)($e,1);Lt=ot[0]}if(Nt=Lt.split("Twitter"),typeof Nt[1]!="undefined"){var ft=Nt,ze=Object(F.a)(ft,1);Lt=ze[0]}var Ye={apple:{phone:Te(B,Lt)&&!Te(W,Lt),ipod:Te(j,Lt),tablet:!Te(B,Lt)&&Te(z,Lt)&&!Te(W,Lt),device:(Te(B,Lt)||Te(j,Lt)||Te(z,Lt))&&!Te(W,Lt)},amazon:{phone:Te(P,Lt),tablet:!Te(P,Lt)&&Te(H,Lt),device:Te(P,Lt)||Te(H,Lt)},android:{phone:!Te(W,Lt)&&Te(P,Lt)||!Te(W,Lt)&&Te(M,Lt),tablet:!Te(W,Lt)&&!Te(P,Lt)&&!Te(M,Lt)&&(Te(H,Lt)||Te(U,Lt)),device:!Te(W,Lt)&&(Te(P,Lt)||Te(H,Lt)||Te(M,Lt)||Te(U,Lt))||Te(/\bokhttp\b/i,Lt)},windows:{phone:Te(W,Lt),tablet:Te(X,Lt),device:Te(W,Lt)||Te(X,Lt)},other:{blackberry:Te(K,Lt),blackberry10:Te($,Lt),opera:Te(ie,Lt),firefox:Te(te,Lt),chrome:Te(be,Lt),device:Te(K,Lt)||Te($,Lt)||Te(ie,Lt)||Te(te,Lt)||Te(be,Lt)},any:null,phone:null,tablet:null};return Ye.any=Ye.apple.device||Ye.android.device||Ye.windows.device||Ye.other.device,Ye.phone=Ye.apple.phone||Ye.android.phone||Ye.windows.phone,Ye.tablet=Ye.apple.tablet||Ye.android.tablet||Ye.windows.tablet,Ye}var Fe=Object(l.a)(Object(l.a)({},Ie()),{},{isMobile:Ie}),Qe=Fe;function fe(){}function He(It,Lt,Nt){var $e=Lt||"";return It.key||"".concat($e,"item_").concat(Nt)}function se(It){return"".concat(It,"-menu-")}function Ce(It,Lt){var Nt=-1;t.Children.forEach(It,function($e){Nt+=1,$e&&$e.type&&$e.type.isMenuItemGroup?t.Children.forEach($e.props.children,function(ot){Nt+=1,Lt(ot,Nt)}):Lt($e,Nt)})}function mt(It,Lt,Nt){if(!It||Nt.find)return;t.Children.forEach(It,function($e){if($e){var ot=$e.type;if(!ot||!(ot.isSubMenu||ot.isMenuItem||ot.isMenuItemGroup))return;Lt.indexOf($e.key)!==-1?Nt.find=!0:$e.props.children&&mt($e.props.children,Lt,Nt)}})}var Ne=["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"],ae=function(Lt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$e=Lt&&typeof Lt.getBoundingClientRect=="function"&&Lt.getBoundingClientRect().width;if($e){if(Nt){var ot=getComputedStyle(Lt),ft=ot.marginLeft,ze=ot.marginRight;$e+=+ft.replace("px","")+ +ze.replace("px","")}$e=+$e.toFixed(6)}return $e||0},ce=function(Lt,Nt,$e){Lt&&Object(k.a)(Lt.style)==="object"&&(Lt.style[Nt]=$e)},le=function(){return Qe.any},je=e("KQm4"),Re=e("Ff2n"),Ze=e("i8i4"),De=e("bdgK"),ne=e("Uaa1"),he=e("HTfv"),pe={adjustX:1,adjustY:1},Xe={topLeft:{points:["bl","tl"],overflow:pe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:pe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:pe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:pe,offset:[4,0]}},lt={topLeft:{points:["bl","tl"],overflow:pe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:pe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:pe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:pe,offset:[4,0]}},At=Xe,Me=0,Ht={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},tt=function(Lt,Nt,$e){var ot=se(Nt),ft=Lt.getState();Lt.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},ft.defaultActiveFirst),{},Object(w.a)({},ot,$e))})},Mt=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt($e){var ot;Object(r.a)(this,Nt),ot=Lt.call(this,$e),ot.onDestroy=function(ct){ot.props.onDestroy(ct)},ot.onKeyDown=function(ct){var st=ct.keyCode,et=ot.menuInstance,Ft=ot.props,Ct=Ft.isOpen,ir=Ft.store;if(st===O.a.ENTER)return ot.onTitleClick(ct),tt(ir,ot.props.eventKey,!0),!0;if(st===O.a.RIGHT)return Ct?et.onKeyDown(ct):(ot.triggerOpenChange(!0),tt(ir,ot.props.eventKey,!0)),!0;if(st===O.a.LEFT){var Xt;if(Ct)Xt=et.onKeyDown(ct);else return;return Xt||(ot.triggerOpenChange(!1),Xt=!0),Xt}return Ct&&(st===O.a.UP||st===O.a.DOWN)?et.onKeyDown(ct):void 0},ot.onOpenChange=function(ct){ot.props.onOpenChange(ct)},ot.onPopupVisibleChange=function(ct){ot.triggerOpenChange(ct,ct?"mouseenter":"mouseleave")},ot.onMouseEnter=function(ct){var st=ot.props,et=st.eventKey,Ft=st.onMouseEnter,Ct=st.store;tt(Ct,ot.props.eventKey,!1),Ft({key:et,domEvent:ct})},ot.onMouseLeave=function(ct){var st=ot.props,et=st.parentMenu,Ft=st.eventKey,Ct=st.onMouseLeave;et.subMenuInstance=Object(u.a)(ot),Ct({key:Ft,domEvent:ct})},ot.onTitleMouseEnter=function(ct){var st=ot.props,et=st.eventKey,Ft=st.onItemHover,Ct=st.onTitleMouseEnter;Ft({key:et,hover:!0}),Ct({key:et,domEvent:ct})},ot.onTitleMouseLeave=function(ct){var st=ot.props,et=st.parentMenu,Ft=st.eventKey,Ct=st.onItemHover,ir=st.onTitleMouseLeave;et.subMenuInstance=Object(u.a)(ot),Ct({key:Ft,hover:!1}),ir({key:Ft,domEvent:ct})},ot.onTitleClick=function(ct){var st=Object(u.a)(ot),et=st.props;if(et.onTitleClick({key:et.eventKey,domEvent:ct}),et.triggerSubMenuAction==="hover")return;ot.triggerOpenChange(!et.isOpen,"click"),tt(et.store,ot.props.eventKey,!1)},ot.onSubMenuClick=function(ct){typeof ot.props.onClick=="function"&&ot.props.onClick(ot.addKeyPath(ct))},ot.onSelect=function(ct){ot.props.onSelect(ct)},ot.onDeselect=function(ct){ot.props.onDeselect(ct)},ot.getPrefixCls=function(){return"".concat(ot.props.rootPrefixCls,"-submenu")},ot.getActiveClassName=function(){return"".concat(ot.getPrefixCls(),"-active")},ot.getDisabledClassName=function(){return"".concat(ot.getPrefixCls(),"-disabled")},ot.getSelectedClassName=function(){return"".concat(ot.getPrefixCls(),"-selected")},ot.getOpenClassName=function(){return"".concat(ot.props.rootPrefixCls,"-submenu-open")},ot.saveMenuInstance=function(ct){ot.menuInstance=ct},ot.addKeyPath=function(ct){return Object(l.a)(Object(l.a)({},ct),{},{keyPath:(ct.keyPath||[]).concat(ot.props.eventKey)})},ot.triggerOpenChange=function(ct,st){var et=ot.props.eventKey,Ft=function(){ot.onOpenChange({key:et,item:Object(u.a)(ot),trigger:st,open:ct})};st==="mouseenter"?ot.mouseenterTimeout=setTimeout(function(){Ft()},0):Ft()},ot.isChildrenSelected=function(){var ct={find:!1};return mt(ot.props.children,ot.props.selectedKeys,ct),ct.find},ot.isOpen=function(){return ot.props.openKeys.indexOf(ot.props.eventKey)!==-1},ot.adjustWidth=function(){if(!ot.subMenuTitle||!ot.menuInstance)return;var ct=Ze.findDOMNode(ot.menuInstance);if(ct.offsetWidth>=ot.subMenuTitle.offsetWidth)return;ct.style.minWidth="".concat(ot.subMenuTitle.offsetWidth,"px")},ot.saveSubMenuTitle=function(ct){ot.subMenuTitle=ct},ot.getBaseProps=function(){var ct=Object(u.a)(ot),st=ct.props;return{mode:st.mode==="horizontal"?"vertical":st.mode,visible:ot.props.isOpen,level:st.level+1,inlineIndent:st.inlineIndent,focusable:!1,onClick:ot.onSubMenuClick,onSelect:ot.onSelect,onDeselect:ot.onDeselect,onDestroy:ot.onDestroy,selectedKeys:st.selectedKeys,eventKey:"".concat(st.eventKey,"-menu-"),openKeys:st.openKeys,motion:st.motion,onOpenChange:ot.onOpenChange,subMenuOpenDelay:st.subMenuOpenDelay,parentMenu:Object(u.a)(ot),subMenuCloseDelay:st.subMenuCloseDelay,forceSubMenuRender:st.forceSubMenuRender,triggerSubMenuAction:st.triggerSubMenuAction,builtinPlacements:st.builtinPlacements,defaultActiveFirst:st.store.getState().defaultActiveFirst[se(st.eventKey)],multiple:st.multiple,prefixCls:st.rootPrefixCls,id:ot.internalMenuId,manualRef:ot.saveMenuInstance,itemIcon:st.itemIcon,expandIcon:st.expandIcon,direction:st.direction}},ot.getMotion=function(ct,st){var et=Object(u.a)(ot),Ft=et.haveRendered,Ct=ot.props,ir=Ct.motion,Xt=Ct.rootPrefixCls,_r=Object(l.a)(Object(l.a)({},ir),{},{leavedClassName:"".concat(Xt,"-hidden"),removeOnLeave:!1,motionAppear:Ft||!st||ct!=="inline"});return _r};var ft=$e.store,ze=$e.eventKey,Ye=ft.getState(),qe=Ye.defaultActiveFirst;ot.isRootMenu=!1;var rt=!1;return qe&&(rt=qe[ze]),tt(ft,ze,rt),ot}return Object(o.a)(Nt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ot=this,ft=this.props,ze=ft.mode,Ye=ft.parentMenu,qe=ft.manualRef;if(qe&&qe(this),ze!=="horizontal"||!Ye.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ot.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ot=this.props,ft=ot.onDestroy,ze=ot.eventKey;ft&&ft(ze),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ot){var ft=this,ze=this.getBaseProps(),Ye=this.getMotion(ze.mode,ze.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||ze.visible||ze.forceSubMenuRender,!this.haveOpened)return t.createElement("div",null);var qe=ze.direction;return t.createElement(he.default,Object.assign({visible:ze.visible},Ye),function(rt){var ct=rt.className,st=rt.style,et=I()("".concat(ze.prefixCls,"-sub"),ct,Object(w.a)({},"".concat(ze.prefixCls,"-rtl"),qe==="rtl"));return t.createElement(Rt,Object.assign({},ze,{id:ft.internalMenuId,className:et,style:st}),ot)})}},{key:"render",value:function(){var ot,ft=Object(l.a)({},this.props),ze=ft.isOpen,Ye=this.getPrefixCls(),qe=ft.mode==="inline",rt=I()(Ye,"".concat(Ye,"-").concat(ft.mode),(ot={},Object(w.a)(ot,ft.className,!!ft.className),Object(w.a)(ot,this.getOpenClassName(),ze),Object(w.a)(ot,this.getActiveClassName(),ft.active||ze&&!qe),Object(w.a)(ot,this.getDisabledClassName(),ft.disabled),Object(w.a)(ot,this.getSelectedClassName(),this.isChildrenSelected()),ot));this.internalMenuId||(ft.eventKey?this.internalMenuId="".concat(ft.eventKey,"$Menu"):(Me+=1,this.internalMenuId="$__$".concat(Me,"$Menu")));var ct={},st={},et={};ft.disabled||(ct={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},st={onClick:this.onTitleClick},et={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Ft={},Ct=ft.direction;qe&&(Ct==="rtl"?Ft.paddingRight=ft.inlineIndent*ft.level:Ft.paddingLeft=ft.inlineIndent*ft.level);var ir={};this.props.isOpen&&(ir={"aria-owns":this.internalMenuId});var Xt=null;ft.mode!=="horizontal"&&(Xt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Xt=t.createElement(this.props.expandIcon,Object(l.a)({},this.props))));var _r=t.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Ft,className:"".concat(Ye,"-title"),role:"button"},et,st,{"aria-expanded":ze},ir,{"aria-haspopup":"true",title:typeof ft.title=="string"?ft.title:void 0}),ft.title,Xt||t.createElement("i",{className:"".concat(Ye,"-arrow")})),Br=this.renderChildren(ft.children),Gr=ft.parentMenu.isRootMenu?ft.parentMenu.props.getPopupContainer:function(fn){return fn.parentNode},un=Ht[ft.mode],mn=ft.popupOffset?{offset:ft.popupOffset}:{},_n=ft.mode==="inline"?"":ft.popupClassName;_n+=Ct==="rtl"?" ".concat(Ye,"-rtl"):"";var qr=ft.disabled,yn=ft.triggerSubMenuAction,nn=ft.subMenuOpenDelay,cr=ft.forceSubMenuRender,Pr=ft.subMenuCloseDelay,Ar=ft.builtinPlacements;Ne.forEach(function(fn){return delete ft[fn]}),delete ft.onClick;var Mr=Ct==="rtl"?Object.assign({},lt,Ar):Object.assign({},Xe,Ar);return delete ft.direction,t.createElement("li",Object.assign({},ft,ct,{className:rt,role:"menuitem"}),qe&&_r,qe&&Br,!qe&&t.createElement(ne.a,{prefixCls:Ye,popupClassName:I()("".concat(Ye,"-popup"),_n),getPopupContainer:Gr,builtinPlacements:Mr,popupPlacement:un,popupVisible:ze,popupAlign:mn,popup:Br,action:qr?[]:[yn],mouseEnterDelay:nn,mouseLeaveDelay:Pr,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:cr},_r))}}]),Nt}(t.Component);Mt.defaultProps={onMouseEnter:fe,onMouseLeave:fe,onTitleMouseEnter:fe,onTitleMouseLeave:fe,onTitleClick:fe,manualRef:fe,mode:"vertical",title:""};var jt=Object(b.b)(function(It,Lt){var Nt=It.openKeys,$e=It.activeKey,ot=It.selectedKeys,ft=Lt.eventKey,ze=Lt.subMenuKey;return{isOpen:Nt.indexOf(ft)>-1,active:$e[ze]===ft,selectedKeys:ot}})(Mt);jt.isSubMenu=!0;var kt=jt,Tt="menuitem-overflowed",Dt=.5,Ue=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt(){var $e;return Object(r.a)(this,Nt),$e=Lt.apply(this,arguments),$e.resizeObserver=null,$e.mutationObserver=null,$e.originalTotalWidth=0,$e.overflowedItems=[],$e.menuItemSizes=[],$e.cancelFrameId=null,$e.state={lastVisibleIndex:void 0},$e.getMenuItemNodes=function(){var ot=$e.props.prefixCls,ft=Ze.findDOMNode(Object(u.a)($e));return ft?[].slice.call(ft.children).filter(function(ze){return ze.className.split(" ").indexOf("".concat(ot,"-overflowed-submenu"))<0}):[]},$e.getOverflowedSubMenuItem=function(ot,ft,ze){var Ye=$e.props,qe=Ye.overflowedIndicator,rt=Ye.level,ct=Ye.mode,st=Ye.prefixCls,et=Ye.theme;if(rt!==1||ct!=="horizontal")return null;var Ft=$e.props.children[0],Ct=Ft.props,ir=Ct.children,Xt=Ct.title,_r=Ct.style,Br=Object(Re.a)(Ct,["children","title","style"]),Gr=Object(l.a)({},_r),un="".concat(ot,"-overflowed-indicator"),mn="".concat(ot,"-overflowed-indicator");ft.length===0&&ze!==!0?Gr=Object(l.a)(Object(l.a)({},Gr),{},{display:"none"}):ze&&(Gr=Object(l.a)(Object(l.a)({},Gr),{},{visibility:"hidden",position:"absolute"}),un="".concat(un,"-placeholder"),mn="".concat(mn,"-placeholder"));var _n=et?"".concat(st,"-").concat(et):"",qr={};return Ne.forEach(function(yn){Br[yn]!==void 0&&(qr[yn]=Br[yn])}),t.createElement(kt,Object.assign({title:qe,className:"".concat(st,"-overflowed-submenu"),popupClassName:_n},qr,{key:un,eventKey:mn,disabled:!1,style:Gr}),ft)},$e.setChildrenWidthAndResize=function(){if($e.props.mode!=="horizontal")return;var ot=Ze.findDOMNode(Object(u.a)($e));if(!ot)return;var ft=ot.children;if(!ft||ft.length===0)return;var ze=ot.children[ft.length-1];ce(ze,"display","inline-block");var Ye=$e.getMenuItemNodes(),qe=Ye.filter(function(rt){return rt.className.split(" ").indexOf(Tt)>=0});qe.forEach(function(rt){ce(rt,"display","inline-block")}),$e.menuItemSizes=Ye.map(function(rt){return ae(rt,!0)}),qe.forEach(function(rt){ce(rt,"display","none")}),$e.overflowedIndicatorWidth=ae(ot.children[ot.children.length-1],!0),$e.originalTotalWidth=$e.menuItemSizes.reduce(function(rt,ct){return rt+ct},0),$e.handleResize(),ce(ze,"display","none")},$e.handleResize=function(){if($e.props.mode!=="horizontal")return;var ot=Ze.findDOMNode(Object(u.a)($e));if(!ot)return;var ft=ae(ot);$e.overflowedItems=[];var ze=0,Ye;$e.originalTotalWidth>ft+Dt&&(Ye=-1,$e.menuItemSizes.forEach(function(qe){ze+=qe,ze+$e.overflowedIndicatorWidth<=ft&&(Ye+=1)})),$e.setState({lastVisibleIndex:Ye})},$e}return Object(o.a)(Nt,[{key:"componentDidMount",value:function(){var ot=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var ft=Ze.findDOMNode(this);if(!ft)return;this.resizeObserver=new De.default(function(ze){ze.forEach(function(){var Ye=ot.cancelFrameId;cancelAnimationFrame(Ye),ot.cancelFrameId=requestAnimationFrame(ot.setChildrenWidthAndResize)})}),[].slice.call(ft.children).concat(ft).forEach(function(ze){ot.resizeObserver.observe(ze)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ot.resizeObserver.disconnect(),[].slice.call(ft.children).concat(ft).forEach(function(ze){ot.resizeObserver.observe(ze)}),ot.setChildrenWidthAndResize()}),this.mutationObserver.observe(ft,{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(ot){var ft=this,ze=this.state.lastVisibleIndex;return(ot||[]).reduce(function(Ye,qe,rt){var ct=qe;if(ft.props.mode==="horizontal"){var st=ft.getOverflowedSubMenuItem(qe.props.eventKey,[]);ze!==void 0&&ft.props.className.indexOf("".concat(ft.props.prefixCls,"-root"))!==-1&&(rt>ze&&(ct=t.cloneElement(qe,{style:{display:"none"},eventKey:"".concat(qe.props.eventKey,"-hidden"),className:"".concat(Tt)})),rt===ze+1&&(ft.overflowedItems=ot.slice(ze+1).map(function(Ft){return t.cloneElement(Ft,{key:Ft.props.eventKey,mode:"vertical-left"})}),st=ft.getOverflowedSubMenuItem(qe.props.eventKey,ft.overflowedItems)));var et=[].concat(Object(je.a)(Ye),[st,ct]);return rt===ot.length-1&&et.push(ft.getOverflowedSubMenuItem(qe.props.eventKey,[],!0)),et}return[].concat(Object(je.a)(Ye),[ct])},[])}},{key:"render",value:function(){var ot=this.props,ft=ot.visible,ze=ot.prefixCls,Ye=ot.overflowedIndicator,qe=ot.mode,rt=ot.level,ct=ot.tag,st=ot.children,et=ot.theme,Ft=Object(Re.a)(ot,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Ct=ct;return t.createElement(Ct,Object.assign({},Ft),this.renderChildren(st))}}]),Nt}(t.Component);Ue.defaultProps={tag:"div",className:""};var G=Ue;function Y(It){return It.length?It.every(function(Lt){return!!Lt.props.disabled}):!0}function Pe(It,Lt,Nt){var $e=It.getState();It.setState({activeKey:Object(l.a)(Object(l.a)({},$e.activeKey),{},Object(w.a)({},Lt,Nt))})}function Be(It){return It.eventKey||"0-menu-"}function J(It,Lt){var Nt=Lt,$e=It.children,ot=It.eventKey;if(Nt){var ft;if(Ce($e,function(ze,Ye){ze&&ze.props&&!ze.props.disabled&&Nt===He(ze,ot,Ye)&&(ft=!0)}),ft)return Nt}return Nt=null,It.defaultActiveFirst&&Ce($e,function(ze,Ye){!Nt&&ze&&!ze.props.disabled&&(Nt=He(ze,ot,Ye))}),Nt}function St(It){if(It){var Lt=this.instanceArray.indexOf(It);Lt!==-1?this.instanceArray[Lt]=It:this.instanceArray.push(It)}}var bt=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt($e){var ot;return Object(r.a)(this,Nt),ot=Lt.call(this,$e),ot.onKeyDown=function(ft,ze){var Ye=ft.keyCode,qe;if(ot.getFlatInstanceArray().forEach(function(ct){ct&&ct.props.active&&ct.onKeyDown&&(qe=ct.onKeyDown(ft))}),qe)return 1;var rt=null;return(Ye===O.a.UP||Ye===O.a.DOWN)&&(rt=ot.step(Ye===O.a.UP?-1:1)),rt?(ft.preventDefault(),Pe(ot.props.store,Be(ot.props),rt.props.eventKey),typeof ze=="function"&&ze(rt),1):void 0},ot.onItemHover=function(ft){var ze=ft.key,Ye=ft.hover;Pe(ot.props.store,Be(ot.props),Ye?ze:null)},ot.onDeselect=function(ft){ot.props.onDeselect(ft)},ot.onSelect=function(ft){ot.props.onSelect(ft)},ot.onClick=function(ft){ot.props.onClick(ft)},ot.onOpenChange=function(ft){ot.props.onOpenChange(ft)},ot.onDestroy=function(ft){ot.props.onDestroy(ft)},ot.getFlatInstanceArray=function(){return ot.instanceArray},ot.step=function(ft){var ze=ot.getFlatInstanceArray(),Ye=ot.props.store.getState().activeKey[Be(ot.props)],qe=ze.length;if(!qe)return null;ft<0&&(ze=ze.concat().reverse());var rt=-1;if(ze.every(function(Ft,Ct){return Ft&&Ft.props.eventKey===Ye?(rt=Ct,!1):!0}),!ot.props.defaultActiveFirst&&rt!==-1&&Y(ze.slice(rt,qe-1)))return;var ct=(rt+1)%qe,st=ct;do{var et=ze[st];if(!et||et.props.disabled)st=(st+1)%qe;else return et}while(st!==ct);return null},ot.renderCommonMenuItem=function(ft,ze,Ye){var qe=ot.props.store.getState(),rt=Object(u.a)(ot),ct=rt.props,st=He(ft,ct.eventKey,ze),et=ft.props;if(!et||typeof ft.type=="string")return ft;var Ft=st===qe.activeKey,Ct=Object(l.a)(Object(l.a)({mode:et.mode||ct.mode,level:ct.level,inlineIndent:ct.inlineIndent,renderMenuItem:ot.renderMenuItem,rootPrefixCls:ct.prefixCls,index:ze,parentMenu:ct.parentMenu,manualRef:et.disabled?void 0:Object(T.a)(ft.ref,St.bind(Object(u.a)(ot))),eventKey:st,active:!et.disabled&&Ft,multiple:ct.multiple,onClick:function(Xt){(et.onClick||fe)(Xt),ot.onClick(Xt)},onItemHover:ot.onItemHover,motion:ct.motion,subMenuOpenDelay:ct.subMenuOpenDelay,subMenuCloseDelay:ct.subMenuCloseDelay,forceSubMenuRender:ct.forceSubMenuRender,onOpenChange:ot.onOpenChange,onDeselect:ot.onDeselect,onSelect:ot.onSelect,builtinPlacements:ct.builtinPlacements,itemIcon:et.itemIcon||ot.props.itemIcon,expandIcon:et.expandIcon||ot.props.expandIcon},Ye),{},{direction:ct.direction});return(ct.mode==="inline"||le())&&(Ct.triggerSubMenuAction="click"),t.cloneElement(ft,Ct)},ot.renderMenuItem=function(ft,ze,Ye){if(!ft)return null;var qe=ot.props.store.getState(),rt={openKeys:qe.openKeys,selectedKeys:qe.selectedKeys,triggerSubMenuAction:ot.props.triggerSubMenuAction,subMenuKey:Ye};return ot.renderCommonMenuItem(ft,ze,rt)},$e.store.setState({activeKey:Object(l.a)(Object(l.a)({},$e.store.getState().activeKey),{},Object(w.a)({},$e.eventKey,J($e,$e.activeKey)))}),ot.instanceArray=[],ot}return Object(o.a)(Nt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ot){return this.props.visible||ot.visible||this.props.className!==ot.className||!C()(this.props.style,ot.style)}},{key:"componentDidUpdate",value:function(ot){var ft=this.props,ze="activeKey"in ft?ft.activeKey:ft.store.getState().activeKey[Be(ft)],Ye=J(ft,ze);if(Ye!==ze)Pe(ft.store,Be(ft),Ye);else if("activeKey"in ot){var qe=J(ot,ot.activeKey);Ye!==qe&&Pe(ft.store,Be(ft),Ye)}}},{key:"render",value:function(){var ot=this,ft=Object(v.a)({},this.props);this.instanceArray=[];var ze=I()(ft.prefixCls,ft.className,"".concat(ft.prefixCls,"-").concat(ft.mode)),Ye={className:ze,role:ft.role||"menu"};ft.id&&(Ye.id=ft.id),ft.focusable&&(Ye.tabIndex=0,Ye.onKeyDown=this.onKeyDown);var qe=ft.prefixCls,rt=ft.eventKey,ct=ft.visible,st=ft.level,et=ft.mode,Ft=ft.overflowedIndicator,Ct=ft.theme;return Ne.forEach(function(ir){return delete ft[ir]}),delete ft.onClick,t.createElement(G,Object.assign({},ft,{prefixCls:qe,mode:et,tag:"ul",level:st,theme:Ct,visible:ct,overflowedIndicator:Ft},Ye),t.Children.map(ft.children,function(ir,Xt){return ot.renderMenuItem(ir,Xt,rt||"0-menu-")}))}}]),Nt}(t.Component);bt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:fe};var nt=Object(b.b)()(bt),Rt=nt,zt=e("Kwbf");function Fr(It,Lt,Nt){var $e=It.prefixCls,ot=It.motion,ft=It.defaultMotions,ze=ft===void 0?{}:ft,Ye=It.openAnimation,qe=It.openTransitionName,rt=Lt.switchingModeFromInline;if(ot)return ot;if(Object(k.a)(Ye)==="object"&&Ye)Object(zt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Ye=="string")return{motionName:"".concat($e,"-open-").concat(Ye)};if(qe)return{motionName:qe};var ct=ze[Nt];return ct||(rt?null:ze.other)}var Jt=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt($e){var ot;Object(r.a)(this,Nt),ot=Lt.call(this,$e),ot.inlineOpenKeys=[],ot.onSelect=function(Ye){var qe=Object(u.a)(ot),rt=qe.props;if(rt.selectable){var ct=ot.store.getState(),st=ct.selectedKeys,et=Ye.key;rt.multiple?st=st.concat([et]):st=[et],"selectedKeys"in rt||ot.store.setState({selectedKeys:st}),rt.onSelect(Object(l.a)(Object(l.a)({},Ye),{},{selectedKeys:st}))}},ot.onClick=function(Ye){var qe=ot.getRealMenuMode(),rt=Object(u.a)(ot),ct=rt.store,st=rt.props.onOpenChange;qe!=="inline"&&!("openKeys"in ot.props)&&(ct.setState({openKeys:[]}),st([])),ot.props.onClick(Ye)},ot.onKeyDown=function(Ye,qe){ot.innerMenu.getWrappedInstance().onKeyDown(Ye,qe)},ot.onOpenChange=function(Ye){var qe=Object(u.a)(ot),rt=qe.props,ct=ot.store.getState().openKeys.concat(),st=!1,et=function(Ct){var ir=!1;if(Ct.open)ir=ct.indexOf(Ct.key)===-1,ir&&ct.push(Ct.key);else{var Xt=ct.indexOf(Ct.key);ir=Xt!==-1,ir&&ct.splice(Xt,1)}st=st||ir};Array.isArray(Ye)?Ye.forEach(et):et(Ye),st&&("openKeys"in ot.props||ot.store.setState({openKeys:ct}),rt.onOpenChange(ct))},ot.onDeselect=function(Ye){var qe=Object(u.a)(ot),rt=qe.props;if(rt.selectable){var ct=ot.store.getState().selectedKeys.concat(),st=Ye.key,et=ct.indexOf(st);et!==-1&&ct.splice(et,1),"selectedKeys"in rt||ot.store.setState({selectedKeys:ct}),rt.onDeselect(Object(l.a)(Object(l.a)({},Ye),{},{selectedKeys:ct}))}},ot.onMouseEnter=function(Ye){ot.restoreModeVerticalFromInline();var qe=ot.props.onMouseEnter;qe&&qe(Ye)},ot.onTransitionEnd=function(Ye){var qe=Ye.propertyName==="width"&&Ye.target===Ye.currentTarget,rt=Ye.target.className,ct=Object.prototype.toString.call(rt)==="[object SVGAnimatedString]"?rt.animVal:rt,st=Ye.propertyName==="font-size"&&ct.indexOf("anticon")>=0;(qe||st)&&ot.restoreModeVerticalFromInline()},ot.setInnerMenu=function(Ye){ot.innerMenu=Ye},ot.isRootMenu=!0;var ft=$e.defaultSelectedKeys,ze=$e.defaultOpenKeys;return"selectedKeys"in $e&&(ft=$e.selectedKeys||[]),"openKeys"in $e&&(ze=$e.openKeys||[]),ot.store=Object(b.c)({selectedKeys:ft,openKeys:ze,activeKey:{"0-menu-":J($e,$e.activeKey)}}),ot.state={switchingModeFromInline:!1},ot}return Object(o.a)(Nt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ot){this.updateOpentKeysWhenSwitchMode(ot),this.updateMiniStore();var ft=this.props,ze=ft.siderCollapsed,Ye=ft.inlineCollapsed,qe=ft.onOpenChange;(!ot.inlineCollapsed&&Ye||!ot.siderCollapsed&&ze)&&qe([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ot){var ft=this.props,ze=this.store,Ye=this.inlineOpenKeys,qe=ze.getState(),rt={};ot.mode==="inline"&&ft.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in ft||((ft.inlineCollapsed&&!ot.inlineCollapsed||ft.siderCollapsed&&!ot.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=qe.openKeys.concat(),rt.openKeys=[]),(!ft.inlineCollapsed&&ot.inlineCollapsed||!ft.siderCollapsed&&ot.siderCollapsed)&&(rt.openKeys=Ye,this.inlineOpenKeys=[])),Object.keys(rt).length&&ze.setState(rt)}},{key:"updateMenuDisplay",value:function(){var ot=this.props.collapsedWidth,ft=this.store,ze=this.prevOpenKeys,Ye=this.getInlineCollapsed()&&(ot===0||ot==="0"||ot==="0px");Ye?(this.prevOpenKeys=ft.getState().openKeys.concat(),this.store.setState({openKeys:[]})):ze&&(this.store.setState({openKeys:ze}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ot=this.props.mode,ft=this.state.switchingModeFromInline,ze=this.getInlineCollapsed();return ft&&ze?"inline":ze?"vertical":ot}},{key:"getInlineCollapsed",value:function(){var ot=this.props,ft=ot.inlineCollapsed,ze=ot.siderCollapsed;return ze!==void 0?ze:ft}},{key:"restoreModeVerticalFromInline",value:function(){var ot=this.state.switchingModeFromInline;ot&&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 ot=Object(l.a)({},Object(E.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),ft=this.getRealMenuMode();return ot.className+=" ".concat(ot.prefixCls,"-root"),ot.direction==="rtl"&&(ot.className+=" ".concat(ot.prefixCls,"-rtl")),ot=Object(l.a)(Object(l.a)({},ot),{},{mode:ft,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Fr(this.props,this.state,ft)}),delete ot.openAnimation,delete ot.openTransitionName,t.createElement(b.a,{store:this.store},t.createElement(Rt,Object.assign({},ot,{ref:this.setInnerMenu}),this.props.children))}}]),Nt}(t.Component);Jt.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:t.createElement("span",null,"\xB7\xB7\xB7")};var ge=Jt,ye=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt(){var $e;return Object(r.a)(this,Nt),$e=Lt.apply(this,arguments),$e.onKeyDown=function(ot){var ft=ot.keyCode;return ft===O.a.ENTER?($e.onClick(ot),!0):void 0},$e.onMouseLeave=function(ot){var ft=$e.props,ze=ft.eventKey,Ye=ft.onItemHover,qe=ft.onMouseLeave;Ye({key:ze,hover:!1}),qe({key:ze,domEvent:ot})},$e.onMouseEnter=function(ot){var ft=$e.props,ze=ft.eventKey,Ye=ft.onItemHover,qe=ft.onMouseEnter;Ye({key:ze,hover:!0}),qe({key:ze,domEvent:ot})},$e.onClick=function(ot){var ft=$e.props,ze=ft.eventKey,Ye=ft.multiple,qe=ft.onClick,rt=ft.onSelect,ct=ft.onDeselect,st=ft.isSelected,et={key:ze,keyPath:[ze],item:Object(u.a)($e),domEvent:ot};qe(et),Ye?st?ct(et):rt(et):st||rt(et)},$e.saveNode=function(ot){$e.node=ot},$e}return Object(o.a)(Nt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ot=this.props;ot.onDestroy&&ot.onDestroy(ot.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 ot,ft=Object(l.a)({},this.props),ze=I()(this.getPrefixCls(),ft.className,(ot={},Object(w.a)(ot,this.getActiveClassName(),!ft.disabled&&ft.active),Object(w.a)(ot,this.getSelectedClassName(),ft.isSelected),Object(w.a)(ot,this.getDisabledClassName(),ft.disabled),ot)),Ye=Object(l.a)(Object(l.a)({},ft.attribute),{},{title:typeof ft.title=="string"?ft.title:void 0,className:ze,role:ft.role||"menuitem","aria-disabled":ft.disabled});ft.role==="option"?Ye=Object(l.a)(Object(l.a)({},Ye),{},{role:"option","aria-selected":ft.isSelected}):(ft.role===null||ft.role==="none")&&(Ye.role="none");var qe={onClick:ft.disabled?null:this.onClick,onMouseLeave:ft.disabled?null:this.onMouseLeave,onMouseEnter:ft.disabled?null:this.onMouseEnter},rt=Object(l.a)({},ft.style);ft.mode==="inline"&&(ft.direction==="rtl"?rt.paddingRight=ft.inlineIndent*ft.level:rt.paddingLeft=ft.inlineIndent*ft.level),Ne.forEach(function(st){return delete ft[st]}),delete ft.direction;var ct=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ct=t.createElement(this.props.itemIcon,this.props)),t.createElement("li",Object.assign({},Object(E.default)(ft,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Ye,qe,{style:rt,ref:this.saveNode}),ft.children,ct)}}]),Nt}(t.Component);ye.isMenuItem=!0,ye.defaultProps={onSelect:fe,onMouseEnter:fe,onMouseLeave:fe,manualRef:fe};var Le=Object(b.b)(function(It,Lt){var Nt=It.activeKey,$e=It.selectedKeys,ot=Lt.eventKey,ft=Lt.subMenuKey;return{active:Nt[ft]===ot,isSelected:$e.indexOf(ot)!==-1}})(ye),we=Le,Ke=function(It){Object(h.a)(Nt,It);var Lt=Object(y.a)(Nt);function Nt(){var $e;return Object(r.a)(this,Nt),$e=Lt.apply(this,arguments),$e.renderInnerMenuItem=function(ot){var ft=$e.props,ze=ft.renderMenuItem,Ye=ft.index;return ze(ot,Ye,$e.props.subMenuKey)},$e}return Object(o.a)(Nt,[{key:"render",value:function(){var ot=Object(v.a)({},this.props),ft=ot.className,ze=ft===void 0?"":ft,Ye=ot.rootPrefixCls,qe="".concat(Ye,"-item-group-title"),rt="".concat(Ye,"-item-group-list"),ct=ot.title,st=ot.children;return Ne.forEach(function(et){return delete ot[et]}),delete ot.onClick,delete ot.direction,t.createElement("li",Object.assign({},ot,{className:"".concat(ze," ").concat(Ye,"-item-group")}),t.createElement("div",{className:qe,title:typeof ct=="string"?ct:void 0},ct),t.createElement("ul",{className:rt},t.Children.map(st,this.renderInnerMenuItem)))}}]),Nt}(t.Component);Ke.isMenuItemGroup=!0,Ke.defaultProps={disabled:!0};var Je=Ke,ut=function(Lt){var Nt=Lt.className,$e=Lt.rootPrefixCls,ot=Lt.style;return t.createElement("li",{className:"".concat(Nt," ").concat($e,"-item-divider"),style:ot})};ut.defaultProps={disabled:!0,className:"",style:{}};var vt=ut,_t=ge,Ut=Object(t.createContext)({inlineCollapsed:!1}),Bt=Ut,dr=e("0n0R"),Oe=function(It){n()(Nt,It);var Lt=d()(Nt);function Nt(){return p()(this,Nt),Lt.apply(this,arguments)}return s()(Nt,[{key:"renderTitle",value:function(ot){var ft=this.props,ze=ft.icon,Ye=ft.title,qe=ft.level,rt=ft.rootPrefixCls;if(!ze)return ot&&qe===1&&Ye&&typeof Ye=="string"?t.createElement("div",{className:"".concat(rt,"-inline-collapsed-noicon")},Ye.charAt(0)):Ye;var ct=Object(dr.b)(Ye)&&Ye.type==="span";return t.createElement(t.Fragment,null,ze,ct?Ye:t.createElement("span",null,Ye))}},{key:"render",value:function(){var ot=this,ft=this.props,ze=ft.rootPrefixCls,Ye=ft.popupClassName;return t.createElement(Bt.Consumer,null,function(qe){var rt=qe.inlineCollapsed,ct=qe.antdMenuTheme;return t.createElement(kt,f()({},Object(E.default)(ot.props,["icon"]),{title:ot.renderTitle(rt),popupClassName:I()(ze,"".concat(ze,"-").concat(ct),Ye)}))})}}]),Nt}(t.Component);Oe.contextType=Bt,Oe.isSubMenu=1;var xe=Oe,V=e("Zm9Q"),q=e("3S7+"),ue=e("ZX9x"),me=function(It,Lt){var Nt={};for(var $e in It)Object.prototype.hasOwnProperty.call(It,$e)&&Lt.indexOf($e)<0&&(Nt[$e]=It[$e]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,$e=Object.getOwnPropertySymbols(It);ot<$e.length;ot++)Lt.indexOf($e[ot])<0&&Object.prototype.propertyIsEnumerable.call(It,$e[ot])&&(Nt[$e[ot]]=It[$e[ot]]);return Nt},Ee=function(It){n()(Nt,It);var Lt=d()(Nt);function Nt(){var $e;return p()(this,Nt),$e=Lt.apply(this,arguments),$e.renderItem=function(ot){var ft=ot.siderCollapsed,ze=$e.props,Ye=ze.level,qe=ze.className,rt=ze.children,ct=ze.rootPrefixCls,st=$e.props,et=st.title,Ft=st.icon,Ct=st.danger,ir=me(st,["title","icon","danger"]);return t.createElement(Bt.Consumer,null,function(Xt){var _r,Br=Xt.inlineCollapsed,Gr=Xt.direction,un=et;typeof et=="undefined"?un=Ye===1?rt:"":et===!1&&(un="");var mn={title:un};!ft&&!Br&&(mn.title=null,mn.visible=!1);var _n=Object(V.a)(rt).length;return t.createElement(q.a,f()({},mn,{placement:Gr==="rtl"?"left":"right",overlayClassName:"".concat(ct,"-inline-collapsed-tooltip")}),t.createElement(we,f()({},ir,{className:I()(qe,(_r={},m()(_r,"".concat(ct,"-item-danger"),Ct),m()(_r,"".concat(ct,"-item-only-child"),(Ft?_n+1:_n)===1),_r)),title:et}),Ft,$e.renderItemChildren(Br)))})},$e}return s()(Nt,[{key:"renderItemChildren",value:function(ot){var ft=this.props,ze=ft.icon,Ye=ft.children,qe=ft.level,rt=ft.rootPrefixCls;return!ze||Object(dr.b)(Ye)&&Ye.type==="span"?Ye&&ot&&qe===1&&typeof Ye=="string"?t.createElement("div",{className:"".concat(rt,"-inline-collapsed-noicon")},Ye.charAt(0)):Ye:t.createElement("span",null,Ye)}},{key:"render",value:function(){return t.createElement(ue.a.Consumer,null,this.renderItem)}}]),Nt}(t.Component);Ee.isMenuItem=!0;var Ge=e("H84U"),dt=e("uaoM"),Kt=e("EXcs"),tr=function(It){n()(Nt,It);var Lt=d()(Nt);function Nt($e){var ot;return p()(this,Nt),ot=Lt.call(this,$e),ot.renderMenu=function(ft){var ze=ft.getPopupContainer,Ye=ft.getPrefixCls,qe=ft.direction,rt=ot.props,ct=rt.prefixCls,st=rt.className,et=rt.theme,Ft={horizontal:{motionName:"slide-up"},inline:Kt.a,other:{motionName:"zoom-big"}},Ct=Ye("menu",ct),ir=I()(st,"".concat(Ct,"-").concat(et),m()({},"".concat(Ct,"-inline-collapsed"),ot.getInlineCollapsed()));return t.createElement(Bt.Provider,{value:{inlineCollapsed:ot.getInlineCollapsed()||!1,antdMenuTheme:et,direction:qe}},t.createElement(_t,f()({getPopupContainer:ze},ot.props,{className:ir,prefixCls:Ct,direction:qe,defaultMotions:Ft})))},Object(dt.a)(!("inlineCollapsed"in $e&&$e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(dt.a)(!($e.siderCollapsed!==void 0&&"inlineCollapsed"in $e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),ot}return s()(Nt,[{key:"getInlineCollapsed",value:function(){var ot=this.props,ft=ot.inlineCollapsed,ze=ot.siderCollapsed;return ze!==void 0?ze:ft}},{key:"render",value:function(){return t.createElement(Ge.a,null,this.renderMenu)}}]),Nt}(t.Component);tr.defaultProps={className:"",theme:"light",focusable:!1};var wt=function(It){n()(Nt,It);var Lt=d()(Nt);function Nt(){return p()(this,Nt),Lt.apply(this,arguments)}return s()(Nt,[{key:"render",value:function(){var ot=this;return t.createElement(ue.a.Consumer,null,function(ft){return t.createElement(tr,f()({},ot.props,ft))})}}]),Nt}(t.Component);wt.Divider=vt,wt.Item=Ee,wt.SubMenu=xe,wt.ItemGroup=Je},C0SR:function(R,N,e){var A=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(s,a,n){return this._doTrack(s,a,n),this._recognize(s)},clear:function(){return this._track.length=0,this},_doTrack:function(s,a,n){var i=s.touches;if(!i)return;for(var d={points:[],touches:[],target:a,event:s},t=0,l=i.length;t<l;t++){var r=i[t],o=A.clientToLocal(n,r,{});d.points.push([o.zrX,o.zrY]),d.touches.push(r)}this._track.push(d)},_recognize:function(s){for(var a in g)if(g.hasOwnProperty(a)){var n=g[a](this._track,s);if(n)return n}}};function x(c){var s=c[1][0]-c[0][0],a=c[1][1]-c[0][1];return Math.sqrt(s*s+a*a)}function m(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var g={pinch:function(s,a){var n=s.length;if(!n)return;var i=(s[n-1]||{}).points,d=(s[n-2]||{}).points||i;if(d&&d.length>1&&i&&i.length>1){var t=x(i)/x(d);!isFinite(t)&&(t=1),a.pinchScale=t;var l=m(i);return a.pinchX=l[0],a.pinchY=l[1],{type:"pinch",target:s[0].target,event:a}}}},p=f;R.exports=p},C0tN:function(R,N,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(R,N,e){var A=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");A.registerVisual(f)},CF2D:function(R,N,e){var A=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),x=e("TJmX"),m=e("CbHG");A.registerPreprocessor(f),A.registerVisual(x),A.registerLayout(m)},CFYs:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("PJYZ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e.n(r),u=e("TSYQ"),h=e.n(u),y=e("BGR+"),b=e("V/uB"),E=e.n(b),v=e("NAnI"),w=e.n(v),O=e("J84W"),T=e.n(O),S=e("kbBi"),C=e.n(S),_=e("H84U"),I=e("CWQg"),k=e("uaoM"),F=e("Zss7"),B=e.n(F),j=2,z=.16,M=.05,U=.05,P=.15,H=5,W=4,X=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function K(Ee,Ge,dt){var Kt;return Math.round(Ee.h)>=60&&Math.round(Ee.h)<=240?Kt=dt?Math.round(Ee.h)-j*Ge:Math.round(Ee.h)+j*Ge:Kt=dt?Math.round(Ee.h)+j*Ge:Math.round(Ee.h)-j*Ge,Kt<0?Kt+=360:Kt>=360&&(Kt-=360),Kt}function $(Ee,Ge,dt){if(Ee.h===0&&Ee.s===0)return Ee.s;var Kt;return dt?Kt=Ee.s-z*Ge:Ge===W?Kt=Ee.s+z:Kt=Ee.s+M*Ge,Kt>1&&(Kt=1),dt&&Ge===H&&Kt>.1&&(Kt=.1),Kt<.06&&(Kt=.06),Number(Kt.toFixed(2))}function ie(Ee,Ge,dt){var Kt;return dt?Kt=Ee.v+U*Ge:Kt=Ee.v-P*Ge,Kt>1&&(Kt=1),Number(Kt.toFixed(2))}function be(Ee){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dt=[],Kt=B()(Ee),tr=H;tr>0;tr-=1){var wt=Kt.toHsv(),It=B()({h:K(wt,tr,!0),s:$(wt,tr,!0),v:ie(wt,tr,!0)}).toHexString();dt.push(It)}dt.push(Kt.toHexString());for(var Lt=1;Lt<=W;Lt+=1){var Nt=Kt.toHsv(),$e=B()({h:K(Nt,Lt),s:$(Nt,Lt),v:ie(Nt,Lt)}).toHexString();dt.push($e)}return Ge.theme==="dark"?X.map(function(ot){var ft=ot.index,ze=ot.opacity,Ye=B.a.mix(Ge.backgroundColor||"#141414",dt[ft],ze*100).toHexString();return Ye}):dt}var te={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"},Te={},Ie={};Object.keys(te).forEach(function(Ee){Te[Ee]=be(te[Ee]),Te[Ee].primary=Te[Ee][5],Ie[Ee]=be(te[Ee],{theme:"dark",backgroundColor:"#141414"}),Ie[Ee].primary=Ie[Ee][5]});var Fe=Te.red,Qe=Te.volcano,fe=Te.gold,He=Te.orange,se=Te.yellow,Ce=Te.lime,mt=Te.green,Ne=Te.cyan,ae=Te.blue,ce=Te.geekblue,le=Te.purple,je=Te.magenta,Re=Te.grey;function Ze(Ee){return!Ee||Ee<0?0:Ee>100?100:Ee}function De(Ee){var Ge=Ee.success,dt=Ee.successPercent,Kt=dt;return Ge&&"progress"in Ge&&(Object(k.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Kt=Ge.progress),Ge&&"percent"in Ge&&(Kt=Ge.percent),Kt}var ne=function(Ee,Ge){var dt={};for(var Kt in Ee)Object.prototype.hasOwnProperty.call(Ee,Kt)&&Ge.indexOf(Kt)<0&&(dt[Kt]=Ee[Kt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tr=0,Kt=Object.getOwnPropertySymbols(Ee);tr<Kt.length;tr++)Ge.indexOf(Kt[tr])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Kt[tr])&&(dt[Kt[tr]]=Ee[Kt[tr]]);return dt},he=function(Ge){var dt=[];return Object.keys(Ge).forEach(function(Kt){var tr=parseFloat(Kt.replace(/%/g,""));isNaN(tr)||dt.push({key:tr,value:Ge[Kt]})}),dt=dt.sort(function(Kt,tr){return Kt.key-tr.key}),dt.map(function(Kt){var tr=Kt.key,wt=Kt.value;return"".concat(wt," ").concat(tr,"%")}).join(", ")},pe=function(Ge){var dt=Ge.from,Kt=dt===void 0?te.blue:dt,tr=Ge.to,wt=tr===void 0?te.blue:tr,It=Ge.direction,Lt=It===void 0?"to right":It,Nt=ne(Ge,["from","to","direction"]);if(Object.keys(Nt).length!==0){var $e=he(Nt);return{backgroundImage:"linear-gradient(".concat(Lt,", ").concat($e,")")}}return{backgroundImage:"linear-gradient(".concat(Lt,", ").concat(Kt,", ").concat(wt,")")}},Xe=function(Ge){var dt=Ge.prefixCls,Kt=Ge.percent,tr=Ge.strokeWidth,wt=Ge.size,It=Ge.strokeColor,Lt=Ge.strokeLinecap,Nt=Ge.children,$e=Ge.trailColor,ot=Ge.success,ft=It&&typeof It!="string"?pe(It):{background:It},ze=$e?{backgroundColor:$e}:void 0,Ye=m()({width:"".concat(Ze(Kt),"%"),height:tr||(wt==="small"?6:8),borderRadius:Lt==="square"?0:""},ft),qe=De(Ge),rt={width:"".concat(Ze(qe),"%"),height:tr||(wt==="small"?6:8),borderRadius:Lt==="square"?0:"",backgroundColor:ot==null?void 0:ot.strokeColor},ct=qe!==void 0?r.createElement("div",{className:"".concat(dt,"-success-bg"),style:rt}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(dt,"-outer")},r.createElement("div",{className:"".concat(dt,"-inner"),style:ze},r.createElement("div",{className:"".concat(dt,"-bg"),style:Ye}),ct)),Nt)},lt=Xe,At={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Me=function(Ge){var dt=Ge.map(function(){return Object(r.useRef)()}),Kt=Object(r.useRef)();return Object(r.useEffect)(function(){var tr=Date.now(),wt=!1;Object.keys(dt).forEach(function(It){var Lt=dt[It].current;if(!Lt)return;wt=!0;var Nt=Lt.style;Nt.transitionDuration=".3s, .3s, .3s, .06s",Kt.current&&tr-Kt.current<100&&(Nt.transitionDuration="0s, 0s")}),wt&&(Kt.current=Date.now())}),[dt]};function Ht(){return Ht=Object.assign||function(Ee){for(var Ge=1;Ge<arguments.length;Ge++){var dt=arguments[Ge];for(var Kt in dt)Object.prototype.hasOwnProperty.call(dt,Kt)&&(Ee[Kt]=dt[Kt])}return Ee},Ht.apply(this,arguments)}function tt(Ee,Ge){return Dt(Ee)||Tt(Ee,Ge)||jt(Ee,Ge)||Mt()}function Mt(){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 jt(Ee,Ge){if(!Ee)return;if(typeof Ee=="string")return kt(Ee,Ge);var dt=Object.prototype.toString.call(Ee).slice(8,-1);if(dt==="Object"&&Ee.constructor&&(dt=Ee.constructor.name),dt==="Map"||dt==="Set")return Array.from(Ee);if(dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(dt))return kt(Ee,Ge)}function kt(Ee,Ge){(Ge==null||Ge>Ee.length)&&(Ge=Ee.length);for(var dt=0,Kt=new Array(Ge);dt<Ge;dt++)Kt[dt]=Ee[dt];return Kt}function Tt(Ee,Ge){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ee)))return;var dt=[],Kt=!0,tr=!1,wt=void 0;try{for(var It=Ee[Symbol.iterator](),Lt;!(Kt=(Lt=It.next()).done)&&!(dt.push(Lt.value),Ge&&dt.length===Ge);Kt=!0);}catch(Nt){tr=!0,wt=Nt}finally{try{!Kt&&It.return!=null&&It.return()}finally{if(tr)throw wt}}return dt}function Dt(Ee){if(Array.isArray(Ee))return Ee}function Ue(Ee,Ge){if(Ee==null)return{};var dt=G(Ee,Ge),Kt,tr;if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Ee);for(tr=0;tr<wt.length;tr++){if(Kt=wt[tr],Ge.indexOf(Kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ee,Kt))continue;dt[Kt]=Ee[Kt]}}return dt}function G(Ee,Ge){if(Ee==null)return{};var dt={},Kt=Object.keys(Ee),tr,wt;for(wt=0;wt<Kt.length;wt++){if(tr=Kt[wt],Ge.indexOf(tr)>=0)continue;dt[tr]=Ee[tr]}return dt}var Y=function(Ge){var dt=Ge.className,Kt=Ge.percent,tr=Ge.prefixCls,wt=Ge.strokeColor,It=Ge.strokeLinecap,Lt=Ge.strokeWidth,Nt=Ge.style,$e=Ge.trailColor,ot=Ge.trailWidth,ft=Ge.transition,ze=Ue(Ge,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ze.gapPosition;var Ye=Array.isArray(Kt)?Kt:[Kt],qe=Array.isArray(wt)?wt:[wt],rt=Me(Ye),ct=tt(rt,1),st=ct[0],et=Lt/2,Ft=100-Lt/2,Ct="M ".concat(It==="round"?et:0,",").concat(et,`
|
|
|
L `).concat(It==="round"?Ft:100,",").concat(et),ir="0 0 100 ".concat(Lt),Xt=0;return o.a.createElement("svg",Ht({className:h()("".concat(tr,"-line"),dt),viewBox:ir,preserveAspectRatio:"none",style:Nt},ze),o.a.createElement("path",{className:"".concat(tr,"-line-trail"),d:Ct,strokeLinecap:It,stroke:$e,strokeWidth:ot||Lt,fillOpacity:"0"}),Ye.map(function(_r,Br){var Gr={strokeDasharray:"".concat(_r,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:ft||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},un=qe[Br]||qe[qe.length-1];return Xt+=_r,o.a.createElement("path",{key:Br,className:"".concat(tr,"-line-path"),d:Ct,strokeLinecap:It,stroke:un,strokeWidth:Lt,fillOpacity:"0",ref:st[Br],style:Gr})}))};Y.defaultProps=At;var Pe=Y;function Be(){return Be=Object.assign||function(Ee){for(var Ge=1;Ge<arguments.length;Ge++){var dt=arguments[Ge];for(var Kt in dt)Object.prototype.hasOwnProperty.call(dt,Kt)&&(Ee[Kt]=dt[Kt])}return Ee},Be.apply(this,arguments)}function J(Ee,Ge){return zt(Ee)||Rt(Ee,Ge)||bt(Ee,Ge)||St()}function St(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bt(Ee,Ge){if(!Ee)return;if(typeof Ee=="string")return nt(Ee,Ge);var dt=Object.prototype.toString.call(Ee).slice(8,-1);if(dt==="Object"&&Ee.constructor&&(dt=Ee.constructor.name),dt==="Map"||dt==="Set")return Array.from(Ee);if(dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(dt))return nt(Ee,Ge)}function nt(Ee,Ge){(Ge==null||Ge>Ee.length)&&(Ge=Ee.length);for(var dt=0,Kt=new Array(Ge);dt<Ge;dt++)Kt[dt]=Ee[dt];return Kt}function Rt(Ee,Ge){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ee)))return;var dt=[],Kt=!0,tr=!1,wt=void 0;try{for(var It=Ee[Symbol.iterator](),Lt;!(Kt=(Lt=It.next()).done)&&!(dt.push(Lt.value),Ge&&dt.length===Ge);Kt=!0);}catch(Nt){tr=!0,wt=Nt}finally{try{!Kt&&It.return!=null&&It.return()}finally{if(tr)throw wt}}return dt}function zt(Ee){if(Array.isArray(Ee))return Ee}function Fr(Ee,Ge){if(Ee==null)return{};var dt=Jt(Ee,Ge),Kt,tr;if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Ee);for(tr=0;tr<wt.length;tr++){if(Kt=wt[tr],Ge.indexOf(Kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ee,Kt))continue;dt[Kt]=Ee[Kt]}}return dt}function Jt(Ee,Ge){if(Ee==null)return{};var dt={},Kt=Object.keys(Ee),tr,wt;for(wt=0;wt<Kt.length;wt++){if(tr=Kt[wt],Ge.indexOf(tr)>=0)continue;dt[tr]=Ee[tr]}return dt}var ge=0;function ye(Ee){return+Ee.replace("%","")}function Le(Ee){return Array.isArray(Ee)?Ee:[Ee]}function we(Ee,Ge,dt,Kt){var tr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,wt=arguments.length>5?arguments[5]:void 0,It=50-Kt/2,Lt=0,Nt=-It,$e=0,ot=-2*It;switch(wt){case"left":Lt=-It,Nt=0,$e=2*It,ot=0;break;case"right":Lt=It,Nt=0,$e=-2*It,ot=0;break;case"bottom":Nt=It,ot=2*It;break;default:}var ft="M 50,50 m ".concat(Lt,",").concat(Nt,`
|
|
|
a `).concat(It,",").concat(It," 0 1 1 ").concat($e,",").concat(-ot,`
|
|
|
a `).concat(It,",").concat(It," 0 1 1 ").concat(-$e,",").concat(ot),ze=Math.PI*2*It,Ye={stroke:dt,strokeDasharray:"".concat(Ge/100*(ze-tr),"px ").concat(ze,"px"),strokeDashoffset:"-".concat(tr/2+Ee/100*(ze-tr),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:ft,pathStyle:Ye}}var Ke=function(Ge){var dt=Ge.prefixCls,Kt=Ge.strokeWidth,tr=Ge.trailWidth,wt=Ge.gapDegree,It=Ge.gapPosition,Lt=Ge.trailColor,Nt=Ge.strokeLinecap,$e=Ge.style,ot=Ge.className,ft=Ge.strokeColor,ze=Ge.percent,Ye=Fr(Ge,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),qe=Object(r.useMemo)(function(){return ge+=1,ge},[]),rt=we(0,100,Lt,Kt,wt,It),ct=rt.pathString,st=rt.pathStyle,et=Le(ze),Ft=Le(ft),Ct=Ft.find(function(Gr){return Object.prototype.toString.call(Gr)==="[object Object]"}),ir=Me(et),Xt=J(ir,1),_r=Xt[0],Br=function(){var un=0;return et.map(function(mn,_n){var qr=Ft[_n]||Ft[Ft.length-1],yn=Object.prototype.toString.call(qr)==="[object Object]"?"url(#".concat(dt,"-gradient-").concat(qe,")"):"",nn=we(un,mn,qr,Kt,wt,It);return un+=mn,o.a.createElement("path",{key:_n,className:"".concat(dt,"-circle-path"),d:nn.pathString,stroke:yn,strokeLinecap:Nt,strokeWidth:Kt,opacity:mn===0?0:1,fillOpacity:"0",style:nn.pathStyle,ref:_r[_n]})})};return o.a.createElement("svg",Be({className:h()("".concat(dt,"-circle"),ot),viewBox:"0 0 100 100",style:$e},Ye),Ct&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(dt,"-gradient-").concat(qe),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ct).sort(function(Gr,un){return ye(Gr)-ye(un)}).map(function(Gr,un){return o.a.createElement("stop",{key:un,offset:Gr,stopColor:Ct[Gr]})}))),o.a.createElement("path",{className:"".concat(dt,"-circle-trail"),d:ct,stroke:Lt,strokeLinecap:Nt,strokeWidth:tr||Kt,fillOpacity:"0",style:st}),Br().reverse())};Ke.defaultProps=At;var Je=Ke,ut={Line:Pe,Circle:Je};function vt(Ee){var Ge=Ee.percent,dt=Ee.success,Kt=Ee.successPercent,tr=Ze(Ge),wt=De({success:dt,successPercent:Kt});return wt?[Ze(wt),Ze(tr-Ze(wt))]:tr}function _t(Ee){var Ge=Ee.success,dt=Ee.strokeColor,Kt=Ee.successPercent,tr=dt||null,wt=De({success:Ge,successPercent:Kt});return wt?[te.green,tr]:tr}var Ut=function(Ge){var dt=Ge.prefixCls,Kt=Ge.width,tr=Ge.strokeWidth,wt=Ge.trailColor,It=Ge.strokeLinecap,Lt=Ge.gapPosition,Nt=Ge.gapDegree,$e=Ge.type,ot=Ge.children,ft=Kt||120,ze={width:ft,height:ft,fontSize:ft*.15+6},Ye=tr||6,qe=Lt||$e==="dashboard"&&"bottom"||"top",rt=function(){return Nt||Nt===0?Nt:$e==="dashboard"?75:void 0},ct=_t(Ge),st=Object.prototype.toString.call(ct)==="[object Object]",et=h()("".concat(dt,"-inner"),f()({},"".concat(dt,"-circle-gradient"),st));return r.createElement("div",{className:et,style:ze},r.createElement(Je,{percent:vt(Ge),strokeWidth:Ye,trailWidth:Ye,strokeColor:ct,strokeLinecap:It,trailColor:wt,prefixCls:dt,gapDegree:rt(),gapPosition:qe}),ot)},Bt=Ut,dr=function(Ge){for(var dt=Ge.size,Kt=Ge.steps,tr=Ge.percent,wt=tr===void 0?0:tr,It=Ge.strokeWidth,Lt=It===void 0?8:It,Nt=Ge.strokeColor,$e=Ge.trailColor,ot=Ge.prefixCls,ft=Ge.children,ze=Math.floor(Kt*(wt/100)),Ye=dt==="small"?2:14,qe=[],rt=0;rt<Kt;rt+=1)qe.push(r.createElement("div",{key:rt,className:h()("".concat(ot,"-steps-item"),f()({},"".concat(ot,"-steps-item-active"),rt<=ze-1)),style:{backgroundColor:rt<=ze-1?Nt:$e,width:Ye,height:Lt}}));return r.createElement("div",{className:"".concat(ot,"-steps-outer")},qe,ft)},Oe=dr,xe=function(Ee,Ge){var dt={};for(var Kt in Ee)Object.prototype.hasOwnProperty.call(Ee,Kt)&&Ge.indexOf(Kt)<0&&(dt[Kt]=Ee[Kt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tr=0,Kt=Object.getOwnPropertySymbols(Ee);tr<Kt.length;tr++)Ge.indexOf(Kt[tr])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Kt[tr])&&(dt[Kt[tr]]=Ee[Kt[tr]]);return dt},V=Object(I.a)("line","circle","dashboard"),q=Object(I.a)("normal","exception","active","success"),ue=function(Ee){d()(dt,Ee);var Ge=l()(dt);function dt(){var Kt;return p()(this,dt),Kt=Ge.apply(this,arguments),Kt.renderProgress=function(tr){var wt,It=tr.getPrefixCls,Lt=tr.direction,Nt=n()(Kt),$e=Nt.props,ot=$e.prefixCls,ft=$e.className,ze=$e.size,Ye=$e.type,qe=$e.steps,rt=$e.showInfo,ct=$e.strokeColor,st=xe($e,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),et=It("progress",ot),Ft=Kt.getProgressStatus(),Ct=Kt.renderProcessInfo(et,Ft);Object(k.a)(!("successPercent"in $e),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;Ye==="line"?ir=qe?r.createElement(Oe,m()({},Kt.props,{strokeColor:typeof ct=="string"?ct:void 0,prefixCls:et,steps:qe}),Ct):r.createElement(lt,m()({},Kt.props,{prefixCls:et}),Ct):(Ye==="circle"||Ye==="dashboard")&&(ir=r.createElement(Bt,m()({},Kt.props,{prefixCls:et,progressStatus:Ft}),Ct));var Xt=h()(et,(wt={},f()(wt,"".concat(et,"-").concat(Ye==="dashboard"&&"circle"||qe&&"steps"||Ye),!0),f()(wt,"".concat(et,"-status-").concat(Ft),!0),f()(wt,"".concat(et,"-show-info"),rt),f()(wt,"".concat(et,"-").concat(ze),ze),f()(wt,"".concat(et,"-rtl"),Lt==="rtl"),wt),ft);return r.createElement("div",m()({},Object(y.default)(st,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Kt}return s()(dt,[{key:"getPercentNumber",value:function(){var tr=this.props.percent,wt=tr===void 0?0:tr,It=De(this.props);return parseInt(It!==void 0?It.toString():wt.toString(),10)}},{key:"getProgressStatus",value:function(){var tr=this.props.status;return q.indexOf(tr)<0&&this.getPercentNumber()>=100?"success":tr||"normal"}},{key:"renderProcessInfo",value:function(tr,wt){var It=this.props,Lt=It.showInfo,Nt=It.format,$e=It.type,ot=It.percent,ft=De(this.props);if(!Lt)return null;var ze,Ye=Nt||function(rt){return"".concat(rt,"%")},qe=$e==="line";return Nt||wt!=="exception"&&wt!=="success"?ze=Ye(Ze(ot),Ze(ft)):wt==="exception"?ze=qe?r.createElement(C.a,null):r.createElement(E.a,null):wt==="success"&&(ze=qe?r.createElement(T.a,null):r.createElement(w.a,null)),r.createElement("span",{className:"".concat(tr,"-text"),title:typeof ze=="string"?ze:void 0},ze)}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderProgress)}}]),dt}(r.Component);ue.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var me=N.a=ue},"CMP+":function(R,N,e){var A=e("bYtY"),f=e("hM6l"),x=function(g,p,c,s){f.call(this,g,p,c),this.type=s||"value",this.model=null};x.prototype={constructor:x,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},A.inherits(x,f);var m=x;R.exports=m},CP8R:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},CTES:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="SolutionOutlined";var c=N.a=f.forwardRef(p)},"CWI+":function(R,N,e){},CbHG:function(R,N,e){var A=e("IwbS"),f=A.subPixelOptimize,x=e("zM3Q"),m=e("OELB"),g=m.parsePercent,p=e("bYtY"),c=p.retrieve2,s=typeof Float32Array!="undefined"?Float32Array:Array,a={seriesType:"candlestick",plan:x(),reset:function(d){var t=d.coordinateSystem,l=d.getData(),r=i(d,l),o=0,u=1,h=["x","y"],y=l.mapDimension(h[o]),b=l.mapDimension(h[u],!0),E=b[0],v=b[1],w=b[2],O=b[3];if(l.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),y==null||b.length<4)return;return{progress:d.pipelineContext.large?S:T};function T(C,_){for(var I;(I=C.next())!=null;){var k=_.get(y,I),F=_.get(E,I),B=_.get(v,I),j=_.get(w,I),z=_.get(O,I),M=Math.min(F,B),U=Math.max(F,B),P=$(M,k),H=$(U,k),W=$(j,k),X=$(z,k),K=[];ie(K,H,0),ie(K,P,1),K.push(te(X),te(H),te(W),te(P)),_.setItemLayout(I,{sign:n(_,I,F,B,v),initBaseline:F>B?H[u]:P[u],ends:K,brushRect:be(j,z,k)})}function $(Te,Ie){var Fe=[];return Fe[o]=Ie,Fe[u]=Te,isNaN(Ie)||isNaN(Te)?[NaN,NaN]:t.dataToPoint(Fe)}function ie(Te,Ie,Fe){var Qe=Ie.slice(),fe=Ie.slice();Qe[o]=f(Qe[o]+r/2,1,!1),fe[o]=f(fe[o]-r/2,1,!0),Fe?Te.push(Qe,fe):Te.push(fe,Qe)}function be(Te,Ie,Fe){var Qe=$(Te,Fe),fe=$(Ie,Fe);return Qe[o]-=r/2,fe[o]-=r/2,{x:Qe[0],y:Qe[1],width:u?r:fe[0]-Qe[0],height:u?fe[1]-Qe[1]:r}}function te(Te){return Te[o]=f(Te[o],1),Te}}function S(C,_){for(var I=new s(C.count*4),k=0,F,B=[],j=[],z;(z=C.next())!=null;){var M=_.get(y,z),U=_.get(E,z),P=_.get(v,z),H=_.get(w,z),W=_.get(O,z);if(isNaN(M)||isNaN(H)||isNaN(W)){I[k++]=NaN,k+=3;continue}I[k++]=n(_,z,U,P,v),B[o]=M,B[u]=H,F=t.dataToPoint(B,null,j),I[k++]=F?F[0]:NaN,I[k++]=F?F[1]:NaN,B[u]=W,F=t.dataToPoint(B,null,j),I[k++]=F?F[1]:NaN}_.setLayout("largePoints",I)}}};function n(d,t,l,r,o){var u;return l>r?u=-1:l<r?u=1:u=t>0?d.get(o,t-1)<=r?1:-1:1,u}function i(d,t){var l=d.getBaseAxis(),r,o=l.type==="category"?l.getBandWidth():(r=l.getExtent(),Math.abs(r[1]-r[0])/t.count()),u=g(c(d.get("barMaxWidth"),o),o),h=g(c(d.get("barMinWidth"),1),o),y=d.get("barWidth");return y!=null?g(y,o):Math.max(Math.min(o/2,u),h)}R.exports=a},CiB2:function(R,N,e){"use strict";e.d(N,"a",function(){return A});function A(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(R,N,e){e("5NHt"),e("f3JH")},CrYA:function(R,N,e){var A=e("MFOe"),f=A.Global;R.exports={name:"sessionStorage",read:m,write:g,each:p,remove:c,clearAll:s};function x(){return f.sessionStorage}function m(a){return x().getItem(a)}function g(a,n){return x().setItem(a,n)}function p(a){for(var n=x().length-1;n>=0;n--){var i=x().key(n);a(m(i),i)}}function c(a){return x().removeItem(a)}function s(){return x().clear()}},Csr3:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},D1WM:function(R,N,e){var A=e("bYtY"),f=e("hM6l"),x=function(g,p,c,s,a){f.call(this,g,p,c),this.type=s||"value",this.axisIndex=a};x.prototype={constructor:x,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},A.inherits(x,f);var m=x;R.exports=m},D5nY:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("4NO4"),m=x.makeInner,g=x.getDataItemValue,p=e("bYtY"),c=p.createHashMap,s=p.each,a=p.map,n=p.isArray,i=p.isString,d=p.isObject,t=p.isTypedArray,l=p.isArrayLike,r=p.extend,o=p.assert,u=e("7G+c"),h=e("k9D9"),y=h.SOURCE_FORMAT_ORIGINAL,b=h.SOURCE_FORMAT_ARRAY_ROWS,E=h.SOURCE_FORMAT_OBJECT_ROWS,v=h.SOURCE_FORMAT_KEYED_COLUMNS,w=h.SOURCE_FORMAT_UNKNOWN,O=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},C=m();function _(K){var $=K.option.source,ie=w;if(t($))ie=O;else if(n($)){$.length===0&&(ie=b);for(var be=0,te=$.length;be<te;be++){var Te=$[be];if(Te==null)continue;if(n(Te)){ie=b;break}else if(d(Te)){ie=E;break}}}else if(d($)){for(var Ie in $)if($.hasOwnProperty(Ie)&&l($[Ie])){ie=v;break}}else if($!=null)throw new Error("Invalid data");C(K).sourceFormat=ie}function I(K){return C(K).source}function k(K){C(K).datasetMap=c()}function F(K){var $=K.option,ie=$.data,be=t(ie)?O:y,te=!1,Te=$.seriesLayoutBy,Ie=$.sourceHeader,Fe=$.dimensions,Qe=H(K);if(Qe){var fe=Qe.option;ie=fe.source,be=C(Qe).sourceFormat,te=!0,Te=Te||fe.seriesLayoutBy,Ie==null&&(Ie=fe.sourceHeader),Fe=Fe||fe.dimensions}var He=B(ie,be,Te,Ie,Fe);C(K).source=new u({data:ie,fromDataset:te,seriesLayoutBy:Te,sourceFormat:be,dimensionsDefine:He.dimensionsDefine,startIndex:He.startIndex,dimensionsDetectCount:He.dimensionsDetectCount,encodeDefine:$.encode})}function B(K,$,ie,be,te){if(!K)return{dimensionsDefine:j(te)};var Te,Ie;if($===b)be==="auto"||be==null?z(function(Qe){Qe!=null&&Qe!=="-"&&(i(Qe)?Ie==null&&(Ie=1):Ie=0)},ie,K,10):Ie=be?1:0,!te&&Ie===1&&(te=[],z(function(Qe,fe){te[fe]=Qe!=null?Qe:""},ie,K)),Te=te?te.length:ie===T?K.length:K[0]?K[0].length:null;else if($===E)te||(te=M(K));else if($===v)te||(te=[],s(K,function(Qe,fe){te.push(fe)}));else if($===y){var Fe=g(K[0]);Te=n(Fe)&&Fe.length||1}else $===O;return{startIndex:Ie,dimensionsDefine:j(te),dimensionsDetectCount:Te}}function j(K){if(!K)return;var $=c();return a(K,function(ie,be){if(ie=r({},d(ie)?ie:{name:ie}),ie.name==null)return ie;ie.name+="",ie.displayName==null&&(ie.displayName=ie.name);var te=$.get(ie.name);return te?ie.name+="-"+te.count++:$.set(ie.name,{count:1}),ie})}function z(K,$,ie,be){if(be==null&&(be=Infinity),$===T)for(var te=0;te<ie.length&&te<be;te++)K(ie[te]?ie[te][0]:null,te);else for(var Te=ie[0]||[],te=0;te<Te.length&&te<be;te++)K(Te[te],te)}function M(K){for(var $=0,ie;$<K.length&&!(ie=K[$++]););if(ie){var be=[];return s(ie,function(te,Te){be.push(Te)}),be}}function U(K,$,ie){var be={},te=H($);if(!te||!K)return be;var Te=[],Ie=[],Fe=$.ecModel,Qe=C(Fe).datasetMap,fe=te.uid+"_"+ie.seriesLayoutBy,He,se;K=K.slice(),s(K,function(ae,ce){!d(ae)&&(K[ce]={name:ae}),ae.type==="ordinal"&&He==null&&(He=ce,se=Ne(K[ce])),be[ae.name]=[]});var Ce=Qe.get(fe)||Qe.set(fe,{categoryWayDim:se,valueWayDim:0});s(K,function(ae,ce){var le=ae.name,je=Ne(ae);if(He==null){var Re=Ce.valueWayDim;mt(be[le],Re,je),mt(Ie,Re,je),Ce.valueWayDim+=je}else if(He===ce)mt(be[le],0,je),mt(Te,0,je);else{var Re=Ce.categoryWayDim;mt(be[le],Re,je),mt(Ie,Re,je),Ce.categoryWayDim+=je}});function mt(ae,ce,le){for(var je=0;je<le;je++)ae.push(ce+je)}function Ne(ae){var ce=ae.dimsDef;return ce?ce.length:1}return Te.length&&(be.itemName=Te),Ie.length&&(be.seriesName=Ie),be}function P(K,$,ie){var be={},te=H(K);if(!te)return be;var Te=$.sourceFormat,Ie=$.dimensionsDefine,Fe;(Te===E||Te===v)&&s(Ie,function(He,se){(d(He)?He.name:He)==="name"&&(Fe=se)});var Qe=function(){for(var He={},se={},Ce=[],mt=0,Ne=Math.min(5,ie);mt<Ne;mt++){var ae=X($.data,Te,$.seriesLayoutBy,Ie,$.startIndex,mt);Ce.push(ae);var ce=ae===S.Not;if(ce&&He.v==null&&mt!==Fe&&(He.v=mt),(He.n==null||He.n===He.v||!ce&&Ce[He.n]===S.Not)&&(He.n=mt),le(He)&&Ce[He.n]!==S.Not)return He;ce||(ae===S.Might&&se.v==null&&mt!==Fe&&(se.v=mt),(se.n==null||se.n===se.v)&&(se.n=mt))}function le(je){return je.v!=null&&je.n!=null}return le(He)?He:le(se)?se:null}();if(Qe){be.value=Qe.v;var fe=Fe!=null?Fe:Qe.n;be.itemName=[fe],be.seriesName=[fe]}return be}function H(K){var $=K.option,ie=$.data;if(!ie)return K.ecModel.getComponent("dataset",$.datasetIndex||0)}function W(K,$){return X(K.data,K.sourceFormat,K.seriesLayoutBy,K.dimensionsDefine,K.startIndex,$)}function X(K,$,ie,be,te,Te){var Ie,Fe=5;if(t(K))return S.Not;var Qe,fe;if(be){var He=be[Te];d(He)?(Qe=He.name,fe=He.type):i(He)&&(Qe=He)}if(fe!=null)return fe==="ordinal"?S.Must:S.Not;if($===b)if(ie===T){for(var se=K[Te],Ce=0;Ce<(se||[]).length&&Ce<Fe;Ce++)if((Ie=ce(se[te+Ce]))!=null)return Ie}else for(var Ce=0;Ce<K.length&&Ce<Fe;Ce++){var mt=K[te+Ce];if(mt&&(Ie=ce(mt[Te]))!=null)return Ie}else if($===E){if(!Qe)return S.Not;for(var Ce=0;Ce<K.length&&Ce<Fe;Ce++){var Ne=K[Ce];if(Ne&&(Ie=ce(Ne[Qe]))!=null)return Ie}}else if($===v){if(!Qe)return S.Not;var se=K[Qe];if(!se||t(se))return S.Not;for(var Ce=0;Ce<se.length&&Ce<Fe;Ce++)if((Ie=ce(se[Ce]))!=null)return Ie}else if($===y)for(var Ce=0;Ce<K.length&&Ce<Fe;Ce++){var Ne=K[Ce],ae=g(Ne);if(!n(ae))return S.Not;if((Ie=ce(ae[Te]))!=null)return Ie}function ce(le){var je=i(le);if(le!=null&&isFinite(le)&&le!=="")return je?S.Might:S.Not;if(je&&le!=="-")return S.Must}return S.Not}N.BE_ORDINAL=S,N.detectSourceFormat=_,N.getSource=I,N.resetSourceDefaulter=k,N.prepareSource=F,N.makeSeriesEncodeForAxisCoordSys=U,N.makeSeriesEncodeForNameBased=P,N.guessOrdinal=W},D9ME:function(R,N,e){var A=e("IwbS"),f=e("fls0"),x=e("bYtY"),m=e("oVpE"),g=m.createSymbol,p=e("QBsz"),c=e("Sj9i");function s(i,d,t){A.Group.call(this),this.add(this.createLine(i,d,t)),this._updateEffectSymbol(i,d)}var a=s.prototype;a.createLine=function(i,d,t){return new f(i,d,t)},a._updateEffectSymbol=function(i,d){var t=i.getItemModel(d),l=t.getModel("effect"),r=l.get("symbolSize"),o=l.get("symbol");x.isArray(r)||(r=[r,r]);var u=l.get("color")||i.getItemVisual(d,"color"),h=this.childAt(1);if(this._symbolType!==o&&(this.remove(h),h=g(o,-.5,-.5,1,1,u),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",u),h.setStyle(l.getItemStyle(["color"])),h.attr("scale",r),h.setColor(u),h.attr("scale",r),this._symbolType=o,this._symbolScale=r,this._updateEffectAnimation(i,l,d)},a._updateEffectAnimation=function(i,d,t){var l=this.childAt(1);if(!l)return;var r=this,o=i.getItemLayout(t),u=d.get("period")*1e3,h=d.get("loop"),y=d.get("constantSpeed"),b=x.retrieve(d.get("delay"),function(O){return O/i.count()*u/3}),E=typeof b=="function";if(l.ignore=!0,this.updateAnimationPoints(l,o),y>0&&(u=this.getLineLength(l)/y*1e3),u!==this._period||h!==this._loop){l.stopAnimation();var v=b;E&&(v=b(t)),l.__t>0&&(v=-u*l.__t),l.__t=0;var w=l.animate("",h).when(u,{__t:1}).delay(v).during(function(){r.updateSymbolPosition(l)});h||w.done(function(){r.remove(l)}),w.start()}this._period=u,this._loop=h},a.getLineLength=function(i){return p.dist(i.__p1,i.__cp1)+p.dist(i.__cp1,i.__p2)},a.updateAnimationPoints=function(i,d){i.__p1=d[0],i.__p2=d[1],i.__cp1=d[2]||[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]},a.updateData=function(i,d,t){this.childAt(0).updateData(i,d,t),this._updateEffectSymbol(i,d)},a.updateSymbolPosition=function(i){var d=i.__p1,t=i.__p2,l=i.__cp1,r=i.__t,o=i.position,u=[o[0],o[1]],h=c.quadraticAt,y=c.quadraticDerivativeAt;o[0]=h(d[0],l[0],t[0],r),o[1]=h(d[1],l[1],t[1],r);var b=y(d[0],l[0],t[0],r),E=y(d[1],l[1],t[1],r);if(i.rotation=-Math.atan2(E,b)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(i.__lastT!==void 0&&i.__lastT<i.__t){var v=p.dist(u,o)*1.05;i.attr("scale",[i.scale[0],v]),r===1&&(o[0]=u[0]+(o[0]-u[0])/2,o[1]=u[1]+(o[1]-u[1])/2)}else if(i.__lastT===1){var v=2*p.dist(d,o);i.attr("scale",[i.scale[0],v])}else i.attr("scale",this._symbolScale);i.__lastT=i.__t,i.ignore=!1},a.updateLayout=function(i,d){this.childAt(0).updateLayout(i,d);var t=i.getItemModel(d).getModel("effect");this._updateEffectAnimation(i,t,d)},x.inherits(s,A.Group);var n=s;R.exports=n},DBLp:function(R,N){function e(){}e.prototype={diff:function(p,c,s){s||(s=function(E,v){return E===v}),this.equals=s;var a=this;p=p.slice(),c=c.slice();var n=c.length,i=p.length,d=1,t=n+i,l=[{newPos:-1,components:[]}],r=this.extractCommon(l[0],c,p,0);if(l[0].newPos+1>=n&&r+1>=i){for(var o=[],u=0;u<c.length;u++)o.push(u);return[{indices:o,count:c.length}]}function h(){for(var b=-1*d;b<=d;b+=2){var E,v=l[b-1],w=l[b+1],O=(w?w.newPos:0)-b;v&&(l[b-1]=void 0);var T=v&&v.newPos+1<n,S=w&&0<=O&&O<i;if(!T&&!S){l[b]=void 0;continue}if(!T||S&&v.newPos<w.newPos?(E=f(w),a.pushComponent(E.components,void 0,!0)):(E=v,E.newPos++,a.pushComponent(E.components,!0,void 0)),O=a.extractCommon(E,c,p,b),E.newPos+1>=n&&O+1>=i)return A(a,E.components,c,p);l[b]=E}d++}for(;d<=t;){var y=h();if(y)return y}},pushComponent:function(p,c,s){var a=p[p.length-1];a&&a.added===c&&a.removed===s?p[p.length-1]={count:a.count+1,added:c,removed:s}:p.push({count:1,added:c,removed:s})},extractCommon:function(p,c,s,a){for(var n=c.length,i=s.length,d=p.newPos,t=d-a,l=0;d+1<n&&t+1<i&&this.equals(c[d+1],s[t+1]);)d++,t++,l++;return l&&p.components.push({count:l}),p.newPos=d,t},tokenize:function(p){return p.slice()},join:function(p){return p.slice()}};function A(g,p,c,s){for(var a=0,n=p.length,i=0,d=0;a<n;a++){var t=p[a];if(t.removed){for(var l=[],r=d;r<d+t.count;r++)l.push(r);t.indices=l,d+=t.count}else{for(var l=[],r=i;r<i+t.count;r++)l.push(r);t.indices=l,i+=t.count,t.added||(d+=t.count)}}return p}function f(g){return{newPos:g.newPos,components:g.components.slice(0)}}var x=new e;function m(g,p,c){return x.diff(g,p,c)}R.exports=m},DEFe:function(R,N,e){var A=e("bYtY"),f=e("SgGq"),x=e("Ae+d"),m=e("xSat"),g=m.onIrrelevantElement,p=e("IwbS"),c=e("W4dC"),s=e("iRjW"),a=s.getUID,n=e("DN4a");function i(o){var u=o.getItemStyle(),h=o.get("areaColor");return h!=null&&(u.fill=h),u}function d(o,u,h,y,b){h.off("click"),h.off("mousedown"),u.get("selectedMode")&&(h.on("mousedown",function(){o._mouseDownFlag=!0}),h.on("click",function(E){if(!o._mouseDownFlag)return;o._mouseDownFlag=!1;for(var v=E.target;!v.__regions;)v=v.parent;if(!v)return;var w={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:A.map(v.__regions,function(O){return{name:O.name,from:b.uid}})};w[u.mainType+"Id"]=u.id,y.dispatchAction(w),t(u,h)}))}function t(o,u){u.eachChild(function(h){A.each(h.__regions,function(y){h.trigger(o.isSelected(y.name)?"emphasis":"normal")})})}function l(o,u){var h=new p.Group;this.uid=a("ec_map_draw"),this._controller=new f(o.getZr()),this._controllerHost={target:u?h:null},this.group=h,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new p.Group),h.add(this._backgroundGroup=new p.Group)}l.prototype={constructor:l,draw:function(o,u,h,y,b){var E=o.mainType==="geo",v=o.getData&&o.getData();E&&u.eachComponent({mainType:"series",subType:"map"},function(H){!v&&H.getHostGeoModel()===o&&(v=H.getData())});var w=o.coordinateSystem;this._updateBackground(w);var O=this._regionsGroup,T=this.group,S=w.getTransformInfo(),C=!O.childAt(0)||b,_;if(C)T.transform=S.roamTransform,T.decomposeTransform(),T.dirty();else{var I=new n;I.transform=S.roamTransform,I.decomposeTransform();var k={scale:I.scale,position:I.position};_=I.scale,p.updateProps(T,k,o)}var F=S.rawScale,B=S.rawPosition;O.removeAll();var j=["itemStyle"],z=["emphasis","itemStyle"],M=["label"],U=["emphasis","label"],P=A.createHashMap();A.each(w.regions,function(H){var W=P.get(H.name)||P.set(H.name,new p.Group),X=new p.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});W.add(X);var K=o.getRegionModel(H.name)||o,$=K.getModel(j),ie=K.getModel(z),be=i($),te=i(ie),Te=K.getModel(M),Ie=K.getModel(U),Fe;if(v){Fe=v.indexOfName(H.name);var Qe=v.getItemVisual(Fe,"color",!0);Qe&&(be.fill=Qe)}var fe=function(Re){return[Re[0]*F[0]+B[0],Re[1]*F[1]+B[1]]};A.each(H.geometries,function(Re){if(Re.type!=="polygon")return;for(var Ze=[],De=0;De<Re.exterior.length;++De)Ze.push(fe(Re.exterior[De]));X.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ze}}));for(var De=0;De<(Re.interiors?Re.interiors.length:0);++De){for(var ne=Re.interiors[De],Ze=[],he=0;he<ne.length;++he)Ze.push(fe(ne[he]));X.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ze}}))}}),X.setStyle(be),X.style.strokeNoScale=!0,X.culling=!0;var He=Te.get("show"),se=Ie.get("show"),Ce=v&&isNaN(v.get(v.mapDimension("value"),Fe)),mt=v&&v.getItemLayout(Fe);if(E||Ce&&(He||se)||mt&&mt.showLabel){var Ne=E?H.name:Fe,ae;(!v||Fe>=0)&&(ae=o);var ce=new p.Text({position:fe(H.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(p.setLabelStyle(ce.style,ce.hoverStyle={},Te,Ie,{labelFetcher:ae,labelDataIndex:Ne,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var le=[1/_[0],1/_[1]];p.updateProps(ce,{scale:le},o)}W.add(ce)}if(v)v.setItemGraphicEl(Fe,W);else{var K=o.getRegionModel(H.name);X.eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:H.name,region:K&&K.option||{}}}var je=W.__regions||(W.__regions=[]);je.push(H),W.highDownSilentOnTouch=!!o.get("selectedMode"),p.setHoverStyle(W,te),O.add(W)}),this._updateController(o,u,h),d(this,o,O,h,y),t(o,O)},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(o){var u=o.map;this._mapName!==u&&A.each(c.makeGraphic(u,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=u},_updateController:function(o,u,h){var y=o.coordinateSystem,b=this._controller,E=this._controllerHost;E.zoomLimit=o.get("scaleLimit"),E.zoom=y.getZoom(),b.enable(o.get("roam")||!1);var v=o.mainType;function w(){var O={type:"geoRoam",componentType:v};return O[v+"Id"]=o.id,O}b.off("pan").on("pan",function(O){this._mouseDownFlag=!1,x.updateViewOnPan(E,O.dx,O.dy),h.dispatchAction(A.extend(w(),{dx:O.dx,dy:O.dy}))},this),b.off("zoom").on("zoom",function(O){if(this._mouseDownFlag=!1,x.updateViewOnZoom(E,O.scale,O.originX,O.originY),h.dispatchAction(A.extend(w(),{zoom:O.scale,originX:O.originX,originY:O.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(S){S.type==="text"&&S.attr("scale",[1/T[0],1/T[1]])})}},this),b.setPointerChecker(function(O,T,S){return y.getViewRectAfterRoam().contain(T,S)&&!g(O,h,o)})}};var r=l;R.exports=r},DFOY:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("PJYZ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e.n(r),u=e("VTBJ"),h=e("1OyB"),y=e("vuIU"),b=e("JX7q"),E=e("Ji7U"),v=e("LK+K"),w=e("i8i4"),O=e.n(w),T=e("l4aY"),S=e("m+aA"),C=e("c+Xe"),_=e("zT1h"),I=e("QC+M"),k=e("TSYQ"),F=e.n(k);function B(gr,Kr,sn){return sn?gr[0]===Kr[0]:gr[0]===Kr[0]&&gr[1]===Kr[1]}function j(gr,Kr,sn){var Ir=gr[Kr]||{};return Object(u.a)(Object(u.a)({},Ir),sn)}function z(gr,Kr,sn,Ir){for(var Rr=sn.points,ar=Object.keys(gr),Tr=0;Tr<ar.length;Tr+=1){var br=ar[Tr];if(B(gr[br].points,Rr,Ir))return"".concat(Kr,"-placement-").concat(br)}return""}var M=e("Ff2n"),U=e("xEkU"),P=e.n(U),H=e("9mu1"),W=e("rePB"),X=e("U8pU"),K=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function $(gr,Kr){var sn={};return sn[gr.toLowerCase()]=Kr.toLowerCase(),sn["Webkit".concat(gr)]="webkit".concat(Kr),sn["Moz".concat(gr)]="moz".concat(Kr),sn["ms".concat(gr)]="MS".concat(Kr),sn["O".concat(gr)]="o".concat(Kr.toLowerCase()),sn}function ie(gr,Kr){var sn={animationend:$("Animation","AnimationEnd"),transitionend:$("Transition","TransitionEnd")};return gr&&("AnimationEvent"in Kr||delete sn.animationend.animation,"TransitionEvent"in Kr||delete sn.transitionend.transition),sn}var be=ie(K,typeof window!="undefined"?window:{}),te={};if(K){var Te=document.createElement("div");te=Te.style}var Ie={};function Fe(gr){if(Ie[gr])return Ie[gr];var Kr=be[gr];if(Kr)for(var sn=Object.keys(Kr),Ir=sn.length,Rr=0;Rr<Ir;Rr+=1){var ar=sn[Rr];if(Object.prototype.hasOwnProperty.call(Kr,ar)&&ar in te)return Ie[gr]=Kr[ar],Ie[gr]}return""}var Qe=Fe("animationend"),fe=Fe("transitionend"),He=!!(Qe&&fe);function se(gr,Kr){if(!gr)return null;if(Object(X.a)(gr)==="object"){var sn=Kr.replace(/-\w/g,function(Ir){return Ir[1].toUpperCase()});return gr[sn]}return"".concat(gr,"-").concat(Kr)}var Ce="none",mt="appear",Ne="enter",ae="leave";function ce(gr){var Kr=gr,sn=!!r.forwardRef;Object(X.a)(gr)==="object"&&(Kr=gr.transitionSupport,sn="forwardRef"in gr?gr.forwardRef:sn);function Ir(ar){return!!(ar.motionName&&Kr)}var Rr=function(ar){Object(E.a)(br,ar);var Tr=Object(v.a)(br);function br(){var fr;return Object(h.a)(this,br),fr=Tr.apply(this,arguments),fr.$cacheEle=null,fr.node=null,fr.raf=null,fr.destroyed=!1,fr.deadlineId=null,fr.state={status:Ce,statusActive:!1,newStatus:!1,statusStyle:null},fr.onDomUpdate=function(){var zr=fr.state,wn=zr.status,On=zr.newStatus,Wn=fr.props,Xn=Wn.onAppearStart,ii=Wn.onEnterStart,li=Wn.onLeaveStart,bi=Wn.onAppearActive,gi=Wn.onEnterActive,Ni=Wn.onLeaveActive,ki=Wn.motionAppear,sa=Wn.motionEnter,Wi=Wn.motionLeave;if(!Ir(fr.props))return;var Ta=fr.getElement();fr.$cacheEle!==Ta&&(fr.removeEventListener(fr.$cacheEle),fr.addEventListener(Ta),fr.$cacheEle=Ta),On&&wn===mt&&ki?fr.updateStatus(Xn,null,null,function(){fr.updateActiveStatus(bi,mt)}):On&&wn===Ne&&sa?fr.updateStatus(ii,null,null,function(){fr.updateActiveStatus(gi,Ne)}):On&&wn===ae&&Wi&&fr.updateStatus(li,null,null,function(){fr.updateActiveStatus(Ni,ae)})},fr.onMotionEnd=function(zr){if(zr&&!zr.deadline&&zr.target!==fr.getElement())return;var wn=fr.state,On=wn.status,Wn=wn.statusActive,Xn=fr.props,ii=Xn.onAppearEnd,li=Xn.onEnterEnd,bi=Xn.onLeaveEnd;On===mt&&Wn?fr.updateStatus(ii,{status:Ce},zr):On===Ne&&Wn?fr.updateStatus(li,{status:Ce},zr):On===ae&&Wn&&fr.updateStatus(bi,{status:Ce},zr)},fr.setNodeRef=function(zr){var wn=fr.props.internalRef;fr.node=zr,Object(C.b)(wn,zr)},fr.getElement=function(){try{return Object(S.a)(fr.node||Object(b.a)(fr))}catch(zr){return fr.$cacheEle}},fr.addEventListener=function(zr){if(!zr)return;zr.addEventListener(fe,fr.onMotionEnd),zr.addEventListener(Qe,fr.onMotionEnd)},fr.removeEventListener=function(zr){if(!zr)return;zr.removeEventListener(fe,fr.onMotionEnd),zr.removeEventListener(Qe,fr.onMotionEnd)},fr.updateStatus=function(zr,wn,On,Wn){var Xn=zr?zr(fr.getElement(),On):null;if(Xn===!1||fr.destroyed)return;var ii;Wn&&(ii=function(){fr.nextFrame(Wn)}),fr.setState(Object(u.a)({statusStyle:Object(X.a)(Xn)==="object"?Xn:null,newStatus:!1},wn),ii)},fr.updateActiveStatus=function(zr,wn){fr.nextFrame(function(){var On=fr.state.status;if(On!==wn)return;var Wn=fr.props.motionDeadline;fr.updateStatus(zr,{statusActive:!0}),Wn>0&&(fr.deadlineId=setTimeout(function(){fr.onMotionEnd({deadline:!0})},Wn))})},fr.nextFrame=function(zr){fr.cancelNextFrame(),fr.raf=P()(zr)},fr.cancelNextFrame=function(){fr.raf&&(P.a.cancel(fr.raf),fr.raf=null)},fr}return Object(y.a)(br,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var zr,wn=this.state,On=wn.status,Wn=wn.statusActive,Xn=wn.statusStyle,ii=this.props,li=ii.children,bi=ii.motionName,gi=ii.visible,Ni=ii.removeOnLeave,ki=ii.leavedClassName,sa=ii.eventProps;return li?On===Ce||!Ir(this.props)?gi?li(Object(u.a)({},sa),this.setNodeRef):Ni?null:li(Object(u.a)(Object(u.a)({},sa),{},{className:ki}),this.setNodeRef):li(Object(u.a)(Object(u.a)({},sa),{},{className:F()(se(bi,On),(zr={},Object(W.a)(zr,se(bi,"".concat(On,"-active")),Wn),Object(W.a)(zr,bi,typeof bi=="string"),zr)),style:Xn}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(zr,wn){var On=wn.prevProps,Wn=wn.status;if(!Ir(zr))return{};var Xn=zr.visible,ii=zr.motionAppear,li=zr.motionEnter,bi=zr.motionLeave,gi=zr.motionLeaveImmediately,Ni={prevProps:zr};return(Wn===mt&&!ii||Wn===Ne&&!li||Wn===ae&&!bi)&&(Ni.status=Ce,Ni.statusActive=!1,Ni.newStatus=!1),!On&&Xn&&ii&&(Ni.status=mt,Ni.statusActive=!1,Ni.newStatus=!0),On&&!On.visible&&Xn&&li&&(Ni.status=Ne,Ni.statusActive=!1,Ni.newStatus=!0),(On&&On.visible&&!Xn&&bi||!On&&gi&&!Xn&&bi)&&(Ni.status=ae,Ni.statusActive=!1,Ni.newStatus=!0),Ni}}]),br}(r.Component);return Rr.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},sn?r.forwardRef(function(ar,Tr){return r.createElement(Rr,Object.assign({internalRef:Tr},ar))}):Rr}var le=ce(He),je="add",Re="keep",Ze="remove",De="removed";function ne(gr){var Kr;return gr&&Object(X.a)(gr)==="object"&&"key"in gr?Kr=gr:Kr={key:gr},Object(u.a)(Object(u.a)({},Kr),{},{key:String(Kr.key)})}function he(){var gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return gr.map(ne)}function pe(){var gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],sn=[],Ir=0,Rr=Kr.length,ar=he(gr),Tr=he(Kr);ar.forEach(function(zr){for(var wn=!1,On=Ir;On<Rr;On+=1){var Wn=Tr[On];if(Wn.key===zr.key){Ir<On&&(sn=sn.concat(Tr.slice(Ir,On).map(function(Xn){return Object(u.a)(Object(u.a)({},Xn),{},{status:je})})),Ir=On),sn.push(Object(u.a)(Object(u.a)({},Wn),{},{status:Re})),Ir+=1,wn=!0;break}}wn||sn.push(Object(u.a)(Object(u.a)({},zr),{},{status:Ze}))}),Ir<Rr&&(sn=sn.concat(Tr.slice(Ir).map(function(zr){return Object(u.a)(Object(u.a)({},zr),{},{status:je})})));var br={};sn.forEach(function(zr){var wn=zr.key;br[wn]=(br[wn]||0)+1});var fr=Object.keys(br).filter(function(zr){return br[zr]>1});return fr.forEach(function(zr){sn=sn.filter(function(wn){var On=wn.key,Wn=wn.status;return On!==zr||Wn!==Ze}),sn.forEach(function(wn){wn.key===zr&&(wn.status=Re)})}),sn}var Xe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function lt(gr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,sn=function(Ir){Object(E.a)(ar,Ir);var Rr=Object(v.a)(ar);function ar(){var Tr;return Object(h.a)(this,ar),Tr=Rr.apply(this,arguments),Tr.state={keyEntities:[]},Tr.removeKey=function(br){Tr.setState(function(fr){var zr=fr.keyEntities;return{keyEntities:zr.map(function(wn){return wn.key!==br?wn:Object(u.a)(Object(u.a)({},wn),{},{status:De})})}})},Tr}return Object(y.a)(ar,[{key:"render",value:function(){var br=this,fr=this.state.keyEntities,zr=this.props,wn=zr.component,On=zr.children,Wn=Object(M.a)(zr,["component","children"]),Xn=wn||r.Fragment,ii={};return Xe.forEach(function(li){ii[li]=Wn[li],delete Wn[li]}),delete Wn.keys,r.createElement(Xn,Object.assign({},Wn),fr.map(function(li){var bi=li.status,gi=Object(M.a)(li,["status"]),Ni=bi===je||bi===Re;return r.createElement(Kr,Object.assign({},ii,{key:gi.key,visible:Ni,eventProps:gi,onLeaveEnd:function(){ii.onLeaveEnd&&ii.onLeaveEnd.apply(ii,arguments),br.removeKey(gi.key)}}),On)}))}}],[{key:"getDerivedStateFromProps",value:function(br,fr){var zr=br.keys,wn=fr.keyEntities,On=he(zr);if(!gr)return{keyEntities:On.map(function(ii){return Object(u.a)(Object(u.a)({},ii),{},{status:Re})})};var Wn=pe(wn,On),Xn=wn.length;return{keyEntities:Wn.filter(function(ii){for(var li=null,bi=0;bi<Xn;bi+=1){var gi=wn[bi];if(gi.key===ii.key){li=gi;break}}return!(li&&li.status===De&&ii.status===Ze)})}}}]),ar}(r.Component);return sn.defaultProps={component:"div"},sn}var At=lt(He),Me=le,Ht=function(Kr,sn){var Ir=Kr.prefixCls,Rr=Kr.className,ar=Kr.style,Tr=Kr.children,br=Kr.onMouseEnter,fr=Kr.onMouseLeave,zr=Kr.onMouseDown,wn=Kr.onTouchStart,On=Tr;return r.Children.count(Tr)>1&&(On=r.createElement("div",{className:"".concat(Ir,"-content")},Tr)),r.createElement("div",{ref:sn,className:Rr,onMouseEnter:br,onMouseLeave:fr,onMouseDown:zr,onTouchStart:wn,style:ar},On)},tt=r.forwardRef(Ht);tt.displayName="PopupInner";var Mt=tt;function jt(gr){var Kr=gr.prefixCls,sn=gr.motion,Ir=gr.animation,Rr=gr.transitionName;return sn||(Ir?{motionName:"".concat(Kr,"-").concat(Ir)}:Rr?{motionName:Rr}:null)}function kt(gr){return gr&&gr.motionName}var Tt=function(gr){Object(E.a)(sn,gr);var Kr=Object(v.a)(sn);function sn(){var Ir;return Object(h.a)(this,sn),Ir=Kr.apply(this,arguments),Ir.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Ir.popupRef=o.a.createRef(),Ir.alignRef=o.a.createRef(),Ir.nextFrameState=null,Ir.nextFrameId=null,Ir.onAlign=function(Rr,ar){var Tr=Ir.state.status,br=Ir.props,fr=br.getClassNameFromAlign,zr=br.onAlign,wn=fr(ar);Tr==="align"?Ir.setState({alignClassName:wn,status:"aligned"},function(){Ir.alignRef.current.forceAlign()}):Tr==="aligned"?(Ir.setState({alignClassName:wn,status:"afterAlign"}),zr(Rr,ar)):Ir.setState({alignClassName:wn})},Ir.onMotionEnd=function(){var Rr=Ir.props.visible;Ir.setState({status:Rr?"AfterMotion":"stable",inMotion:!1})},Ir.setStateOnNextFrame=function(Rr){Ir.cancelFrameState(),Ir.nextFrameState=Object(u.a)(Object(u.a)({},Ir.nextFrameState),Rr),Ir.nextFrameId=P()(function(){var ar=Object(u.a)({},Ir.nextFrameState);Ir.nextFrameState=null,Ir.setState(ar)})},Ir.getMotion=function(){return Object(u.a)({},jt(Ir.props))},Ir.getAlignTarget=function(){var Rr=Ir.props,ar=Rr.point,Tr=Rr.getRootDomNode;return ar||Tr},Ir.cancelFrameState=function(){P.a.cancel(Ir.nextFrameId)},Ir.renderPopupElement=function(){var Rr=Ir.state,ar=Rr.status,Tr=Rr.targetHeight,br=Rr.targetWidth,fr=Rr.alignClassName,zr=Ir.props,wn=zr.prefixCls,On=zr.className,Wn=zr.style,Xn=zr.stretch,ii=zr.visible,li=zr.align,bi=zr.destroyPopupOnHide,gi=zr.onMouseEnter,Ni=zr.onMouseLeave,ki=zr.onMouseDown,sa=zr.onTouchStart,Wi=zr.children,Ta=F()(wn,On,fr),La="".concat(wn,"-hidden"),ta={};Xn&&(Xn.indexOf("height")!==-1?ta.height=Tr:Xn.indexOf("minHeight")!==-1&&(ta.minHeight=Tr),Xn.indexOf("width")!==-1?ta.width=br:Xn.indexOf("minWidth")!==-1&&(ta.minWidth=br));var Ka=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},ta),Ir.getZIndexStyle()),Wn),{},{opacity:ar==="stable"||!ii?void 0:0,pointerEvents:ar==="stable"||!ii?void 0:"none"}),ni=Ir.getMotion(),zi=ii;ii&&ar!=="beforeMotion"&&ar!=="motion"&&ar!=="stable"&&(ni.motionAppear=!1,ni.motionEnter=!1,ni.motionLeave=!1),(ar==="afterAlign"||ar==="beforeMotion")&&(zi=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(Oa){var ma=ni==null?void 0:ni[Oa];ni[Oa]=function(){for(var xr=arguments.length,nr=new Array(xr),ln=0;ln<xr;ln++)nr[ln]=arguments[ln];ma==null||ma.apply(void 0,nr),Ir.setState({inMotion:!0})}});var Va=!ii||ar!=="align"&&ar!=="aligned"&&ar!=="stable",Za=!0;return ar==="stable"&&(Za=ii),bi&&!Za?null:o.a.createElement(Me,Object.assign({visible:zi},ni,{removeOnLeave:!1,onEnterEnd:Ir.onMotionEnd,onLeaveEnd:Ir.onMotionEnd,leavedClassName:La}),function(Oa,ma){var xr=Oa.style,nr=Oa.className;return o.a.createElement(H.a,{target:Ir.getAlignTarget(),key:"popup",ref:Ir.alignRef,monitorWindowResize:!0,disabled:Va,align:li,onAlign:Ir.onAlign},o.a.createElement(Mt,{prefixCls:wn,className:F()(Ta,nr),ref:Object(C.a)(ma,Ir.popupRef),onMouseEnter:gi,onMouseLeave:Ni,onMouseDown:ki,onTouchStart:sa,style:Object(u.a)(Object(u.a)({},Ka),xr)},Wi))})},Ir.renderMaskElement=function(){var Rr=Ir.props,ar=Rr.mask,Tr=Rr.maskMotion,br=Rr.maskTransitionName,fr=Rr.maskAnimation,zr=Rr.prefixCls,wn=Rr.visible;if(!ar)return null;var On={};return Tr&&Tr.motionName&&(On=Object(u.a)({motionAppear:!0},jt({motion:Tr,prefixCls:zr,transitionName:br,animation:fr}))),o.a.createElement(Me,Object.assign({},On,{visible:wn,removeOnLeave:!0}),function(Wn){var Xn=Wn.className;return o.a.createElement("div",{style:Ir.getZIndexStyle(),key:"mask",className:F()("".concat(zr,"-mask"),Xn)})})},Ir}return Object(y.a)(sn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Rr=this.state.status,ar=this.props,Tr=ar.getRootDomNode,br=ar.visible,fr=ar.stretch;if(this.cancelFrameState(),br&&Rr!=="stable")switch(Rr){case null:{this.setStateOnNextFrame({status:fr?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:kt(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var zr=["measure","align",null,"beforeMotion","motion"],wn=zr.indexOf(Rr),On=zr[wn+1];wn!==-1&&On&&this.setStateOnNextFrame({status:On})}}if(Rr==="measure"){var Wn=Tr();Wn&&this.setStateOnNextFrame({targetHeight:Wn.offsetHeight,targetWidth:Wn.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var Rr=this.props.zIndex;return{zIndex:Rr}}},{key:"render",value:function(){return o.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(Rr,ar){var Tr=Rr.visible,br=Object(M.a)(Rr,["visible"]),fr=ar.prevVisible,zr=ar.status,wn=ar.inMotion,On={prevVisible:Tr,status:zr},Wn=jt(br);return fr===null&&Tr===!1?(On.status="stable",On.inMotion=!1):Tr!==fr&&(On.inMotion=!1,Tr||kt(Wn)&&wn?On.status=null:On.status="stable",Tr&&(On.alignClassName=null)),On}}]),sn}(r.Component),Dt=Tt,Ue=r.createContext(null),G=Ue;function Y(){}function Pe(){return""}function Be(){return window.document}var J=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function St(gr){var Kr=function(sn){Object(E.a)(Rr,sn);var Ir=Object(v.a)(Rr);function Rr(ar){var Tr;Object(h.a)(this,Rr),Tr=Ir.call(this,ar),Tr.popupRef=o.a.createRef(),Tr.triggerRef=o.a.createRef(),Tr.onMouseEnter=function(fr){var zr=Tr.props.mouseEnterDelay;Tr.fireEvents("onMouseEnter",fr),Tr.delaySetPopupVisible(!0,zr,zr?null:fr)},Tr.onMouseMove=function(fr){Tr.fireEvents("onMouseMove",fr),Tr.setPoint(fr)},Tr.onMouseLeave=function(fr){Tr.fireEvents("onMouseLeave",fr),Tr.delaySetPopupVisible(!1,Tr.props.mouseLeaveDelay)},Tr.onPopupMouseEnter=function(){Tr.clearDelayTimer()},Tr.onPopupMouseLeave=function(fr){if(fr.relatedTarget&&!fr.relatedTarget.setTimeout&&Tr.popupRef.current&&Tr.popupRef.current.popupRef.current&&Object(T.a)(Tr.popupRef.current.popupRef.current,fr.relatedTarget))return;Tr.delaySetPopupVisible(!1,Tr.props.mouseLeaveDelay)},Tr.onFocus=function(fr){Tr.fireEvents("onFocus",fr),Tr.clearDelayTimer(),Tr.isFocusToShow()&&(Tr.focusTime=Date.now(),Tr.delaySetPopupVisible(!0,Tr.props.focusDelay))},Tr.onMouseDown=function(fr){Tr.fireEvents("onMouseDown",fr),Tr.preClickTime=Date.now()},Tr.onTouchStart=function(fr){Tr.fireEvents("onTouchStart",fr),Tr.preTouchTime=Date.now()},Tr.onBlur=function(fr){Tr.fireEvents("onBlur",fr),Tr.clearDelayTimer(),Tr.isBlurToHide()&&Tr.delaySetPopupVisible(!1,Tr.props.blurDelay)},Tr.onContextMenu=function(fr){fr.preventDefault(),Tr.fireEvents("onContextMenu",fr),Tr.setPopupVisible(!0,fr)},Tr.onContextMenuClose=function(){Tr.isContextMenuToShow()&&Tr.close()},Tr.onClick=function(fr){if(Tr.fireEvents("onClick",fr),Tr.focusTime){var zr;if(Tr.preClickTime&&Tr.preTouchTime?zr=Math.min(Tr.preClickTime,Tr.preTouchTime):Tr.preClickTime?zr=Tr.preClickTime:Tr.preTouchTime&&(zr=Tr.preTouchTime),Math.abs(zr-Tr.focusTime)<20)return;Tr.focusTime=0}Tr.preClickTime=0,Tr.preTouchTime=0,Tr.isClickToShow()&&(Tr.isClickToHide()||Tr.isBlurToHide())&&fr&&fr.preventDefault&&fr.preventDefault();var wn=!Tr.state.popupVisible;(Tr.isClickToHide()&&!wn||wn&&Tr.isClickToShow())&&Tr.setPopupVisible(!Tr.state.popupVisible,fr)},Tr.onPopupMouseDown=function(){if(Tr.hasPopupMouseDown=!0,clearTimeout(Tr.mouseDownTimeout),Tr.mouseDownTimeout=window.setTimeout(function(){Tr.hasPopupMouseDown=!1},0),Tr.context){var fr;(fr=Tr.context).onPopupMouseDown.apply(fr,arguments)}},Tr.onDocumentClick=function(fr){if(Tr.props.mask&&!Tr.props.maskClosable)return;var zr=fr.target,wn=Tr.getRootDomNode(),On=Tr.getPopupDomNode();!Object(T.a)(wn,zr)&&!Object(T.a)(On,zr)&&!Tr.hasPopupMouseDown&&Tr.close()},Tr.getRootDomNode=function(){var fr=Tr.props.getTriggerDOMNode;if(fr)return fr(Tr.triggerRef.current);try{var zr=Object(S.a)(Tr.triggerRef.current);if(zr)return zr}catch(wn){}return O.a.findDOMNode(Object(b.a)(Tr))},Tr.getPopupClassNameFromAlign=function(fr){var zr=[],wn=Tr.props,On=wn.popupPlacement,Wn=wn.builtinPlacements,Xn=wn.prefixCls,ii=wn.alignPoint,li=wn.getPopupClassNameFromAlign;return On&&Wn&&zr.push(z(Wn,Xn,fr,ii)),li&&zr.push(li(fr)),zr.join(" ")},Tr.getComponent=function(){var fr=Tr.props,zr=fr.prefixCls,wn=fr.destroyPopupOnHide,On=fr.popupClassName,Wn=fr.onPopupAlign,Xn=fr.popupMotion,ii=fr.popupAnimation,li=fr.popupTransitionName,bi=fr.popupStyle,gi=fr.mask,Ni=fr.maskAnimation,ki=fr.maskTransitionName,sa=fr.maskMotion,Wi=fr.zIndex,Ta=fr.popup,La=fr.stretch,ta=fr.alignPoint,Ka=Tr.state,ni=Ka.popupVisible,zi=Ka.point,Va=Tr.getPopupAlign(),Za={};return Tr.isMouseEnterToShow()&&(Za.onMouseEnter=Tr.onPopupMouseEnter),Tr.isMouseLeaveToHide()&&(Za.onMouseLeave=Tr.onPopupMouseLeave),Za.onMouseDown=Tr.onPopupMouseDown,Za.onTouchStart=Tr.onPopupMouseDown,o.a.createElement(Dt,Object.assign({prefixCls:zr,destroyPopupOnHide:wn,visible:ni,point:ta&&zi,className:On,align:Va,onAlign:Wn,animation:ii,getClassNameFromAlign:Tr.getPopupClassNameFromAlign},Za,{stretch:La,getRootDomNode:Tr.getRootDomNode,style:bi,mask:gi,zIndex:Wi,transitionName:li,maskAnimation:Ni,maskTransitionName:ki,maskMotion:sa,ref:Tr.popupRef,motion:Xn}),typeof Ta=="function"?Ta():Ta)},Tr.getContainer=function(){var fr=Object(b.a)(Tr),zr=fr.props,wn=document.createElement("div");wn.style.position="absolute",wn.style.top="0",wn.style.left="0",wn.style.width="100%";var On=zr.getPopupContainer?zr.getPopupContainer(Tr.getRootDomNode()):zr.getDocument().body;return On.appendChild(wn),wn},Tr.setPoint=function(fr){var zr=Tr.props.alignPoint;if(!zr||!fr)return;Tr.setState({point:{pageX:fr.pageX,pageY:fr.pageY}})},Tr.handlePortalUpdate=function(){Tr.state.prevPopupVisible!==Tr.state.popupVisible&&Tr.props.afterPopupVisibleChange(Tr.state.popupVisible)};var br;return"popupVisible"in ar?br=!!ar.popupVisible:br=!!ar.defaultPopupVisible,Tr.state={prevPopupVisible:br,popupVisible:br},J.forEach(function(fr){Tr["fire".concat(fr)]=function(zr){Tr.fireEvents(fr,zr)}}),Tr}return Object(y.a)(Rr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Tr=this.props,br=this.state;if(br.popupVisible){var fr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(fr=Tr.getDocument(),this.clickOutsideHandler=Object(_.a)(fr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(fr=fr||Tr.getDocument(),this.touchOutsideHandler=Object(_.a)(fr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(fr=fr||Tr.getDocument(),this.contextMenuOutsideHandler1=Object(_.a)(fr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(_.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var Tr=this.props,br=Tr.popupPlacement,fr=Tr.popupAlign,zr=Tr.builtinPlacements;return br&&zr?j(zr,br,fr):fr}},{key:"setPopupVisible",value:function(Tr,br){var fr=this.props.alignPoint,zr=this.state.popupVisible;this.clearDelayTimer(),zr!==Tr&&("popupVisible"in this.props||this.setState({popupVisible:Tr,prevPopupVisible:zr}),this.props.onPopupVisibleChange(Tr)),fr&&br&&this.setPoint(br)}},{key:"delaySetPopupVisible",value:function(Tr,br,fr){var zr=this,wn=br*1e3;if(this.clearDelayTimer(),wn){var On=fr?{pageX:fr.pageX,pageY:fr.pageY}:null;this.delayTimer=window.setTimeout(function(){zr.setPopupVisible(Tr,On),zr.clearDelayTimer()},wn)}else this.setPopupVisible(Tr,fr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(Tr){var br=this.props.children.props,fr=this.props;return br[Tr]&&fr[Tr]?this["fire".concat(Tr)]:br[Tr]||fr[Tr]}},{key:"isClickToShow",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.showAction;return br.indexOf("click")!==-1||fr.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.showAction;return br.indexOf("contextMenu")!==-1||fr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.hideAction;return br.indexOf("click")!==-1||fr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.showAction;return br.indexOf("hover")!==-1||fr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.hideAction;return br.indexOf("hover")!==-1||fr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.showAction;return br.indexOf("focus")!==-1||fr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Tr=this.props,br=Tr.action,fr=Tr.hideAction;return br.indexOf("focus")!==-1||fr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(Tr,br){var fr=this.props.children.props[Tr];fr&&fr(br);var zr=this.props[Tr];zr&&zr(br)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Tr=this.state.popupVisible,br=this.props,fr=br.children,zr=br.forceRender,wn=br.alignPoint,On=br.className,Wn=br.autoDestroy,Xn=o.a.Children.only(fr),ii={key:"trigger"};this.isContextMenuToShow()?ii.onContextMenu=this.onContextMenu:ii.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(ii.onClick=this.onClick,ii.onMouseDown=this.onMouseDown,ii.onTouchStart=this.onTouchStart):(ii.onClick=this.createTwoChains("onClick"),ii.onMouseDown=this.createTwoChains("onMouseDown"),ii.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(ii.onMouseEnter=this.onMouseEnter,wn&&(ii.onMouseMove=this.onMouseMove)):ii.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?ii.onMouseLeave=this.onMouseLeave:ii.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(ii.onFocus=this.onFocus,ii.onBlur=this.onBlur):(ii.onFocus=this.createTwoChains("onFocus"),ii.onBlur=this.createTwoChains("onBlur"));var li=F()(Xn&&Xn.props&&Xn.props.className,On);li&&(ii.className=li);var bi=Object(u.a)({},ii);Object(C.c)(Xn)&&(bi.ref=Object(C.a)(this.triggerRef,Xn.ref));var gi=o.a.cloneElement(Xn,bi),Ni;return(Tr||this.popupRef.current||zr)&&(Ni=o.a.createElement(gr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Tr&&Wn&&(Ni=null),o.a.createElement(G.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},gi,Ni)}}],[{key:"getDerivedStateFromProps",value:function(Tr,br){var fr=Tr.popupVisible,zr={};return fr!==void 0&&br.popupVisible!==fr&&(zr.popupVisible=fr,zr.prevPopupVisible=br.popupVisible),zr}}]),Rr}(o.a.Component);return Kr.contextType=G,Kr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Pe,getDocument:Be,onPopupVisibleChange:Y,afterPopupVisibleChange:Y,onPopupAlign:Y,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Kr}var bt=St(I.a),nt=e("2W6z"),Rt=e.n(nt),zt=e("4IlW"),Fr=e("uK0f"),Jt=e.n(Fr);function ge(gr,Kr){if(gr===Kr)return!0;if(!gr||!Kr)return!1;var sn=gr.length;if(Kr.length!==sn)return!1;for(var Ir=0;Ir<sn;Ir++)if(gr[Ir]!==Kr[Ir])return!1;return!0}function ye(gr){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ye=function(sn){return typeof sn}:ye=function(sn){return sn&&typeof Symbol=="function"&&sn.constructor===Symbol&&sn!==Symbol.prototype?"symbol":typeof sn},ye(gr)}function Le(gr,Kr){if(!(gr instanceof Kr))throw new TypeError("Cannot call a class as a function")}function we(gr,Kr){for(var sn=0;sn<Kr.length;sn++){var Ir=Kr[sn];Ir.enumerable=Ir.enumerable||!1,Ir.configurable=!0,"value"in Ir&&(Ir.writable=!0),Object.defineProperty(gr,Ir.key,Ir)}}function Ke(gr,Kr,sn){return Kr&&we(gr.prototype,Kr),sn&&we(gr,sn),gr}function Je(gr,Kr){if(typeof Kr!="function"&&Kr!==null)throw new TypeError("Super expression must either be null or a function");gr.prototype=Object.create(Kr&&Kr.prototype,{constructor:{value:gr,writable:!0,configurable:!0}}),Kr&&ut(gr,Kr)}function ut(gr,Kr){return ut=Object.setPrototypeOf||function(Ir,Rr){return Ir.__proto__=Rr,Ir},ut(gr,Kr)}function vt(gr){var Kr=Bt();return function(){var sn=dr(gr),Ir;if(Kr){var Rr=dr(this).constructor;Ir=Reflect.construct(sn,arguments,Rr)}else Ir=sn.apply(this,arguments);return _t(this,Ir)}}function _t(gr,Kr){return Kr&&(ye(Kr)==="object"||typeof Kr=="function")?Kr:Ut(gr)}function Ut(gr){if(gr===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return gr}function Bt(){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(gr){return!1}}function dr(gr){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(sn){return sn.__proto__||Object.getPrototypeOf(sn)},dr(gr)}var Oe=function(){var gr=function(Kr){Je(Ir,Kr);var sn=vt(Ir);function Ir(){var Rr;return Le(this,Ir),Rr=sn.apply(this,arguments),Rr.menuItems={},Rr.saveMenuItem=function(ar){return function(Tr){Rr.menuItems[ar]=Tr}},Rr}return Ke(Ir,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(ar){!ar.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(ar){var Tr=this.props,br=Tr.fieldNames,fr=Tr.defaultFieldNames;return br[ar]||fr[ar]}},{key:"getOption",value:function(ar,Tr){var br=this.props,fr=br.prefixCls,zr=br.expandTrigger,wn=br.expandIcon,On=br.loadingIcon,Wn=this.props.onSelect.bind(this,ar,Tr),Xn=this.props.onItemDoubleClick.bind(this,ar,Tr),ii={onClick:Wn,onDoubleClick:Xn},li="".concat(fr,"-menu-item"),bi=null,gi=ar[this.getFieldName("children")]&&ar[this.getFieldName("children")].length>0;(gi||ar.isLeaf===!1)&&(li+=" ".concat(fr,"-menu-item-expand"),ar.loading||(bi=r.createElement("span",{className:"".concat(fr,"-menu-item-expand-icon")},wn))),zr==="hover"&&(gi||ar.isLeaf===!1)&&(ii={onMouseEnter:this.delayOnSelect.bind(this,Wn),onMouseLeave:this.delayOnSelect.bind(this),onClick:Wn}),this.isActiveOption(ar,Tr)&&(li+=" ".concat(fr,"-menu-item-active"),ii.ref=this.saveMenuItem(Tr)),ar.disabled&&(li+=" ".concat(fr,"-menu-item-disabled"));var Ni=null;ar.loading&&(li+=" ".concat(fr,"-menu-item-loading"),Ni=On||null);var ki="";return"title"in ar?ki=ar.title:typeof ar[this.getFieldName("label")]=="string"&&(ki=ar[this.getFieldName("label")]),r.createElement("li",Object.assign({key:ar[this.getFieldName("value")],className:li,title:ki},ii,{role:"menuitem",onMouseDown:function(Wi){return Wi.preventDefault()}}),ar[this.getFieldName("label")],bi,Ni)}},{key:"getActiveOptions",value:function(ar){var Tr=this,br=this.props.options,fr=ar||this.props.activeValue;return Jt()(br,function(zr,wn){return zr[Tr.getFieldName("value")]===fr[wn]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var ar=this,Tr=this.props.options,br=this.getActiveOptions().map(function(fr){return fr[ar.getFieldName("children")]}).filter(function(fr){return!!fr});return br.unshift(Tr),br}},{key:"delayOnSelect",value:function(ar){for(var Tr=this,br=arguments.length,fr=new Array(br>1?br-1:0),zr=1;zr<br;zr++)fr[zr-1]=arguments[zr];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof ar=="function"&&(this.delayTimer=window.setTimeout(function(){ar(fr),Tr.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var ar=this.getShowOptions().length,Tr=0;Tr<ar;Tr++){var br=this.menuItems[Tr];br&&br.parentElement&&(br.parentElement.scrollTop=br.offsetTop)}}},{key:"isActiveOption",value:function(ar,Tr){var br=this.props.activeValue,fr=br===void 0?[]:br;return fr[Tr]===ar[this.getFieldName("value")]}},{key:"render",value:function(){var ar=this,Tr=this.props,br=Tr.prefixCls,fr=Tr.dropdownMenuColumnStyle;return r.createElement("div",null,this.getShowOptions().map(function(zr,wn){return r.createElement("ul",{className:"".concat(br,"-menu"),key:wn,style:fr},zr.map(function(On){return ar.getOption(On,wn)}))}))}}]),Ir}(r.Component);return gr.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},gr}(),xe=Oe,V={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}}},q=V;function ue(gr){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ue=function(sn){return typeof sn}:ue=function(sn){return sn&&typeof Symbol=="function"&&sn.constructor===Symbol&&sn!==Symbol.prototype?"symbol":typeof sn},ue(gr)}function me(gr,Kr){if(gr==null)return{};var sn=Ee(gr,Kr),Ir,Rr;if(Object.getOwnPropertySymbols){var ar=Object.getOwnPropertySymbols(gr);for(Rr=0;Rr<ar.length;Rr++){if(Ir=ar[Rr],Kr.indexOf(Ir)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(gr,Ir))continue;sn[Ir]=gr[Ir]}}return sn}function Ee(gr,Kr){if(gr==null)return{};var sn={},Ir=Object.keys(gr),Rr,ar;for(ar=0;ar<Ir.length;ar++){if(Rr=Ir[ar],Kr.indexOf(Rr)>=0)continue;sn[Rr]=gr[Rr]}return sn}function Ge(gr){return wt(gr)||tr(gr)||Kt(gr)||dt()}function dt(){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 Kt(gr,Kr){if(!gr)return;if(typeof gr=="string")return It(gr,Kr);var sn=Object.prototype.toString.call(gr).slice(8,-1);if(sn==="Object"&&gr.constructor&&(sn=gr.constructor.name),sn==="Map"||sn==="Set")return Array.from(gr);if(sn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(sn))return It(gr,Kr)}function tr(gr){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(gr))return Array.from(gr)}function wt(gr){if(Array.isArray(gr))return It(gr)}function It(gr,Kr){(Kr==null||Kr>gr.length)&&(Kr=gr.length);for(var sn=0,Ir=new Array(Kr);sn<Kr;sn++)Ir[sn]=gr[sn];return Ir}function Lt(gr,Kr){if(!(gr instanceof Kr))throw new TypeError("Cannot call a class as a function")}function Nt(gr,Kr){for(var sn=0;sn<Kr.length;sn++){var Ir=Kr[sn];Ir.enumerable=Ir.enumerable||!1,Ir.configurable=!0,"value"in Ir&&(Ir.writable=!0),Object.defineProperty(gr,Ir.key,Ir)}}function $e(gr,Kr,sn){return Kr&&Nt(gr.prototype,Kr),sn&&Nt(gr,sn),gr}function ot(gr,Kr){if(typeof Kr!="function"&&Kr!==null)throw new TypeError("Super expression must either be null or a function");gr.prototype=Object.create(Kr&&Kr.prototype,{constructor:{value:gr,writable:!0,configurable:!0}}),Kr&&ft(gr,Kr)}function ft(gr,Kr){return ft=Object.setPrototypeOf||function(Ir,Rr){return Ir.__proto__=Rr,Ir},ft(gr,Kr)}function ze(gr){var Kr=rt();return function(){var sn=ct(gr),Ir;if(Kr){var Rr=ct(this).constructor;Ir=Reflect.construct(sn,arguments,Rr)}else Ir=sn.apply(this,arguments);return Ye(this,Ir)}}function Ye(gr,Kr){return Kr&&(ue(Kr)==="object"||typeof Kr=="function")?Kr:qe(gr)}function qe(gr){if(gr===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return gr}function rt(){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(gr){return!1}}function ct(gr){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(sn){return sn.__proto__||Object.getPrototypeOf(sn)},ct(gr)}var st=function(){var gr=function(Kr){ot(Ir,Kr);var sn=ze(Ir);function Ir(Rr){var ar;Lt(this,Ir),ar=sn.call(this,Rr),ar.setPopupVisible=function(br){var fr=ar.state.value;"popupVisible"in ar.props||ar.setState({popupVisible:br}),br&&!ar.state.popupVisible&&ar.setState({activeValue:fr}),ar.props.onPopupVisibleChange(br)},ar.handleChange=function(br,fr,zr){var wn=fr.visible;(zr.type!=="keydown"||zr.keyCode===zt.a.ENTER)&&(ar.props.onChange(br.map(function(On){return On[ar.getFieldName("value")]}),br),ar.setPopupVisible(wn))},ar.handlePopupVisibleChange=function(br){ar.setPopupVisible(br)},ar.handleMenuSelect=function(br,fr,zr){var wn=ar.trigger.getRootDomNode();wn&&wn.focus&&wn.focus();var On=ar.props,Wn=On.changeOnSelect,Xn=On.loadData,ii=On.expandTrigger;if(!br||br.disabled)return;var li=ar.state.activeValue;li=li.slice(0,fr+1),li[fr]=br[ar.getFieldName("value")];var bi=ar.getActiveOptions(li);if(br.isLeaf===!1&&!br[ar.getFieldName("children")]&&Xn){Wn&&ar.handleChange(bi,{visible:!0},zr),ar.setState({activeValue:li}),Xn(bi);return}var gi={};!br[ar.getFieldName("children")]||!br[ar.getFieldName("children")].length?(ar.handleChange(bi,{visible:!1},zr),gi.value=li):Wn&&(zr.type==="click"||zr.type==="keydown")&&(ii==="hover"?ar.handleChange(bi,{visible:!1},zr):ar.handleChange(bi,{visible:!0},zr),gi.value=li),gi.activeValue=li,("value"in ar.props||zr.type==="keydown"&&zr.keyCode!==zt.a.ENTER)&&delete gi.value,ar.setState(gi)},ar.handleItemDoubleClick=function(){var br=ar.props.changeOnSelect;br&&ar.setPopupVisible(!1)},ar.handleKeyDown=function(br){var fr=ar.props.children;if(fr&&fr.props.onKeyDown){fr.props.onKeyDown(br);return}var zr=Ge(ar.state.activeValue),wn=zr.length-1<0?0:zr.length-1,On=ar.getCurrentLevelOptions(),Wn=On.map(function(bi){return bi[ar.getFieldName("value")]}).indexOf(zr[wn]);if(br.keyCode!==zt.a.DOWN&&br.keyCode!==zt.a.UP&&br.keyCode!==zt.a.LEFT&&br.keyCode!==zt.a.RIGHT&&br.keyCode!==zt.a.ENTER&&br.keyCode!==zt.a.SPACE&&br.keyCode!==zt.a.BACKSPACE&&br.keyCode!==zt.a.ESC&&br.keyCode!==zt.a.TAB)return;if(!ar.state.popupVisible&&br.keyCode!==zt.a.BACKSPACE&&br.keyCode!==zt.a.LEFT&&br.keyCode!==zt.a.RIGHT&&br.keyCode!==zt.a.ESC&&br.keyCode!==zt.a.TAB){ar.setPopupVisible(!0);return}if(br.keyCode===zt.a.DOWN||br.keyCode===zt.a.UP){br.preventDefault();var Xn=Wn;Xn!==-1?br.keyCode===zt.a.DOWN?(Xn+=1,Xn=Xn>=On.length?0:Xn):(Xn-=1,Xn=Xn<0?On.length-1:Xn):Xn=0,zr[wn]=On[Xn][ar.getFieldName("value")]}else if(br.keyCode===zt.a.LEFT||br.keyCode===zt.a.BACKSPACE)br.preventDefault(),zr.splice(zr.length-1,1);else if(br.keyCode===zt.a.RIGHT)br.preventDefault(),On[Wn]&&On[Wn][ar.getFieldName("children")]&&zr.push(On[Wn][ar.getFieldName("children")][0][ar.getFieldName("value")]);else if(br.keyCode===zt.a.ESC||br.keyCode===zt.a.TAB){ar.setPopupVisible(!1);return}(!zr||zr.length===0)&&ar.setPopupVisible(!1);var ii=ar.getActiveOptions(zr),li=ii[ii.length-1];ar.handleMenuSelect(li,ii.length-1,br),ar.props.onKeyDown&&ar.props.onKeyDown(br)},ar.saveTrigger=function(br){ar.trigger=br};var Tr=[];return"value"in Rr?Tr=Rr.value||[]:"defaultValue"in Rr&&(Tr=Rr.defaultValue||[]),Rt()(!("filedNames"in Rr),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),ar.state={popupVisible:Rr.popupVisible,activeValue:Tr,value:Tr,prevProps:Rr},ar.defaultFieldNames={label:"label",value:"value",children:"children"},ar}return $e(Ir,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(ar){var Tr=this.defaultFieldNames,br=this.props,fr=br.fieldNames,zr=br.filedNames;return"filedNames"in this.props?zr[ar]||Tr[ar]:fr[ar]||Tr[ar]}},{key:"getFieldNames",value:function(){var ar=this.props,Tr=ar.fieldNames,br=ar.filedNames;return"filedNames"in this.props?br:Tr}},{key:"getCurrentLevelOptions",value:function(){var ar=this,Tr=this.props.options,br=Tr===void 0?[]:Tr,fr=this.state.activeValue,zr=fr===void 0?[]:fr,wn=Jt()(br,function(On,Wn){return On[ar.getFieldName("value")]===zr[Wn]},{childrenKeyName:this.getFieldName("children")});return wn[wn.length-2]?wn[wn.length-2][this.getFieldName("children")]:Ge(br).filter(function(On){return!On.disabled})}},{key:"getActiveOptions",value:function(ar){var Tr=this;return Jt()(this.props.options||[],function(br,fr){return br[Tr.getFieldName("value")]===ar[fr]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var ar=this.props,Tr=ar.prefixCls,br=ar.transitionName,fr=ar.popupClassName,zr=ar.options,wn=zr===void 0?[]:zr,On=ar.disabled,Wn=ar.builtinPlacements,Xn=ar.popupPlacement,ii=ar.children,li=ar.dropdownRender,bi=me(ar,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),gi=r.createElement("div",null),Ni="";wn&&wn.length>0?gi=r.createElement(xe,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Ni=" ".concat(Tr,"-menus-empty");var ki=gi;return li&&(ki=li(gi)),r.createElement(bt,Object.assign({ref:this.saveTrigger},bi,{popupPlacement:Xn,builtinPlacements:Wn,popupTransitionName:br,action:On?[]:["click"],popupVisible:On?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Tr,"-menus"),popupClassName:fr+Ni,popup:ki}),r.cloneElement(ii,{onKeyDown:this.handleKeyDown,tabIndex:On?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(ar,Tr){var br=Tr.prevProps,fr=br===void 0?{}:br,zr={prevProps:ar};return"value"in ar&&!ge(fr.value,ar.value)&&(zr.value=ar.value||[],"loadData"in ar||(zr.activeValue=ar.value||[])),"popupVisible"in ar&&(zr.popupVisible=ar.popupVisible),zr}}]),Ir}(r.Component);return gr.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:q,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},gr}(),et=st,Ft=et,Ct=e("BGR+"),ir=e("kbBi"),Xt=e.n(ir),_r=e("HQEm"),Br=e.n(_r),Gr=e("fEPi"),un=e.n(Gr),mn=e("5YOS"),_n=e.n(mn),qr=e("DFhj"),yn=e.n(qr),nn=e("5rEg"),cr=e("H84U"),Pr=e("YMnH"),Ar=e("uaoM"),Mr=e("3Nzz"),fn=e("0n0R"),En=function(gr,Kr){var sn={};for(var Ir in gr)Object.prototype.hasOwnProperty.call(gr,Ir)&&Kr.indexOf(Ir)<0&&(sn[Ir]=gr[Ir]);if(gr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,Ir=Object.getOwnPropertySymbols(gr);Rr<Ir.length;Rr++)Kr.indexOf(Ir[Rr])<0&&Object.prototype.propertyIsEnumerable.call(gr,Ir[Rr])&&(sn[Ir[Rr]]=gr[Ir[Rr]]);return sn},Rn=50;function oi(gr,Kr,sn){return gr.split(Kr).map(function(Ir,Rr){return Rr===0?Ir:[r.createElement("span",{className:"".concat(sn,"-menu-item-keyword"),key:"seperator"},Kr),Ir]})}function An(gr,Kr,sn){return Kr.some(function(Ir){return Ir[sn.label].indexOf(gr)>-1})}function mi(gr,Kr,sn,Ir){return Kr.map(function(Rr,ar){var Tr=Rr[Ir.label],br=Tr.indexOf(gr)>-1?oi(Tr,gr,sn):Tr;return ar===0?br:[" / ",br]})}function ai(gr,Kr,sn,Ir){function Rr(ar){return ar[Ir.label].indexOf(sn)>-1}return gr.findIndex(Rr)-Kr.findIndex(Rr)}function Xr(gr){var Kr=gr.fieldNames;return Kr}function pn(gr){var Kr=Xr(gr)||{},sn={children:Kr.children||"children",label:Kr.label||"label",value:Kr.value||"value"};return sn}function Ln(gr,Kr){var sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ir=pn(Kr),Rr=[],ar=Ir.children;return gr.forEach(function(Tr){var br=sn.concat(Tr);(Kr.changeOnSelect||!Tr[ar]||!Tr[ar].length)&&Rr.push(br),Tr[ar]&&(Rr=Rr.concat(Ln(Tr[ar],Kr,br)))}),Rr}var tn=function(Kr){return Kr.join(" / ")};function $t(gr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(gr||[]).forEach(function(sn){var Ir=Kr.value||"value";Object(Ar.a)(Ir in sn,"Cascader","Not found `value` in `options`."),$t(sn[Kr.children||"children"],Kr)})}var yr=function(gr){d()(sn,gr);var Kr=l()(sn);function sn(Ir){var Rr;return p()(this,sn),Rr=Kr.call(this,Ir),Rr.cachedOptions=[],Rr.setValue=function(ar){var Tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Rr.props||Rr.setState({value:ar});var br=Rr.props.onChange;br&&br(ar,Tr)},Rr.saveInput=function(ar){Rr.input=ar},Rr.handleChange=function(ar,Tr){if(Rr.setState({inputValue:""}),Tr[0].__IS_FILTERED_OPTION){var br=ar[0],fr=Tr[0].path;Rr.setValue(br,fr);return}Rr.setValue(ar,Tr)},Rr.handlePopupVisibleChange=function(ar){"popupVisible"in Rr.props||Rr.setState(function(br){return{popupVisible:ar,inputFocused:ar,inputValue:ar?br.inputValue:""}});var Tr=Rr.props.onPopupVisibleChange;Tr&&Tr(ar)},Rr.handleInputBlur=function(){Rr.setState({inputFocused:!1})},Rr.handleInputClick=function(ar){var Tr=Rr.state,br=Tr.inputFocused,fr=Tr.popupVisible;(br||fr)&&ar.stopPropagation()},Rr.handleKeyDown=function(ar){(ar.keyCode===zt.a.BACKSPACE||ar.keyCode===zt.a.SPACE)&&ar.stopPropagation()},Rr.handleInputChange=function(ar){var Tr=Rr.state.popupVisible,br=ar.target.value;Tr||Rr.handlePopupVisibleChange(!0),Rr.setState({inputValue:br})},Rr.clearSelection=function(ar){var Tr=Rr.state.inputValue;ar.preventDefault(),ar.stopPropagation(),Tr?Rr.setState({inputValue:""}):(Rr.handlePopupVisibleChange(!1),Rr.clearSelectionTimeout=setTimeout(function(){Rr.setValue([])},200))},Rr.renderCascader=function(ar,Tr){var br=ar.getPopupContainer,fr=ar.getPrefixCls,zr=ar.renderEmpty,wn=ar.direction;return r.createElement(Mr.b.Consumer,null,function(On){var Wn,Xn,ii,li,bi=n()(Rr),gi=bi.props,Ni=bi.state,ki=gi.prefixCls,sa=gi.inputPrefixCls,Wi=gi.children,Ta=gi.placeholder,La=Ta===void 0?Tr.placeholder||"Please select":Ta,ta=gi.size,Ka=gi.disabled,ni=gi.className,zi=gi.style,Va=gi.allowClear,Za=gi.showSearch,Oa=Za===void 0?!1:Za,ma=gi.suffixIcon,xr=gi.expandIcon,nr=gi.notFoundContent,ln=gi.popupClassName,er=gi.bordered,hr=gi.dropdownRender,Dr=En(gi,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Vr=ta||On,an=Ni.value,Ot=Ni.inputFocused,lr=wn==="rtl",vr=fr("cascader",ki),Cr=fr("input",sa),Hr=F()((Wn={},m()(Wn,"".concat(Cr,"-lg"),Vr==="large"),m()(Wn,"".concat(Cr,"-sm"),Vr==="small"),Wn)),cn=Va&&!Ka&&an.length>0||Ni.inputValue?r.createElement(Xt.a,{className:"".concat(vr,"-picker-clear"),onClick:Rr.clearSelection}):null,Qr=F()((Xn={},m()(Xn,"".concat(vr,"-picker-arrow"),!0),m()(Xn,"".concat(vr,"-picker-arrow-expand"),Ni.popupVisible),Xn)),gt=F()(ni,"".concat(vr,"-picker"),(ii={},m()(ii,"".concat(vr,"-picker-rtl"),lr),m()(ii,"".concat(vr,"-picker-with-value"),Ni.inputValue),m()(ii,"".concat(vr,"-picker-disabled"),Ka),m()(ii,"".concat(vr,"-picker-").concat(Vr),!!Vr),m()(ii,"".concat(vr,"-picker-show-search"),!!Oa),m()(ii,"".concat(vr,"-picker-focused"),Ot),m()(ii,"".concat(vr,"-picker-borderless"),!er),ii)),Gt=Object(Ct.default)(Dr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Sr=gi.options,Zr=pn(Rr.props);if(Sr&&Sr.length>0)Ni.inputValue&&(Sr=Rr.generateFilteredOptions(vr,zr));else{var en;Sr=[(en={},m()(en,Zr.label,nr||zr("Cascader")),m()(en,Zr.value,"ANT_CASCADER_NOT_FOUND"),en)]}Ni.popupVisible?Rr.cachedOptions=Sr:Sr=Rr.cachedOptions;var xn={},kn=(Sr||[]).length===1&&Sr[0].isEmptyNode;kn&&(xn.height="auto");var Zn=Oa.matchInputWidth!==!1;Zn&&(Ni.inputValue||kn)&&Rr.input&&(xn.width=Rr.input.input.offsetWidth);var ui;ma?ui=Object(fn.c)(ma,r.createElement("span",{className:"".concat(vr,"-picker-arrow")},ma),function(){var xi;return{className:F()((xi={},m()(xi,ma.props.className,ma.props.className),m()(xi,"".concat(vr,"-picker-arrow"),!0),xi))}}):ui=r.createElement(Br.a,{className:Qr});var ti=Wi||r.createElement("span",{style:zi,className:gt},r.createElement("span",{className:"".concat(vr,"-picker-label")},Rr.getLabel()),r.createElement(nn.a,f()({},Gt,{tabIndex:"-1",ref:Rr.saveInput,prefixCls:Cr,placeholder:an&&an.length>0?void 0:La,className:"".concat(vr,"-input ").concat(Hr),value:Ni.inputValue,disabled:Ka,readOnly:!Oa,autoComplete:Gt.autoComplete||"off",onClick:Oa?Rr.handleInputClick:void 0,onBlur:Oa?Rr.handleInputBlur:void 0,onKeyDown:Rr.handleKeyDown,onChange:Oa?Rr.handleInputChange:void 0})),cn,ui),Qn;xr?Qn=xr:Qn=lr?r.createElement(yn.a,null):r.createElement(un.a,null);var $n=r.createElement("span",{className:"".concat(vr,"-menu-item-loading-icon")},r.createElement(_n.a,{spin:!0})),Si=gi.getPopupContainer||br,Ci=Object(Ct.default)(gi,["inputIcon","expandIcon","loadingIcon","bordered"]),vi=F()(ln,(li={},m()(li,"".concat(vr,"-menu-").concat(wn),wn==="rtl"),m()(li,"".concat(vr,"-menu-empty"),Sr.length===1&&Sr[0].value==="ANT_CASCADER_NOT_FOUND"),li));return r.createElement(Ft,f()({},Ci,{prefixCls:vr,getPopupContainer:Si,options:Sr,value:an,popupVisible:Ni.popupVisible,onPopupVisibleChange:Rr.handlePopupVisibleChange,onChange:Rr.handleChange,dropdownMenuColumnStyle:xn,expandIcon:Qn,loadingIcon:$n,popupClassName:vi,popupPlacement:Rr.getPopupPlacement(wn),dropdownRender:hr}),ti)})},Rr.state={value:Ir.value||Ir.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ir.popupVisible,flattenOptions:Ir.showSearch?Ln(Ir.options,Ir):void 0,prevProps:Ir},Rr}return s()(sn,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Rr=this.props,ar=Rr.options,Tr=Rr.displayRender,br=Tr===void 0?tn:Tr,fr=pn(this.props),zr=this.state.value,wn=Array.isArray(zr[0])?zr[0]:zr,On=Jt()(ar,function(Xn,ii){return Xn[fr.value]===wn[ii]},{childrenKeyName:fr.children}),Wn=On.length?On.map(function(Xn){return Xn[fr.label]}):zr;return br(Wn,On)}},{key:"generateFilteredOptions",value:function(Rr,ar){var Tr=this,br,fr=this.props,zr=fr.showSearch,wn=fr.notFoundContent,On=pn(this.props),Wn=zr.filter,Xn=Wn===void 0?An:Wn,ii=zr.render,li=ii===void 0?mi:ii,bi=zr.sort,gi=bi===void 0?ai:bi,Ni=zr.limit,ki=Ni===void 0?Rn:Ni,sa=this.state,Wi=sa.flattenOptions,Ta=Wi===void 0?[]:Wi,La=sa.inputValue,ta;if(ki>0){ta=[];var Ka=0;Ta.some(function(ni){var zi=Xn(Tr.state.inputValue,ni,On);return zi&&(ta.push(ni),Ka+=1),Ka>=ki})}else Object(Ar.a)(typeof ki!="number","Cascader","'limit' of showSearch should be positive number or false."),ta=Ta.filter(function(ni){return Xn(Tr.state.inputValue,ni,On)});return ta=ta.sort(function(ni,zi){return gi(ni,zi,La,On)}),ta.length>0?ta.map(function(ni){var zi;return zi={__IS_FILTERED_OPTION:!0,path:ni},m()(zi,On.value,ni.map(function(Va){return Va[On.value]})),m()(zi,On.label,li(La,ni,Rr,On)),m()(zi,"disabled",ni.some(function(Va){return!!Va.disabled})),m()(zi,"isEmptyNode",!0),zi}):[(br={},m()(br,On.value,"ANT_CASCADER_NOT_FOUND"),m()(br,On.label,wn||ar("Cascader")),m()(br,"disabled",!0),m()(br,"isEmptyNode",!0),br)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Rr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",ar=this.props.popupPlacement;return ar!==void 0?ar:Rr==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Rr=this;return r.createElement(cr.a,null,function(ar){return r.createElement(Pr.a,null,function(Tr){return Rr.renderCascader(ar,Tr)})})}}],[{key:"getDerivedStateFromProps",value:function(Rr,ar){var Tr=ar.prevProps,br={prevProps:Rr};return"value"in Rr&&(br.value=Rr.value||[]),"popupVisible"in Rr&&(br.popupVisible=Rr.popupVisible),Rr.showSearch&&Tr.options!==Rr.options&&(br.flattenOptions=Ln(Rr.options,Rr)),br}}]),sn}(r.Component);yr.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var kr=N.a=yr},DFhj:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},DL4k:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},DN4a:function(R,N,e){var A=e("Fofx"),f=e("QBsz"),x=A.identity,m=5e-5;function g(d){return d>m||d<-m}var p=function(t){t=t||{},t.position||(this.position=[0,0]),t.rotation==null&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=p.prototype;c.transform=null,c.needLocalTransform=function(){return g(this.rotation)||g(this.position[0])||g(this.position[1])||g(this.scale[0]-1)||g(this.scale[1]-1)};var s=[];c.updateTransform=function(){var d=this.parent,t=d&&d.transform,l=this.needLocalTransform(),r=this.transform;if(!(l||t)){r&&x(r);return}r=r||A.create(),l?this.getLocalTransform(r):x(r),t&&(l?A.mul(r,d.transform,r):A.copy(r,d.transform)),this.transform=r;var o=this.globalScaleRatio;if(o!=null&&o!==1){this.getGlobalScale(s);var u=s[0]<0?-1:1,h=s[1]<0?-1:1,y=((s[0]-u)*o+u)/s[0]||0,b=((s[1]-h)*o+h)/s[1]||0;r[0]*=y,r[1]*=y,r[2]*=b,r[3]*=b}this.invTransform=this.invTransform||A.create(),A.invert(this.invTransform,r)},c.getLocalTransform=function(d){return p.getLocalTransform(this,d)},c.setTransform=function(d){var t=this.transform,l=d.dpr||1;t?d.setTransform(l*t[0],l*t[1],l*t[2],l*t[3],l*t[4],l*t[5]):d.setTransform(l,0,0,l,0,0)},c.restoreTransform=function(d){var t=d.dpr||1;d.setTransform(t,0,0,t,0,0)};var a=[],n=A.create();c.setLocalTransform=function(d){if(!d)return;var t=d[0]*d[0]+d[1]*d[1],l=d[2]*d[2]+d[3]*d[3],r=this.position,o=this.scale;g(t-1)&&(t=Math.sqrt(t)),g(l-1)&&(l=Math.sqrt(l)),d[0]<0&&(t=-t),d[3]<0&&(l=-l),r[0]=d[4],r[1]=d[5],o[0]=t,o[1]=l,this.rotation=Math.atan2(-d[1]/l,d[0]/t)},c.decomposeTransform=function(){if(!this.transform)return;var d=this.parent,t=this.transform;d&&d.transform&&(A.mul(a,d.invTransform,t),t=a);var l=this.origin;l&&(l[0]||l[1])&&(n[4]=l[0],n[5]=l[1],A.mul(a,t,n),a[4]-=l[0],a[5]-=l[1],t=a),this.setLocalTransform(t)},c.getGlobalScale=function(d){var t=this.transform;return d=d||[],t?(d[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),d[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(d[0]=-d[0]),t[3]<0&&(d[1]=-d[1]),d):(d[0]=1,d[1]=1,d)},c.transformCoordToLocal=function(d,t){var l=[d,t],r=this.invTransform;return r&&f.applyTransform(l,l,r),l},c.transformCoordToGlobal=function(d,t){var l=[d,t],r=this.transform;return r&&f.applyTransform(l,l,r),l},p.getLocalTransform=function(d,t){t=t||[],x(t);var l=d.origin,r=d.scale||[1,1],o=d.rotation||0,u=d.position||[0,0];return l&&(t[4]-=l[0],t[5]-=l[1]),A.scale(t,t,r),o&&A.rotate(t,t,o),l&&(t[4]+=l[0],t[5]+=l[1]),t[4]+=u[0],t[5]+=u[1],t};var i=p;R.exports=i},DO2E:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},DYRE:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("OPEp"),m=e.n(x)},DZo9:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("JGo8"),m=e.n(x),g=e("+L6B"),p=e("MXD1"),c=e("5Dmo")},Dagg:function(R,N,e){var A=e("Gev7"),f=e("mFDi"),x=e("bYtY"),m=e("Xnb7");function g(c){A.call(this,c)}g.prototype={constructor:g,type:"image",brush:function(s,a){var n=this.style,i=n.image;n.bind(s,this,a);var d=this._image=m.createOrUpdateImage(i,this._image,this,this.onload);if(!d||!m.isImageReady(d))return;var t=n.x||0,l=n.y||0,r=n.width,o=n.height,u=d.width/d.height;if(r==null&&o!=null?r=o*u:o==null&&r!=null?o=r/u:r==null&&o==null&&(r=d.width,o=d.height),this.setTransform(s),n.sWidth&&n.sHeight){var h=n.sx||0,y=n.sy||0;s.drawImage(d,h,y,n.sWidth,n.sHeight,t,l,r,o)}else if(n.sx&&n.sy){var h=n.sx,y=n.sy,b=r-h,E=o-y;s.drawImage(d,h,y,b,E,t,l,r,o)}else s.drawImage(d,t,l,r,o);n.text!=null&&(this.restoreTransform(s),this.drawRectText(s,this.getBoundingRect()))},getBoundingRect:function(){var s=this.style;return this._rect||(this._rect=new f(s.x||0,s.y||0,s.width||0,s.height||0)),this._rect}},x.inherits(g,A);var p=g;R.exports=p},Dg8C:function(R,N,e){var A=e("XxSj"),f=e("bYtY");function x(m,g){m.eachSeriesByType("sankey",function(p){var c=p.getGraph(),s=c.nodes;if(s.length){var a=Infinity,n=-Infinity;f.each(s,function(i){var d=i.getLayout().value;d<a&&(a=d),d>n&&(n=d)}),f.each(s,function(i){var d=new A({type:"color",mappingMethod:"linear",dataExtent:[a,n],visual:p.get("color")}),t=d.mapValueToVisual(i.getLayout().value),l=i.getModel().get("itemStyle.color");l!=null?i.setVisual("color",l):i.setVisual("color",t)})}})}R.exports=x},DjyN:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("Urep"),m=e.n(x),g=e("OaEy")},DlQD:function(R,N,e){(function(A,f){R.exports=f()})(this,function(){"use strict";function A(kt,Tt){for(var Dt=0;Dt<Tt.length;Dt++){var Ue=Tt[Dt];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(kt,Ue.key,Ue)}}function f(kt,Tt,Dt){return Tt&&A(kt.prototype,Tt),Dt&&A(kt,Dt),kt}function x(kt,Tt){if(!kt)return;if(typeof kt=="string")return m(kt,Tt);var Dt=Object.prototype.toString.call(kt).slice(8,-1);if(Dt==="Object"&&kt.constructor&&(Dt=kt.constructor.name),Dt==="Map"||Dt==="Set")return Array.from(kt);if(Dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Dt))return m(kt,Tt)}function m(kt,Tt){(Tt==null||Tt>kt.length)&&(Tt=kt.length);for(var Dt=0,Ue=new Array(Tt);Dt<Tt;Dt++)Ue[Dt]=kt[Dt];return Ue}function g(kt,Tt){var Dt;if(typeof Symbol=="undefined"||kt[Symbol.iterator]==null){if(Array.isArray(kt)||(Dt=x(kt))||Tt&&kt&&typeof kt.length=="number"){Dt&&(kt=Dt);var Ue=0;return function(){return Ue>=kt.length?{done:!0}:{done:!1,value:kt[Ue++]}}}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 Dt=kt[Symbol.iterator](),Dt.next.bind(Dt)}function p(kt,Tt){return Tt={exports:{}},kt(Tt,Tt.exports),Tt.exports}var c=p(function(kt){function Tt(){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 Dt(Ue){kt.exports.defaults=Ue}kt.exports={defaults:Tt(),getDefaults:Tt,changeDefaults:Dt}}),s=c.defaults,a=c.getDefaults,n=c.changeDefaults,i=/[&<>"']/,d=/[&<>"']/g,t=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},o=function(Tt){return r[Tt]};function u(kt,Tt){if(Tt){if(i.test(kt))return kt.replace(d,o)}else if(t.test(kt))return kt.replace(l,o);return kt}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function y(kt){return kt.replace(h,function(Tt,Dt){return Dt=Dt.toLowerCase(),Dt==="colon"?":":Dt.charAt(0)==="#"?Dt.charAt(1)==="x"?String.fromCharCode(parseInt(Dt.substring(2),16)):String.fromCharCode(+Dt.substring(1)):""})}var b=/(^|[^\[])\^/g;function E(kt,Tt){kt=kt.source||kt,Tt=Tt||"";var Dt={replace:function(G,Y){return Y=Y.source||Y,Y=Y.replace(b,"$1"),kt=kt.replace(G,Y),Dt},getRegex:function(){return new RegExp(kt,Tt)}};return Dt}var v=/[^\w:]/g,w=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function O(kt,Tt,Dt){if(kt){var Ue;try{Ue=decodeURIComponent(y(Dt)).replace(v,"").toLowerCase()}catch(G){return null}if(Ue.indexOf("javascript:")===0||Ue.indexOf("vbscript:")===0||Ue.indexOf("data:")===0)return null}Tt&&!w.test(Dt)&&(Dt=I(Tt,Dt));try{Dt=encodeURI(Dt).replace(/%25/g,"%")}catch(G){return null}return Dt}var T={},S=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function I(kt,Tt){T[" "+kt]||(S.test(kt)?T[" "+kt]=kt+"/":T[" "+kt]=j(kt,"/",!0)),kt=T[" "+kt];var Dt=kt.indexOf(":")===-1;return Tt.substring(0,2)==="//"?Dt?Tt:kt.replace(C,"$1")+Tt:Tt.charAt(0)==="/"?Dt?Tt:kt.replace(_,"$1")+Tt:kt+Tt}var k={exec:function(){}};function F(kt){for(var Tt=1,Dt,Ue;Tt<arguments.length;Tt++){Dt=arguments[Tt];for(Ue in Dt)Object.prototype.hasOwnProperty.call(Dt,Ue)&&(kt[Ue]=Dt[Ue])}return kt}function B(kt,Tt){var Dt=kt.replace(/\|/g,function(Y,Pe,Be){for(var J=!1,St=Pe;--St>=0&&Be[St]==="\\";)J=!J;return J?"|":" |"}),Ue=Dt.split(/ \|/),G=0;if(Ue.length>Tt)Ue.splice(Tt);else for(;Ue.length<Tt;)Ue.push("");for(;G<Ue.length;G++)Ue[G]=Ue[G].trim().replace(/\\\|/g,"|");return Ue}function j(kt,Tt,Dt){var Ue=kt.length;if(Ue===0)return"";for(var G=0;G<Ue;){var Y=kt.charAt(Ue-G-1);if(Y===Tt&&!Dt)G++;else if(Y!==Tt&&Dt)G++;else break}return kt.substr(0,Ue-G)}function z(kt,Tt){if(kt.indexOf(Tt[1])===-1)return-1;for(var Dt=kt.length,Ue=0,G=0;G<Dt;G++)if(kt[G]==="\\")G++;else if(kt[G]===Tt[0])Ue++;else if(kt[G]===Tt[1]&&(Ue--,Ue<0))return G;return-1}function M(kt){kt&&kt.sanitize&&!kt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:u,unescape:y,edit:E,cleanUrl:O,resolveUrl:I,noopTest:k,merge:F,splitCells:B,rtrim:j,findClosingBracket:z,checkSanitizeDeprecation:M},P=c.defaults,H=U.rtrim,W=U.splitCells,X=U.escape,K=U.findClosingBracket;function $(kt,Tt,Dt){var Ue=Tt.href,G=Tt.title?X(Tt.title):null,Y=kt[1].replace(/\\([\[\]])/g,"$1");return kt[0].charAt(0)!=="!"?{type:"link",raw:Dt,href:Ue,title:G,text:Y}:{type:"image",raw:Dt,href:Ue,title:G,text:X(Y)}}function ie(kt,Tt){var Dt=kt.match(/^(\s+)(?:```)/);if(Dt===null)return Tt;var Ue=Dt[1];return Tt.split(`
|
|
|
`).map(function(G){var Y=G.match(/^\s+/);if(Y===null)return G;var Pe=Y[0];return Pe.length>=Ue.length?G.slice(Ue.length):G}).join(`
|
|
|
`)}var be=function(){function kt(Dt){this.options=Dt||P}var Tt=kt.prototype;return Tt.space=function(Ue){var G=this.rules.block.newline.exec(Ue);if(G)return G[0].length>1?{type:"space",raw:G[0]}:{raw:`
|
|
|
`}},Tt.code=function(Ue,G){var Y=this.rules.block.code.exec(Ue);if(Y){var Pe=G[G.length-1];if(Pe&&Pe.type==="paragraph")return{raw:Y[0],text:Y[0].trimRight()};var Be=Y[0].replace(/^ {4}/gm,"");return{type:"code",raw:Y[0],codeBlockStyle:"indented",text:this.options.pedantic?Be:H(Be,`
|
|
|
`)}}},Tt.fences=function(Ue){var G=this.rules.block.fences.exec(Ue);if(G){var Y=G[0],Pe=ie(Y,G[3]||"");return{type:"code",raw:Y,lang:G[2]?G[2].trim():G[2],text:Pe}}},Tt.heading=function(Ue){var G=this.rules.block.heading.exec(Ue);if(G)return{type:"heading",raw:G[0],depth:G[1].length,text:G[2]}},Tt.nptable=function(Ue){var G=this.rules.block.nptable.exec(Ue);if(G){var Y={type:"table",header:W(G[1].replace(/^ *| *\| *$/g,"")),align:G[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:G[3]?G[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:G[0]};if(Y.header.length===Y.align.length){var Pe=Y.align.length,Be;for(Be=0;Be<Pe;Be++)/^ *-+: *$/.test(Y.align[Be])?Y.align[Be]="right":/^ *:-+: *$/.test(Y.align[Be])?Y.align[Be]="center":/^ *:-+ *$/.test(Y.align[Be])?Y.align[Be]="left":Y.align[Be]=null;for(Pe=Y.cells.length,Be=0;Be<Pe;Be++)Y.cells[Be]=W(Y.cells[Be],Y.header.length);return Y}}},Tt.hr=function(Ue){var G=this.rules.block.hr.exec(Ue);if(G)return{type:"hr",raw:G[0]}},Tt.blockquote=function(Ue){var G=this.rules.block.blockquote.exec(Ue);if(G){var Y=G[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:G[0],text:Y}}},Tt.list=function(Ue){var G=this.rules.block.list.exec(Ue);if(G){for(var Y=G[0],Pe=G[2],Be=Pe.length>1,J=Pe[Pe.length-1]===")",St={type:"list",raw:Y,ordered:Be,start:Be?+Pe.slice(0,-1):"",loose:!1,items:[]},bt=G[0].match(this.rules.block.item),nt=!1,Rt,zt,Fr,Jt,ge,ye,Le,we=bt.length,Ke=0;Ke<we;Ke++)Rt=bt[Ke],Y=Rt,zt=Rt.length,Rt=Rt.replace(/^ *([*+-]|\d+[.)]) */,""),~Rt.indexOf(`
|
|
|
`)&&(zt-=Rt.length,Rt=this.options.pedantic?Rt.replace(/^ {1,4}/gm,""):Rt.replace(new RegExp("^ {1,"+zt+"}","gm"),"")),Ke!==we-1&&(Fr=this.rules.block.bullet.exec(bt[Ke+1])[0],(Be?Fr.length===1||!J&&Fr[Fr.length-1]===")":Fr.length>1||this.options.smartLists&&Fr!==Pe)&&(Jt=bt.slice(Ke+1).join(`
|
|
|
`),St.raw=St.raw.substring(0,St.raw.length-Jt.length),Ke=we-1)),ge=nt||/\n\n(?!\s*$)/.test(Rt),Ke!==we-1&&(nt=Rt.charAt(Rt.length-1)===`
|
|
|
`,ge||(ge=nt)),ge&&(St.loose=!0),ye=/^\[[ xX]\] /.test(Rt),Le=void 0,ye&&(Le=Rt[1]!==" ",Rt=Rt.replace(/^\[[ xX]\] +/,"")),St.items.push({type:"list_item",raw:Y,task:ye,checked:Le,loose:ge,text:Rt});return St}},Tt.html=function(Ue){var G=this.rules.block.html.exec(Ue);if(G)return{type:this.options.sanitize?"paragraph":"html",raw:G[0],pre:!this.options.sanitizer&&(G[1]==="pre"||G[1]==="script"||G[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(G[0]):X(G[0]):G[0]}},Tt.def=function(Ue){var G=this.rules.block.def.exec(Ue);if(G){G[3]&&(G[3]=G[3].substring(1,G[3].length-1));var Y=G[1].toLowerCase().replace(/\s+/g," ");return{tag:Y,raw:G[0],href:G[2],title:G[3]}}},Tt.table=function(Ue){var G=this.rules.block.table.exec(Ue);if(G){var Y={type:"table",header:W(G[1].replace(/^ *| *\| *$/g,"")),align:G[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:G[3]?G[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(Y.header.length===Y.align.length){Y.raw=G[0];var Pe=Y.align.length,Be;for(Be=0;Be<Pe;Be++)/^ *-+: *$/.test(Y.align[Be])?Y.align[Be]="right":/^ *:-+: *$/.test(Y.align[Be])?Y.align[Be]="center":/^ *:-+ *$/.test(Y.align[Be])?Y.align[Be]="left":Y.align[Be]=null;for(Pe=Y.cells.length,Be=0;Be<Pe;Be++)Y.cells[Be]=W(Y.cells[Be].replace(/^ *\| *| *\| *$/g,""),Y.header.length);return Y}}},Tt.lheading=function(Ue){var G=this.rules.block.lheading.exec(Ue);if(G)return{type:"heading",raw:G[0],depth:G[2].charAt(0)==="="?1:2,text:G[1]}},Tt.paragraph=function(Ue){var G=this.rules.block.paragraph.exec(Ue);if(G)return{type:"paragraph",raw:G[0],text:G[1].charAt(G[1].length-1)===`
|
|
|
`?G[1].slice(0,-1):G[1]}},Tt.text=function(Ue,G){var Y=this.rules.block.text.exec(Ue);if(Y){var Pe=G[G.length-1];return Pe&&Pe.type==="text"?{raw:Y[0],text:Y[0]}:{type:"text",raw:Y[0],text:Y[0]}}},Tt.escape=function(Ue){var G=this.rules.inline.escape.exec(Ue);if(G)return{type:"escape",raw:G[0],text:X(G[1])}},Tt.tag=function(Ue,G,Y){var Pe=this.rules.inline.tag.exec(Ue);if(Pe)return!G&&/^<a /i.test(Pe[0])?G=!0:G&&/^<\/a>/i.test(Pe[0])&&(G=!1),!Y&&/^<(pre|code|kbd|script)(\s|>)/i.test(Pe[0])?Y=!0:Y&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Pe[0])&&(Y=!1),{type:this.options.sanitize?"text":"html",raw:Pe[0],inLink:G,inRawBlock:Y,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pe[0]):X(Pe[0]):Pe[0]}},Tt.link=function(Ue){var G=this.rules.inline.link.exec(Ue);if(G){var Y=K(G[2],"()");if(Y>-1){var Pe=G[0].indexOf("!")===0?5:4,Be=Pe+G[1].length+Y;G[2]=G[2].substring(0,Y),G[0]=G[0].substring(0,Be).trim(),G[3]=""}var J=G[2],St="";if(this.options.pedantic){var bt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(J);bt?(J=bt[1],St=bt[3]):St=""}else St=G[3]?G[3].slice(1,-1):"";J=J.trim().replace(/^<([\s\S]*)>$/,"$1");var nt=$(G,{href:J&&J.replace(this.rules.inline._escapes,"$1"),title:St&&St.replace(this.rules.inline._escapes,"$1")},G[0]);return nt}},Tt.reflink=function(Ue,G){var Y;if((Y=this.rules.inline.reflink.exec(Ue))||(Y=this.rules.inline.nolink.exec(Ue))){var Pe=(Y[2]||Y[1]).replace(/\s+/g," ");if(Pe=G[Pe.toLowerCase()],!Pe||!Pe.href){var Be=Y[0].charAt(0);return{type:"text",raw:Be,text:Be}}var J=$(Y,Pe,Y[0]);return J}},Tt.strong=function(Ue,G,Y){Y===void 0&&(Y="");var Pe=this.rules.inline.strong.start.exec(Ue);if(Pe&&(!Pe[1]||Pe[1]&&(Y===""||this.rules.inline.punctuation.exec(Y)))){G=G.slice(-1*Ue.length);var Be=Pe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Be.lastIndex=0;for(var J;(Pe=Be.exec(G))!=null;)if(J=this.rules.inline.strong.middle.exec(G.slice(0,Pe.index+3)),J)return{type:"strong",raw:Ue.slice(0,J[0].length),text:Ue.slice(2,J[0].length-2)}}},Tt.em=function(Ue,G,Y){Y===void 0&&(Y="");var Pe=this.rules.inline.em.start.exec(Ue);if(Pe&&(!Pe[1]||Pe[1]&&(Y===""||this.rules.inline.punctuation.exec(Y)))){G=G.slice(-1*Ue.length);var Be=Pe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Be.lastIndex=0;for(var J;(Pe=Be.exec(G))!=null;)if(J=this.rules.inline.em.middle.exec(G.slice(0,Pe.index+2)),J)return{type:"em",raw:Ue.slice(0,J[0].length),text:Ue.slice(1,J[0].length-1)}}},Tt.codespan=function(Ue){var G=this.rules.inline.code.exec(Ue);if(G){var Y=G[2].replace(/\n/g," "),Pe=/[^ ]/.test(Y),Be=Y.startsWith(" ")&&Y.endsWith(" ");return Pe&&Be&&(Y=Y.substring(1,Y.length-1)),Y=X(Y,!0),{type:"codespan",raw:G[0],text:Y}}},Tt.br=function(Ue){var G=this.rules.inline.br.exec(Ue);if(G)return{type:"br",raw:G[0]}},Tt.del=function(Ue){var G=this.rules.inline.del.exec(Ue);if(G)return{type:"del",raw:G[0],text:G[1]}},Tt.autolink=function(Ue,G){var Y=this.rules.inline.autolink.exec(Ue);if(Y){var Pe,Be;return Y[2]==="@"?(Pe=X(this.options.mangle?G(Y[1]):Y[1]),Be="mailto:"+Pe):(Pe=X(Y[1]),Be=Pe),{type:"link",raw:Y[0],text:Pe,href:Be,tokens:[{type:"text",raw:Pe,text:Pe}]}}},Tt.url=function(Ue,G){var Y;if(Y=this.rules.inline.url.exec(Ue)){var Pe,Be;if(Y[2]==="@")Pe=X(this.options.mangle?G(Y[0]):Y[0]),Be="mailto:"+Pe;else{var J;do J=Y[0],Y[0]=this.rules.inline._backpedal.exec(Y[0])[0];while(J!==Y[0]);Pe=X(Y[0]),Y[1]==="www."?Be="http://"+Pe:Be=Pe}return{type:"link",raw:Y[0],text:Pe,href:Be,tokens:[{type:"text",raw:Pe,text:Pe}]}}},Tt.inlineText=function(Ue,G,Y){var Pe=this.rules.inline.text.exec(Ue);if(Pe){var Be;return G?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pe[0]):X(Pe[0]):Pe[0]:Be=X(this.options.smartypants?Y(Pe[0]):Pe[0]),{type:"text",raw:Pe[0],text:Be}}},kt}(),te=U.noopTest,Te=U.edit,Ie=U.merge,Fe={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:te,table:te,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Fe._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Fe._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Fe.def=Te(Fe.def).replace("label",Fe._label).replace("title",Fe._title).getRegex(),Fe.bullet=/(?:[*+-]|\d{1,9}[.)])/,Fe.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Fe.item=Te(Fe.item,"gm").replace(/bull/g,Fe.bullet).getRegex(),Fe.list=Te(Fe.list).replace(/bull/g,Fe.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Fe.def.source+")").getRegex(),Fe._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",Fe._comment=/<!--(?!-?>)[\s\S]*?-->/,Fe.html=Te(Fe.html,"i").replace("comment",Fe._comment).replace("tag",Fe._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Fe.paragraph=Te(Fe._paragraph).replace("hr",Fe.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",Fe._tag).getRegex(),Fe.blockquote=Te(Fe.blockquote).replace("paragraph",Fe.paragraph).getRegex(),Fe.normal=Ie({},Fe),Fe.gfm=Ie({},Fe.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*|$)"}),Fe.gfm.nptable=Te(Fe.gfm.nptable).replace("hr",Fe.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",Fe._tag).getRegex(),Fe.gfm.table=Te(Fe.gfm.table).replace("hr",Fe.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",Fe._tag).getRegex(),Fe.pedantic=Ie({},Fe.normal,{html:Te(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Fe._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:te,paragraph:Te(Fe.normal._paragraph).replace("hr",Fe.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",Fe.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Qe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:te,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:te,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Qe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Qe.punctuation=Te(Qe.punctuation).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Qe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Qe.em.start=Te(Qe.em.start).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.em.middle=Te(Qe.em.middle).replace(/punctuation/g,Qe._punctuation).replace(/overlapSkip/g,Qe._overlapSkip).getRegex(),Qe.em.endAst=Te(Qe.em.endAst,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.em.endUnd=Te(Qe.em.endUnd,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.start=Te(Qe.strong.start).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.middle=Te(Qe.strong.middle).replace(/punctuation/g,Qe._punctuation).replace(/blockSkip/g,Qe._blockSkip).getRegex(),Qe.strong.endAst=Te(Qe.strong.endAst,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.endUnd=Te(Qe.strong.endUnd,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.blockSkip=Te(Qe._blockSkip,"g").getRegex(),Qe.overlapSkip=Te(Qe._overlapSkip,"g").getRegex(),Qe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Qe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Qe._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])?)+(?![-_])/,Qe.autolink=Te(Qe.autolink).replace("scheme",Qe._scheme).replace("email",Qe._email).getRegex(),Qe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Qe.tag=Te(Qe.tag).replace("comment",Fe._comment).replace("attribute",Qe._attribute).getRegex(),Qe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Qe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Qe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Qe.link=Te(Qe.link).replace("label",Qe._label).replace("href",Qe._href).replace("title",Qe._title).getRegex(),Qe.reflink=Te(Qe.reflink).replace("label",Qe._label).getRegex(),Qe.reflinkSearch=Te(Qe.reflinkSearch,"g").replace("reflink",Qe.reflink).replace("nolink",Qe.nolink).getRegex(),Qe.normal=Ie({},Qe),Qe.pedantic=Ie({},Qe.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:Te(/^!?\[(label)\]\((.*?)\)/).replace("label",Qe._label).getRegex(),reflink:Te(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Qe._label).getRegex()}),Qe.gfm=Ie({},Qe.normal,{escape:Te(Qe.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Qe.gfm.url=Te(Qe.gfm.url,"i").replace("email",Qe.gfm._extended_email).getRegex(),Qe.breaks=Ie({},Qe.gfm,{br:Te(Qe.br).replace("{2,}","*").getRegex(),text:Te(Qe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var fe={block:Fe,inline:Qe},He=c.defaults,se=fe.block,Ce=fe.inline;function mt(kt){return kt.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 Ne(kt){var Tt="",Dt,Ue,G=kt.length;for(Dt=0;Dt<G;Dt++)Ue=kt.charCodeAt(Dt),Math.random()>.5&&(Ue="x"+Ue.toString(16)),Tt+="&#"+Ue+";";return Tt}var ae=function(){function kt(Dt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Dt||He,this.options.tokenizer=this.options.tokenizer||new be,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ue={block:se.normal,inline:Ce.normal};this.options.pedantic?(Ue.block=se.pedantic,Ue.inline=Ce.pedantic):this.options.gfm&&(Ue.block=se.gfm,this.options.breaks?Ue.inline=Ce.breaks:Ue.inline=Ce.gfm),this.tokenizer.rules=Ue}kt.lex=function(Ue,G){var Y=new kt(G);return Y.lex(Ue)};var Tt=kt.prototype;return Tt.lex=function(Ue){return Ue=Ue.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ue,this.tokens,!0),this.inline(this.tokens),this.tokens},Tt.blockTokens=function(Ue,G,Y){G===void 0&&(G=[]),Y===void 0&&(Y=!0),Ue=Ue.replace(/^ +$/gm,"");for(var Pe,Be,J,St;Ue;){if(Pe=this.tokenizer.space(Ue)){Ue=Ue.substring(Pe.raw.length),Pe.type&&G.push(Pe);continue}if(Pe=this.tokenizer.code(Ue,G)){Ue=Ue.substring(Pe.raw.length),Pe.type?G.push(Pe):(St=G[G.length-1],St.raw+=`
|
|
|
`+Pe.raw,St.text+=`
|
|
|
`+Pe.text);continue}if(Pe=this.tokenizer.fences(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.heading(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.nptable(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.hr(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.blockquote(Ue)){Ue=Ue.substring(Pe.raw.length),Pe.tokens=this.blockTokens(Pe.text,[],Y),G.push(Pe);continue}if(Pe=this.tokenizer.list(Ue)){for(Ue=Ue.substring(Pe.raw.length),J=Pe.items.length,Be=0;Be<J;Be++)Pe.items[Be].tokens=this.blockTokens(Pe.items[Be].text,[],!1);G.push(Pe);continue}if(Pe=this.tokenizer.html(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Y&&(Pe=this.tokenizer.def(Ue))){Ue=Ue.substring(Pe.raw.length),this.tokens.links[Pe.tag]||(this.tokens.links[Pe.tag]={href:Pe.href,title:Pe.title});continue}if(Pe=this.tokenizer.table(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.lheading(Ue)){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Y&&(Pe=this.tokenizer.paragraph(Ue))){Ue=Ue.substring(Pe.raw.length),G.push(Pe);continue}if(Pe=this.tokenizer.text(Ue,G)){Ue=Ue.substring(Pe.raw.length),Pe.type?G.push(Pe):(St=G[G.length-1],St.raw+=`
|
|
|
`+Pe.raw,St.text+=`
|
|
|
`+Pe.text);continue}if(Ue){var bt="Infinite loop on byte: "+Ue.charCodeAt(0);if(this.options.silent){console.error(bt);break}else throw new Error(bt)}}return G},Tt.inline=function(Ue){var G,Y,Pe,Be,J,St,bt=Ue.length;for(G=0;G<bt;G++){St=Ue[G];switch(St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Be=St.header.length,Y=0;Y<Be;Y++)St.tokens.header[Y]=[],this.inlineTokens(St.header[Y],St.tokens.header[Y]);for(Be=St.cells.length,Y=0;Y<Be;Y++)for(J=St.cells[Y],St.tokens.cells[Y]=[],Pe=0;Pe<J.length;Pe++)St.tokens.cells[Y][Pe]=[],this.inlineTokens(J[Pe],St.tokens.cells[Y][Pe]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Be=St.items.length,Y=0;Y<Be;Y++)this.inline(St.items[Y].tokens);break}}}return Ue},Tt.inlineTokens=function(Ue,G,Y,Pe,Be){G===void 0&&(G=[]),Y===void 0&&(Y=!1),Pe===void 0&&(Pe=!1),Be===void 0&&(Be="");var J,St=Ue,bt;if(this.tokens.links){var nt=Object.keys(this.tokens.links);if(nt.length>0)for(;(bt=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)nt.includes(bt[0].slice(bt[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,bt.index)+"["+"a".repeat(bt[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(bt=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,bt.index)+"["+"a".repeat(bt[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ue;){if(J=this.tokenizer.escape(Ue)){Ue=Ue.substring(J.raw.length),G.push(J);continue}if(J=this.tokenizer.tag(Ue,Y,Pe)){Ue=Ue.substring(J.raw.length),Y=J.inLink,Pe=J.inRawBlock,G.push(J);continue}if(J=this.tokenizer.link(Ue)){Ue=Ue.substring(J.raw.length),J.type==="link"&&(J.tokens=this.inlineTokens(J.text,[],!0,Pe)),G.push(J);continue}if(J=this.tokenizer.reflink(Ue,this.tokens.links)){Ue=Ue.substring(J.raw.length),J.type==="link"&&(J.tokens=this.inlineTokens(J.text,[],!0,Pe)),G.push(J);continue}if(J=this.tokenizer.strong(Ue,St,Be)){Ue=Ue.substring(J.raw.length),J.tokens=this.inlineTokens(J.text,[],Y,Pe),G.push(J);continue}if(J=this.tokenizer.em(Ue,St,Be)){Ue=Ue.substring(J.raw.length),J.tokens=this.inlineTokens(J.text,[],Y,Pe),G.push(J);continue}if(J=this.tokenizer.codespan(Ue)){Ue=Ue.substring(J.raw.length),G.push(J);continue}if(J=this.tokenizer.br(Ue)){Ue=Ue.substring(J.raw.length),G.push(J);continue}if(J=this.tokenizer.del(Ue)){Ue=Ue.substring(J.raw.length),J.tokens=this.inlineTokens(J.text,[],Y,Pe),G.push(J);continue}if(J=this.tokenizer.autolink(Ue,Ne)){Ue=Ue.substring(J.raw.length),G.push(J);continue}if(!Y&&(J=this.tokenizer.url(Ue,Ne))){Ue=Ue.substring(J.raw.length),G.push(J);continue}if(J=this.tokenizer.inlineText(Ue,Pe,mt)){Ue=Ue.substring(J.raw.length),Be=J.raw.slice(-1),G.push(J);continue}if(Ue){var Rt="Infinite loop on byte: "+Ue.charCodeAt(0);if(this.options.silent){console.error(Rt);break}else throw new Error(Rt)}}return G},f(kt,null,[{key:"rules",get:function(){return{block:se,inline:Ce}}}]),kt}(),ce=c.defaults,le=U.cleanUrl,je=U.escape,Re=function(){function kt(Dt){this.options=Dt||ce}var Tt=kt.prototype;return Tt.code=function(Ue,G,Y){var Pe=(G||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(Ue,Pe);Be!=null&&Be!==Ue&&(Y=!0,Ue=Be)}return Pe?'<pre><code class="'+this.options.langPrefix+je(Pe,!0)+'">'+(Y?Ue:je(Ue,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(Y?Ue:je(Ue,!0))+`</code></pre>
|
|
|
`},Tt.blockquote=function(Ue){return`<blockquote>
|
|
|
`+Ue+`</blockquote>
|
|
|
`},Tt.html=function(Ue){return Ue},Tt.heading=function(Ue,G,Y,Pe){return this.options.headerIds?"<h"+G+' id="'+this.options.headerPrefix+Pe.slug(Y)+'">'+Ue+"</h"+G+`>
|
|
|
`:"<h"+G+">"+Ue+"</h"+G+`>
|
|
|
`},Tt.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Tt.list=function(Ue,G,Y){var Pe=G?"ol":"ul",Be=G&&Y!==1?' start="'+Y+'"':"";return"<"+Pe+Be+`>
|
|
|
`+Ue+"</"+Pe+`>
|
|
|
`},Tt.listitem=function(Ue){return"<li>"+Ue+`</li>
|
|
|
`},Tt.checkbox=function(Ue){return"<input "+(Ue?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Tt.paragraph=function(Ue){return"<p>"+Ue+`</p>
|
|
|
`},Tt.table=function(Ue,G){return G&&(G="<tbody>"+G+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ue+`</thead>
|
|
|
`+G+`</table>
|
|
|
`},Tt.tablerow=function(Ue){return`<tr>
|
|
|
`+Ue+`</tr>
|
|
|
`},Tt.tablecell=function(Ue,G){var Y=G.header?"th":"td",Pe=G.align?"<"+Y+' align="'+G.align+'">':"<"+Y+">";return Pe+Ue+"</"+Y+`>
|
|
|
`},Tt.strong=function(Ue){return"<strong>"+Ue+"</strong>"},Tt.em=function(Ue){return"<em>"+Ue+"</em>"},Tt.codespan=function(Ue){return"<code>"+Ue+"</code>"},Tt.br=function(){return this.options.xhtml?"<br/>":"<br>"},Tt.del=function(Ue){return"<del>"+Ue+"</del>"},Tt.link=function(Ue,G,Y){if(Ue=le(this.options.sanitize,this.options.baseUrl,Ue),Ue===null)return Y;var Pe='<a href="'+je(Ue)+'"';return G&&(Pe+=' title="'+G+'"'),Pe+=">"+Y+"</a>",Pe},Tt.image=function(Ue,G,Y){if(Ue=le(this.options.sanitize,this.options.baseUrl,Ue),Ue===null)return Y;var Pe='<img src="'+Ue+'" alt="'+Y+'"';return G&&(Pe+=' title="'+G+'"'),Pe+=this.options.xhtml?"/>":">",Pe},Tt.text=function(Ue){return Ue},kt}(),Ze=function(){function kt(){}var Tt=kt.prototype;return Tt.strong=function(Ue){return Ue},Tt.em=function(Ue){return Ue},Tt.codespan=function(Ue){return Ue},Tt.del=function(Ue){return Ue},Tt.html=function(Ue){return Ue},Tt.text=function(Ue){return Ue},Tt.link=function(Ue,G,Y){return""+Y},Tt.image=function(Ue,G,Y){return""+Y},Tt.br=function(){return""},kt}(),De=function(){function kt(){this.seen={}}var Tt=kt.prototype;return Tt.slug=function(Ue){var G=Ue.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(G)){var Y=G;do this.seen[Y]++,G=Y+"-"+this.seen[Y];while(this.seen.hasOwnProperty(G))}return this.seen[G]=0,G},kt}(),ne=c.defaults,he=U.unescape,pe=function(){function kt(Dt){this.options=Dt||ne,this.options.renderer=this.options.renderer||new Re,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ze,this.slugger=new De}kt.parse=function(Ue,G){var Y=new kt(G);return Y.parse(Ue)};var Tt=kt.prototype;return Tt.parse=function(Ue,G){G===void 0&&(G=!0);var Y="",Pe,Be,J,St,bt,nt,Rt,zt,Fr,Jt,ge,ye,Le,we,Ke,Je,ut,vt,_t=Ue.length;for(Pe=0;Pe<_t;Pe++){Jt=Ue[Pe];switch(Jt.type){case"space":continue;case"hr":{Y+=this.renderer.hr();continue}case"heading":{Y+=this.renderer.heading(this.parseInline(Jt.tokens),Jt.depth,he(this.parseInline(Jt.tokens,this.textRenderer)),this.slugger);continue}case"code":{Y+=this.renderer.code(Jt.text,Jt.lang,Jt.escaped);continue}case"table":{for(zt="",Rt="",St=Jt.header.length,Be=0;Be<St;Be++)Rt+=this.renderer.tablecell(this.parseInline(Jt.tokens.header[Be]),{header:!0,align:Jt.align[Be]});for(zt+=this.renderer.tablerow(Rt),Fr="",St=Jt.cells.length,Be=0;Be<St;Be++){for(nt=Jt.tokens.cells[Be],Rt="",bt=nt.length,J=0;J<bt;J++)Rt+=this.renderer.tablecell(this.parseInline(nt[J]),{header:!1,align:Jt.align[J]});Fr+=this.renderer.tablerow(Rt)}Y+=this.renderer.table(zt,Fr);continue}case"blockquote":{Fr=this.parse(Jt.tokens),Y+=this.renderer.blockquote(Fr);continue}case"list":{for(ge=Jt.ordered,ye=Jt.start,Le=Jt.loose,St=Jt.items.length,Fr="",Be=0;Be<St;Be++)Ke=Jt.items[Be],Je=Ke.checked,ut=Ke.task,we="",Ke.task&&(vt=this.renderer.checkbox(Je),Le?Ke.tokens.length>0&&Ke.tokens[0].type==="text"?(Ke.tokens[0].text=vt+" "+Ke.tokens[0].text,Ke.tokens[0].tokens&&Ke.tokens[0].tokens.length>0&&Ke.tokens[0].tokens[0].type==="text"&&(Ke.tokens[0].tokens[0].text=vt+" "+Ke.tokens[0].tokens[0].text)):Ke.tokens.unshift({type:"text",text:vt}):we+=vt),we+=this.parse(Ke.tokens,Le),Fr+=this.renderer.listitem(we,ut,Je);Y+=this.renderer.list(Fr,ge,ye);continue}case"html":{Y+=this.renderer.html(Jt.text);continue}case"paragraph":{Y+=this.renderer.paragraph(this.parseInline(Jt.tokens));continue}case"text":{for(Fr=Jt.tokens?this.parseInline(Jt.tokens):Jt.text;Pe+1<_t&&Ue[Pe+1].type==="text";)Jt=Ue[++Pe],Fr+=`
|
|
|
`+(Jt.tokens?this.parseInline(Jt.tokens):Jt.text);Y+=G?this.renderer.paragraph(Fr):Fr;continue}default:{var Ut='Token with "'+Jt.type+'" type was not found.';if(this.options.silent){console.error(Ut);return}else throw new Error(Ut)}}}return Y},Tt.parseInline=function(Ue,G){G=G||this.renderer;var Y="",Pe,Be,J=Ue.length;for(Pe=0;Pe<J;Pe++){Be=Ue[Pe];switch(Be.type){case"escape":{Y+=G.text(Be.text);break}case"html":{Y+=G.html(Be.text);break}case"link":{Y+=G.link(Be.href,Be.title,this.parseInline(Be.tokens,G));break}case"image":{Y+=G.image(Be.href,Be.title,Be.text);break}case"strong":{Y+=G.strong(this.parseInline(Be.tokens,G));break}case"em":{Y+=G.em(this.parseInline(Be.tokens,G));break}case"codespan":{Y+=G.codespan(Be.text);break}case"br":{Y+=G.br();break}case"del":{Y+=G.del(this.parseInline(Be.tokens,G));break}case"text":{Y+=G.text(Be.text);break}default:{var St='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}}return Y},kt}(),Xe=U.merge,lt=U.checkSanitizeDeprecation,At=U.escape,Me=c.getDefaults,Ht=c.changeDefaults,tt=c.defaults;function Mt(kt,Tt,Dt){if(typeof kt=="undefined"||kt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof kt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(kt)+", string expected");if(typeof Tt=="function"&&(Dt=Tt,Tt=null),Tt=Xe({},Mt.defaults,Tt||{}),lt(Tt),Dt){var Ue=Tt.highlight,G;try{G=ae.lex(kt,Tt)}catch(J){return Dt(J)}var Y=function(St){var bt;if(!St)try{bt=pe.parse(G,Tt)}catch(nt){St=nt}return Tt.highlight=Ue,St?Dt(St):Dt(null,bt)};if(!Ue||Ue.length<3)return Y();if(delete Tt.highlight,!G.length)return Y();var Pe=0;Mt.walkTokens(G,function(J){J.type==="code"&&(Pe++,setTimeout(function(){Ue(J.text,J.lang,function(St,bt){if(St)return Y(St);bt!=null&&bt!==J.text&&(J.text=bt,J.escaped=!0),Pe--,Pe===0&&Y()})},0))}),Pe===0&&Y();return}try{var Be=ae.lex(kt,Tt);return Tt.walkTokens&&Mt.walkTokens(Be,Tt.walkTokens),pe.parse(Be,Tt)}catch(J){if(J.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Tt.silent)return"<p>An error occurred:</p><pre>"+At(J.message+"",!0)+"</pre>";throw J}}Mt.options=Mt.setOptions=function(kt){return Xe(Mt.defaults,kt),Ht(Mt.defaults),Mt},Mt.getDefaults=Me,Mt.defaults=tt,Mt.use=function(kt){var Tt=Xe({},kt);if(kt.renderer&&function(){var Ue=Mt.defaults.renderer||new Re,G=function(Be){var J=Ue[Be];Ue[Be]=function(){for(var St=arguments.length,bt=new Array(St),nt=0;nt<St;nt++)bt[nt]=arguments[nt];var Rt=kt.renderer[Be].apply(Ue,bt);return Rt===!1&&(Rt=J.apply(Ue,bt)),Rt}};for(var Y in kt.renderer)G(Y);Tt.renderer=Ue}(),kt.tokenizer&&function(){var Ue=Mt.defaults.tokenizer||new be,G=function(Be){var J=Ue[Be];Ue[Be]=function(){for(var St=arguments.length,bt=new Array(St),nt=0;nt<St;nt++)bt[nt]=arguments[nt];var Rt=kt.tokenizer[Be].apply(Ue,bt);return Rt===!1&&(Rt=J.apply(Ue,bt)),Rt}};for(var Y in kt.tokenizer)G(Y);Tt.tokenizer=Ue}(),kt.walkTokens){var Dt=Mt.defaults.walkTokens;Tt.walkTokens=function(Ue){kt.walkTokens(Ue),Dt&&Dt(Ue)}}Mt.setOptions(Tt)},Mt.walkTokens=function(kt,Tt){for(var Dt=g(kt),Ue;!(Ue=Dt()).done;){var G=Ue.value;Tt(G);switch(G.type){case"table":{for(var Y=g(G.tokens.header),Pe;!(Pe=Y()).done;){var Be=Pe.value;Mt.walkTokens(Be,Tt)}for(var J=g(G.tokens.cells),St;!(St=J()).done;)for(var bt=St.value,nt=g(bt),Rt;!(Rt=nt()).done;){var zt=Rt.value;Mt.walkTokens(zt,Tt)}break}case"list":{Mt.walkTokens(G.items,Tt);break}default:G.tokens&&Mt.walkTokens(G.tokens,Tt)}}},Mt.Parser=pe,Mt.parser=pe.parse,Mt.Renderer=Re,Mt.TextRenderer=Ze,Mt.Lexer=ae,Mt.lexer=ae.lex,Mt.Tokenizer=be,Mt.Slugger=De,Mt.parse=Mt;var jt=Mt;return jt})},"DlR+":function(R,N,e){var A=e("MFOe"),f=A.Global,x=A.trim;R.exports={name:"cookieStorage",read:g,write:c,each:p,remove:s,clearAll:a};var m=f.document;function g(i){if(!i||!n(i))return null;var d="(?:^|.*;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(d),"$1"))}function p(i){for(var d=m.cookie.split(/; ?/g),t=d.length-1;t>=0;t--){if(!x(d[t]))continue;var l=d[t].split("="),r=unescape(l[0]),o=unescape(l[1]);i(o,r)}}function c(i,d){if(!i)return;m.cookie=escape(i)+"="+escape(d)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function s(i){if(!i||!n(i))return;m.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function a(){p(function(i,d){s(d)})}function n(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("+TT/"),m=e("XpcN"),g=f.Group,p=["width","height"],c=["x","y"],s=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){s.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new g),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g),this._showController},resetInner:function(){s.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,i,d,t,l,r,o){var u=this;s.superCall(this,"renderInner",n,i,d,t,l,r,o);var h=this._controllerGroup,y=i.get("pageIconSize",!0);A.isArray(y)||(y=[y,y]),E("pagePrev",0);var b=i.getModel("pageTextStyle");h.add(new f.Text({name:"pageText",style:{textFill:b.getTextColor(),font:b.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),E("pageNext",1);function E(v,w){var O=v+"DataIndex",T=f.createIcon(i.get("pageIcons",!0)[i.getOrient().name][w],{onclick:A.bind(u._pageGo,u,O,i,t)},{x:-y[0]/2,y:-y[1]/2,width:y[0],height:y[1]});T.name=v,h.add(T)}},layoutInner:function(n,i,d,t,l,r){var o=this.getSelectorGroup(),u=n.getOrient().index,h=p[u],y=c[u],b=p[1-u],E=c[1-u];l&&x.box("horizontal",o,n.get("selectorItemGap",!0));var v=n.get("selectorButtonGap",!0),w=o.getBoundingRect(),O=[-w.x,-w.y],T=A.clone(d);l&&(T[h]=d[h]-w[h]-v);var S=this._layoutContentAndController(n,t,T,u,h,b,E);if(l){if(r==="end")O[u]+=S[h]+v;else{var C=w[h]+v;O[u]-=C,S[y]-=C}S[h]+=w[h]+v,O[1-u]+=S[E]+S[b]/2-w[b]/2,S[b]=Math.max(S[b],w[b]),S[E]=Math.min(S[E],w[E]+O[1-u]),o.attr("position",O)}return S},_layoutContentAndController:function(n,i,d,t,l,r,o){var u=this.getContentGroup(),h=this._containerGroup,y=this._controllerGroup;x.box(n.get("orient"),u,n.get("itemGap"),t?d.width:null,t?null:d.height),x.box("horizontal",y,n.get("pageButtonItemGap",!0));var b=u.getBoundingRect(),E=y.getBoundingRect(),v=this._showController=b[l]>d[l],w=[-b.x,-b.y];i||(w[t]=u.position[t]);var O=[0,0],T=[-E.x,-E.y],S=A.retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(v){var C=n.get("pageButtonPosition",!0);C==="end"?T[t]+=d[l]-E[l]:O[t]+=E[l]+S}T[1-t]+=b[r]/2-E[r]/2,u.attr("position",w),h.attr("position",O),y.attr("position",T);var _={x:0,y:0};if(_[l]=v?d[l]:b[l],_[r]=Math.max(b[r],E[r]),_[o]=Math.min(0,E[o]+T[1-t]),h.__rectSize=d[l],v){var I={x:0,y:0};I[l]=Math.max(d[l]-E[l]-S,0),I[r]=_[r],h.setClipPath(new f.Rect({shape:I})),h.__rectSize=I[l]}else y.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var k=this._getPageInfo(n);return k.pageIndex!=null&&f.updateProps(u,{position:k.contentPosition},v?n:!1),this._updatePageInfoView(n,k),_},_pageGo:function(n,i,d){var t=this._getPageInfo(i)[n];t!=null&&d.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:i.id})},_updatePageInfoView:function(n,i){var d=this._controllerGroup;A.each(["pagePrev","pageNext"],function(h){var y=i[h+"DataIndex"]!=null,b=d.childOfName(h);b&&(b.setStyle("fill",y?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),b.cursor=y?"pointer":"default")});var t=d.childOfName("pageText"),l=n.get("pageFormatter"),r=i.pageIndex,o=r!=null?r+1:0,u=i.pageCount;t&&l&&t.setStyle("text",A.isString(l)?l.replace("{current}",o).replace("{total}",u):l({current:o,total:u}))},_getPageInfo:function(n){var i=n.get("scrollDataIndex",!0),d=this.getContentGroup(),t=this._containerGroup.__rectSize,l=n.getOrient().index,r=p[l],o=c[l],u=this._findTargetItemIndex(i),h=d.children(),y=h[u],b=h.length,E=b?1:0,v={contentPosition:d.position.slice(),pageCount:E,pageIndex:E-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!y)return v;var w=_(y);v.contentPosition[l]=-w.s;for(var O=u+1,T=w,S=w,C=null;O<=b;++O)C=_(h[O]),(!C&&S.e>T.s+t||C&&!I(C,T.s))&&(S.i>T.i?T=S:T=C,T&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=T.i),++v.pageCount)),S=C;for(var O=u-1,T=w,S=w,C=null;O>=-1;--O)C=_(h[O]),(!C||!I(S,C.s))&&T.i<S.i&&(S=T,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=T.i),++v.pageCount,++v.pageIndex),T=C;return v;function _(k){if(k){var F=k.getBoundingRect(),B=F[o]+k.position[l];return{s:B,e:B+F[r],i:k.__legendDataIndex}}}function I(k,F){return k.e>=F&&k.s<=F+t}},_findTargetItemIndex:function(n){if(!this._showController)return 0;var i,d=this.getContentGroup(),t;return d.eachChild(function(l,r){var o=l.__legendDataIndex;t==null&&o!=null&&(t=r),o===n&&(i=r)}),i!=null?i:t}}),a=s;R.exports=a},"E/ki":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},E2g8:function(R,N,e){(function(A,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(x,m){R.exports=m()})(this,function(){"use strict";function x(Re){var Ze=typeof Re;return Re!==null&&(Ze==="object"||Ze==="function")}function m(Re){return typeof Re=="function"}var g=void 0;Array.isArray?g=Array.isArray:g=function(Ze){return Object.prototype.toString.call(Ze)==="[object Array]"};var p=g,c=0,s=void 0,a=void 0,n=function(Ze,De){w[c]=Ze,w[c+1]=De,c+=2,c===2&&(a?a(O):S())};function i(Re){a=Re}function d(Re){n=Re}var t=typeof window!="undefined"?window:void 0,l=t||{},r=l.MutationObserver||l.WebKitMutationObserver,o=typeof self=="undefined"&&typeof A!="undefined"&&{}.toString.call(A)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return A.nextTick(O)}}function y(){return typeof s!="undefined"?function(){s(O)}:v()}function b(){var Re=0,Ze=new r(O),De=document.createTextNode("");return Ze.observe(De,{characterData:!0}),function(){De.data=Re=++Re%2}}function E(){var Re=new MessageChannel;return Re.port1.onmessage=O,function(){return Re.port2.postMessage(0)}}function v(){var Re=setTimeout;return function(){return Re(O,1)}}var w=new Array(1e3);function O(){for(var Re=0;Re<c;Re+=2){var Ze=w[Re],De=w[Re+1];Ze(De),w[Re]=void 0,w[Re+1]=void 0}c=0}function T(){try{var Re=Function("return this")().require("vertx");return s=Re.runOnLoop||Re.runOnContext,y()}catch(Ze){return v()}}var S=void 0;o?S=h():r?S=b():u?S=E():t===void 0&&!0?S=T():S=v();function C(Re,Ze){var De=this,ne=new this.constructor(k);ne[I]===void 0&&fe(ne);var he=De._state;if(he){var pe=arguments[he-1];n(function(){return Te(he,ne,pe,De._result)})}else be(De,ne,Re,Ze);return ne}function _(Re){var Ze=this;if(Re&&typeof Re=="object"&&Re.constructor===Ze)return Re;var De=new Ze(k);return X(De,Re),De}var I=Math.random().toString(36).substring(2);function k(){}var F=void 0,B=1,j=2;function z(){return new TypeError("You cannot resolve a promise with itself")}function M(){return new TypeError("A promises callback cannot return that same promise.")}function U(Re,Ze,De,ne){try{Re.call(Ze,De,ne)}catch(he){return he}}function P(Re,Ze,De){n(function(ne){var he=!1,pe=U(De,Ze,function(Xe){if(he)return;he=!0,Ze!==Xe?X(ne,Xe):$(ne,Xe)},function(Xe){if(he)return;he=!0,ie(ne,Xe)},"Settle: "+(ne._label||" unknown promise"));!he&&pe&&(he=!0,ie(ne,pe))},Re)}function H(Re,Ze){Ze._state===B?$(Re,Ze._result):Ze._state===j?ie(Re,Ze._result):be(Ze,void 0,function(De){return X(Re,De)},function(De){return ie(Re,De)})}function W(Re,Ze,De){Ze.constructor===Re.constructor&&De===C&&Ze.constructor.resolve===_?H(Re,Ze):De===void 0?$(Re,Ze):m(De)?P(Re,Ze,De):$(Re,Ze)}function X(Re,Ze){if(Re===Ze)ie(Re,z());else if(x(Ze)){var De=void 0;try{De=Ze.then}catch(ne){ie(Re,ne);return}W(Re,Ze,De)}else $(Re,Ze)}function K(Re){Re._onerror&&Re._onerror(Re._result),te(Re)}function $(Re,Ze){if(Re._state!==F)return;Re._result=Ze,Re._state=B,Re._subscribers.length!==0&&n(te,Re)}function ie(Re,Ze){if(Re._state!==F)return;Re._state=j,Re._result=Ze,n(K,Re)}function be(Re,Ze,De,ne){var he=Re._subscribers,pe=he.length;Re._onerror=null,he[pe]=Ze,he[pe+B]=De,he[pe+j]=ne,pe===0&&Re._state&&n(te,Re)}function te(Re){var Ze=Re._subscribers,De=Re._state;if(Ze.length===0)return;for(var ne=void 0,he=void 0,pe=Re._result,Xe=0;Xe<Ze.length;Xe+=3)ne=Ze[Xe],he=Ze[Xe+De],ne?Te(De,ne,he,pe):he(pe);Re._subscribers.length=0}function Te(Re,Ze,De,ne){var he=m(De),pe=void 0,Xe=void 0,lt=!0;if(he){try{pe=De(ne)}catch(At){lt=!1,Xe=At}if(Ze===pe){ie(Ze,M());return}}else pe=ne;Ze._state!==F||(he&<?X(Ze,pe):lt===!1?ie(Ze,Xe):Re===B?$(Ze,pe):Re===j&&ie(Ze,pe))}function Ie(Re,Ze){try{Ze(function(ne){X(Re,ne)},function(ne){ie(Re,ne)})}catch(De){ie(Re,De)}}var Fe=0;function Qe(){return Fe++}function fe(Re){Re[I]=Fe++,Re._state=void 0,Re._result=void 0,Re._subscribers=[]}function He(){return new Error("Array Methods must be provided an Array")}var se=function(){function Re(Ze,De){this._instanceConstructor=Ze,this.promise=new Ze(k),this.promise[I]||fe(this.promise),p(De)?(this.length=De.length,this._remaining=De.length,this._result=new Array(this.length),this.length===0?$(this.promise,this._result):(this.length=this.length||0,this._enumerate(De),this._remaining===0&&$(this.promise,this._result))):ie(this.promise,He())}return Re.prototype._enumerate=function(De){for(var ne=0;this._state===F&&ne<De.length;ne++)this._eachEntry(De[ne],ne)},Re.prototype._eachEntry=function(De,ne){var he=this._instanceConstructor,pe=he.resolve;if(pe===_){var Xe=void 0,lt=void 0,At=!1;try{Xe=De.then}catch(Ht){At=!0,lt=Ht}if(Xe===C&&De._state!==F)this._settledAt(De._state,ne,De._result);else if(typeof Xe!="function")this._remaining--,this._result[ne]=De;else if(he===le){var Me=new he(k);At?ie(Me,lt):W(Me,De,Xe),this._willSettleAt(Me,ne)}else this._willSettleAt(new he(function(Ht){return Ht(De)}),ne)}else this._willSettleAt(pe(De),ne)},Re.prototype._settledAt=function(De,ne,he){var pe=this.promise;pe._state===F&&(this._remaining--,De===j?ie(pe,he):this._result[ne]=he),this._remaining===0&&$(pe,this._result)},Re.prototype._willSettleAt=function(De,ne){var he=this;be(De,void 0,function(pe){return he._settledAt(B,ne,pe)},function(pe){return he._settledAt(j,ne,pe)})},Re}();function Ce(Re){return new se(this,Re).promise}function mt(Re){var Ze=this;return p(Re)?new Ze(function(De,ne){for(var he=Re.length,pe=0;pe<he;pe++)Ze.resolve(Re[pe]).then(De,ne)}):new Ze(function(De,ne){return ne(new TypeError("You must pass an array to race."))})}function Ne(Re){var Ze=this,De=new Ze(k);return ie(De,Re),De}function ae(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ce(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var le=function(){function Re(Ze){this[I]=Qe(),this._result=this._state=void 0,this._subscribers=[],k!==Ze&&(typeof Ze!="function"&&ae(),this instanceof Re?Ie(this,Ze):ce())}return Re.prototype.catch=function(De){return this.then(null,De)},Re.prototype.finally=function(De){var ne=this,he=ne.constructor;return m(De)?ne.then(function(pe){return he.resolve(De()).then(function(){return pe})},function(pe){return he.resolve(De()).then(function(){throw pe})}):ne.then(De,De)},Re}();le.prototype.then=C,le.all=Ce,le.race=mt,le.resolve=_,le.reject=Ne,le._setScheduler=i,le._setAsap=d,le._asap=n;function je(){var Re=void 0;if(typeof f!="undefined")Re=f;else if(typeof self!="undefined")Re=self;else try{Re=Function("return this")()}catch(ne){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ze=Re.Promise;if(Ze){var De=null;try{De=Object.prototype.toString.call(Ze.resolve())}catch(ne){}if(De==="[object Promise]"&&!Ze.cast)return}Re.Promise=le}return le.polyfill=je,le.Promise=le,le})}).call(this,e("Q2Ig"),e("yLpj"))},E9nw:function(R,N){R.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var A=document.activeElement,f=[],x=0;x<e.rangeCount;x++)f.push(e.getRangeAt(x));switch(A.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":A.blur();break;default:A=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(m){e.addRange(m)}),A&&A.focus()}}},ELLl:function(R,N,e){(function(A){A(e("VrN/"))})(function(A){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},x=A.Pos;A.defineOption("autoCloseBrackets",!1,function(r,o,u){u&&u!=A.Init&&(r.removeKeyMap(g),r.state.closeBrackets=null),o&&(p(m(o,"pairs")),r.state.closeBrackets=o,r.addKeyMap(g))});function m(r,o){return o=="pairs"&&typeof r=="string"?r:typeof r=="object"&&r[o]!=null?r[o]:f[o]}var g={Backspace:a,Enter:n};function p(r){for(var o=0;o<r.length;o++){var u=r.charAt(o),h="'"+u+"'";g[h]||(g[h]=c(u))}}p(f.pairs+"`");function c(r){return function(o){return d(o,r)}}function s(r){var o=r.state.closeBrackets;if(!o||o.override)return o;var u=r.getModeAt(r.getCursor());return u.closeBrackets||o}function a(r){var o=s(r);if(!o||r.getOption("disableInput"))return A.Pass;for(var u=m(o,"pairs"),h=r.listSelections(),y=0;y<h.length;y++){if(!h[y].empty())return A.Pass;var b=t(r,h[y].head);if(!b||u.indexOf(b)%2!=0)return A.Pass}for(var y=h.length-1;y>=0;y--){var E=h[y].head;r.replaceRange("",x(E.line,E.ch-1),x(E.line,E.ch+1),"+delete")}}function n(r){var o=s(r),u=o&&m(o,"explode");if(!u||r.getOption("disableInput"))return A.Pass;for(var h=r.listSelections(),y=0;y<h.length;y++){if(!h[y].empty())return A.Pass;var b=t(r,h[y].head);if(!b||u.indexOf(b)%2!=0)return A.Pass}r.operation(function(){var E=r.lineSeparator()||`
|
|
|
`;r.replaceSelection(E+E,null),r.execCommand("goCharLeft"),h=r.listSelections();for(var v=0;v<h.length;v++){var w=h[v].head.line;r.indentLine(w,null,!0),r.indentLine(w+1,null,!0)}})}function i(r){var o=A.cmpPos(r.anchor,r.head)>0;return{anchor:new x(r.anchor.line,r.anchor.ch+(o?-1:1)),head:new x(r.head.line,r.head.ch+(o?1:-1))}}function d(r,o){var u=s(r);if(!u||r.getOption("disableInput"))return A.Pass;var h=m(u,"pairs"),y=h.indexOf(o);if(y==-1)return A.Pass;for(var b=m(u,"closeBefore"),E=m(u,"triples"),v=h.charAt(y+1)==o,w=r.listSelections(),O=y%2==0,T,S=0;S<w.length;S++){var C=w[S],_=C.head,I,k=r.getRange(_,x(_.line,_.ch+1));if(O&&!C.empty())I="surround";else if((v||!O)&&k==o)v&&l(r,_)?I="both":E.indexOf(o)>=0&&r.getRange(_,x(_.line,_.ch+3))==o+o+o?I="skipThree":I="skip";else if(v&&_.ch>1&&E.indexOf(o)>=0&&r.getRange(x(_.line,_.ch-2),_)==o+o){if(_.ch>2&&/\bstring/.test(r.getTokenTypeAt(x(_.line,_.ch-2))))return A.Pass;I="addFour"}else if(v){var F=_.ch==0?" ":r.getRange(x(_.line,_.ch-1),_);if(!A.isWordChar(k)&&F!=o&&!A.isWordChar(F))I="both";else return A.Pass}else if(O&&(k.length===0||/\s/.test(k)||b.indexOf(k)>-1))I="both";else return A.Pass;if(!T)T=I;else if(T!=I)return A.Pass}var B=y%2?h.charAt(y-1):o,j=y%2?o:h.charAt(y+1);r.operation(function(){if(T=="skip")r.execCommand("goCharRight");else if(T=="skipThree")for(var z=0;z<3;z++)r.execCommand("goCharRight");else if(T=="surround"){for(var M=r.getSelections(),z=0;z<M.length;z++)M[z]=B+M[z]+j;r.replaceSelections(M,"around"),M=r.listSelections().slice();for(var z=0;z<M.length;z++)M[z]=i(M[z]);r.setSelections(M)}else T=="both"?(r.replaceSelection(B+j,null),r.triggerElectric(B+j),r.execCommand("goCharLeft")):T=="addFour"&&(r.replaceSelection(B+B+B+B,"before"),r.execCommand("goCharRight"))})}function t(r,o){var u=r.getRange(x(o.line,o.ch-1),x(o.line,o.ch+1));return u.length==2?u:null}function l(r,o){var u=r.getTokenAt(x(o.line,o.ch+1));return/\bstring/.test(u.type)&&u.start==o.ch&&(o.ch==0||!/\bstring/.test(r.getTokenTypeAt(o)))}})},EMyp:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("mFDi"),m=e("K4ya"),g=e("qJCg"),p=e("iLNv"),c=e("vZ6x"),s=["inBrush","outOfBrush"],a="__ecBrushSelect",n="__ecInBrushSelectEvent",i=A.PRIORITY.VISUAL.BRUSH;A.registerLayout(i,function(E,v,w){E.eachComponent({mainType:"brush"},function(O){w&&w.type==="takeGlobalCursor"&&O.setBrushOption(w.key==="brush"?w.brushOption:{brushType:!1})}),d(E)});function d(E){E.eachComponent({mainType:"brush"},function(v){var w=v.brushTargetManager=new c(v.option,E);w.setInputRanges(v.areas,E)})}A.registerVisual(i,function(E,v,w){var O=[],T,S;E.eachComponent({mainType:"brush"},function(C,_){var I={brushId:C.id,brushIndex:_,brushName:C.name,areas:f.clone(C.areas),selected:[]};O.push(I);var k=C.option,F=k.brushLink,B=[],j=[],z=[],M=0;_||(T=k.throttleType,S=k.throttleDelay);var U=f.map(C.areas,function($){return h(f.defaults({boundingRect:y[$.brushType]($)},$))}),P=m.createVisualMappings(C.option,s,function($){$.mappingMethod="fixed"});f.isArray(F)&&f.each(F,function($){B[$]=1});function H($){return F==="all"||B[$]}function W($){return!!$.length}E.eachSeries(function($,ie){var be=z[ie]=[];$.subType==="parallel"?X($,ie,be):K($,ie,be)});function X($,ie){var be=$.coordinateSystem;M|=be.hasAxisBrushed(),H(ie)&&be.eachActiveState($.getData(),function(te,Te){te==="active"&&(j[Te]=1)})}function K($,ie,be){var te=o($);if(!te||u(C,ie))return;if(f.each(U,function(Ie){te[Ie.brushType]&&C.brushTargetManager.controlSeries(Ie,$,E)&&be.push(Ie),M|=W(be)}),H(ie)&&W(be)){var Te=$.getData();Te.each(function(Ie){r(te,be,Te,Ie)&&(j[Ie]=1)})}}E.eachSeries(function($,ie){var be={seriesId:$.id,seriesIndex:ie,seriesName:$.name,dataIndex:[]};I.selected.push(be);var te=o($),Te=z[ie],Ie=$.getData(),Fe=H(ie)?function(Qe){return j[Qe]?(be.dataIndex.push(Ie.getRawIndex(Qe)),"inBrush"):"outOfBrush"}:function(Qe){return r(te,Te,Ie,Qe)?(be.dataIndex.push(Ie.getRawIndex(Qe)),"inBrush"):"outOfBrush"};(H(ie)?M:W(Te))&&m.applyVisual(s,P,Ie,Fe)})}),t(v,T,S,O,w)});function t(E,v,w,O,T){if(!T)return;var S=E.getZr();if(S[n])return;S[a]||(S[a]=l);var C=p.createOrUpdate(S,a,w,v);C(E,O)}function l(E,v){if(!E.isDisposed()){var w=E.getZr();w[n]=!0,E.dispatchAction({type:"brushSelect",batch:v}),w[n]=!1}}function r(E,v,w,O){for(var T=0,S=v.length;T<S;T++){var C=v[T];if(E[C.brushType](O,w,C.selectors,C))return!0}}function o(E){var v=E.brushSelector;if(f.isString(v)){var w=[];return f.each(g,function(T,S){w[S]=function(C,_,I,k){var F=_.getItemLayout(C);return T[v](F,I,k)}}),w}else if(f.isFunction(v)){var O={};return f.each(g,function(T,S){O[S]=v}),O}return v}function u(E,v){var w=E.option.seriesIndex;return w!=null&&w!=="all"&&(f.isArray(w)?f.indexOf(w,v)<0:v!==w)}function h(E){var v=E.selectors={};return f.each(g[E.brushType],function(w,O){v[O]=function(T){return w(T,v,E)}}),E}var y={lineX:f.noop,lineY:f.noop,rect:function(E){return b(E.range)},polygon:function(E){for(var v,w=E.range,O=0,T=w.length;O<T;O++){v=v||[[Infinity,-Infinity],[Infinity,-Infinity]];var S=w[O];S[0]<v[0][0]&&(v[0][0]=S[0]),S[0]>v[0][1]&&(v[0][1]=S[0]),S[1]<v[1][0]&&(v[1][0]=S[1]),S[1]>v[1][1]&&(v[1][1]=S[1])}return v&&b(v)}};function b(E){return new x(E[0][0],E[1][0],E[0][1]-E[0][0],E[1][1]-E[1][0])}N.layoutCovers=d},ERHi:function(R,N,e){var A=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),x=e("h8O9");A.registerVisual(f("effectScatter","circle")),A.registerLayout(x("effectScatter"))},EXcs:function(R,N,e){"use strict";var A=function(){return{height:0,opacity:0}},f=function(c){return{height:c.scrollHeight,opacity:1}},x=function(c){return{height:c.offsetHeight}},m=function(c,s){return s.propertyName==="height"},g={motionName:"ant-motion-collapse",onAppearStart:A,onEnterStart:A,onAppearActive:f,onEnterActive:f,onLeaveStart:x,onLeaveActive:A,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};N.a=g},Em2t:function(R,N,e){var A=e("bahg"),f=e("quyA"),x=e("0JQy");function m(g){return f(g)?x(g):A(g)}R.exports=m},Ez2D:function(R,N,e){var A=e("bYtY"),f=e("4NO4");function x(m,g){var p=[],c=m.seriesIndex,s;if(c==null||!(s=g.getSeriesByIndex(c)))return{point:[]};var a=s.getData(),n=f.queryDataIndex(a,m);if(n==null||n<0||A.isArray(n))return{point:[]};var i=a.getItemGraphicEl(n),d=s.coordinateSystem;if(s.getTooltipPosition)p=s.getTooltipPosition(n)||[];else if(d&&d.dataToPoint)p=d.dataToPoint(a.getValues(A.map(d.dimensions,function(l){return a.mapDimension(l)}),n,!0))||[];else if(i){var t=i.getBoundingRect().clone();t.applyTransform(i.transform),p=[t.x+t.width/2,t.y+t.height/2]}return{point:p,el:i}}R.exports=x},F0hE:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("ca2m"),m=e("Qxkt"),g=e("ICMv"),p=x.valueAxis;function c(n,i){return f.defaults({show:i},n)}var s=A.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),i=this.get("splitNumber"),d=this.get("scale"),t=this.get("axisLine"),l=this.get("axisTick"),r=this.get("axisType"),o=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),y=this.get("name.formatter"),b=this.get("nameGap"),E=this.get("triggerEvent"),v=f.map(this.get("indicator")||[],function(w){w.max!=null&&w.max>0&&!w.min?w.min=0:w.min!=null&&w.min<0&&!w.max&&(w.max=0);var O=u;if(w.color!=null&&(O=f.defaults({color:w.color},u)),w=f.merge(f.clone(w),{boundaryGap:n,splitNumber:i,scale:d,axisLine:t,axisTick:l,axisType:r,axisLabel:o,name:w.text,nameLocation:"end",nameGap:b,nameTextStyle:O,triggerEvent:E},!1),h||(w.name=""),typeof y=="string"){var T=w.name;w.name=y.replace("{value}",T!=null?T:"")}else typeof y=="function"&&(w.name=y(w.name,w));var S=f.extend(new m(w,null,this.ecModel),g);return S.mainType="radar",S.componentIndex=this.componentIndex,S},this);this.getIndicatorModels=function(){return v}},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"}},p.axisLine),axisLabel:c(p.axisLabel,!1),axisTick:c(p.axisTick,!1),axisType:"interval",splitLine:c(p.splitLine,!0),splitArea:c(p.splitArea,!0),indicator:[]}}),a=s;R.exports=a},F5Ls:function(R,N){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 A(f,x){if(f==="china"){var m=e[x.name];if(m){var g=x.center;g[0]+=m[0]/10.5,g[1]+=-m[1]/(10.5/.75)}}}R.exports=A},F7hV:function(R,N,e){var A=e("MBQ8"),f=A.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var x=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>x&&(x=m),x},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});R.exports=f},F9bG:function(R,N,e){var A=e("bYtY"),f=e("ItGF"),x=e("4NO4"),m=x.makeInner,g=m(),p=A.each;function c(l,r,o){if(f.node)return;var u=r.getZr();g(u).records||(g(u).records={}),s(u,r);var h=g(u).records[l]||(g(u).records[l]={});h.handler=o}function s(l,r){if(g(l).initialized)return;g(l).initialized=!0,o("click",A.curry(i,"click")),o("mousemove",A.curry(i,"mousemove")),o("globalout",n);function o(u,h){l.on(u,function(y){var b=d(r);p(g(l).records,function(E){E&&h(E,y,b.dispatchAction)}),a(b.pendings,r)})}}function a(l,r){var o=l.showTip.length,u=l.hideTip.length,h;o?h=l.showTip[o-1]:u&&(h=l.hideTip[u-1]),h&&(h.dispatchAction=null,r.dispatchAction(h))}function n(l,r,o){l.handler("leave",null,o)}function i(l,r,o,u){r.handler(l,o,u)}function d(l){var r={showTip:[],hideTip:[]},o=function(u){var h=r[u.type];h?h.push(u):(u.dispatchAction=o,l.dispatchAction(u))};return{dispatchAction:o,pendings:r}}function t(l,r){if(f.node)return;var o=r.getZr(),u=(g(o).records||{})[l];u&&(g(o).records[l]=null)}N.register=c,N.unregister=t},FBjb:function(R,N,e){var A=e("bYtY"),f=e("oVpE"),x=f.createSymbol,m=e("IwbS"),g=e("OELB"),p=g.parsePercent,c=e("x3X8"),s=c.getDefaultLabel;function a(b,E,v){m.Group.call(this),this.updateData(b,E,v)}var n=a.prototype,i=a.getSymbolSize=function(b,E){var v=b.getItemVisual(E,"symbolSize");return v instanceof Array?v.slice():[+v,+v]};function d(b){return[b[0]/2,b[1]/2]}function t(b,E){this.parent.drift(b,E)}n._createSymbol=function(b,E,v,w,O){this.removeAll();var T=E.getItemVisual(v,"color"),S=x(b,-1,-1,2,2,T,O);S.attr({z2:100,culling:!0,scale:d(w)}),S.drift=t,this._symbolType=b,this.add(S)},n.stopSymbolAnimation=function(b){this.childAt(0).stopAnimation(b)},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(b,E){var v=this.childAt(0);v.zlevel=b,v.z=E},n.setDraggable=function(b){var E=this.childAt(0);E.draggable=b,E.cursor=b?"move":E.cursor},n.updateData=function(b,E,v){this.silent=!1;var w=b.getItemVisual(E,"symbol")||"circle",O=b.hostModel,T=i(b,E),S=w!==this._symbolType;if(S){var C=b.getItemVisual(E,"symbolKeepAspect");this._createSymbol(w,b,E,T,C)}else{var _=this.childAt(0);_.silent=!1,m.updateProps(_,{scale:d(T)},O,E)}if(this._updateCommon(b,E,T,v),S){var _=this.childAt(0),I=v&&v.fadeIn,k={scale:_.scale.slice()};I&&(k.style={opacity:_.style.opacity}),_.scale=[0,0],I&&(_.style.opacity=0),m.initProps(_,k,O,E)}this._seriesModel=O};var l=["itemStyle"],r=["emphasis","itemStyle"],o=["label"],u=["emphasis","label"];n._updateCommon=function(b,E,v,w){var O=this.childAt(0),T=b.hostModel,S=b.getItemVisual(E,"color");O.type!=="image"?O.useStyle({strokeNoScale:!0}):O.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=w&&w.itemStyle,_=w&&w.hoverItemStyle,I=w&&w.symbolOffset,k=w&&w.labelModel,F=w&&w.hoverLabelModel,B=w&&w.hoverAnimation,j=w&&w.cursorStyle;if(!w||b.hasItemOption){var z=w&&w.itemModel?w.itemModel:b.getItemModel(E);C=z.getModel(l).getItemStyle(["color"]),_=z.getModel(r).getItemStyle(),I=z.getShallow("symbolOffset"),k=z.getModel(o),F=z.getModel(u),B=z.getShallow("hoverAnimation"),j=z.getShallow("cursor")}else _=A.extend({},_);var M=O.style,U=b.getItemVisual(E,"symbolRotate");O.attr("rotation",(U||0)*Math.PI/180||0),I&&O.attr("position",[p(I[0],v[0]),p(I[1],v[1])]),j&&O.attr("cursor",j),O.setColor(S,w&&w.symbolInnerColor),O.setStyle(C);var P=b.getItemVisual(E,"opacity");P!=null&&(M.opacity=P);var H=b.getItemVisual(E,"liftZ"),W=O.__z2Origin;H!=null?W==null&&(O.__z2Origin=O.z2,O.z2+=H):W!=null&&(O.z2=W,O.__z2Origin=null);var X=w&&w.useNameLabel;m.setLabelStyle(M,_,k,F,{labelFetcher:T,labelDataIndex:E,defaultText:K,isRectText:!0,autoColor:S});function K($,ie){return X?b.getName($):s(b,$)}O.__symbolOriginalScale=d(v),O.hoverStyle=_,O.highDownOnUpdate=B&&T.isAnimationEnabled()?h:null,m.setHoverStyle(O)};function h(b,E){if(this.incremental||this.useHoverLayer)return;if(E==="emphasis"){var v=this.__symbolOriginalScale,w=v[1]/v[0],O={scale:[Math.max(v[0]*1.1,v[0]+3),Math.max(v[1]*1.1,v[1]+3*w)]};this.animateTo(O,400,"elasticOut")}else E==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}n.fadeOut=function(b,E){var v=this.childAt(0);this.silent=v.silent=!0,!(E&&E.keepLabel)&&(v.style.text=null),m.updateProps(v,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,b)},A.inherits(a,m.Group);var y=a;R.exports=y},FGaS:function(R,N,e){var A=e("ProS"),f=e("IwbS"),x=e("bYtY"),m=e("oVpE");function g(c){return x.isArray(c)||(c=[+c,+c]),c}var p=A.extendChartView({type:"radar",render:function(c,s,a){var n=c.coordinateSystem,i=this.group,d=c.getData(),t=this._data;function l(u,h){var y=u.getItemVisual(h,"symbol")||"circle",b=u.getItemVisual(h,"color");if(y==="none")return;var E=g(u.getItemVisual(h,"symbolSize")),v=m.createSymbol(y,-1,-1,2,2,b);return v.attr({style:{strokeNoScale:!0},z2:100,scale:[E[0]/2,E[1]/2]}),v}function r(u,h,y,b,E,v){y.removeAll();for(var w=0;w<h.length-1;w++){var O=l(b,E);O&&(O.__dimIdx=w,u[w]?(O.attr("position",u[w]),f[v?"initProps":"updateProps"](O,{position:h[w]},c,E)):O.attr("position",h[w]),y.add(O))}}function o(u){return x.map(u,function(h){return[n.cx,n.cy]})}d.diff(t).add(function(u){var h=d.getItemLayout(u);if(!h)return;var y=new f.Polygon,b=new f.Polyline,E={shape:{points:h}};y.shape.points=o(h),b.shape.points=o(h),f.initProps(y,E,c,u),f.initProps(b,E,c,u);var v=new f.Group,w=new f.Group;v.add(b),v.add(y),v.add(w),r(b.shape.points,h,w,d,u,!0),d.setItemGraphicEl(u,v)}).update(function(u,h){var y=t.getItemGraphicEl(h),b=y.childAt(0),E=y.childAt(1),v=y.childAt(2),w={shape:{points:d.getItemLayout(u)}};if(!w.shape.points)return;r(b.shape.points,w.shape.points,v,d,u,!1),f.updateProps(b,w,c),f.updateProps(E,w,c),d.setItemGraphicEl(u,y)}).remove(function(u){i.remove(t.getItemGraphicEl(u))}).execute(),d.eachItemGraphicEl(function(u,h){var y=d.getItemModel(h),b=u.childAt(0),E=u.childAt(1),v=u.childAt(2),w=d.getItemVisual(h,"color");i.add(u),b.useStyle(x.defaults(y.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:w})),b.hoverStyle=y.getModel("emphasis.lineStyle").getLineStyle();var O=y.getModel("areaStyle"),T=y.getModel("emphasis.areaStyle"),S=O.isEmpty()&&O.parentModel.isEmpty(),C=T.isEmpty()&&T.parentModel.isEmpty();C=C&&S,E.ignore=S,E.useStyle(x.defaults(O.getAreaStyle(),{fill:w,opacity:.7})),E.hoverStyle=T.getAreaStyle();var _=y.getModel("itemStyle").getItemStyle(["color"]),I=y.getModel("emphasis.itemStyle").getItemStyle(),k=y.getModel("label"),F=y.getModel("emphasis.label");v.eachChild(function(B){B.setStyle(_),B.hoverStyle=x.clone(I);var j=d.get(d.dimensions[B.__dimIdx],h);(j==null||isNaN(j))&&(j=""),f.setLabelStyle(B.style,B.hoverStyle,k,F,{labelFetcher:d.hostModel,labelDataIndex:h,labelDimIndex:B.__dimIdx,defaultText:j,autoColor:w,isRectText:!0})}),u.highDownOnUpdate=function(B,j){E.attr("ignore",j==="emphasis"?C:S)},f.setHoverStyle(u)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});R.exports=p},FH2Y:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},FIfw:function(R,N,e){},FNN5:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("+rIm"),m=e("Znkb"),g=["axisLine","axisTickLabel","axisName"],p=["splitLine","splitArea","minorSplitLine"],c=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(a,n){if(this.group.removeAll(),!a.get("show"))return;var i=a.axis,d=i.polar,t=d.getAngleAxis(),l=i.getTicksCoords(),r=i.getMinorTicksCoords(),o=t.getExtent()[0],u=i.getExtent(),h=s(d,a,o),y=new x(a,h);A.each(g,y.add,y),this.group.add(y.getGroup()),A.each(p,function(b){a.get(b+".show")&&!i.scale.isBlank()&&this["_"+b](a,d,o,u,l,r)},this)},_splitLine:function(a,n,i,d,t){var l=a.getModel("splitLine"),r=l.getModel("lineStyle"),o=r.get("color"),u=0;o=o instanceof Array?o:[o];for(var h=[],y=0;y<t.length;y++){var b=u++%o.length;h[b]=h[b]||[],h[b].push(new f.Circle({shape:{cx:n.cx,cy:n.cy,r:t[y].coord}}))}for(var y=0;y<h.length;y++)this.group.add(f.mergePath(h[y],{style:A.defaults({stroke:o[y%o.length],fill:null},r.getLineStyle()),silent:!0}))},_minorSplitLine:function(a,n,i,d,t,l){if(!l.length)return;for(var r=a.getModel("minorSplitLine"),o=r.getModel("lineStyle"),u=[],h=0;h<l.length;h++)for(var y=0;y<l[h].length;y++)u.push(new f.Circle({shape:{cx:n.cx,cy:n.cy,r:l[h][y].coord}}));this.group.add(f.mergePath(u,{style:A.defaults({fill:null},o.getLineStyle()),silent:!0}))},_splitArea:function(a,n,i,d,t){if(!t.length)return;var l=a.getModel("splitArea"),r=l.getModel("areaStyle"),o=r.get("color"),u=0;o=o instanceof Array?o:[o];for(var h=[],y=t[0].coord,b=1;b<t.length;b++){var E=u++%o.length;h[E]=h[E]||[],h[E].push(new f.Sector({shape:{cx:n.cx,cy:n.cy,r0:y,r:t[b].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),y=t[b].coord}for(var b=0;b<h.length;b++)this.group.add(f.mergePath(h[b],{style:A.defaults({fill:o[b%o.length]},r.getAreaStyle()),silent:!0}))}});function s(a,n,i){return{position:[a.cx,a.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:n.getModel("axisLabel").get("rotate"),z2:1}}R.exports=c},FTAc:function(R,N,e){"use strict";e.d(N,"a",function(){return x});var A=e("q1tI"),f=e.n(A),x=A.createContext(null)},FUi9:function(R,N,e){var A=e("bYtY"),f=e("MwEJ"),x=e("aX7z"),m=e("ICMv"),g=e("Qxkt"),p=e("+TT/"),c=p.getLayoutRect;N.getLayoutRect=p.getLayoutRect;var s=e("7hqr"),a=s.enableDataStack,n=s.isDimensionStacked,i=s.getStackedDimension,d=e("hi0g");N.completeDimensions=d;var t=e("sdST");N.createDimensions=t;var l=e("oVpE");N.createSymbol=l.createSymbol;function r(y){return f(y.getSource(),y)}var o={isDimensionStacked:n,enableDataStack:a,getStackedDimension:i};function u(y,b){var E=b;g.isInstance(b)||(E=new g(b),A.mixin(E,m));var v=x.createScaleByModel(E);return v.setExtent(y[0],y[1]),x.niceScaleExtent(v,E),v}function h(y){A.mixin(y,m)}N.createList=r,N.dataStack=o,N.createScale=u,N.mixinAxisModelCommonMethods=h},"Fa/5":function(R,N,e){var A=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),x=e("h8O9");e("Ae16"),A.registerVisual(f("scatter","circle")),A.registerLayout(x("scatter"))},FhB9:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"Fm1+":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("a7Wl")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="CaretUpOutlined";var s=m.forwardRef(c);N.default=s},Fofx:function(R,N){var e=typeof Float32Array=="undefined"?Array:Float32Array;function A(){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 x(n,i){return n[0]=i[0],n[1]=i[1],n[2]=i[2],n[3]=i[3],n[4]=i[4],n[5]=i[5],n}function m(n,i,d){var t=i[0]*d[0]+i[2]*d[1],l=i[1]*d[0]+i[3]*d[1],r=i[0]*d[2]+i[2]*d[3],o=i[1]*d[2]+i[3]*d[3],u=i[0]*d[4]+i[2]*d[5]+i[4],h=i[1]*d[4]+i[3]*d[5]+i[5];return n[0]=t,n[1]=l,n[2]=r,n[3]=o,n[4]=u,n[5]=h,n}function g(n,i,d){return n[0]=i[0],n[1]=i[1],n[2]=i[2],n[3]=i[3],n[4]=i[4]+d[0],n[5]=i[5]+d[1],n}function p(n,i,d){var t=i[0],l=i[2],r=i[4],o=i[1],u=i[3],h=i[5],y=Math.sin(d),b=Math.cos(d);return n[0]=t*b+o*y,n[1]=-t*y+o*b,n[2]=l*b+u*y,n[3]=-l*y+b*u,n[4]=b*r+y*h,n[5]=b*h-y*r,n}function c(n,i,d){var t=d[0],l=d[1];return n[0]=i[0]*t,n[1]=i[1]*l,n[2]=i[2]*t,n[3]=i[3]*l,n[4]=i[4]*t,n[5]=i[5]*l,n}function s(n,i){var d=i[0],t=i[2],l=i[4],r=i[1],o=i[3],u=i[5],h=d*o-r*t;return h?(h=1/h,n[0]=o*h,n[1]=-r*h,n[2]=-t*h,n[3]=d*h,n[4]=(t*u-o*l)*h,n[5]=(r*l-d*u)*h,n):null}function a(n){var i=A();return x(i,n),i}N.create=A,N.identity=f,N.copy=x,N.mul=m,N.translate=g,N.rotate=p,N.scale=c,N.invert=s,N.clone=a},Fv0C:function(R,N,e){"use strict";function A(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(o){return typeof o}:A=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},A(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=a(e("Lo0S")),x=e("vewr"),m=a(e("8CQX")),g=c(e("mHUz")),p=a(e("GdRQ"));function c(l){return l&&l.__esModule?l:{default:l}}function s(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return s=function(){return l},l}function a(l){if(l&&l.__esModule)return l;if(l===null||A(l)!=="object"&&typeof l!="function")return{default:l};var r=s();if(r&&r.has(l))return r.get(l);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var y=u?Object.getOwnPropertyDescriptor(l,h):null;y&&(y.get||y.set)?Object.defineProperty(o,h,y):o[h]=l[h]}return o.default=l,r&&r.set(l,o),o}function n(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function i(l,r){for(var o=0;o<r.length;o++){var u=r[o];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}function d(l,r,o){return r&&i(l.prototype,r),o&&i(l,o),l}var t=function(){function l(r){n(this,l),this._target=r||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return d(l,[{key:"_sendKeyEvent",value:function(o,u,h){if(h)this._keyDownList[u]=o;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}f.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+o,", code: "+u),this.onkeyevent(o,u,h)}},{key:"_getKeyCode",value:function(o){var u=m.getKeycode(o);if(u!=="Unidentified")return u;if(o.keyCode&&o.type!=="keypress"&&o.keyCode!==229)return"Platform"+o.keyCode;if(o.keyIdentifier){if(o.keyIdentifier.substr(0,2)!=="U+")return o.keyIdentifier;var h=parseInt(o.keyIdentifier.substr(2),16),y=String.fromCharCode(h).toUpperCase();return"Platform"+y.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(o){var u=this._getKeyCode(o),h=m.getKeysym(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&o.timeStamp-this._altGrCtrlTime<50?h=g.default.XK_ISO_Level3_Shift:this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){h&&(this._sendKeyEvent(h,u,!0),this._sendKeyEvent(h,u,!1)),(0,x.stopEvent)(o);return}if(p.isMac()||p.isIOS())switch(h){case g.default.XK_Super_L:h=g.default.XK_Alt_L;break;case g.default.XK_Super_R:h=g.default.XK_Super_L;break;case g.default.XK_Alt_L:h=g.default.XK_Mode_switch;break;case g.default.XK_Alt_R:h=g.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(h=this._keyDownList[u]),(p.isMac()||p.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1),(0,x.stopEvent)(o);return}if(!h&&(!o.key||p.isIE()||p.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,o);return}if(this._pendingKey=null,(0,x.stopEvent)(o),u==="ControlLeft"&&p.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=o.timeStamp;return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPress",value:function(o){if((0,x.stopEvent)(o),this._pendingKey===null)return;var u=this._getKeyCode(o),h=m.getKeysym(o);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!h){f.Info("keypress with no keysym:",o);return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPressTimeout",value:function(o){if(this._pendingKey===null)return;var u,h=this._pendingKey;if(this._pendingKey=null,o.keyCode>=48&&o.keyCode<=57)u=o.keyCode;else if(o.keyCode>=65&&o.keyCode<=90){var y=String.fromCharCode(o.keyCode);o.shiftKey?y=y.toUpperCase():y=y.toLowerCase(),u=y.charCodeAt()}else u=0;this._sendKeyEvent(u,h,!0)}},{key:"_handleKeyUp",value:function(o){(0,x.stopEvent)(o);var u=this._getKeyCode(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),(p.isMac()||p.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),p.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){f.Debug(">> Keyboard.allKeysUp");for(var o in this._keyDownList)this._sendKeyEvent(this._keyDownList[o],o,!1);f.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(o){if(o.skipCheckAlt)return;if(o.altKey)return;var u=this._target,h=this._keyDownList;["AltLeft","AltRight"].forEach(function(y){if(!(y in h))return;var b=new KeyboardEvent("keyup",{key:h[y],code:y});b.skipCheckAlt=!0,u.dispatchEvent(b)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),p.isWindows()&&p.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,o,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(p.isWindows()&&p.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,o)})}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}();N.default=t},FxDU:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var A=e("QO+J"),f=e("j5sG"),x=typeof ResizeObserver!="undefined"?f.createSensor:A.createSensor;N.createSensor=x},GGyF:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("wgjA")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="LeftOutlined";var s=m.forwardRef(c);N.default=s},GIiI:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="PoweroffOutlined";var c=N.a=f.forwardRef(p)},GMDS:function(R,N,e){var A=e("bYtY"),f=e("4NgU"),x=e("jkPA"),m=f.prototype,g=f.extend({type:"ordinal",init:function(c,s){(!c||A.isArray(c))&&(c=new x({categories:c})),this._ordinalMeta=c,this._extent=s||[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=[],s=this._extent,a=s[0];a<=s[1];)c.push(a),a++;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,s){this.unionExtent(c.getApproximateExtent(s))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:A.noop,niceExtent:A.noop});g.create=function(){return new g};var p=g;R.exports=p},GQ8N:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.toUnsigned32bit=A,N.toSigned32bit=f;function A(x){return x>>>0}function f(x){return x|0}},GUcZ:function(R,N,e){"use strict";var A=e("fWQN"),f=e("mtLc"),x=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(V,q){return V.__proto__=q,V},Object.assign=Object.assign||function(V){if(V==null)throw new TypeError("Cannot convert undefined or null to object");for(var q=Object(V),ue=1;ue<arguments.length;ue++){var me=arguments[ue];if(me!=null)for(var Ee in me)me.hasOwnProperty(Ee)&&(q[Ee]=me[Ee])}return q},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),Oe}();x.install();var m=x,g=e("+qE3"),p=e.n(g),c=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"e",value:function(V,q){(!V||Oe.FORCE_GLOBAL_TAG)&&(V=Oe.GLOBAL_TAG);var ue="[".concat(V,"] > ").concat(q);if(Oe.ENABLE_CALLBACK&&Oe.emitter.emit("log","error",ue),!Oe.ENABLE_ERROR)return;console.error?console.error(ue):console.warn?console.warn(ue):console.log(ue)}},{key:"i",value:function(V,q){(!V||Oe.FORCE_GLOBAL_TAG)&&(V=Oe.GLOBAL_TAG);var ue="[".concat(V,"] > ").concat(q);if(Oe.ENABLE_CALLBACK&&Oe.emitter.emit("log","info",ue),!Oe.ENABLE_INFO)return;console.info?console.info(ue):console.log(ue)}},{key:"w",value:function(V,q){(!V||Oe.FORCE_GLOBAL_TAG)&&(V=Oe.GLOBAL_TAG);var ue="[".concat(V,"] > ").concat(q);if(Oe.ENABLE_CALLBACK&&Oe.emitter.emit("log","warn",ue),!Oe.ENABLE_WARN)return;console.warn?console.warn(ue):console.log(ue)}},{key:"d",value:function(V,q){(!V||Oe.FORCE_GLOBAL_TAG)&&(V=Oe.GLOBAL_TAG);var ue="[".concat(V,"] > ").concat(q);if(Oe.ENABLE_CALLBACK&&Oe.emitter.emit("log","debug",ue),!Oe.ENABLE_DEBUG)return;console.debug?console.debug(ue):console.log(ue)}},{key:"v",value:function(V,q){(!V||Oe.FORCE_GLOBAL_TAG)&&(V=Oe.GLOBAL_TAG);var ue="[".concat(V,"] > ").concat(q);if(Oe.ENABLE_CALLBACK&&Oe.emitter.emit("log","verbose",ue),!Oe.ENABLE_VERBOSE)return;console.log(ue)}}]),Oe}();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 p.a;var s=c,a=function(){function Oe(){Object(A.a)(this,Oe),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)(Oe,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(V){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=V,this._totalBytes+=V):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=V,this._totalBytes+=V):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=V,this._totalBytes+=V,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var V=(this._now()-this._lastCheckpoint)/1e3;return V==0&&(V=1),this._intervalBytes/V/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 V=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/V/1024}}]),Oe}(),n=a,i=e("yKVA"),d=e("879j"),t=function(){function Oe(xe){Object(A.a)(this,Oe),this._message=xe}return Object(f.a)(Oe,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Oe}(),l=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q){return Object(A.a)(this,V),xe.call(this,q)}return Object(f.a)(V,[{key:"name",get:function(){return"IllegalStateException"}}]),V}(t),r=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q){return Object(A.a)(this,V),xe.call(this,q)}return Object(f.a)(V,[{key:"name",get:function(){return"InvalidArgumentException"}}]),V}(t),o=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q){return Object(A.a)(this,V),xe.call(this,q)}return Object(f.a)(V,[{key:"name",get:function(){return"NotImplementedException"}}]),V}(t),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},y=function(){function Oe(xe){Object(A.a)(this,Oe),this._type=xe||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(Oe,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"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(V){this._onContentLengthKnown=V}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(V){this._onURLRedirect=V}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(V){this._onDataArrival=V}},{key:"onError",get:function(){return this._onError},set:function(V){this._onError=V}},{key:"onComplete",get:function(){return this._onComplete},set:function(V){this._onComplete=V}},{key:"open",value:function(V,q){throw new o("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new o("Unimplemented abstract function!")}}]),Oe}(),b=e("oZsa");function E(Oe,xe){for(;!Object.prototype.hasOwnProperty.call(Oe,xe)&&!(Oe=Object(b.a)(Oe),Oe===null););return Oe}function v(Oe,xe,V){return typeof Reflect!="undefined"&&Reflect.get?v=Reflect.get:v=function(ue,me,Ee){var Ge=E(ue,me);if(!Ge)return;var dt=Object.getOwnPropertyDescriptor(Ge,me);return dt.get?dt.get.call(Ee):dt.value},v(Oe,xe,V||Oe)}var w={};function O(){var Oe=self.navigator.userAgent.toLowerCase(),xe=/(edge)\/([\w.]+)/.exec(Oe)||/(opr)[\/]([\w.]+)/.exec(Oe)||/(chrome)[ \/]([\w.]+)/.exec(Oe)||/(iemobile)[\/]([\w.]+)/.exec(Oe)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Oe)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Oe)||/(webkit)[ \/]([\w.]+)/.exec(Oe)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Oe)||/(msie) ([\w.]+)/.exec(Oe)||Oe.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Oe)||Oe.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Oe)||[],V=/(ipad)/.exec(Oe)||/(ipod)/.exec(Oe)||/(windows phone)/.exec(Oe)||/(iphone)/.exec(Oe)||/(kindle)/.exec(Oe)||/(android)/.exec(Oe)||/(windows)/.exec(Oe)||/(mac)/.exec(Oe)||/(linux)/.exec(Oe)||/(cros)/.exec(Oe)||[],q={browser:xe[5]||xe[3]||xe[1]||"",version:xe[2]||xe[4]||"0",majorVersion:xe[4]||xe[2]||"0",platform:V[0]||""},ue={};if(q.browser){ue[q.browser]=!0;var me=q.majorVersion.split(".");ue.version={major:parseInt(q.majorVersion,10),string:q.version},me.length>1&&(ue.version.minor=parseInt(me[1],10)),me.length>2&&(ue.version.build=parseInt(me[2],10))}if(q.platform&&(ue[q.platform]=!0),(ue.chrome||ue.opr||ue.safari)&&(ue.webkit=!0),ue.rv||ue.iemobile){ue.rv&&delete ue.rv;var Ee="msie";q.browser=Ee,ue[Ee]=!0}if(ue.edge){delete ue.edge;var Ge="msedge";q.browser=Ge,ue[Ge]=!0}if(ue.opr){var dt="opera";q.browser=dt,ue[dt]=!0}if(ue.safari&&ue.android){var Kt="android";q.browser=Kt,ue[Kt]=!0}ue.name=q.browser,ue.platform=q.platform;for(var tr in w)w.hasOwnProperty(tr)&&delete w[tr];Object.assign(w,ue)}O();var T=w,S=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q,ue){var me;return Object(A.a)(this,V),me=xe.call(this,"fetch-stream-loader"),me.TAG="FetchStreamLoader",me._seekHandler=q,me._config=ue,me._needStash=!0,me._requestAbort=!1,me._contentLength=null,me._receivedLength=0,me}return Object(f.a)(V,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),v(Object(b.a)(V.prototype),"destroy",this).call(this)}},{key:"open",value:function(ue,me){var Ee=this;this._dataSource=ue,this._range=me;var Ge=ue.url;this._config.reuseRedirectedURL&&ue.redirectedURL!=null&&(Ge=ue.redirectedURL);var dt=this._seekHandler.getConfig(Ge,me),Kt=new self.Headers;if(typeof dt.headers=="object"){var tr=dt.headers;for(var wt in tr)tr.hasOwnProperty(wt)&&Kt.append(wt,tr[wt])}var It={method:"GET",headers:Kt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Lt in this._config.headers)Kt.append(Lt,this._config.headers[Lt]);ue.cors===!1&&(It.mode="same-origin"),ue.withCredentials&&(It.credentials="include"),ue.referrerPolicy&&(It.referrerPolicy=ue.referrerPolicy),this._status=u.kConnecting,self.fetch(dt.url,It).then(function(Nt){if(Ee._requestAbort){Ee._requestAbort=!1,Ee._status=u.kIdle;return}if(Nt.ok&&Nt.status>=200&&Nt.status<=299){if(Nt.url!==dt.url&&Ee._onURLRedirect){var $e=Ee._seekHandler.removeURLParameters(Nt.url);Ee._onURLRedirect($e)}var ot=Nt.headers.get("Content-Length");return ot!=null&&(Ee._contentLength=parseInt(ot),Ee._contentLength!==0&&(Ee._onContentLengthKnown&&Ee._onContentLengthKnown(Ee._contentLength))),Ee._pump.call(Ee,Nt.body.getReader())}else if(Ee._status=u.kError,Ee._onError)Ee._onError(h.HTTP_STATUS_CODE_INVALID,{code:Nt.status,msg:Nt.statusText});else throw new t("FetchStreamLoader: Http code invalid, "+Nt.status+" "+Nt.statusText)}).catch(function(Nt){if(Ee._status=u.kError,Ee._onError)Ee._onError(h.EXCEPTION,{code:-1,msg:Nt.message});else throw Nt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(ue){var me=this;return ue.read().then(function(Ee){if(Ee.done)if(me._contentLength!==null&&me._receivedLength<me._contentLength){me._status=u.kError;var Ge=h.EARLY_EOF,dt={code:-1,msg:"Fetch stream meet Early-EOF"};if(me._onError)me._onError(Ge,dt);else throw new t(dt.msg)}else me._status=u.kComplete,me._onComplete&&me._onComplete(me._range.from,me._range.from+me._receivedLength-1);else{if(me._requestAbort===!0)return me._requestAbort=!1,me._status=u.kComplete,ue.cancel();me._status=u.kBuffering;var Kt=Ee.value.buffer,tr=me._range.from+me._receivedLength;me._receivedLength+=Kt.byteLength,me._onDataArrival&&me._onDataArrival(Kt,tr,me._receivedLength),me._pump(ue)}}).catch(function(Ee){if(Ee.code===11&&T.msedge)return;me._status=u.kError;var Ge=0,dt=null;if((Ee.code===19||Ee.message==="network error")&&(me._contentLength===null||me._contentLength!==null&&me._receivedLength<me._contentLength)?(Ge=h.EARLY_EOF,dt={code:Ee.code,msg:"Fetch stream meet Early-EOF"}):(Ge=h.EXCEPTION,dt={code:Ee.code,msg:Ee.message}),me._onError)me._onError(Ge,dt);else throw new t(dt.msg)})}}],[{key:"isSupported",value:function(){try{var ue=T.msedge&&T.version.minor>=15048,me=T.msedge?ue:!0;return self.fetch&&self.ReadableStream&&me}catch(Ee){return!1}}}]),V}(y),C=S,_=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q,ue){var me;return Object(A.a)(this,V),me=xe.call(this,"xhr-moz-chunked-loader"),me.TAG="MozChunkedLoader",me._seekHandler=q,me._config=ue,me._needStash=!0,me._xhr=null,me._requestAbort=!1,me._contentLength=null,me._receivedLength=0,me}return Object(f.a)(V,[{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),v(Object(b.a)(V.prototype),"destroy",this).call(this)}},{key:"open",value:function(ue,me){this._dataSource=ue,this._range=me;var Ee=ue.url;this._config.reuseRedirectedURL&&ue.redirectedURL!=null&&(Ee=ue.redirectedURL);var Ge=this._seekHandler.getConfig(Ee,me);this._requestURL=Ge.url;var dt=this._xhr=new XMLHttpRequest;if(dt.open("GET",Ge.url,!0),dt.responseType="moz-chunked-arraybuffer",dt.onreadystatechange=this._onReadyStateChange.bind(this),dt.onprogress=this._onProgress.bind(this),dt.onloadend=this._onLoadEnd.bind(this),dt.onerror=this._onXhrError.bind(this),ue.withCredentials&&(dt.withCredentials=!0),typeof Ge.headers=="object"){var Kt=Ge.headers;for(var tr in Kt)Kt.hasOwnProperty(tr)&&dt.setRequestHeader(tr,Kt[tr])}if(typeof this._config.headers=="object"){var wt=this._config.headers;for(var It in wt)wt.hasOwnProperty(It)&&dt.setRequestHeader(It,wt[It])}this._status=u.kConnecting,dt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(ue){var me=ue.target;if(me.readyState===2){if(me.responseURL!=null&&me.responseURL!==this._requestURL&&this._onURLRedirect){var Ee=this._seekHandler.removeURLParameters(me.responseURL);this._onURLRedirect(Ee)}if(me.status!==0&&(me.status<200||me.status>299))if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:me.status,msg:me.statusText});else throw new t("MozChunkedLoader: Http code invalid, "+me.status+" "+me.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(ue){if(this._status===u.kError)return;this._contentLength===null&&(ue.total!==null&&ue.total!==0&&(this._contentLength=ue.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var me=ue.target.response,Ee=this._range.from+this._receivedLength;this._receivedLength+=me.byteLength,this._onDataArrival&&this._onDataArrival(me,Ee,this._receivedLength)}},{key:"_onLoadEnd",value:function(ue){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(ue){this._status=u.kError;var me=0,Ee=null;if(this._contentLength&&ue.loaded<this._contentLength?(me=h.EARLY_EOF,Ee={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(me=h.EXCEPTION,Ee={code:-1,msg:ue.constructor.name+" "+ue.type}),this._onError)this._onError(me,Ee);else throw new t(Ee.msg)}}],[{key:"isSupported",value:function(){try{var ue=new XMLHttpRequest;return ue.open("GET","https://example.com",!0),ue.responseType="moz-chunked-arraybuffer",ue.responseType==="moz-chunked-arraybuffer"}catch(me){return s.w("MozChunkedLoader",me.message),!1}}}]),V}(y),I=_,k=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q,ue){var me;return Object(A.a)(this,V),me=xe.call(this,"xhr-msstream-loader"),me.TAG="MSStreamLoader",me._seekHandler=q,me._config=ue,me._needStash=!0,me._xhr=null,me._reader=null,me._totalRange=null,me._currentRange=null,me._currentRequestURL=null,me._currentRedirectedURL=null,me._contentLength=null,me._receivedLength=0,me._bufferLimit=16*1024*1024,me._lastTimeBufferSize=0,me._isReconnecting=!1,me}return Object(f.a)(V,[{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),v(Object(b.a)(V.prototype),"destroy",this).call(this)}},{key:"open",value:function(ue,me){this._internalOpen(ue,me,!1)}},{key:"_internalOpen",value:function(ue,me,Ee){this._dataSource=ue,Ee?this._currentRange=me:this._totalRange=me;var Ge=ue.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ge=this._currentRedirectedURL:ue.redirectedURL!=null&&(Ge=ue.redirectedURL));var dt=this._seekHandler.getConfig(Ge,me);this._currentRequestURL=dt.url;var Kt=this._reader=new self.MSStreamReader;Kt.onprogress=this._msrOnProgress.bind(this),Kt.onload=this._msrOnLoad.bind(this),Kt.onerror=this._msrOnError.bind(this);var tr=this._xhr=new XMLHttpRequest;if(tr.open("GET",dt.url,!0),tr.responseType="ms-stream",tr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),tr.onerror=this._xhrOnError.bind(this),ue.withCredentials&&(tr.withCredentials=!0),typeof dt.headers=="object"){var wt=dt.headers;for(var It in wt)wt.hasOwnProperty(It)&&tr.setRequestHeader(It,wt[It])}if(typeof this._config.headers=="object"){var Lt=this._config.headers;for(var Nt in Lt)Lt.hasOwnProperty(Nt)&&tr.setRequestHeader(Nt,Lt[Nt])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,tr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(ue){var me=ue.target;if(me.readyState===2)if(me.status>=200&&me.status<=299){if(this._status=u.kBuffering,me.responseURL!=null){var Ee=this._seekHandler.removeURLParameters(me.responseURL);me.responseURL!==this._currentRequestURL&&Ee!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ee,this._onURLRedirect&&this._onURLRedirect(Ee))}var Ge=me.getResponseHeader("Content-Length");if(Ge!=null&&this._contentLength==null){var dt=parseInt(Ge);dt>0&&(this._contentLength=dt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:me.status,msg:me.statusText});else throw new t("MSStreamLoader: Http code invalid, "+me.status+" "+me.statusText);else if(me.readyState===3&&(me.status>=200&&me.status<=299)){this._status=u.kBuffering;var Kt=me.response;this._reader.readAsArrayBuffer(Kt)}}},{key:"_xhrOnError",value:function(ue){this._status=u.kError;var me=h.EXCEPTION,Ee={code:-1,msg:ue.constructor.name+" "+ue.type};if(this._onError)this._onError(me,Ee);else throw new t(Ee.msg)}},{key:"_msrOnProgress",value:function(ue){var me=ue.target,Ee=me.result;if(Ee==null){this._doReconnectIfNeeded();return}var Ge=Ee.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Ee.byteLength;var dt=this._totalRange.from+this._receivedLength;this._receivedLength+=Ge.byteLength,this._onDataArrival&&this._onDataArrival(Ge,dt,this._receivedLength),Ee.byteLength>=this._bufferLimit&&(s.v(this.TAG,"MSStream buffer exceeded max size near ".concat(dt+Ge.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 ue={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,ue,!0)}}},{key:"_msrOnLoad",value:function(ue){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(ue){this._status=u.kError;var me=0,Ee=null;if(this._contentLength&&this._receivedLength<this._contentLength?(me=h.EARLY_EOF,Ee={code:-1,msg:"MSStream meet Early-Eof"}):(me=h.EARLY_EOF,Ee={code:-1,msg:ue.constructor.name+" "+ue.type}),this._onError)this._onError(me,Ee);else throw new t(Ee.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var ue=new XMLHttpRequest;return ue.open("GET","https://example.com",!0),ue.responseType="ms-stream",ue.responseType==="ms-stream"}catch(me){return s.w("MSStreamLoader",me.message),!1}}}]),V}(y),F=k,B=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(q,ue){var me;return Object(A.a)(this,V),me=xe.call(this,"xhr-range-loader"),me.TAG="RangeLoader",me._seekHandler=q,me._config=ue,me._needStash=!1,me._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],me._currentChunkSizeKB=384,me._currentSpeedNormalized=0,me._zeroSpeedChunkCount=0,me._xhr=null,me._speedSampler=new n,me._requestAbort=!1,me._waitForTotalLength=!1,me._totalLengthReceived=!1,me._currentRequestURL=null,me._currentRedirectedURL=null,me._currentRequestRange=null,me._totalLength=null,me._contentLength=null,me._receivedLength=0,me._lastTimeLoaded=0,me}return Object(f.a)(V,[{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),v(Object(b.a)(V.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(ue,me){this._dataSource=ue,this._range=me,this._status=u.kConnecting;var Ee=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Ee=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Ee?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var ue=this._currentChunkSizeKB*1024,me=this._range.from+this._receivedLength,Ee=me+ue;this._contentLength!=null&&(Ee-this._range.from>=this._contentLength&&(Ee=this._range.from+this._contentLength-1)),this._currentRequestRange={from:me,to:Ee},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(ue,me){this._lastTimeLoaded=0;var Ee=ue.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ee=this._currentRedirectedURL:ue.redirectedURL!=null&&(Ee=ue.redirectedURL));var Ge=this._seekHandler.getConfig(Ee,me);this._currentRequestURL=Ge.url;var dt=this._xhr=new XMLHttpRequest;if(dt.open("GET",Ge.url,!0),dt.responseType="arraybuffer",dt.onreadystatechange=this._onReadyStateChange.bind(this),dt.onprogress=this._onProgress.bind(this),dt.onload=this._onLoad.bind(this),dt.onerror=this._onXhrError.bind(this),ue.withCredentials&&(dt.withCredentials=!0),typeof Ge.headers=="object"){var Kt=Ge.headers;for(var tr in Kt)Kt.hasOwnProperty(tr)&&dt.setRequestHeader(tr,Kt[tr])}if(typeof this._config.headers=="object"){var wt=this._config.headers;for(var It in wt)wt.hasOwnProperty(It)&&dt.setRequestHeader(It,wt[It])}dt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(ue){var me=ue.target;if(me.readyState===2){if(me.responseURL!=null){var Ee=this._seekHandler.removeURLParameters(me.responseURL);me.responseURL!==this._currentRequestURL&&Ee!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ee,this._onURLRedirect&&this._onURLRedirect(Ee))}if(me.status>=200&&me.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:me.status,msg:me.statusText});else throw new t("RangeLoader: Http code invalid, "+me.status+" "+me.statusText)}}},{key:"_onProgress",value:function(ue){if(this._status===u.kError)return;if(this._contentLength===null){var me=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,me=!0;var Ee=ue.total;this._internalAbort(),Ee!=null&Ee!==0&&(this._totalLength=Ee)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,me){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Ge=ue.loaded-this._lastTimeLoaded;this._lastTimeLoaded=ue.loaded,this._speedSampler.addBytes(Ge)}},{key:"_normalizeSpeed",value:function(ue){var me=this._chunkSizeKBList,Ee=me.length-1,Ge=0,dt=0,Kt=Ee;if(ue<me[0])return me[0];for(;dt<=Kt;){if(Ge=dt+Math.floor((Kt-dt)/2),Ge===Ee||ue>=me[Ge]&&ue<me[Ge+1])return me[Ge];me[Ge]<ue?dt=Ge+1:Kt=Ge-1}}},{key:"_onLoad",value:function(ue){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var me=this._speedSampler.lastSecondKBps;if(me===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(me=this._speedSampler.currentKBps)),me!==0){var Ee=this._normalizeSpeed(me);this._currentSpeedNormalized!==Ee&&(this._currentSpeedNormalized=Ee,this._currentChunkSizeKB=Ee)}var Ge=ue.target.response,dt=this._range.from+this._receivedLength;this._receivedLength+=Ge.byteLength;var Kt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Kt=!0,this._onDataArrival&&this._onDataArrival(Ge,dt,this._receivedLength),Kt&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(ue){this._status=u.kError;var me=0,Ee=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(me=h.EARLY_EOF,Ee={code:-1,msg:"RangeLoader meet Early-Eof"}):(me=h.EXCEPTION,Ee={code:-1,msg:ue.constructor.name+" "+ue.type}),this._onError)this._onError(me,Ee);else throw new t(Ee.msg)}}],[{key:"isSupported",value:function(){try{var ue=new XMLHttpRequest;return ue.open("GET","https://example.com",!0),ue.responseType="arraybuffer",ue.responseType==="arraybuffer"}catch(me){return s.w("RangeLoader",me.message),!1}}}]),V}(y),j=B,z=function(Oe){Object(i.a)(V,Oe);var xe=Object(d.a)(V);function V(){var q;return Object(A.a)(this,V),q=xe.call(this,"websocket-loader"),q.TAG="WebSocketLoader",q._needStash=!0,q._ws=null,q._requestAbort=!1,q._receivedLength=0,q}return Object(f.a)(V,[{key:"destroy",value:function(){this._ws&&this.abort(),v(Object(b.a)(V.prototype),"destroy",this).call(this)}},{key:"open",value:function(ue){try{var me=this._ws=new self.WebSocket(ue.url);me.binaryType="arraybuffer",me.onopen=this._onWebSocketOpen.bind(this),me.onclose=this._onWebSocketClose.bind(this),me.onmessage=this._onWebSocketMessage.bind(this),me.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(Ge){this._status=u.kError;var Ee={code:Ge.code,msg:Ge.message};if(this._onError)this._onError(h.EXCEPTION,Ee);else throw new t(Ee.msg)}}},{key:"abort",value:function(){var ue=this._ws;ue&&(ue.readyState===0||ue.readyState===1)&&(this._requestAbort=!0,ue.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(ue){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(ue){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(ue){var me=this;if(ue.data instanceof ArrayBuffer)this._dispatchArrayBuffer(ue.data);else if(ue.data instanceof Blob){var Ee=new FileReader;Ee.onload=function(){me._dispatchArrayBuffer(Ee.result)},Ee.readAsArrayBuffer(ue.data)}else{this._status=u.kError;var Ge={code:-1,msg:"Unsupported WebSocket message type: "+ue.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,Ge);else throw new t(Ge.msg)}}},{key:"_dispatchArrayBuffer",value:function(ue){var me=ue,Ee=this._receivedLength;this._receivedLength+=me.byteLength,this._onDataArrival&&this._onDataArrival(me,Ee,this._receivedLength)}},{key:"_onWebSocketError",value:function(ue){this._status=u.kError;var me={code:ue.code,msg:ue.message};if(this._onError)this._onError(h.EXCEPTION,me);else throw new t(me.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(ue){return!1}}}]),V}(y),M=z,U=function(){function Oe(xe){Object(A.a)(this,Oe),this._zeroStart=xe||!1}return Object(f.a)(Oe,[{key:"getConfig",value:function(V,q){var ue={};if(q.from!==0||q.to!==-1){var me;q.to!==-1?me="bytes=".concat(q.from.toString(),"-").concat(q.to.toString()):me="bytes=".concat(q.from.toString(),"-"),ue.Range=me}else this._zeroStart&&(ue.Range="bytes=0-");return{url:V,headers:ue}}},{key:"removeURLParameters",value:function(V){return V}}]),Oe}(),P=U,H=function(){function Oe(xe,V){Object(A.a)(this,Oe),this._startName=xe,this._endName=V}return Object(f.a)(Oe,[{key:"getConfig",value:function(V,q){var ue=V;if(q.from!==0||q.to!==-1){var me=!0;ue.indexOf("?")===-1&&(ue+="?",me=!1),me&&(ue+="&"),ue+="".concat(this._startName,"=").concat(q.from.toString()),q.to!==-1&&(ue+="&".concat(this._endName,"=").concat(q.to.toString()))}return{url:ue,headers:{}}}},{key:"removeURLParameters",value:function(V){var q=V.split("?")[0],ue=void 0,me=V.indexOf("?");me!==-1&&(ue=V.substring(me+1));var Ee="";if(ue!=null&&ue.length>0)for(var Ge=ue.split("&"),dt=0;dt<Ge.length;dt++){var Kt=Ge[dt].split("="),tr=dt>0;Kt[0]!==this._startName&&Kt[0]!==this._endName&&(tr&&(Ee+="&"),Ee+=Ge[dt])}return Ee.length===0?q:q+"?"+Ee}}]),Oe}(),W=H,X=function(){function Oe(xe,V,q){Object(A.a)(this,Oe),this.TAG="IOController",this._config=V,this._extraData=q,this._stashInitialSize=1024*384,V.stashInitialSize!=null&&V.stashInitialSize>0&&(this._stashInitialSize=V.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,V.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=xe,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(xe.url),this._refTotalLength=xe.filesize?xe.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new 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)(Oe,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(V){this._extraData=V}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(V){this._onDataArrival=V}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(V){this._onSeeked=V}},{key:"onError",get:function(){return this._onError},set:function(V){this._onError=V}},{key:"onComplete",get:function(){return this._onComplete},set:function(V){this._onComplete=V}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(V){this._onRedirect=V}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(V){this._onRecoveredEarlyEof=V}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===j?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var V=this._config;if(V.seekType==="range")this._seekHandler=new P(this._config.rangeLoadZeroStart);else if(V.seekType==="param"){var q=V.seekParamStart||"bstart",ue=V.seekParamEnd||"bend";this._seekHandler=new W(q,ue)}else if(V.seekType==="custom"){if(typeof V.customSeekHandler!="function")throw new r("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new V.customSeekHandler}else throw new r("Invalid seekType in config: ".concat(V.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=M;else if(C.isSupported())this._loaderClass=C;else if(I.isSupported())this._loaderClass=I;else if(j.isSupported())this._loaderClass=j;else throw new t("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(V){this._currentRange={from:0,to:-1},V&&(this._currentRange.from=V),this._speedSampler.reset(),V||(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 V=this._resumeFrom;this._resumeFrom=0,this._internalSeek(V,!0)}}},{key:"seek",value:function(V){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(V,!0)}},{key:"_internalSeek",value:function(V,q){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(q),this._loader.destroy(),this._loader=null;var ue={from:V,to:-1};this._currentRange={from:ue.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,ue),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(V){if(!V||typeof V!="string"||V.length===0)throw new r("Url must be a non-empty string!");this._dataSource.url=V}},{key:"_expandBuffer",value:function(V){for(var q=this._stashSize;q+1024*1024*1<V;)q*=2;if(q+=1024*1024*1,q===this._bufferSize)return;var ue=new ArrayBuffer(q);if(this._stashUsed>0){var me=new Uint8Array(this._stashBuffer,0,this._stashUsed),Ee=new Uint8Array(ue,0,q);Ee.set(me,0)}this._stashBuffer=ue,this._bufferSize=q}},{key:"_normalizeSpeed",value:function(V){var q=this._speedNormalizeList,ue=q.length-1,me=0,Ee=0,Ge=ue;if(V<q[0])return q[0];for(;Ee<=Ge;){if(me=Ee+Math.floor((Ge-Ee)/2),me===ue||V>=q[me]&&V<q[me+1])return q[me];q[me]<V?Ee=me+1:Ge=me-1}}},{key:"_adjustStashSize",value:function(V){var q=0;this._config.isLive||V<512?q=V:V>=512&&V<=1024?q=Math.floor(V*1.5):q=V*2,q>8192&&(q=8192);var ue=q*1024+1024*1024*1;this._bufferSize<ue&&this._expandBuffer(ue),this._stashSize=q*1024}},{key:"_dispatchChunks",value:function(V,q){return this._currentRange.to=q+V.byteLength-1,this._onDataArrival(V,q)}},{key:"_onURLRedirect",value:function(V){this._redirectedURL=V,this._onRedirect&&this._onRedirect(V)}},{key:"_onContentLengthKnown",value:function(V){V&&this._fullRequestFlag&&(this._totalLength=V,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(V,q,ue){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(V.byteLength);var me=this._speedSampler.lastSecondKBps;if(me!==0){var Ee=this._normalizeSpeed(me);this._speedNormalized!==Ee&&(this._speedNormalized=Ee,this._adjustStashSize(Ee))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=q),this._stashUsed+V.byteLength<=this._stashSize){var Lt=new Uint8Array(this._stashBuffer,0,this._stashSize);Lt.set(new Uint8Array(V),this._stashUsed),this._stashUsed+=V.byteLength}else{var Nt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var $e=this._stashBuffer.slice(0,this._stashUsed),ot=this._dispatchChunks($e,this._stashByteStart);if(ot<$e.byteLength){if(ot>0){var ft=new Uint8Array($e,ot);Nt.set(ft,0),this._stashUsed=ft.byteLength,this._stashByteStart+=ot}}else this._stashUsed=0,this._stashByteStart+=ot;this._stashUsed+V.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+V.byteLength),Nt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Nt.set(new Uint8Array(V),this._stashUsed),this._stashUsed+=V.byteLength}else{var ze=this._dispatchChunks(V,q);if(ze<V.byteLength){var Ye=V.byteLength-ze;Ye>this._bufferSize&&(this._expandBuffer(Ye),Nt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Nt.set(new Uint8Array(V,ze),0),this._stashUsed+=Ye,this._stashByteStart=q+ze}}}else if(this._stashUsed===0){var Ge=this._dispatchChunks(V,q);if(Ge<V.byteLength){var dt=V.byteLength-Ge;dt>this._bufferSize&&this._expandBuffer(dt);var Kt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Kt.set(new Uint8Array(V,Ge),0),this._stashUsed+=dt,this._stashByteStart=q+Ge}}else{this._stashUsed+V.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+V.byteLength);var tr=new Uint8Array(this._stashBuffer,0,this._bufferSize);tr.set(new Uint8Array(V),this._stashUsed),this._stashUsed+=V.byteLength;var wt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(wt<this._stashUsed&&wt>0){var It=new Uint8Array(this._stashBuffer,wt);tr.set(It,0)}this._stashUsed-=wt,this._stashByteStart+=wt}}},{key:"_flushStashBuffer",value:function(V){if(this._stashUsed>0){var q=this._stashBuffer.slice(0,this._stashUsed),ue=this._dispatchChunks(q,this._stashByteStart),me=q.byteLength-ue;if(ue<q.byteLength)if(V)s.w(this.TAG,"".concat(me," bytes unconsumed data remain when flush buffer, dropped"));else{if(ue>0){var Ee=new Uint8Array(this._stashBuffer,0,this._bufferSize),Ge=new Uint8Array(q,ue);Ee.set(Ge,0),this._stashUsed=Ge.byteLength,this._stashByteStart+=ue}return 0}return this._stashUsed=0,this._stashByteStart=0,me}return 0}},{key:"_onLoaderComplete",value:function(V,q){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(V,q){s.e(this.TAG,"Loader error, code = ".concat(q.code,", msg = ").concat(q.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,V=h.UNRECOVERABLE_EARLY_EOF);switch(V){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var ue=this._currentRange.to+1;ue<this._totalLength&&(s.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(ue,!1));return}V=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(V,q);else throw new t("IOException: "+q.msg)}}]),Oe}(),K=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 ie(){return Object.assign({},$)}var be=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var V=new K({},ie()),q=V.loaderType;return V.destroy(),q=="fetch-stream-loader"||q=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var V=new K({},ie()),q=V.loaderType;return V.destroy(),q}},{key:"supportNativeMediaPlayback",value:function(V){Oe.videoElement==null&&(Oe.videoElement=window.document.createElement("video"));var q=Oe.videoElement.canPlayType(V);return q==="probably"||q=="maybe"}},{key:"getFeatureList",value:function(){var V={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return V.mseFlvPlayback=Oe.supportMSEH264Playback(),V.networkStreamIO=Oe.supportNetworkStreamIO(),V.networkLoaderName=Oe.getNetworkLoaderTypeName(),V.mseLiveFlvPlayback=V.mseFlvPlayback&&V.networkStreamIO,V.nativeMP4H264Playback=Oe.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),V.nativeWebmVP8Playback=Oe.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),V.nativeWebmVP9Playback=Oe.supportNativeMediaPlayback('video/webm; codecs="vp9"'),V}}]),Oe}(),te=be,Te={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"},Ie=Te,Fe=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"forceGlobalTag",get:function(){return s.FORCE_GLOBAL_TAG},set:function(V){s.FORCE_GLOBAL_TAG=V,Oe._notifyChange()}},{key:"globalTag",get:function(){return s.GLOBAL_TAG},set:function(V){s.GLOBAL_TAG=V,Oe._notifyChange()}},{key:"enableAll",get:function(){return s.ENABLE_VERBOSE&&s.ENABLE_DEBUG&&s.ENABLE_INFO&&s.ENABLE_WARN&&s.ENABLE_ERROR},set:function(V){s.ENABLE_VERBOSE=V,s.ENABLE_DEBUG=V,s.ENABLE_INFO=V,s.ENABLE_WARN=V,s.ENABLE_ERROR=V,Oe._notifyChange()}},{key:"enableDebug",get:function(){return s.ENABLE_DEBUG},set:function(V){s.ENABLE_DEBUG=V,Oe._notifyChange()}},{key:"enableVerbose",get:function(){return s.ENABLE_VERBOSE},set:function(V){s.ENABLE_VERBOSE=V,Oe._notifyChange()}},{key:"enableInfo",get:function(){return s.ENABLE_INFO},set:function(V){s.ENABLE_INFO=V,Oe._notifyChange()}},{key:"enableWarn",get:function(){return s.ENABLE_WARN},set:function(V){s.ENABLE_WARN=V,Oe._notifyChange()}},{key:"enableError",get:function(){return s.ENABLE_ERROR},set:function(V){s.ENABLE_ERROR=V,Oe._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:s.GLOBAL_TAG,forceGlobalTag:s.FORCE_GLOBAL_TAG,enableVerbose:s.ENABLE_VERBOSE,enableDebug:s.ENABLE_DEBUG,enableInfo:s.ENABLE_INFO,enableWarn:s.ENABLE_WARN,enableError:s.ENABLE_ERROR,enableCallback:s.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(V){s.GLOBAL_TAG=V.globalTag,s.FORCE_GLOBAL_TAG=V.forceGlobalTag,s.ENABLE_VERBOSE=V.enableVerbose,s.ENABLE_DEBUG=V.enableDebug,s.ENABLE_INFO=V.enableInfo,s.ENABLE_WARN=V.enableWarn,s.ENABLE_ERROR=V.enableError,s.ENABLE_CALLBACK=V.enableCallback}},{key:"_notifyChange",value:function(){var V=Oe.emitter;if(V.listenerCount("change")>0){var q=Oe.getConfig();V.emit("change",q)}}},{key:"registerListener",value:function(V){Oe.emitter.addListener("change",V)}},{key:"removeListener",value:function(V){Oe.emitter.removeListener("change",V)}},{key:"addLogListener",value:function(V){s.emitter.addListener("log",V),s.emitter.listenerCount("log")>0&&(s.ENABLE_CALLBACK=!0,Oe._notifyChange())}},{key:"removeLogListener",value:function(V){s.emitter.removeListener("log",V),s.emitter.listenerCount("log")===0&&(s.ENABLE_CALLBACK=!1,Oe._notifyChange())}}]),Oe}();Fe.emitter=new p.a;var Qe=Fe,fe=function(){function Oe(){Object(A.a)(this,Oe),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)(Oe,[{key:"isComplete",value:function(){var V=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,q=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&&V&&q}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(V){if(this.keyframesIndex==null)return null;var q=this.keyframesIndex,ue=this._search(q.times,V);return{index:ue,milliseconds:q.times[ue],fileposition:q.filepositions[ue]}}},{key:"_search",value:function(V,q){var ue=0,me=V.length-1,Ee=0,Ge=0,dt=me;for(q<V[0]&&(ue=0,Ge=dt+1);Ge<=dt;)if(Ee=Ge+Math.floor((dt-Ge)/2),Ee===me||q>=V[Ee]&&q<V[Ee+1]){ue=Ee;break}else V[Ee]<q?Ge=Ee+1:dt=Ee-1;return ue}}]),Oe}(),He=fe;function se(Oe,xe,V){var q=Oe;if(xe+V<q.length){for(;V--;)if((q[++xe]&192)!==128)return!1;return!0}else return!1}function Ce(Oe){for(var xe=[],V=Oe,q=0,ue=Oe.length;q<ue;){if(V[q]<128){xe.push(String.fromCharCode(V[q])),++q;continue}else if(!(V[q]<192)){if(V[q]<224){if(se(V,q,1)){var me=(V[q]&31)<<6|V[q+1]&63;if(me>=128){xe.push(String.fromCharCode(me&65535)),q+=2;continue}}}else if(V[q]<240){if(se(V,q,2)){var Ee=(V[q]&15)<<12|(V[q+1]&63)<<6|V[q+2]&63;if(Ee>=2048&&(Ee&63488)!==55296){xe.push(String.fromCharCode(Ee&65535)),q+=3;continue}}}else if(V[q]<248&&se(V,q,3)){var Ge=(V[q]&7)<<18|(V[q+1]&63)<<12|(V[q+2]&63)<<6|V[q+3]&63;if(Ge>65536&&Ge<1114112){Ge-=65536,xe.push(String.fromCharCode(Ge>>>10|55296)),xe.push(String.fromCharCode(Ge&1023|56320)),q+=4;continue}}}xe.push(String.fromCharCode(65533)),++q}return xe.join("")}var mt=Ce,Ne=function(){var Oe=new ArrayBuffer(2);return new DataView(Oe).setInt16(0,256,!0),new Int16Array(Oe)[0]===256}(),ae=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"parseScriptData",value:function(V,q,ue){var me={};try{var Ee=Oe.parseValue(V,q,ue),Ge=Oe.parseValue(V,q+Ee.size,ue-Ee.size);me[Ee.data]=Ge.data}catch(dt){s.e("AMF",dt.toString())}return me}},{key:"parseObject",value:function(V,q,ue){if(ue<3)throw new l("Data not enough when parse ScriptDataObject");var me=Oe.parseString(V,q,ue),Ee=Oe.parseValue(V,q+me.size,ue-me.size),Ge=Ee.objectEnd;return{data:{name:me.data,value:Ee.data},size:me.size+Ee.size,objectEnd:Ge}}},{key:"parseVariable",value:function(V,q,ue){return Oe.parseObject(V,q,ue)}},{key:"parseString",value:function(V,q,ue){if(ue<2)throw new l("Data not enough when parse String");var me=new DataView(V,q,ue),Ee=me.getUint16(0,!Ne),Ge;return Ee>0?Ge=mt(new Uint8Array(V,q+2,Ee)):Ge="",{data:Ge,size:2+Ee}}},{key:"parseLongString",value:function(V,q,ue){if(ue<4)throw new l("Data not enough when parse LongString");var me=new DataView(V,q,ue),Ee=me.getUint32(0,!Ne),Ge;return Ee>0?Ge=mt(new Uint8Array(V,q+4,Ee)):Ge="",{data:Ge,size:4+Ee}}},{key:"parseDate",value:function(V,q,ue){if(ue<10)throw new l("Data size invalid when parse Date");var me=new DataView(V,q,ue),Ee=me.getFloat64(0,!Ne),Ge=me.getInt16(8,!Ne);return Ee+=Ge*60*1e3,{data:new Date(Ee),size:8+2}}},{key:"parseValue",value:function(V,q,ue){if(ue<1)throw new l("Data not enough when parse Value");var me=new DataView(V,q,ue),Ee=1,Ge=me.getUint8(0),dt,Kt=!1;try{switch(Ge){case 0:dt=me.getFloat64(1,!Ne),Ee+=8;break;case 1:{var tr=me.getUint8(1);dt=!!tr,Ee+=1;break}case 2:{var wt=Oe.parseString(V,q+1,ue-1);dt=wt.data,Ee+=wt.size;break}case 3:{dt={};var It=0;for((me.getUint32(ue-4,!Ne)&16777215)===9&&(It=3);Ee<ue-4;){var Lt=Oe.parseObject(V,q+Ee,ue-Ee-It);if(Lt.objectEnd)break;dt[Lt.data.name]=Lt.data.value,Ee+=Lt.size}if(Ee<=ue-3){var Nt=me.getUint32(Ee-1,!Ne)&16777215;Nt===9&&(Ee+=3)}break}case 8:{dt={},Ee+=4;var $e=0;for((me.getUint32(ue-4,!Ne)&16777215)===9&&($e=3);Ee<ue-8;){var ot=Oe.parseVariable(V,q+Ee,ue-Ee-$e);if(ot.objectEnd)break;dt[ot.data.name]=ot.data.value,Ee+=ot.size}if(Ee<=ue-3){var ft=me.getUint32(Ee-1,!Ne)&16777215;ft===9&&(Ee+=3)}break}case 9:dt=void 0,Ee=1,Kt=!0;break;case 10:{dt=[];var ze=me.getUint32(1,!Ne);Ee+=4;for(var Ye=0;Ye<ze;Ye++){var qe=Oe.parseValue(V,q+Ee,ue-Ee);dt.push(qe.data),Ee+=qe.size}break}case 11:{var rt=Oe.parseDate(V,q+1,ue-1);dt=rt.data,Ee+=rt.size;break}case 12:{var ct=Oe.parseString(V,q+1,ue-1);dt=ct.data,Ee+=ct.size;break}default:Ee=ue,s.w("AMF","Unsupported AMF value type "+Ge)}}catch(st){s.e("AMF",st.toString())}return{data:dt,size:Ee,objectEnd:Kt}}}]),Oe}(),ce=ae,le=function(){function Oe(xe){Object(A.a)(this,Oe),this.TAG="ExpGolomb",this._buffer=xe,this._buffer_index=0,this._total_bytes=xe.byteLength,this._total_bits=xe.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(Oe,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var V=this._total_bytes-this._buffer_index;if(V<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var q=Math.min(4,V),ue=new Uint8Array(4);ue.set(this._buffer.subarray(this._buffer_index,this._buffer_index+q)),this._current_word=new DataView(ue.buffer).getUint32(0,!1),this._buffer_index+=q,this._current_word_bits_left=q*8}},{key:"readBits",value:function(V){if(V>32)throw new r("ExpGolomb: readBits() bits exceeded max 32bits!");if(V<=this._current_word_bits_left){var q=this._current_word>>>32-V;return this._current_word<<=V,this._current_word_bits_left-=V,q}var ue=this._current_word_bits_left?this._current_word:0;ue=ue>>>32-this._current_word_bits_left;var me=V-this._current_word_bits_left;this._fillCurrentWord();var Ee=Math.min(me,this._current_word_bits_left),Ge=this._current_word>>>32-Ee;return this._current_word<<=Ee,this._current_word_bits_left-=Ee,ue=ue<<Ee|Ge,ue}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var V;for(V=0;V<this._current_word_bits_left;V++)if((this._current_word&2147483648>>>V)!==0)return this._current_word<<=V,this._current_word_bits_left-=V,V;return this._fillCurrentWord(),V+this._skipLeadingZero()}},{key:"readUEG",value:function(){var V=this._skipLeadingZero();return this.readBits(V+1)-1}},{key:"readSEG",value:function(){var V=this.readUEG();return V&1?V+1>>>1:-1*(V>>>1)}}]),Oe}(),je=le,Re=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"_ebsp2rbsp",value:function(V){for(var q=V,ue=q.byteLength,me=new Uint8Array(ue),Ee=0,Ge=0;Ge<ue;Ge++){if(Ge>=2&&(q[Ge]===3&&q[Ge-1]===0&&q[Ge-2]===0))continue;me[Ee]=q[Ge],Ee++}return new Uint8Array(me.buffer,0,Ee)}},{key:"parseSPS",value:function(V){var q=Oe._ebsp2rbsp(V),ue=new je(q);ue.readByte();var me=ue.readByte();ue.readByte();var Ee=ue.readByte();ue.readUEG();var Ge=Oe.getProfileString(me),dt=Oe.getLevelString(Ee),Kt=1,tr=420,wt=[0,420,422,444],It=8;if((me===100||me===110||me===122||me===244||me===44||me===83||me===86||me===118||me===128||me===138||me===144)&&(Kt=ue.readUEG(),Kt===3&&ue.readBits(1),Kt<=3&&(tr=wt[Kt]),It=ue.readUEG()+8,ue.readUEG(),ue.readBits(1),ue.readBool()))for(var Lt=Kt!==3?8:12,Nt=0;Nt<Lt;Nt++)ue.readBool()&&(Nt<6?Oe._skipScalingList(ue,16):Oe._skipScalingList(ue,64));ue.readUEG();var $e=ue.readUEG();if($e===0)ue.readUEG();else if($e===1){ue.readBits(1),ue.readSEG(),ue.readSEG();for(var ot=ue.readUEG(),ft=0;ft<ot;ft++)ue.readSEG()}var ze=ue.readUEG();ue.readBits(1);var Ye=ue.readUEG(),qe=ue.readUEG(),rt=ue.readBits(1);rt===0&&ue.readBits(1),ue.readBits(1);var ct=0,st=0,et=0,Ft=0,Ct=ue.readBool();Ct&&(ct=ue.readUEG(),st=ue.readUEG(),et=ue.readUEG(),Ft=ue.readUEG());var ir=1,Xt=1,_r=0,Br=!0,Gr=0,un=0,mn=ue.readBool();if(mn){if(ue.readBool()){var _n=ue.readByte(),qr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],yn=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];_n>0&&_n<16?(ir=qr[_n-1],Xt=yn[_n-1]):_n===255&&(ir=ue.readByte()<<8|ue.readByte(),Xt=ue.readByte()<<8|ue.readByte())}if(ue.readBool()&&ue.readBool(),ue.readBool()&&(ue.readBits(4),ue.readBool()&&ue.readBits(24)),ue.readBool()&&(ue.readUEG(),ue.readUEG()),ue.readBool()){var nn=ue.readBits(32),cr=ue.readBits(32);Br=ue.readBool(),Gr=cr,un=nn*2,_r=Gr/un}}var Pr=1;(ir!==1||Xt!==1)&&(Pr=ir/Xt);var Ar=0,Mr=0;if(Kt===0)Ar=1,Mr=2-rt;else{var fn=Kt===3?1:2,En=Kt===1?2:1;Ar=fn,Mr=En*(2-rt)}var Rn=(Ye+1)*16,oi=(2-rt)*((qe+1)*16);Rn-=(ct+st)*Ar,oi-=(et+Ft)*Mr;var An=Math.ceil(Rn*Pr);return ue.destroy(),ue=null,{profile_string:Ge,level_string:dt,bit_depth:It,ref_frames:ze,chroma_format:tr,chroma_format_string:Oe.getChromaFormatString(tr),frame_rate:{fixed:Br,fps:_r,fps_den:un,fps_num:Gr},sar_ratio:{width:ir,height:Xt},codec_size:{width:Rn,height:oi},present_size:{width:An,height:oi}}}},{key:"_skipScalingList",value:function(V,q){for(var ue=8,me=8,Ee=0,Ge=0;Ge<q;Ge++)me!==0&&(Ee=V.readSEG(),me=(ue+Ee+256)%256),ue=me===0?ue:me}},{key:"getProfileString",value:function(V){switch(V){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(V){return(V/10).toFixed(1)}},{key:"getChromaFormatString",value:function(V){switch(V){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Oe}(),Ze=Re,De={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},ne=De;function he(Oe){return Oe>>>8&255|(Oe&255)<<8}function pe(Oe){return(Oe&4278190080)>>>24|(Oe&16711680)>>>8|(Oe&65280)<<8|(Oe&255)<<24}function Xe(Oe,xe){return Oe[xe]<<24|Oe[xe+1]<<16|Oe[xe+2]<<8|Oe[xe+3]}var lt=function(){function Oe(xe,V){Object(A.a)(this,Oe),this.TAG="FLVDemuxer",this._config=V,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=xe.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=xe.hasAudioTrack,this._hasVideo=xe.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new He,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var q=new ArrayBuffer(2);return new DataView(q).setInt16(0,256,!0),new Int16Array(q)[0]===256}()}return Object(f.a)(Oe,[{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(V){return V.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(V){this._onTrackMetadata=V}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(V){this._onMediaInfo=V}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(V){this._onMetaDataArrived=V}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(V){this._onScriptDataArrived=V}},{key:"onError",get:function(){return this._onError},set:function(V){this._onError=V}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(V){this._onDataAvailable=V}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(V){this._timestampBase=V}},{key:"overridedDuration",get:function(){return this._duration},set:function(V){this._durationOverrided=!0,this._duration=V,this._mediaInfo.duration=V}},{key:"overridedHasAudio",set:function(V){this._hasAudioFlagOverrided=!0,this._hasAudio=V,this._mediaInfo.hasAudio=V}},{key:"overridedHasVideo",set:function(V){this._hasVideoFlagOverrided=!0,this._hasVideo=V,this._mediaInfo.hasVideo=V}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new He}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(V,q){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var ue=0,me=this._littleEndian;if(q===0)if(V.byteLength>13){var Ee=Oe.probe(V);ue=Ee.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,q+ue!==this._dataOffset&&s.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Ge=new DataView(V,ue),dt=Ge.getUint32(0,!me);dt!==0&&s.w(this.TAG,"PrevTagSize0 !== 0 !!!"),ue+=4}for(;ue<V.byteLength;){this._dispatch=!0;var Kt=new DataView(V,ue);if(ue+11+4>V.byteLength)break;var tr=Kt.getUint8(0),wt=Kt.getUint32(0,!me)&16777215;if(ue+11+wt+4>V.byteLength)break;if(tr!==8&&tr!==9&&tr!==18){s.w(this.TAG,"Unsupported tag type ".concat(tr,", skipped")),ue+=11+wt+4;continue}var It=Kt.getUint8(4),Lt=Kt.getUint8(5),Nt=Kt.getUint8(6),$e=Kt.getUint8(7),ot=Nt|Lt<<8|It<<16|$e<<24,ft=Kt.getUint32(7,!me)&16777215;ft!==0&&s.w(this.TAG,"Meet tag which has StreamID != 0!");var ze=ue+11;switch(tr){case 8:this._parseAudioData(V,ze,wt,ot);break;case 9:this._parseVideoData(V,ze,wt,ot,q+ue);break;case 18:this._parseScriptData(V,ze,wt);break}var Ye=Kt.getUint32(11+wt,!me);Ye!==11+wt&&s.w(this.TAG,"Invalid PrevTagSize ".concat(Ye)),ue+=11+wt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),ue}},{key:"_parseScriptData",value:function(V,q,ue){var me=ce.parseScriptData(V,q,ue);if(me.hasOwnProperty("onMetaData")){if(me.onMetaData==null||typeof me.onMetaData!="object"){s.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&s.w(this.TAG,"Found another onMetaData tag!"),this._metadata=me;var Ee=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Ee)),typeof Ee.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Ee.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Ee.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Ee.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Ee.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Ee.audiodatarate),typeof Ee.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Ee.videodatarate),typeof Ee.width=="number"&&(this._mediaInfo.width=Ee.width),typeof Ee.height=="number"&&(this._mediaInfo.height=Ee.height),typeof Ee.duration=="number"){if(!this._durationOverrided){var Ge=Math.floor(Ee.duration*this._timescale);this._duration=Ge,this._mediaInfo.duration=Ge}}else this._mediaInfo.duration=0;if(typeof Ee.framerate=="number"){var dt=Math.floor(Ee.framerate*1e3);if(dt>0){var Kt=dt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Kt,this._referenceFrameRate.fps_num=dt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Kt}}if(typeof Ee.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var tr=Ee.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(tr),Ee.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Ee,s.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(me).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},me)))}},{key:"_parseKeyframesIndex",value:function(V){for(var q=[],ue=[],me=1;me<V.times.length;me++){var Ee=this._timestampBase+Math.floor(V.times[me]*1e3);q.push(Ee),ue.push(V.filepositions[me])}return{times:q,filepositions:ue}}},{key:"_parseAudioData",value:function(V,q,ue,me){if(ue<=1){s.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Ee=this._littleEndian,Ge=new DataView(V,q,ue),dt=Ge.getUint8(0),Kt=dt>>>4;if(Kt!==2&&Kt!==10){this._onError(ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Kt);return}var tr=0,wt=(dt&12)>>>2;if(wt>=0&&wt<=4)tr=this._flvSoundRateTable[wt];else{this._onError(ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+wt);return}var It=(dt&2)>>>1,Lt=dt&1,Nt=this._audioMetadata,$e=this._audioTrack;if(Nt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Nt=this._audioMetadata={},Nt.type="audio",Nt.id=$e.id,Nt.timescale=this._timescale,Nt.duration=this._duration,Nt.audioSampleRate=tr,Nt.channelCount=Lt===0?1:2),Kt===10){var ot=this._parseAACAudioData(V,q+1,ue-1);if(ot==null)return;if(ot.packetType===0){Nt.config&&s.w(this.TAG,"Found another AudioSpecificConfig!");var ft=ot.data;Nt.audioSampleRate=ft.samplingRate,Nt.channelCount=ft.channelCount,Nt.codec=ft.codec,Nt.originalCodec=ft.originalCodec,Nt.config=ft.config,Nt.refSampleDuration=1024/Nt.audioSampleRate*Nt.timescale,s.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",Nt);var ze=this._mediaInfo;ze.audioCodec=Nt.originalCodec,ze.audioSampleRate=Nt.audioSampleRate,ze.audioChannelCount=Nt.channelCount,ze.hasVideo?ze.videoCodec!=null&&(ze.mimeType='video/x-flv; codecs="'+ze.videoCodec+","+ze.audioCodec+'"'):ze.mimeType='video/x-flv; codecs="'+ze.audioCodec+'"',ze.isComplete()&&this._onMediaInfo(ze)}else if(ot.packetType===1){var Ye=this._timestampBase+me,qe={unit:ot.data,length:ot.data.byteLength,dts:Ye,pts:Ye};$e.samples.push(qe),$e.length+=ot.data.length}else s.e(this.TAG,"Flv: Unsupported AAC data type ".concat(ot.packetType))}else if(Kt===2){if(!Nt.codec){var rt=this._parseMP3AudioData(V,q+1,ue-1,!0);if(rt==null)return;Nt.audioSampleRate=rt.samplingRate,Nt.channelCount=rt.channelCount,Nt.codec=rt.codec,Nt.originalCodec=rt.originalCodec,Nt.refSampleDuration=1152/Nt.audioSampleRate*Nt.timescale,s.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Nt);var ct=this._mediaInfo;ct.audioCodec=Nt.codec,ct.audioSampleRate=Nt.audioSampleRate,ct.audioChannelCount=Nt.channelCount,ct.audioDataRate=rt.bitRate,ct.hasVideo?ct.videoCodec!=null&&(ct.mimeType='video/x-flv; codecs="'+ct.videoCodec+","+ct.audioCodec+'"'):ct.mimeType='video/x-flv; codecs="'+ct.audioCodec+'"',ct.isComplete()&&this._onMediaInfo(ct)}var st=this._parseMP3AudioData(V,q+1,ue-1,!1);if(st==null)return;var et=this._timestampBase+me,Ft={unit:st,length:st.byteLength,dts:et,pts:et};$e.samples.push(Ft),$e.length+=st.length}}},{key:"_parseAACAudioData",value:function(V,q,ue){if(ue<=1){s.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var me={},Ee=new Uint8Array(V,q,ue);return me.packetType=Ee[0],Ee[0]===0?me.data=this._parseAACAudioSpecificConfig(V,q+1,ue-1):me.data=Ee.subarray(1),me}},{key:"_parseAACAudioSpecificConfig",value:function(V,q,ue){var me=new Uint8Array(V,q,ue),Ee=null,Ge=0,dt=0,Kt=null,tr=0,wt=null;if(Ge=dt=me[0]>>>3,tr=(me[0]&7)<<1|me[1]>>>7,tr<0||tr>=this._mpegSamplingRates.length){this._onError(ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var It=this._mpegSamplingRates[tr],Lt=(me[1]&120)>>>3;if(Lt<0||Lt>=8){this._onError(ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Ge===5&&(wt=(me[1]&7)<<1|me[2]>>>7,Kt=(me[2]&124)>>>2);var Nt=self.navigator.userAgent.toLowerCase();return Nt.indexOf("firefox")!==-1?tr>=6?(Ge=5,Ee=new Array(4),wt=tr-3):(Ge=2,Ee=new Array(2),wt=tr):Nt.indexOf("android")!==-1?(Ge=2,Ee=new Array(2),wt=tr):(Ge=5,wt=tr,Ee=new Array(4),tr>=6?wt=tr-3:Lt===1&&(Ge=2,Ee=new Array(2),wt=tr)),Ee[0]=Ge<<3,Ee[0]|=(tr&15)>>>1,Ee[1]=(tr&15)<<7,Ee[1]|=(Lt&15)<<3,Ge===5&&(Ee[1]|=(wt&15)>>>1,Ee[2]=(wt&1)<<7,Ee[2]|=2<<2,Ee[3]=0),{config:Ee,samplingRate:It,channelCount:Lt,codec:"mp4a.40."+Ge,originalCodec:"mp4a.40."+dt}}},{key:"_parseMP3AudioData",value:function(V,q,ue,me){if(ue<4){s.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Ee=this._littleEndian,Ge=new Uint8Array(V,q,ue),dt=null;if(me){if(Ge[0]!==255)return;var Kt=Ge[1]>>>3&3,tr=(Ge[1]&6)>>1,wt=(Ge[2]&240)>>>4,It=(Ge[2]&12)>>>2,Lt=Ge[3]>>>6&3,Nt=Lt!==3?2:1,$e=0,ot=0,ft=34,ze="mp3";switch(Kt){case 0:$e=this._mpegAudioV25SampleRateTable[It];break;case 2:$e=this._mpegAudioV20SampleRateTable[It];break;case 3:$e=this._mpegAudioV10SampleRateTable[It];break}switch(tr){case 1:ft=34,wt<this._mpegAudioL3BitRateTable.length&&(ot=this._mpegAudioL3BitRateTable[wt]);break;case 2:ft=33,wt<this._mpegAudioL2BitRateTable.length&&(ot=this._mpegAudioL2BitRateTable[wt]);break;case 3:ft=32,wt<this._mpegAudioL1BitRateTable.length&&(ot=this._mpegAudioL1BitRateTable[wt]);break}dt={bitRate:ot,samplingRate:$e,channelCount:Nt,codec:ze,originalCodec:ze}}else dt=Ge;return dt}},{key:"_parseVideoData",value:function(V,q,ue,me,Ee){if(ue<=1){s.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Ge=new Uint8Array(V,q,ue)[0],dt=(Ge&240)>>>4,Kt=Ge&15;if(Kt!==7){this._onError(ne.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Kt));return}this._parseAVCVideoPacket(V,q+1,ue-1,me,Ee,dt)}},{key:"_parseAVCVideoPacket",value:function(V,q,ue,me,Ee,Ge){if(ue<4){s.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var dt=this._littleEndian,Kt=new DataView(V,q,ue),tr=Kt.getUint8(0),wt=Kt.getUint32(0,!dt)&16777215,It=wt<<8>>8;if(tr===0)this._parseAVCDecoderConfigurationRecord(V,q+4,ue-4);else if(tr===1)this._parseAVCVideoData(V,q+4,ue-4,me,Ee,Ge,It);else if(!(tr===2)){this._onError(ne.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(tr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(V,q,ue){if(ue<7){s.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var me=this._videoMetadata,Ee=this._videoTrack,Ge=this._littleEndian,dt=new DataView(V,q,ue);me?typeof me.avcc!="undefined"&&s.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),me=this._videoMetadata={},me.type="video",me.id=Ee.id,me.timescale=this._timescale,me.duration=this._duration);var Kt=dt.getUint8(0),tr=dt.getUint8(1),wt=dt.getUint8(2),It=dt.getUint8(3);if(Kt!==1||tr===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(dt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(ne.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Lt=dt.getUint8(5)&31;if(Lt===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Lt>1&&s.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Lt));for(var Nt=6,$e=0;$e<Lt;$e++){var ot=dt.getUint16(Nt,!Ge);if(Nt+=2,ot===0)continue;var ft=new Uint8Array(V,q+Nt,ot);Nt+=ot;var ze=Ze.parseSPS(ft);if($e!==0)continue;me.codecWidth=ze.codec_size.width,me.codecHeight=ze.codec_size.height,me.presentWidth=ze.present_size.width,me.presentHeight=ze.present_size.height,me.profile=ze.profile_string,me.level=ze.level_string,me.bitDepth=ze.bit_depth,me.chromaFormat=ze.chroma_format,me.sarRatio=ze.sar_ratio,me.frameRate=ze.frame_rate,(ze.frame_rate.fixed===!1||ze.frame_rate.fps_num===0||ze.frame_rate.fps_den===0)&&(me.frameRate=this._referenceFrameRate);var Ye=me.frameRate.fps_den,qe=me.frameRate.fps_num;me.refSampleDuration=me.timescale*(Ye/qe);for(var rt=ft.subarray(1,4),ct="avc1.",st=0;st<3;st++){var et=rt[st].toString(16);et.length<2&&(et="0"+et),ct+=et}me.codec=ct;var Ft=this._mediaInfo;Ft.width=me.codecWidth,Ft.height=me.codecHeight,Ft.fps=me.frameRate.fps,Ft.profile=me.profile,Ft.level=me.level,Ft.refFrames=ze.ref_frames,Ft.chromaFormat=ze.chroma_format_string,Ft.sarNum=me.sarRatio.width,Ft.sarDen=me.sarRatio.height,Ft.videoCodec=ct,Ft.hasAudio?Ft.audioCodec!=null&&(Ft.mimeType='video/x-flv; codecs="'+Ft.videoCodec+","+Ft.audioCodec+'"'):Ft.mimeType='video/x-flv; codecs="'+Ft.videoCodec+'"',Ft.isComplete()&&this._onMediaInfo(Ft)}var Ct=dt.getUint8(Nt);if(Ct===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ct>1&&s.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Ct));Nt++;for(var ir=0;ir<Ct;ir++){var Xt=dt.getUint16(Nt,!Ge);if(Nt+=2,Xt===0)continue;Nt+=Xt}me.avcc=new Uint8Array(ue),me.avcc.set(new Uint8Array(V,q,ue),0),s.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",me)}},{key:"_parseAVCVideoData",value:function(V,q,ue,me,Ee,Ge,dt){for(var Kt=this._littleEndian,tr=new DataView(V,q,ue),wt=[],It=0,Lt=0,Nt=this._naluLengthSize,$e=this._timestampBase+me,ot=Ge===1;Lt<ue;){if(Lt+4>=ue){s.w(this.TAG,"Malformed Nalu near timestamp ".concat($e,", offset = ").concat(Lt,", dataSize = ").concat(ue));break}var ft=tr.getUint32(Lt,!Kt);if(Nt===3&&(ft>>>=8),ft>ue-Nt){s.w(this.TAG,"Malformed Nalus near timestamp ".concat($e,", NaluSize > DataSize!"));return}var ze=tr.getUint8(Lt+Nt)&31;ze===5&&(ot=!0);var Ye=new Uint8Array(V,q+Lt,Nt+ft),qe={type:ze,data:Ye};wt.push(qe),It+=Ye.byteLength,Lt+=Nt+ft}if(wt.length){var rt=this._videoTrack,ct={units:wt,length:It,isKeyframe:ot,dts:$e,cts:dt,pts:$e+dt};ot&&(ct.fileposition=Ee),rt.samples.push(ct),rt.length+=It}}}],[{key:"probe",value:function(V){var q=new Uint8Array(V),ue={match:!1};if(q[0]!==70||q[1]!==76||q[2]!==86||q[3]!==1)return ue;var me=(q[4]&4)>>>2!==0,Ee=(q[4]&1)!==0,Ge=Xe(q,5);return Ge<9?ue:{match:!0,consumed:Ge,dataOffset:Ge,hasAudioTrack:me,hasVideoTrack:Ee}}}]),Oe}(),At=lt,Me=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"init",value:function(){Oe.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 V in Oe.types)Oe.types.hasOwnProperty(V)&&(Oe.types[V]=[V.charCodeAt(0),V.charCodeAt(1),V.charCodeAt(2),V.charCodeAt(3)]);var q=Oe.constants={};q.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),q.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),q.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),q.STSC=q.STCO=q.STTS,q.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),q.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]),q.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]),q.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),q.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),q.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(V){for(var q=8,ue=null,me=Array.prototype.slice.call(arguments,1),Ee=me.length,Ge=0;Ge<Ee;Ge++)q+=me[Ge].byteLength;ue=new Uint8Array(q),ue[0]=q>>>24&255,ue[1]=q>>>16&255,ue[2]=q>>>8&255,ue[3]=q&255,ue.set(V,4);for(var dt=8,Kt=0;Kt<Ee;Kt++)ue.set(me[Kt],dt),dt+=me[Kt].byteLength;return ue}},{key:"generateInitSegment",value:function(V){var q=Oe.box(Oe.types.ftyp,Oe.constants.FTYP),ue=Oe.moov(V),me=new Uint8Array(q.byteLength+ue.byteLength);return me.set(q,0),me.set(ue,q.byteLength),me}},{key:"moov",value:function(V){var q=Oe.mvhd(V.timescale,V.duration),ue=Oe.trak(V),me=Oe.mvex(V);return Oe.box(Oe.types.moov,q,ue,me)}},{key:"mvhd",value:function(V,q){return Oe.box(Oe.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,V>>>24&255,V>>>16&255,V>>>8&255,V&255,q>>>24&255,q>>>16&255,q>>>8&255,q&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(V){return Oe.box(Oe.types.trak,Oe.tkhd(V),Oe.mdia(V))}},{key:"tkhd",value:function(V){var q=V.id,ue=V.duration,me=V.presentWidth,Ee=V.presentHeight;return Oe.box(Oe.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,q>>>24&255,q>>>16&255,q>>>8&255,q&255,0,0,0,0,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&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,me>>>8&255,me&255,0,0,Ee>>>8&255,Ee&255,0,0]))}},{key:"mdia",value:function(V){return Oe.box(Oe.types.mdia,Oe.mdhd(V),Oe.hdlr(V),Oe.minf(V))}},{key:"mdhd",value:function(V){var q=V.timescale,ue=V.duration;return Oe.box(Oe.types.mdhd,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,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255,85,196,0,0]))}},{key:"hdlr",value:function(V){var q=null;return V.type==="audio"?q=Oe.constants.HDLR_AUDIO:q=Oe.constants.HDLR_VIDEO,Oe.box(Oe.types.hdlr,q)}},{key:"minf",value:function(V){var q=null;return V.type==="audio"?q=Oe.box(Oe.types.smhd,Oe.constants.SMHD):q=Oe.box(Oe.types.vmhd,Oe.constants.VMHD),Oe.box(Oe.types.minf,q,Oe.dinf(),Oe.stbl(V))}},{key:"dinf",value:function(){var V=Oe.box(Oe.types.dinf,Oe.box(Oe.types.dref,Oe.constants.DREF));return V}},{key:"stbl",value:function(V){var q=Oe.box(Oe.types.stbl,Oe.stsd(V),Oe.box(Oe.types.stts,Oe.constants.STTS),Oe.box(Oe.types.stsc,Oe.constants.STSC),Oe.box(Oe.types.stsz,Oe.constants.STSZ),Oe.box(Oe.types.stco,Oe.constants.STCO));return q}},{key:"stsd",value:function(V){return V.type==="audio"?V.codec==="mp3"?Oe.box(Oe.types.stsd,Oe.constants.STSD_PREFIX,Oe.mp3(V)):Oe.box(Oe.types.stsd,Oe.constants.STSD_PREFIX,Oe.mp4a(V)):Oe.box(Oe.types.stsd,Oe.constants.STSD_PREFIX,Oe.avc1(V))}},{key:"mp3",value:function(V){var q=V.channelCount,ue=V.audioSampleRate,me=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,q,0,16,0,0,0,0,ue>>>8&255,ue&255,0,0]);return Oe.box(Oe.types[".mp3"],me)}},{key:"mp4a",value:function(V){var q=V.channelCount,ue=V.audioSampleRate,me=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,q,0,16,0,0,0,0,ue>>>8&255,ue&255,0,0]);return Oe.box(Oe.types.mp4a,me,Oe.esds(V))}},{key:"esds",value:function(V){var q=V.config||[],ue=q.length,me=new Uint8Array([0,0,0,0,3,23+ue,0,1,0,4,15+ue,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([ue]).concat(q).concat([6,1,2]));return Oe.box(Oe.types.esds,me)}},{key:"avc1",value:function(V){var q=V.avcc,ue=V.codecWidth,me=V.codecHeight,Ee=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,ue>>>8&255,ue&255,me>>>8&255,me&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 Oe.box(Oe.types.avc1,Ee,Oe.box(Oe.types.avcC,q))}},{key:"mvex",value:function(V){return Oe.box(Oe.types.mvex,Oe.trex(V))}},{key:"trex",value:function(V){var q=V.id,ue=new Uint8Array([0,0,0,0,q>>>24&255,q>>>16&255,q>>>8&255,q&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Oe.box(Oe.types.trex,ue)}},{key:"moof",value:function(V,q){return Oe.box(Oe.types.moof,Oe.mfhd(V.sequenceNumber),Oe.traf(V,q))}},{key:"mfhd",value:function(V){var q=new Uint8Array([0,0,0,0,V>>>24&255,V>>>16&255,V>>>8&255,V&255]);return Oe.box(Oe.types.mfhd,q)}},{key:"traf",value:function(V,q){var ue=V.id,me=Oe.box(Oe.types.tfhd,new Uint8Array([0,0,0,0,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255])),Ee=Oe.box(Oe.types.tfdt,new Uint8Array([0,0,0,0,q>>>24&255,q>>>16&255,q>>>8&255,q&255])),Ge=Oe.sdtp(V),dt=Oe.trun(V,Ge.byteLength+16+16+8+16+8+8);return Oe.box(Oe.types.traf,me,Ee,dt,Ge)}},{key:"sdtp",value:function(V){for(var q=V.samples||[],ue=q.length,me=new Uint8Array(4+ue),Ee=0;Ee<ue;Ee++){var Ge=q[Ee].flags;me[Ee+4]=Ge.isLeading<<6|Ge.dependsOn<<4|Ge.isDependedOn<<2|Ge.hasRedundancy}return Oe.box(Oe.types.sdtp,me)}},{key:"trun",value:function(V,q){var ue=V.samples||[],me=ue.length,Ee=12+16*me,Ge=new Uint8Array(Ee);q+=8+Ee,Ge.set([0,0,15,1,me>>>24&255,me>>>16&255,me>>>8&255,me&255,q>>>24&255,q>>>16&255,q>>>8&255,q&255],0);for(var dt=0;dt<me;dt++){var Kt=ue[dt].duration,tr=ue[dt].size,wt=ue[dt].flags,It=ue[dt].cts;Ge.set([Kt>>>24&255,Kt>>>16&255,Kt>>>8&255,Kt&255,tr>>>24&255,tr>>>16&255,tr>>>8&255,tr&255,wt.isLeading<<2|wt.dependsOn,wt.isDependedOn<<6|wt.hasRedundancy<<4|wt.isNonSync,0,0,It>>>24&255,It>>>16&255,It>>>8&255,It&255],12+16*dt)}return Oe.box(Oe.types.trun,Ge)}},{key:"mdat",value:function(V){return Oe.box(Oe.types.mdat,V)}}]),Oe}();Me.init();var Ht=Me,tt=function(){function Oe(){Object(A.a)(this,Oe)}return Object(f.a)(Oe,null,[{key:"getSilentFrame",value:function(V,q){if(V==="mp4a.40.2"){if(q===1)return new Uint8Array([0,200,0,128,35,128]);if(q===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(q===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(q===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(q===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(q===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(q===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(q===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(q===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}}]),Oe}(),Mt=tt,jt=function Oe(xe,V,q,ue,me){Object(A.a)(this,Oe),this.dts=xe,this.pts=V,this.duration=q,this.originalDts=ue,this.isSyncPoint=me,this.fileposition=null},kt=function(){function Oe(){Object(A.a)(this,Oe),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)(Oe,[{key:"appendSyncPoint",value:function(V){V.isSyncPoint=!0,this.syncPoints.push(V)}}]),Oe}(),Tt=function(){function Oe(){Object(A.a)(this,Oe),this._list=[]}return Object(f.a)(Oe,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(V){var q=this._list;if(V.length===0)return;q.length>0&&V[0].originalDts<q[q.length-1].originalDts&&this.clear(),Array.prototype.push.apply(q,V)}},{key:"getLastSyncPointBeforeDts",value:function(V){if(this._list.length==0)return null;var q=this._list,ue=0,me=q.length-1,Ee=0,Ge=0,dt=me;for(V<q[0].dts&&(ue=0,Ge=dt+1);Ge<=dt;)if(Ee=Ge+Math.floor((dt-Ge)/2),Ee===me||V>=q[Ee].dts&&V<q[Ee+1].dts){ue=Ee;break}else q[Ee].dts<V?Ge=Ee+1:dt=Ee-1;return this._list[ue]}}]),Oe}(),Dt=function(){function Oe(xe){Object(A.a)(this,Oe),this._type=xe,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(Oe,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(V){var q=this._list;if(q.length===0)return-2;var ue=q.length-1,me=0,Ee=0,Ge=ue,dt=0;if(V<q[0].originalBeginDts)return dt=-1,dt;for(;Ee<=Ge;)if(me=Ee+Math.floor((Ge-Ee)/2),me===ue||V>q[me].lastSample.originalDts&&V<q[me+1].originalBeginDts){dt=me;break}else q[me].originalBeginDts<V?Ee=me+1:Ge=me-1;return dt}},{key:"_searchNearestSegmentAfter",value:function(V){return this._searchNearestSegmentBefore(V)+1}},{key:"append",value:function(V){var q=this._list,ue=V,me=this._lastAppendLocation,Ee=0;me!==-1&&me<q.length&&ue.originalBeginDts>=q[me].lastSample.originalDts&&(me===q.length-1||me<q.length-1&&ue.originalBeginDts<q[me+1].originalBeginDts)?Ee=me+1:q.length>0&&(Ee=this._searchNearestSegmentBefore(ue.originalBeginDts)+1),this._lastAppendLocation=Ee,this._list.splice(Ee,0,ue)}},{key:"getLastSegmentBefore",value:function(V){var q=this._searchNearestSegmentBefore(V);return q>=0?this._list[q]:null}},{key:"getLastSampleBefore",value:function(V){var q=this.getLastSegmentBefore(V);return q!=null?q.lastSample:null}},{key:"getLastSyncPointBefore",value:function(V){for(var q=this._searchNearestSegmentBefore(V),ue=this._list[q].syncPoints;ue.length===0&&q>0;)q--,ue=this._list[q].syncPoints;return ue.length>0?ue[ue.length-1]:null}}]),Oe}(),Ue=function(){function Oe(xe){Object(A.a)(this,Oe),this.TAG="MP4Remuxer",this._config=xe,this._isLive=xe.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Dt("audio"),this._videoSegmentInfoList=new Dt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(Oe,[{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(V){return V.onDataAvailable=this.remux.bind(this),V.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(V){this._onInitSegment=V}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(V){this._onMediaSegment=V}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(V){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(V,q){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(V,q),this._remuxVideo(q),this._remuxAudio(V)}},{key:"_onTrackMetadataReceived",value:function(V,q){var ue=null,me="mp4",Ee=q.codec;if(V==="audio")this._audioMeta=q,q.codec==="mp3"&&this._mp3UseMpegAudio?(me="mpeg",Ee="",ue=new Uint8Array):ue=Ht.generateInitSegment(q);else if(V==="video")this._videoMeta=q,ue=Ht.generateInitSegment(q);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(V,{type:V,data:ue.buffer,codec:Ee,container:"".concat(V,"/").concat(me),mediaDuration:q.duration})}},{key:"_calculateDtsBase",value:function(V,q){if(this._dtsBaseInited)return;V.samples&&V.samples.length&&(this._audioDtsBase=V.samples[0].dts),q.samples&&q.samples.length&&(this._videoDtsBase=q.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var V=this._videoStashedLastSample,q=this._audioStashedLastSample,ue={type:"video",id:1,sequenceNumber:0,samples:[],length:0};V!=null&&(ue.samples.push(V),ue.length=V.length);var me={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};q!=null&&(me.samples.push(q),me.length=q.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(ue,!0),this._remuxAudio(me,!0)}},{key:"_remuxAudio",value:function(V,q){if(this._audioMeta==null)return;var ue=V,me=ue.samples,Ee=void 0,Ge=-1,dt=-1,Kt=-1,tr=this._audioMeta.refSampleDuration,wt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,It=this._dtsBaseInited&&this._audioNextDts===void 0,Lt=!1;if(!me||me.length===0)return;if(me.length===1&&!q)return;var Nt=0,$e=null,ot=0;wt?(Nt=0,ot=ue.length):(Nt=8,ot=8+ue.length);var ft=null;if(me.length>1&&(ft=me.pop(),ot-=ft.length),this._audioStashedLastSample!=null){var ze=this._audioStashedLastSample;this._audioStashedLastSample=null,me.unshift(ze),ot+=ze.length}ft!=null&&(this._audioStashedLastSample=ft);var Ye=me[0].dts-this._dtsBase;if(this._audioNextDts)Ee=Ye-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Ee=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Lt=!0));else{var qe=this._audioSegmentInfoList.getLastSampleBefore(Ye);if(qe!=null){var rt=Ye-(qe.originalDts+qe.duration);rt<=3&&(rt=0);var ct=qe.dts+qe.duration+rt;Ee=Ye-ct}else Ee=0}if(Lt){var st=Ye-Ee,et=this._videoSegmentInfoList.getLastSegmentBefore(Ye);if(et!=null&&et.beginDts<st){var Ft=Mt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ft){var Ct=et.beginDts,ir=st-et.beginDts;s.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Ct,", duration: ").concat(ir)),me.unshift({unit:Ft,dts:Ct,pts:Ct}),ot+=Ft.byteLength}}else Lt=!1}for(var Xt=[],_r=0;_r<me.length;_r++){var Br=me[_r],Gr=Br.unit,un=Br.dts-this._dtsBase,mn=un-Ee;Ge===-1&&(Ge=mn);var _n=0;if(_r!==me.length-1){var qr=me[_r+1].dts-this._dtsBase-Ee;_n=qr-mn}else if(ft!=null){var yn=ft.dts-this._dtsBase-Ee;_n=yn-mn}else Xt.length>=1?_n=Xt[Xt.length-1].duration:_n=Math.floor(tr);var nn=!1,cr=null;if(_n>tr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){nn=!0;var Pr=Math.abs(_n-tr),Ar=Math.ceil(Pr/tr),Mr=mn+tr;s.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(mn+_n," ms, expected: ").concat(mn+Math.round(tr)," ms, ")+"delta: ".concat(Math.round(Pr)," ms, generate: ").concat(Ar," frames"));var fn=Mt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);fn==null&&(s.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),fn=Gr),cr=[];for(var En=0;En<Ar;En++){var Rn=Math.round(Mr);if(cr.length>0){var oi=cr[cr.length-1];oi.duration=Rn-oi.dts}var An={dts:Rn,pts:Rn,cts:0,unit:fn,size:fn.byteLength,duration:0,originalDts:un,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};cr.push(An),ot+=An.size,Mr+=tr}var mi=cr[cr.length-1];mi.duration=mn+_n-mi.dts,_n=Math.round(tr)}Xt.push({dts:mn,pts:mn,cts:0,unit:Br.unit,size:Br.unit.byteLength,duration:_n,originalDts:un,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),nn&&Xt.push.apply(Xt,cr)}wt?$e=new Uint8Array(ot):($e=new Uint8Array(ot),$e[0]=ot>>>24&255,$e[1]=ot>>>16&255,$e[2]=ot>>>8&255,$e[3]=ot&255,$e.set(Ht.types.mdat,4));for(var ai=0;ai<Xt.length;ai++){var Xr=Xt[ai].unit;$e.set(Xr,Nt),Nt+=Xr.byteLength}var pn=Xt[Xt.length-1];dt=pn.dts+pn.duration,this._audioNextDts=dt;var Ln=new kt;Ln.beginDts=Ge,Ln.endDts=dt,Ln.beginPts=Ge,Ln.endPts=dt,Ln.originalBeginDts=Xt[0].originalDts,Ln.originalEndDts=pn.originalDts+pn.duration,Ln.firstSample=new jt(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),Ln.lastSample=new jt(pn.dts,pn.pts,pn.duration,pn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Ln),ue.samples=Xt,ue.sequenceNumber++;var tn=null;wt?tn=new Uint8Array:tn=Ht.moof(ue,Ge),ue.samples=[],ue.length=0;var $t={type:"audio",data:this._mergeBoxes(tn,$e).buffer,sampleCount:Xt.length,info:Ln};wt&&It&&($t.timestampOffset=Ge),this._onMediaSegment("audio",$t)}},{key:"_remuxVideo",value:function(V,q){if(this._videoMeta==null)return;var ue=V,me=ue.samples,Ee=void 0,Ge=-1,dt=-1,Kt=-1,tr=-1;if(!me||me.length===0)return;if(me.length===1&&!q)return;var wt=8,It=null,Lt=8+V.length,Nt=null;if(me.length>1&&(Nt=me.pop(),Lt-=Nt.length),this._videoStashedLastSample!=null){var $e=this._videoStashedLastSample;this._videoStashedLastSample=null,me.unshift($e),Lt+=$e.length}Nt!=null&&(this._videoStashedLastSample=Nt);var ot=me[0].dts-this._dtsBase;if(this._videoNextDts)Ee=ot-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Ee=0;else{var ft=this._videoSegmentInfoList.getLastSampleBefore(ot);if(ft!=null){var ze=ot-(ft.originalDts+ft.duration);ze<=3&&(ze=0);var Ye=ft.dts+ft.duration+ze;Ee=ot-Ye}else Ee=0}for(var qe=new kt,rt=[],ct=0;ct<me.length;ct++){var st=me[ct],et=st.dts-this._dtsBase,Ft=st.isKeyframe,Ct=et-Ee,ir=st.cts,Xt=Ct+ir;Ge===-1&&(Ge=Ct,Kt=Xt);var _r=0;if(ct!==me.length-1){var Br=me[ct+1].dts-this._dtsBase-Ee;_r=Br-Ct}else if(Nt!=null){var Gr=Nt.dts-this._dtsBase-Ee;_r=Gr-Ct}else rt.length>=1?_r=rt[rt.length-1].duration:_r=Math.floor(this._videoMeta.refSampleDuration);if(Ft){var un=new jt(Ct,Xt,_r,st.dts,!0);un.fileposition=st.fileposition,qe.appendSyncPoint(un)}rt.push({dts:Ct,pts:Xt,cts:ir,units:st.units,size:st.length,isKeyframe:Ft,duration:_r,originalDts:et,flags:{isLeading:0,dependsOn:Ft?2:1,isDependedOn:Ft?1:0,hasRedundancy:0,isNonSync:Ft?0:1}})}It=new Uint8Array(Lt),It[0]=Lt>>>24&255,It[1]=Lt>>>16&255,It[2]=Lt>>>8&255,It[3]=Lt&255,It.set(Ht.types.mdat,4);for(var mn=0;mn<rt.length;mn++)for(var _n=rt[mn].units;_n.length;){var qr=_n.shift(),yn=qr.data;It.set(yn,wt),wt+=yn.byteLength}var nn=rt[rt.length-1];if(dt=nn.dts+nn.duration,tr=nn.pts+nn.duration,this._videoNextDts=dt,qe.beginDts=Ge,qe.endDts=dt,qe.beginPts=Kt,qe.endPts=tr,qe.originalBeginDts=rt[0].originalDts,qe.originalEndDts=nn.originalDts+nn.duration,qe.firstSample=new jt(rt[0].dts,rt[0].pts,rt[0].duration,rt[0].originalDts,rt[0].isKeyframe),qe.lastSample=new jt(nn.dts,nn.pts,nn.duration,nn.originalDts,nn.isKeyframe),this._isLive||this._videoSegmentInfoList.append(qe),ue.samples=rt,ue.sequenceNumber++,this._forceFirstIDR){var cr=rt[0].flags;cr.dependsOn=2,cr.isNonSync=0}var Pr=Ht.moof(ue,Ge);ue.samples=[],ue.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(Pr,It).buffer,sampleCount:rt.length,info:qe})}},{key:"_mergeBoxes",value:function(V,q){var ue=new Uint8Array(V.byteLength+q.byteLength);return ue.set(V,0),ue.set(q,V.byteLength),ue}}]),Oe}(),G=Ue,Y={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"},Pe=Y,Be=function(){function Oe(xe,V){Object(A.a)(this,Oe),this.TAG="TransmuxingController",this._emitter=new p.a,this._config=V,xe.segments||(xe.segments=[{duration:xe.duration,filesize:xe.filesize,url:xe.url}]),typeof xe.cors!="boolean"&&(xe.cors=!0),typeof xe.withCredentials!="boolean"&&(xe.withCredentials=!1),this._mediaDataSource=xe,this._currentSegmentIndex=0;var q=0;this._mediaDataSource.segments.forEach(function(ue){ue.timestampBase=q,q+=ue.duration,ue.cors=xe.cors,ue.withCredentials=xe.withCredentials,V.referrerPolicy&&(ue.referrerPolicy=V.referrerPolicy)}),!isNaN(q)&&this._mediaDataSource.duration!==q&&(this._mediaDataSource.duration=q),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)(Oe,[{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(V,q){this._emitter.addListener(V,q)}},{key:"off",value:function(V,q){this._emitter.removeListener(V,q)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(V,q){this._currentSegmentIndex=V;var ue=this._mediaDataSource.segments[V],me=this._ioctl=new K(ue,this._config,V);me.onError=this._onIOException.bind(this),me.onSeeked=this._onIOSeeked.bind(this),me.onComplete=this._onIOComplete.bind(this),me.onRedirect=this._onIORedirect.bind(this),me.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),q?this._demuxer.bindDataSource(this._ioctl):me.onDataArrival=this._onInitChunkArrival.bind(this),me.open(q)}},{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(V){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var q=this._searchSegmentIndexContains(V);if(q===this._currentSegmentIndex){var ue=this._mediaInfo.segments[q];if(ue==null)this._pendingSeekTime=V;else{var me=ue.getNearestKeyframe(V);this._remuxer.seek(me.milliseconds),this._ioctl.seek(me.fileposition),this._pendingResolveSeekPoint=me.milliseconds}}else{var Ee=this._mediaInfo.segments[q];if(Ee==null)this._pendingSeekTime=V,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(q);else{var Ge=Ee.getNearestKeyframe(V);this._internalAbort(),this._remuxer.seek(V),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[q].timestampBase,this._loadSegment(q,Ge.fileposition),this._pendingResolveSeekPoint=Ge.milliseconds,this._reportSegmentMediaInfo(q)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(V){for(var q=this._mediaDataSource.segments,ue=q.length-1,me=0;me<q.length;me++)if(V<q[me].timestampBase){ue=me-1;break}return ue}},{key:"_onInitChunkArrival",value:function(V,q){var ue=this,me=null,Ee=0;if(q>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Ee=this._demuxer.parseChunks(V,q);else if((me=At.probe(V)).match){this._demuxer=new At(me,this._config),this._remuxer||(this._remuxer=new G(this._config));var Ge=this._mediaDataSource;Ge.duration!=null&&!isNaN(Ge.duration)&&(this._demuxer.overridedDuration=Ge.duration),typeof Ge.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Ge.hasAudio),typeof Ge.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Ge.hasVideo),this._demuxer.timestampBase=Ge.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),Ee=this._demuxer.parseChunks(V,q)}else me=null,s.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){ue._internalAbort()}),this._emitter.emit(Pe.DEMUX_ERROR,ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Ee=0;return Ee}},{key:"_onMediaInfo",value:function(V){var q=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},V),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,He.prototype));var ue=Object.assign({},V);Object.setPrototypeOf(ue,He.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=ue,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var me=q._pendingSeekTime;q._pendingSeekTime=null,q.seek(me)})}},{key:"_onMetaDataArrived",value:function(V){this._emitter.emit(Pe.METADATA_ARRIVED,V)}},{key:"_onScriptDataArrived",value:function(V){this._emitter.emit(Pe.SCRIPTDATA_ARRIVED,V)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(V){var q=V,ue=q+1;ue<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(ue)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Pe.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(V){var q=this._ioctl.extraData;this._mediaDataSource.segments[q].redirectedURL=V}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(Pe.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(V,q){s.e(this.TAG,"IOException: type = ".concat(V,", code = ").concat(q.code,", msg = ").concat(q.msg)),this._emitter.emit(Pe.IO_ERROR,V,q),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(V,q){s.e(this.TAG,"DemuxException: type = ".concat(V,", info = ").concat(q)),this._emitter.emit(Pe.DEMUX_ERROR,V,q)}},{key:"_onRemuxerInitSegmentArrival",value:function(V,q){this._emitter.emit(Pe.INIT_SEGMENT,V,q)}},{key:"_onRemuxerMediaSegmentArrival",value:function(V,q){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(Pe.MEDIA_SEGMENT,V,q),this._pendingResolveSeekPoint!=null&&V==="video"){var ue=q.info.syncPoints,me=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&ue.length>0&&ue[0].originalDts===me&&(me=ue[0].pts),this._emitter.emit(Pe.RECOMMEND_SEEKPOINT,me)}}},{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(V){var q=this._mediaInfo.segments[V],ue=Object.assign({},q);ue.duration=this._mediaInfo.duration,ue.segmentCount=this._mediaInfo.segmentCount,delete ue.segments,delete ue.keyframesIndex,this._emitter.emit(Pe.MEDIA_INFO,ue)}},{key:"_reportStatisticsInfo",value:function(){var V={};V.url=this._ioctl.currentURL,V.hasRedirect=this._ioctl.hasRedirect,V.hasRedirect&&(V.redirectedURL=this._ioctl.currentRedirectedURL),V.speed=this._ioctl.currentSpeed,V.loaderType=this._ioctl.loaderType,V.currentSegmentIndex=this._currentSegmentIndex,V.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Pe.STATISTICS_INFO,V)}}]),Oe}(),J=Be,St=function(xe){var V="TransmuxingWorker",q=null,ue=ot.bind(this);m.install(),xe.addEventListener("message",function(ft){switch(ft.data.cmd){case"init":q=new J(ft.data.param[0],ft.data.param[1]),q.on(Pe.IO_ERROR,Lt.bind(this)),q.on(Pe.DEMUX_ERROR,Nt.bind(this)),q.on(Pe.INIT_SEGMENT,me.bind(this)),q.on(Pe.MEDIA_SEGMENT,Ee.bind(this)),q.on(Pe.LOADING_COMPLETE,Ge.bind(this)),q.on(Pe.RECOVERED_EARLY_EOF,dt.bind(this)),q.on(Pe.MEDIA_INFO,Kt.bind(this)),q.on(Pe.METADATA_ARRIVED,tr.bind(this)),q.on(Pe.SCRIPTDATA_ARRIVED,wt.bind(this)),q.on(Pe.STATISTICS_INFO,It.bind(this)),q.on(Pe.RECOMMEND_SEEKPOINT,$e.bind(this));break;case"destroy":q&&(q.destroy(),q=null),xe.postMessage({msg:"destroyed"});break;case"start":q.start();break;case"stop":q.stop();break;case"seek":q.seek(ft.data.param);break;case"pause":q.pause();break;case"resume":q.resume();break;case"logging_config":{var ze=ft.data.param;Qe.applyConfig(ze),ze.enableCallback===!0?Qe.addLogListener(ue):Qe.removeLogListener(ue);break}}});function me(ft,ze){var Ye={msg:Pe.INIT_SEGMENT,data:{type:ft,data:ze}};xe.postMessage(Ye,[ze.data])}function Ee(ft,ze){var Ye={msg:Pe.MEDIA_SEGMENT,data:{type:ft,data:ze}};xe.postMessage(Ye,[ze.data])}function Ge(){var ft={msg:Pe.LOADING_COMPLETE};xe.postMessage(ft)}function dt(){var ft={msg:Pe.RECOVERED_EARLY_EOF};xe.postMessage(ft)}function Kt(ft){var ze={msg:Pe.MEDIA_INFO,data:ft};xe.postMessage(ze)}function tr(ft){var ze={msg:Pe.METADATA_ARRIVED,data:ft};xe.postMessage(ze)}function wt(ft){var ze={msg:Pe.SCRIPTDATA_ARRIVED,data:ft};xe.postMessage(ze)}function It(ft){var ze={msg:Pe.STATISTICS_INFO,data:ft};xe.postMessage(ze)}function Lt(ft,ze){xe.postMessage({msg:Pe.IO_ERROR,data:{type:ft,info:ze}})}function Nt(ft,ze){xe.postMessage({msg:Pe.DEMUX_ERROR,data:{type:ft,info:ze}})}function $e(ft){xe.postMessage({msg:Pe.RECOMMEND_SEEKPOINT,data:ft})}function ot(ft,ze){xe.postMessage({msg:"logcat_callback",data:{type:ft,logcat:ze}})}},bt=St,nt=function(){function Oe(xe,V){if(Object(A.a)(this,Oe),this.TAG="Transmuxer",this._emitter=new p.a,V.enableWorker&&typeof Worker!="undefined")try{var q=e("0r65");this._worker=q(bt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[xe,V]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Qe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Qe.getConfig()})}catch(me){s.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new J(xe,V)}else this._controller=new J(xe,V);if(this._controller){var ue=this._controller;ue.on(Pe.IO_ERROR,this._onIOError.bind(this)),ue.on(Pe.DEMUX_ERROR,this._onDemuxError.bind(this)),ue.on(Pe.INIT_SEGMENT,this._onInitSegment.bind(this)),ue.on(Pe.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),ue.on(Pe.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),ue.on(Pe.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),ue.on(Pe.MEDIA_INFO,this._onMediaInfo.bind(this)),ue.on(Pe.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),ue.on(Pe.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),ue.on(Pe.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),ue.on(Pe.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(Oe,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Qe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(V,q){this._emitter.addListener(V,q)}},{key:"off",value:function(V,q){this._emitter.removeListener(V,q)}},{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(V){this._worker?this._worker.postMessage({cmd:"seek",param:V}):this._controller.seek(V)}},{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(V,q){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Pe.INIT_SEGMENT,V,q)})}},{key:"_onMediaSegment",value:function(V,q){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Pe.MEDIA_SEGMENT,V,q)})}},{key:"_onLoadingComplete",value:function(){var V=this;Promise.resolve().then(function(){V._emitter.emit(Pe.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var V=this;Promise.resolve().then(function(){V._emitter.emit(Pe.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(V){var q=this;Promise.resolve().then(function(){q._emitter.emit(Pe.MEDIA_INFO,V)})}},{key:"_onMetaDataArrived",value:function(V){var q=this;Promise.resolve().then(function(){q._emitter.emit(Pe.METADATA_ARRIVED,V)})}},{key:"_onScriptDataArrived",value:function(V){var q=this;Promise.resolve().then(function(){q._emitter.emit(Pe.SCRIPTDATA_ARRIVED,V)})}},{key:"_onStatisticsInfo",value:function(V){var q=this;Promise.resolve().then(function(){q._emitter.emit(Pe.STATISTICS_INFO,V)})}},{key:"_onIOError",value:function(V,q){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Pe.IO_ERROR,V,q)})}},{key:"_onDemuxError",value:function(V,q){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Pe.DEMUX_ERROR,V,q)})}},{key:"_onRecommendSeekpoint",value:function(V){var q=this;Promise.resolve().then(function(){q._emitter.emit(Pe.RECOMMEND_SEEKPOINT,V)})}},{key:"_onLoggingConfigChanged",value:function(V){this._worker&&this._worker.postMessage({cmd:"logging_config",param:V})}},{key:"_onWorkerMessage",value:function(V){var q=V.data,ue=q.data;if(q.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(q.msg){case Pe.INIT_SEGMENT:case Pe.MEDIA_SEGMENT:this._emitter.emit(q.msg,ue.type,ue.data);break;case Pe.LOADING_COMPLETE:case Pe.RECOVERED_EARLY_EOF:this._emitter.emit(q.msg);break;case Pe.MEDIA_INFO:Object.setPrototypeOf(ue,He.prototype),this._emitter.emit(q.msg,ue);break;case Pe.METADATA_ARRIVED:case Pe.SCRIPTDATA_ARRIVED:case Pe.STATISTICS_INFO:this._emitter.emit(q.msg,ue);break;case Pe.IO_ERROR:case Pe.DEMUX_ERROR:this._emitter.emit(q.msg,ue.type,ue.info);break;case Pe.RECOMMEND_SEEKPOINT:this._emitter.emit(q.msg,ue);break;case"logcat_callback":s.emitter.emit("log",ue.type,ue.logcat);break;default:break}}}]),Oe}(),Rt=nt,zt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},Fr=zt,Jt=function(){function Oe(xe){Object(A.a)(this,Oe),this.TAG="MSEController",this._config=xe,this._emitter=new p.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 Tt}return Object(f.a)(Oe,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(V,q){this._emitter.addListener(V,q)}},{key:"off",value:function(V,q){this._emitter.removeListener(V,q)}},{key:"attachMediaElement",value:function(V){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var q=this._mediaSource=new window.MediaSource;q.addEventListener("sourceopen",this.e.onSourceOpen),q.addEventListener("sourceended",this.e.onSourceEnded),q.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=V,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),V.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var V=this._mediaSource;for(var q in this._sourceBuffers){var ue=this._pendingSegments[q];ue.splice(0,ue.length),this._pendingSegments[q]=null,this._pendingRemoveRanges[q]=null,this._lastInitSegments[q]=null;var me=this._sourceBuffers[q];if(me){if(V.readyState!=="closed"){try{V.removeSourceBuffer(me)}catch(Ee){s.e(this.TAG,Ee.message)}me.removeEventListener("error",this.e.onSourceBufferError),me.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[q]=null,this._sourceBuffers[q]=null}}if(V.readyState==="open")try{V.endOfStream()}catch(Ee){s.e(this.TAG,Ee.message)}V.removeEventListener("sourceopen",this.e.onSourceOpen),V.removeEventListener("sourceended",this.e.onSourceEnded),V.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(V,q){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(V),this._pendingSegments[V.type].push(V);return}var ue=V,me="".concat(ue.container);ue.codec&&ue.codec.length>0&&(me+=";codecs=".concat(ue.codec));var Ee=!1;if(s.v(this.TAG,"Received Initialization Segment, mimeType: "+me),this._lastInitSegments[ue.type]=ue,me!==this._mimeTypes[ue.type]){if(this._mimeTypes[ue.type])s.v(this.TAG,"Notice: ".concat(ue.type," mimeType changed, origin: ").concat(this._mimeTypes[ue.type],", target: ").concat(me));else{Ee=!0;try{var Ge=this._sourceBuffers[ue.type]=this._mediaSource.addSourceBuffer(me);Ge.addEventListener("error",this.e.onSourceBufferError),Ge.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(dt){s.e(this.TAG,dt.message),this._emitter.emit(Fr.ERROR,{code:dt.code,msg:dt.message});return}}this._mimeTypes[ue.type]=me}q||this._pendingSegments[ue.type].push(ue),Ee||this._sourceBuffers[ue.type]&&!this._sourceBuffers[ue.type].updating&&this._doAppendSegments(),T.safari&&ue.container==="audio/mpeg"&&ue.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=ue.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(V){var q=V;this._pendingSegments[q.type].push(q),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var ue=this._sourceBuffers[q.type];ue&&!ue.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(V){for(var q in this._sourceBuffers){if(!this._sourceBuffers[q])continue;var ue=this._sourceBuffers[q];if(this._mediaSource.readyState==="open")try{ue.abort()}catch(tr){s.e(this.TAG,tr.message)}this._idrList.clear();var me=this._pendingSegments[q];if(me.splice(0,me.length),this._mediaSource.readyState==="closed")continue;for(var Ee=0;Ee<ue.buffered.length;Ee++){var Ge=ue.buffered.start(Ee),dt=ue.buffered.end(Ee);this._pendingRemoveRanges[q].push({start:Ge,end:dt})}if(ue.updating||this._doRemoveRanges(),T.safari){var Kt=this._lastInitSegments[q];Kt&&(this._pendingSegments[q].push(Kt),ue.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var V=this._mediaSource,q=this._sourceBuffers;if(!V||V.readyState!=="open"){V&&V.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}q.video&&q.video.updating||q.audio&&q.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,V.endOfStream())}},{key:"getNearestKeyframe",value:function(V){return this._idrList.getLastSyncPointBeforeDts(V)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var V=this._mediaElement.currentTime;for(var q in this._sourceBuffers){var ue=this._sourceBuffers[q];if(ue){var me=ue.buffered;if(me.length>=1&&V-me.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var V=this._mediaElement.currentTime;for(var q in this._sourceBuffers){var ue=this._sourceBuffers[q];if(ue){for(var me=ue.buffered,Ee=!1,Ge=0;Ge<me.length;Ge++){var dt=me.start(Ge),Kt=me.end(Ge);if(dt<=V&&V<Kt+3){if(V-dt>=this._config.autoCleanupMaxBackwardDuration){Ee=!0;var tr=V-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[q].push({start:dt,end:tr})}}else Kt<V&&(Ee=!0,this._pendingRemoveRanges[q].push({start:dt,end:Kt}))}Ee&&!ue.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var V=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(V.video&&V.video.updating||V.audio&&V.audio.updating)return;var q=this._mediaSource.duration,ue=this._pendingMediaDuration;ue>0&&(isNaN(q)||ue>q)&&(s.v(this.TAG,"Update MediaSource duration from ".concat(q," to ").concat(ue)),this._mediaSource.duration=ue),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var V in this._pendingRemoveRanges){if(!this._sourceBuffers[V]||this._sourceBuffers[V].updating)continue;for(var q=this._sourceBuffers[V],ue=this._pendingRemoveRanges[V];ue.length&&!q.updating;){var me=ue.shift();q.remove(me.start,me.end)}}}},{key:"_doAppendSegments",value:function(){var V=this._pendingSegments;for(var q in V){if(!this._sourceBuffers[q]||this._sourceBuffers[q].updating)continue;if(V[q].length>0){var ue=V[q].shift();if(ue.timestampOffset){var me=this._sourceBuffers[q].timestampOffset,Ee=ue.timestampOffset/1e3,Ge=Math.abs(me-Ee);Ge>.1&&(s.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(me," to ").concat(Ee)),this._sourceBuffers[q].timestampOffset=Ee),delete ue.timestampOffset}if(!ue.data||ue.data.byteLength===0)continue;try{this._sourceBuffers[q].appendBuffer(ue.data),this._isBufferFull=!1,q==="video"&&ue.hasOwnProperty("info")&&this._idrList.appendArray(ue.info.syncPoints)}catch(dt){this._pendingSegments[q].unshift(ue),dt.code===22?(this._isBufferFull||this._emitter.emit(Fr.BUFFER_FULL),this._isBufferFull=!0):(s.e(this.TAG,dt.message),this._emitter.emit(Fr.ERROR,{code:dt.code,msg:dt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(s.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var V=this._pendingSourceBufferInit;V.length;){var q=V.shift();this.appendInitSegment(q,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Fr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){s.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){s.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 V=this._pendingSegments;return V.video.length>0||V.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var V=this._pendingRemoveRanges;return V.video.length>0||V.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(Fr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(V){s.e(this.TAG,"SourceBuffer Error: ".concat(V))}}]),Oe}(),ge=Jt,ye={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Le={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:ne.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:ne.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:ne.CODEC_UNSUPPORTED},we=function(){function Oe(xe,V){if(Object(A.a)(this,Oe),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new p.a,this._config=ie(),typeof V=="object"&&Object.assign(this._config,V),xe.type.toLowerCase()!=="flv")throw new r("FlvPlayer requires an flv MediaDataSource input!");xe.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=xe,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var q=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(q||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(Oe,[{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(V,q){var ue=this;V===Ie.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){ue._emitter.emit(Ie.MEDIA_INFO,ue.mediaInfo)}):V===Ie.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){ue._emitter.emit(Ie.STATISTICS_INFO,ue.statisticsInfo)})),this._emitter.addListener(V,q)}},{key:"off",value:function(V,q){this._emitter.removeListener(V,q)}},{key:"attachMediaElement",value:function(V){var q=this;if(this._mediaElement=V,V.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),V.addEventListener("seeking",this.e.onvSeeking),V.addEventListener("canplay",this.e.onvCanPlay),V.addEventListener("stalled",this.e.onvStalled),V.addEventListener("progress",this.e.onvProgress),this._msectl=new ge(this._config),this._msectl.on(Fr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Fr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Fr.SOURCE_OPEN,function(){q._mseSourceOpened=!0,q._hasPendingLoad&&(q._hasPendingLoad=!1,q.load())}),this._msectl.on(Fr.ERROR,function(ue){q._emitter.emit(Ie.ERROR,ye.MEDIA_ERROR,Le.MEDIA_MSE_ERROR,ue)}),this._msectl.attachMediaElement(V),this._pendingSeekTime!=null)try{V.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(ue){}}},{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 V=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 Rt(this._mediaDataSource,this._config),this._transmuxer.on(Pe.INIT_SEGMENT,function(q,ue){V._msectl.appendInitSegment(ue)}),this._transmuxer.on(Pe.MEDIA_SEGMENT,function(q,ue){if(V._msectl.appendMediaSegment(ue),V._config.lazyLoad&&!V._config.isLive){var me=V._mediaElement.currentTime;ue.info.endDts>=(me+V._config.lazyLoadMaxDuration)*1e3&&(V._progressChecker==null&&(s.v(V.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),V._suspendTransmuxer()))}}),this._transmuxer.on(Pe.LOADING_COMPLETE,function(){V._msectl.endOfStream(),V._emitter.emit(Ie.LOADING_COMPLETE)}),this._transmuxer.on(Pe.RECOVERED_EARLY_EOF,function(){V._emitter.emit(Ie.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Pe.IO_ERROR,function(q,ue){V._emitter.emit(Ie.ERROR,ye.NETWORK_ERROR,q,ue)}),this._transmuxer.on(Pe.DEMUX_ERROR,function(q,ue){V._emitter.emit(Ie.ERROR,ye.MEDIA_ERROR,q,{code:-1,msg:ue})}),this._transmuxer.on(Pe.MEDIA_INFO,function(q){V._mediaInfo=q,V._emitter.emit(Ie.MEDIA_INFO,Object.assign({},q))}),this._transmuxer.on(Pe.METADATA_ARRIVED,function(q){V._emitter.emit(Ie.METADATA_ARRIVED,q)}),this._transmuxer.on(Pe.SCRIPTDATA_ARRIVED,function(q){V._emitter.emit(Ie.SCRIPTDATA_ARRIVED,q)}),this._transmuxer.on(Pe.STATISTICS_INFO,function(q){V._statisticsInfo=V._fillStatisticsInfo(q),V._emitter.emit(Ie.STATISTICS_INFO,Object.assign({},V._statisticsInfo))}),this._transmuxer.on(Pe.RECOMMEND_SEEKPOINT,function(q){V._mediaElement&&!V._config.accurateSeek&&(V._requestSetTime=!0,V._mediaElement.currentTime=q/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(V){this._mediaElement.volume=V}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(V){this._mediaElement.muted=V}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(V){this._mediaElement?this._internalSeek(V):this._pendingSeekTime=V}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(V){if(V.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return V;var q=!0,ue=0,me=0;if(this._mediaElement.getVideoPlaybackQuality){var Ee=this._mediaElement.getVideoPlaybackQuality();ue=Ee.totalVideoFrames,me=Ee.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(ue=this._mediaElement.webkitDecodedFrameCount,me=this._mediaElement.webkitDroppedFrameCount):q=!1;return q&&(V.decodedFrames=ue,V.droppedFrames=me),V}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var V=this._mediaElement.buffered,q=this._mediaElement.currentTime,ue=0,me=0,Ee=0;Ee<V.length;Ee++){var Ge=V.start(Ee),dt=V.end(Ee);if(Ge<=q&&q<dt){ue=Ge,me=dt;break}}me>=q+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(s.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){s.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 V=this._mediaElement.currentTime,q=this._mediaElement.buffered,ue=!1,me=0;me<q.length;me++){var Ee=q.start(me),Ge=q.end(me);if(V>=Ee&&V<Ge){V>=Ge-this._config.lazyLoadRecoverDuration&&(ue=!0);break}}ue&&(window.clearInterval(this._progressChecker),this._progressChecker=null,ue&&(s.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(V){for(var q=this._mediaElement.buffered,ue=0;ue<q.length;ue++){var me=q.start(ue),Ee=q.end(ue);if(V>=me&&V<Ee)return!0}return!1}},{key:"_internalSeek",value:function(V){var q=this._isTimepointBuffered(V),ue=!1,me=0;if(V<1&&this._mediaElement.buffered.length>0){var Ee=this._mediaElement.buffered.start(0);(Ee<1&&V<Ee||T.safari)&&(ue=!0,me=T.safari?.1:Ee)}if(ue)this._requestSetTime=!0,this._mediaElement.currentTime=me;else if(q){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=V;else{var Ge=this._msectl.getNearestKeyframe(Math.floor(V*1e3));this._requestSetTime=!0,Ge!=null?this._mediaElement.currentTime=Ge.dts/1e3:this._mediaElement.currentTime=V}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(V),this._transmuxer.seek(Math.floor(V*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=V)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var V=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(V)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(V),this._transmuxer.seek(Math.floor(V*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=V))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(V){var q=this._mediaElement;if(V||!this._receivedCanPlay||q.readyState<2){var ue=q.buffered;ue.length>0&&q.currentTime<ue.start(0)&&(s.w(this.TAG,"Playback seems stuck at ".concat(q.currentTime,", seek to ").concat(ue.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=ue.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(V){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(V){var q=this._mediaElement.currentTime,ue=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(q<1&&ue.length>0){var me=ue.start(0);if(me<1&&q<me||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:me;return}}if(this._isTimepointBuffered(q)){if(this._alwaysSeekKeyframe){var Ee=this._msectl.getNearestKeyframe(Math.floor(q*1e3));Ee!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Ee.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:q,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(V){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(V){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(V){this._checkAndResumeStuckPlayback()}}]),Oe}(),Ke=we,Je=function(){function Oe(xe,V){if(Object(A.a)(this,Oe),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new p.a,this._config=ie(),typeof V=="object"&&Object.assign(this._config,V),xe.type.toLowerCase()==="flv")throw new r("NativePlayer does't support flv MediaDataSource input!");if(xe.hasOwnProperty("segments"))throw new r("NativePlayer(".concat(xe.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=xe,this._mediaElement=null}return Object(f.a)(Oe,[{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(V,q){var ue=this;V===Ie.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){ue._emitter.emit(Ie.MEDIA_INFO,ue.mediaInfo)}):V===Ie.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){ue._emitter.emit(Ie.STATISTICS_INFO,ue.statisticsInfo)})),this._emitter.addListener(V,q)}},{key:"off",value:function(V,q){this._emitter.removeListener(V,q)}},{key:"attachMediaElement",value:function(V){if(this._mediaElement=V,V.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{V.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(q){}}},{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:"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(V){this._mediaElement.volume=V}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(V){this._mediaElement.muted=V}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(V){this._mediaElement?this._mediaElement.currentTime=V:this._pendingSeekTime=V}},{key:"mediaInfo",get:function(){var V=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",q={mimeType:V+this._mediaDataSource.type};return this._mediaElement&&(q.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(q.width=this._mediaElement.videoWidth,q.height=this._mediaElement.videoHeight)),q}},{key:"statisticsInfo",get:function(){var V={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return V;var q=!0,ue=0,me=0;if(this._mediaElement.getVideoPlaybackQuality){var Ee=this._mediaElement.getVideoPlaybackQuality();ue=Ee.totalVideoFrames,me=Ee.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(ue=this._mediaElement.webkitDecodedFrameCount,me=this._mediaElement.webkitDroppedFrameCount):q=!1;return q&&(V.decodedFrames=ue,V.droppedFrames=me),V}},{key:"_onvLoadedMetadata",value:function(V){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ie.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ie.STATISTICS_INFO,this.statisticsInfo)}}]),Oe}(),ut=Je;m.install();function vt(Oe,xe){var V=Oe;if(V==null||typeof V!="object")throw new r("MediaDataSource must be an javascript object!");if(!V.hasOwnProperty("type"))throw new r("MediaDataSource must has type field to indicate video file type!");switch(V.type){case"flv":return new Ke(V,xe);default:return new ut(V,xe)}}function _t(){return te.supportMSEH264Playback()}function Ut(){return te.getFeatureList()}var Bt={};Bt.createPlayer=vt,Bt.isSupported=_t,Bt.getFeatureList=Ut,Bt.BaseLoader=y,Bt.LoaderStatus=u,Bt.LoaderErrors=h,Bt.Events=Ie,Bt.ErrorTypes=ye,Bt.ErrorDetails=Le,Bt.FlvPlayer=Ke,Bt.NativePlayer=ut,Bt.LoggingControl=Qe,Object.defineProperty(Bt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var dr=N.a=Bt},GVMX:function(R,N,e){var A=e("JEkh"),f=A.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});R.exports=f},GdRQ:function(R,N,e){"use strict";function A(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(S){return typeof S}:A=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},A(O)}Object.defineProperty(N,"__esModule",{value:!0}),N.isMac=u,N.isWindows=h,N.isIOS=y,N.isSafari=b,N.isIE=E,N.isEdge=v,N.isFirefox=w,N.hasScrollbarGutter=N.supportsImageMetadata=N.supportsCursorURIs=N.dragThreshold=N.isTouchDevice=void 0;var f=m(e("Lo0S"));function x(){if(typeof WeakMap!="function")return null;var O=new WeakMap;return x=function(){return O},O}function m(O){if(O&&O.__esModule)return O;if(O===null||A(O)!=="object"&&typeof O!="function")return{default:O};var T=x();if(T&&T.has(O))return T.get(O);var S={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(Object.prototype.hasOwnProperty.call(O,_)){var I=C?Object.getOwnPropertyDescriptor(O,_):null;I&&(I.get||I.set)?Object.defineProperty(S,_,I):S[_]=O[_]}return S.default=O,T&&T.set(O,S),S}var g="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;N.isTouchDevice=g,window.addEventListener("touchstart",function O(){N.isTouchDevice=g=!0,window.removeEventListener("touchstart",O,!1)},!1);var p=10*(window.devicePixelRatio||1);N.dragThreshold=p;var c=!1;try{var s=document.createElement("canvas");s.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',s.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),c=!0):f.Warn("Data URI scheme cursor not supported")}catch(O){f.Error("Data URI scheme cursor test exception: "+O)}var a=c;N.supportsCursorURIs=a;var n=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),n=!0}catch(O){}var i=n;N.supportsImageMetadata=i;var d=!0;try{var t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);var l=document.createElement("div");t.appendChild(l);var r=t.offsetWidth-l.offsetWidth;t.parentNode.removeChild(t),d=r!=0}catch(O){f.Error("Scrollbar test exception: "+O)}var o=d;N.hasScrollbarGutter=o;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function y(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function b(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function E(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function v(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function w(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(R,N,e){var A=e("bYtY"),f=e("6Ic6"),x=e("IwbS"),m=e("y+Vt"),g=e("sK/D"),p=g.createClipPath,c=["itemStyle"],s=["emphasis","itemStyle"],a=["color","color0","borderColor","borderColor0"],n=f.extend({type:"candlestick",render:function(b,E,v){this.group.removeClipPath(),this._updateDrawMode(b),this._isLargeDraw?this._renderLarge(b):this._renderNormal(b)},incrementalPrepareRender:function(b,E,v){this._clear(),this._updateDrawMode(b)},incrementalRender:function(b,E,v,w){this._isLargeDraw?this._incrementalRenderLarge(b,E):this._incrementalRenderNormal(b,E)},_updateDrawMode:function(b){var E=b.pipelineContext.large;(this._isLargeDraw==null||E^this._isLargeDraw)&&(this._isLargeDraw=E,this._clear())},_renderNormal:function(b){var E=b.getData(),v=this._data,w=this.group,O=E.getLayout("isSimpleBox"),T=b.get("clip",!0),S=b.coordinateSystem,C=S.getArea&&S.getArea();this._data||w.removeAll(),E.diff(v).add(function(_){if(E.hasValue(_)){var I,k=E.getItemLayout(_);if(T&&t(C,k))return;I=d(k,_,!0),x.initProps(I,{shape:{points:k.ends}},b,_),l(I,E,_,O),w.add(I),E.setItemGraphicEl(_,I)}}).update(function(_,I){var k=v.getItemGraphicEl(I);if(!E.hasValue(_)){w.remove(k);return}var F=E.getItemLayout(_);if(T&&t(C,F)){w.remove(k);return}k?x.updateProps(k,{shape:{points:F.ends}},b,_):k=d(F,_),l(k,E,_,O),w.add(k),E.setItemGraphicEl(_,k)}).remove(function(_){var I=v.getItemGraphicEl(_);I&&w.remove(I)}).execute(),this._data=E},_renderLarge:function(b){this._clear(),u(b,this.group);var E=b.get("clip",!0)?p(b.coordinateSystem,!1,b):null;E?this.group.setClipPath(E):this.group.removeClipPath()},_incrementalRenderNormal:function(b,E){for(var v=E.getData(),w=v.getLayout("isSimpleBox"),O;(O=b.next())!=null;){var T,S=v.getItemLayout(O);T=d(S,O),l(T,v,O,w),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(b,E){u(E,this.group,!0)},remove:function(b){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:A.noop}),i=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(b,E){var v=E.points;this.__simpleBox?(b.moveTo(v[4][0],v[4][1]),b.lineTo(v[6][0],v[6][1])):(b.moveTo(v[0][0],v[0][1]),b.lineTo(v[1][0],v[1][1]),b.lineTo(v[2][0],v[2][1]),b.lineTo(v[3][0],v[3][1]),b.closePath(),b.moveTo(v[4][0],v[4][1]),b.lineTo(v[5][0],v[5][1]),b.moveTo(v[6][0],v[6][1]),b.lineTo(v[7][0],v[7][1]))}});function d(b,E,v){var w=b.ends;return new i({shape:{points:v?r(w,b):w},z2:100})}function t(b,E){for(var v=!0,w=0;w<E.ends.length;w++)if(b.contain(E.ends[w][0],E.ends[w][1])){v=!1;break}return v}function l(b,E,v,w){var O=E.getItemModel(v),T=O.getModel(c),S=E.getItemVisual(v,"color"),C=E.getItemVisual(v,"borderColor")||S,_=T.getItemStyle(a);b.useStyle(_),b.style.strokeNoScale=!0,b.style.fill=S,b.style.stroke=C,b.__simpleBox=w;var I=O.getModel(s).getItemStyle();x.setHoverStyle(b,I)}function r(b,E){return A.map(b,function(v){return v=v.slice(),v[1]=E.initBaseline,v})}var o=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(b,E){for(var v=E.points,w=0;w<v.length;)if(this.__sign===v[w++]){var O=v[w++];b.moveTo(O,v[w++]),b.lineTo(O,v[w++])}else w+=3}});function u(b,E,v){var w=b.getData(),O=w.getLayout("largePoints"),T=new o({shape:{points:O},__sign:1});E.add(T);var S=new o({shape:{points:O},__sign:-1});E.add(S),h(1,T,b,w),h(-1,S,b,w),v&&(T.incremental=!0,S.incremental=!0)}function h(b,E,v,w){var O=b>0?"P":"N",T=w.getVisual("borderColor"+O)||w.getVisual("color"+O),S=v.getModel(c).getItemStyle(a);E.useStyle(S),E.style.fill=null,E.style.stroke=T}var y=n;R.exports=y},Gev7:function(R,N,e){var A=e("bYtY"),f=e("K2GJ"),x=e("1bdT"),m=e("ni6a");function g(c){c=c||{},x.call(this,c);for(var s in c)c.hasOwnProperty(s)&&s!=="style"&&(this[s]=c[s]);this.style=new f(c.style,this),this._rect=null,this.__clipPaths=null}g.prototype={constructor:g,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(s){},afterBrush:function(s){},brush:function(s,a){},getBoundingRect:function(){},contain:function(s,a){return this.rectContain(s,a)},traverse:function(s,a){s.call(a,this)},rectContain:function(s,a){var n=this.transformCoordToLocal(s,a),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(s){return this.animate("style",s)},attrKV:function(s,a){s!=="style"?x.prototype.attrKV.call(this,s,a):this.style.set(a)},setStyle:function(s,a){return this.style.set(s,a),this.dirty(!1),this},useStyle:function(s){return this.style=new f(s,this),this.dirty(!1),this},calculateTextPosition:null},A.inherits(g,x),A.mixin(g,m);var p=g;R.exports=p},GrNh:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("6Ic6");function m(n,i,d,t){var l=i.getData(),r=this.dataIndex,o=l.getName(r),u=i.get("selectedOffset");t.dispatchAction({type:"pieToggleSelect",from:n,name:o,seriesId:i.id}),l.each(function(h){g(l.getItemGraphicEl(h),l.getItemLayout(h),i.isSelected(l.getName(h)),u,d)})}function g(n,i,d,t,l){var r=(i.startAngle+i.endAngle)/2,o=Math.cos(r),u=Math.sin(r),h=d?t:0,y=[o*h,u*h];l?n.animate().when(200,{position:y}).start("bounceOut"):n.attr("position",y)}function p(n,i){f.Group.call(this);var d=new f.Sector({z2:2}),t=new f.Polyline,l=new f.Text;this.add(d),this.add(t),this.add(l),this.updateData(n,i,!0)}var c=p.prototype;c.updateData=function(n,i,d){var t=this.childAt(0),l=this.childAt(1),r=this.childAt(2),o=n.hostModel,u=n.getItemModel(i),h=n.getItemLayout(i),y=A.extend({},h);y.label=null;var b=o.getShallow("animationTypeUpdate");if(d){t.setShape(y);var E=o.getShallow("animationType");E==="scale"?(t.shape.r=h.r0,f.initProps(t,{shape:{r:h.r}},o,i)):(t.shape.endAngle=h.startAngle,f.updateProps(t,{shape:{endAngle:h.endAngle}},o,i))}else b==="expansion"?t.setShape(y):f.updateProps(t,{shape:y},o,i);var v=n.getItemVisual(i,"color");t.useStyle(A.defaults({lineJoin:"bevel",fill:v},u.getModel("itemStyle").getItemStyle())),t.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var w=u.getShallow("cursor");w&&t.attr("cursor",w),g(this,n.getItemLayout(i),o.isSelected(n.getName(i)),o.get("selectedOffset"),o.get("animation"));var O=!d&&b==="transition";this._updateLabel(n,i,O),this.highDownOnUpdate=o.get("silent")?null:function(T,S){var C=o.isAnimationEnabled()&&u.get("hoverAnimation");S==="emphasis"?(l.ignore=l.hoverIgnore,r.ignore=r.hoverIgnore,C&&(t.stopAnimation(!0),t.animateTo({shape:{r:h.r+o.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,r.ignore=r.normalIgnore,C&&(t.stopAnimation(!0),t.animateTo({shape:{r:h.r}},300,"elasticOut")))},f.setHoverStyle(this)},c._updateLabel=function(n,i,d){var t=this.childAt(1),l=this.childAt(2),r=n.hostModel,o=n.getItemModel(i),u=n.getItemLayout(i),h=u.label,y=n.getItemVisual(i,"color");if(!h||isNaN(h.x)||isNaN(h.y)){l.ignore=l.normalIgnore=l.hoverIgnore=t.ignore=t.normalIgnore=t.hoverIgnore=!0;return}var b={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},E={x:h.x,y:h.y};d?(f.updateProps(t,{shape:b},r,i),f.updateProps(l,{style:E},r,i)):(t.attr({shape:b}),l.attr({style:E})),l.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var v=o.getModel("label"),w=o.getModel("emphasis.label"),O=o.getModel("labelLine"),T=o.getModel("emphasis.labelLine"),y=n.getItemVisual(i,"color");f.setLabelStyle(l.style,l.hoverStyle={},v,w,{labelFetcher:n.hostModel,labelDataIndex:i,defaultText:h.text,autoColor:y,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:n.getItemVisual(i,"opacity")}),l.ignore=l.normalIgnore=!v.get("show"),l.hoverIgnore=!w.get("show"),t.ignore=t.normalIgnore=!O.get("show"),t.hoverIgnore=!T.get("show"),t.setStyle({stroke:y,opacity:n.getItemVisual(i,"opacity")}),t.setStyle(O.getModel("lineStyle").getLineStyle()),t.hoverStyle=T.getModel("lineStyle").getLineStyle();var S=O.get("smooth");S&&S===!0&&(S=.4),t.setShape({smooth:S})},A.inherits(p,f.Group);var s=x.extend({type:"pie",init:function(){var n=new f.Group;this._sectorGroup=n},render:function(n,i,d,t){if(t&&t.from===this.uid)return;var l=n.getData(),r=this._data,o=this.group,u=i.get("animation"),h=!r,y=n.get("animationType"),b=n.get("animationTypeUpdate"),E=A.curry(m,this.uid,n,u,d),v=n.get("selectedMode");if(l.diff(r).add(function(C){var _=new p(l,C);h&&y!=="scale"&&_.eachChild(function(I){I.stopAnimation(!0)}),v&&_.on("click",E),l.setItemGraphicEl(C,_),o.add(_)}).update(function(C,_){var I=r.getItemGraphicEl(_);!h&&b!=="transition"&&I.eachChild(function(k){k.stopAnimation(!0)}),I.updateData(l,C),I.off("click"),v&&I.on("click",E),o.add(I),l.setItemGraphicEl(C,I)}).remove(function(C){var _=r.getItemGraphicEl(C);o.remove(_)}).execute(),u&&l.count()>0&&(h?y!=="scale":b!=="transition")){for(var w=l.getItemLayout(0),O=1;isNaN(w.startAngle)&&O<l.count();++O)w=l.getItemLayout(O);var T=Math.max(d.getWidth(),d.getHeight())/2,S=A.bind(o.removeClipPath,o);o.setClipPath(this._createClipPath(w.cx,w.cy,T,w.startAngle,w.clockwise,S,n,h))}else o.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(n,i,d,t,l,r,o,u){var h=new f.Sector({shape:{cx:n,cy:i,r0:0,r:d,startAngle:t,endAngle:t,clockwise:l}}),y=u?f.initProps:f.updateProps;return y(h,{shape:{endAngle:t+(l?1:-1)*Math.PI*2}},o,r),h},containPoint:function(n,i){var d=i.getData(),t=d.getItemLayout(0);if(t){var l=n[0]-t.cx,r=n[1]-t.cy,o=Math.sqrt(l*l+r*r);return o<=t.r&&o>=t.r0}}}),a=s;R.exports=a},Gytx:function(R,N){R.exports=function(A,f,x,m){var g=x?x.call(m,A,f):void 0;if(g!==void 0)return!!g;if(A===f)return!0;if(typeof A!="object"||!A||typeof f!="object"||!f)return!1;var p=Object.keys(A),c=Object.keys(f);if(p.length!==c.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(f),a=0;a<p.length;a++){var n=p[a];if(!s(n))return!1;var i=A[n],d=f[n];if(g=x?x.call(m,i,d,n):void 0,g===!1||g===void 0&&i!==d)return!1}return!0}},GzdX:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("q1tI"),m=e.n(x),g=e("rePB"),p=e("1OyB"),c=e("vuIU"),s=e("Ji7U"),a=e("md7G"),n=e("foSv"),i=e("m+aA"),d=e("TSYQ"),t=e.n(d),l=e("4IlW");function r(U){var P=U.pageXOffset,H="scrollLeft";if(typeof P!="number"){var W=U.document;P=W.documentElement[H],typeof P!="number"&&(P=W.body[H])}return P}function o(U){var P,H,W=U.ownerDocument,X=W.body,K=W&&W.documentElement,$=U.getBoundingClientRect();return P=$.left,H=$.top,P-=K.clientLeft||X.clientLeft||0,H-=K.clientTop||X.clientTop||0,{left:P,top:H}}function u(U){var P=o(U),H=U.ownerDocument,W=H.defaultView||H.parentWindow;return P.left+=r(W),P.left}function h(U){var P=y();return function(){var W=Object(n.a)(U),X;if(P){var K=Object(n.a)(this).constructor;X=Reflect.construct(W,arguments,K)}else X=W.apply(this,arguments);return Object(a.a)(this,X)}}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(U){return!1}}var b=function(U){Object(s.a)(H,U);var P=h(H);function H(){var W;return Object(p.a)(this,H),W=P.apply(this,arguments),W.onHover=function(X){var K=W.props,$=K.onHover,ie=K.index;$(X,ie)},W.onClick=function(X){var K=W.props,$=K.onClick,ie=K.index;$(X,ie)},W.onKeyDown=function(X){var K=W.props,$=K.onClick,ie=K.index;X.keyCode===13&&$(X,ie)},W}return Object(c.a)(H,[{key:"getClassName",value:function(){var X=this.props,K=X.prefixCls,$=X.index,ie=X.value,be=X.allowHalf,te=X.focused,Te=$+1,Ie=K;return ie===0&&$===0&&te?Ie+=" ".concat(K,"-focused"):be&&ie+.5>=Te&&ie<Te?(Ie+=" ".concat(K,"-half ").concat(K,"-active"),te&&(Ie+=" ".concat(K,"-focused"))):(Ie+=Te<=ie?" ".concat(K,"-full"):" ".concat(K,"-zero"),Te===ie&&te&&(Ie+=" ".concat(K,"-focused"))),Ie}},{key:"render",value:function(){var X=this.onHover,K=this.onClick,$=this.onKeyDown,ie=this.props,be=ie.disabled,te=ie.prefixCls,Te=ie.character,Ie=ie.characterRender,Fe=ie.index,Qe=ie.count,fe=ie.value,He=typeof Te=="function"?Te(this.props):Te,se=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:be?null:K,onKeyDown:be?null:$,onMouseMove:be?null:X,role:"radio","aria-checked":fe>Fe?"true":"false","aria-posinset":Fe+1,"aria-setsize":Qe,tabIndex:be?-1:0},m.a.createElement("div",{className:"".concat(te,"-first")},He),m.a.createElement("div",{className:"".concat(te,"-second")},He)));return Ie&&(se=Ie(se,this.props)),se}}]),H}(m.a.Component);function E(U,P){var H=Object.keys(U);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(U);P&&(W=W.filter(function(X){return Object.getOwnPropertyDescriptor(U,X).enumerable})),H.push.apply(H,W)}return H}function v(U){for(var P=1;P<arguments.length;P++){var H=arguments[P]!=null?arguments[P]:{};P%2?E(Object(H),!0).forEach(function(W){Object(g.a)(U,W,H[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(H)):E(Object(H)).forEach(function(W){Object.defineProperty(U,W,Object.getOwnPropertyDescriptor(H,W))})}return U}function w(U){var P=O();return function(){var W=Object(n.a)(U),X;if(P){var K=Object(n.a)(this).constructor;X=Reflect.construct(W,arguments,K)}else X=W.apply(this,arguments);return Object(a.a)(this,X)}}function O(){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 T(){}var S=function(U){Object(s.a)(H,U);var P=w(H);function H(W){var X;Object(p.a)(this,H),X=P.call(this,W),X.onHover=function($,ie){var be=X.props.onHoverChange,te=X.getStarValue(ie,$.pageX),Te=X.state.cleanedValue;te!==Te&&X.setState({hoverValue:te,cleanedValue:null}),be(te)},X.onMouseLeave=function(){var $=X.props.onHoverChange;X.setState({hoverValue:void 0,cleanedValue:null}),$(void 0)},X.onClick=function($,ie){var be=X.props.allowClear,te=X.state.value,Te=X.getStarValue(ie,$.pageX),Ie=!1;be&&(Ie=Te===te),X.onMouseLeave(),X.changeValue(Ie?0:Te),X.setState({cleanedValue:Ie?Te:null})},X.onFocus=function(){var $=X.props.onFocus;X.setState({focused:!0}),$&&$()},X.onBlur=function(){var $=X.props.onBlur;X.setState({focused:!1}),$&&$()},X.onKeyDown=function($){var ie=$.keyCode,be=X.props,te=be.count,Te=be.allowHalf,Ie=be.onKeyDown,Fe=be.direction,Qe=Fe==="rtl",fe=X.state.value;ie===l.a.RIGHT&&fe<te&&!Qe?(Te?fe+=.5:fe+=1,X.changeValue(fe),$.preventDefault()):ie===l.a.LEFT&&fe>0&&!Qe||ie===l.a.RIGHT&&fe>0&&Qe?(Te?fe-=.5:fe-=1,X.changeValue(fe),$.preventDefault()):ie===l.a.LEFT&&fe<te&&Qe&&(Te?fe+=.5:fe+=1,X.changeValue(fe),$.preventDefault()),Ie&&Ie($)},X.saveRef=function($){return function(ie){X.stars[$]=ie}},X.saveRate=function($){X.rate=$};var K=W.value;return K===void 0&&(K=W.defaultValue),X.stars={},X.state={value:K,focused:!1,cleanedValue:null},X}return Object(c.a)(H,[{key:"componentDidMount",value:function(){var X=this.props,K=X.autoFocus,$=X.disabled;K&&!$&&this.focus()}},{key:"getStarDOM",value:function(X){return Object(i.a)(this.stars[X])}},{key:"getStarValue",value:function(X,K){var $=this.props,ie=$.allowHalf,be=$.direction,te=be==="rtl",Te=X+1;if(ie){var Ie=this.getStarDOM(X),Fe=u(Ie),Qe=Ie.clientWidth;(te&&K-Fe>Qe/2||!te&&K-Fe<Qe/2)&&(Te-=.5)}return Te}},{key:"focus",value:function(){var X=this.props.disabled;X||this.rate.focus()}},{key:"blur",value:function(){var X=this.props.disabled;X||this.rate.blur()}},{key:"changeValue",value:function(X){var K=this.props.onChange;"value"in this.props||this.setState({value:X}),K(X)}},{key:"render",value:function(){for(var X=this.props,K=X.count,$=X.allowHalf,ie=X.style,be=X.prefixCls,te=X.disabled,Te=X.className,Ie=X.character,Fe=X.characterRender,Qe=X.tabIndex,fe=X.direction,He=this.state,se=He.value,Ce=He.hoverValue,mt=He.focused,Ne=[],ae=te?"".concat(be,"-disabled"):"",ce=0;ce<K;ce+=1)Ne.push(m.a.createElement(b,{ref:this.saveRef(ce),index:ce,count:K,disabled:te,prefixCls:"".concat(be,"-star"),allowHalf:$,value:Ce===void 0?se:Ce,onClick:this.onClick,onHover:this.onHover,key:ce,character:Ie,characterRender:Fe,focused:mt}));var le=t()(be,ae,Te,Object(g.a)({},"".concat(be,"-rtl"),fe==="rtl"));return m.a.createElement("ul",{className:le,style:ie,onMouseLeave:te?null:this.onMouseLeave,tabIndex:te?-1:Qe,onFocus:te?null:this.onFocus,onBlur:te?null:this.onBlur,onKeyDown:te?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Ne)}}],[{key:"getDerivedStateFromProps",value:function(X,K){return"value"in X&&X.value!==void 0?v(v({},K),{},{value:X.value}):K}}]),H}(m.a.Component);S.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var C=S,_=C,I=e("Lerx"),k=e.n(I),F=e("3S7+"),B=e("H84U"),j=function(U,P){var H={};for(var W in U)Object.prototype.hasOwnProperty.call(U,W)&&P.indexOf(W)<0&&(H[W]=U[W]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,W=Object.getOwnPropertySymbols(U);X<W.length;X++)P.indexOf(W[X])<0&&Object.prototype.propertyIsEnumerable.call(U,W[X])&&(H[W[X]]=U[W[X]]);return H},z=x.forwardRef(function(U,P){var H=U.prefixCls,W=U.tooltips,X=j(U,["prefixCls","tooltips"]),K=function(Ie,Fe){var Qe=Fe.index;return W?x.createElement(F.a,{title:W[Qe]},Ie):Ie},$=x.useContext(B.b),ie=$.getPrefixCls,be=$.direction,te=ie("rate",H);return x.createElement(_,f()({ref:P,characterRender:K},X,{prefixCls:te,direction:be}))});z.displayName="Rate",z.defaultProps={character:x.createElement(k.a,null)};var M=N.a=z},H6uX:function(R,N){var e=Array.prototype.slice,A=function(p){this._$handlers={},this._$eventProcessor=p};A.prototype={constructor:A,one:function(p,c,s,a){return x(this,p,c,s,a,!0)},on:function(p,c,s,a){return x(this,p,c,s,a,!1)},isSilent:function(p){var c=this._$handlers;return!c[p]||!c[p].length},off:function(p,c){var s=this._$handlers;if(!p)return this._$handlers={},this;if(c){if(s[p]){for(var a=[],n=0,i=s[p].length;n<i;n++)s[p][n].h!==c&&a.push(s[p][n]);s[p]=a}s[p]&&s[p].length===0&&delete s[p]}else delete s[p];return this},trigger:function(p){var c=this._$handlers[p],s=this._$eventProcessor;if(c){var a=arguments,n=a.length;n>3&&(a=e.call(a,1));for(var i=c.length,d=0;d<i;){var t=c[d];if(s&&s.filter&&t.query!=null&&!s.filter(p,t.query)){d++;continue}switch(n){case 1:t.h.call(t.ctx);break;case 2:t.h.call(t.ctx,a[1]);break;case 3:t.h.call(t.ctx,a[1],a[2]);break;default:t.h.apply(t.ctx,a);break}t.one?(c.splice(d,1),i--):d++}}return s&&s.afterTrigger&&s.afterTrigger(p),this},triggerWithContext:function(p){var c=this._$handlers[p],s=this._$eventProcessor;if(c){var a=arguments,n=a.length;n>4&&(a=e.call(a,1,a.length-1));for(var i=a[a.length-1],d=c.length,t=0;t<d;){var l=c[t];if(s&&s.filter&&l.query!=null&&!s.filter(p,l.query)){t++;continue}switch(n){case 1:l.h.call(i);break;case 2:l.h.call(i,a[1]);break;case 3:l.h.call(i,a[1],a[2]);break;default:l.h.apply(i,a);break}l.one?(c.splice(t,1),d--):t++}}return s&&s.afterTrigger&&s.afterTrigger(p),this}};function f(g,p){var c=g._$eventProcessor;return p!=null&&c&&c.normalizeQuery&&(p=c.normalizeQuery(p)),p}function x(g,p,c,s,a,n){var i=g._$handlers;if(typeof c=="function"&&(a=s,s=c,c=null),!s||!p)return g;c=f(g,c),i[p]||(i[p]=[]);for(var d=0;d<i[p].length;d++)if(i[p][d].h===s)return g;var t={h:s,one:n,query:c,ctx:a||g,callAtLast:s.zrEventfulCallAtLast},l=i[p].length-1,r=i[p][l];return r&&r.callAtLast?i[p].splice(l,0,t):i[p].push(t),g}var m=A;R.exports=m},HBhm:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},"HF/U":function(R,N,e){var A=e("QBsz");function f(m){var g=m.coordinateSystem;if(g&&g.type!=="view")return;var p=m.getGraph();p.eachNode(function(c){var s=c.getModel();c.setLayout([+s.get("x"),+s.get("y")])}),x(p)}function x(m){m.eachEdge(function(g){var p=g.getModel().get("lineStyle.curveness")||0,c=A.clone(g.node1.getLayout()),s=A.clone(g.node2.getLayout()),a=[c,s];+p&&a.push([(c[0]+s[0])/2-(c[1]-s[1])*p,(c[1]+s[1])/2-(s[0]-c[0])*p]),g.setLayout(a)})}N.simpleLayout=f,N.simpleLayoutEdge=x},"HM/N":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("/SeX"),g=e("OELB"),p=g.parsePercent,c=e("aX7z"),s=c.createScaleByModel,a=c.niceScaleExtent,n=e("IDmD"),i=e("7hqr"),d=i.getStackedDimension;e("ePAk");function t(u,h,y){var b=h.get("center"),E=y.getWidth(),v=y.getHeight();u.cx=p(b[0],E),u.cy=p(b[1],v);var w=u.getRadiusAxis(),O=Math.min(E,v)/2,T=h.get("radius");T==null?T=[0,"100%"]:x.isArray(T)||(T=[0,T]),T=[p(T[0],O),p(T[1],O)],w.inverse?w.setExtent(T[1],T[0]):w.setExtent(T[0],T[1])}function l(u,h){var y=this,b=y.getAngleAxis(),E=y.getRadiusAxis();if(b.scale.setExtent(Infinity,-Infinity),E.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(O){if(O.coordinateSystem===y){var T=O.getData();x.each(T.mapDimension("radius",!0),function(S){E.scale.unionExtentFromData(T,d(T,S))}),x.each(T.mapDimension("angle",!0),function(S){b.scale.unionExtentFromData(T,d(T,S))})}}),a(b.scale,b.model),a(E.scale,E.model),b.type==="category"&&!b.onBand){var v=b.getExtent(),w=360/b.scale.count();b.inverse?v[1]+=w:v[1]-=w,b.setExtent(v[0],v[1])}}function r(u,h){if(u.type=h.get("type"),u.scale=s(h),u.onBand=h.get("boundaryGap")&&u.type==="category",u.inverse=h.get("inverse"),h.mainType==="angleAxis"){u.inverse^=h.get("clockwise");var y=h.get("startAngle");u.setExtent(y,y+(u.inverse?-360:360))}h.axis=u,u.model=h}var o={dimensions:m.prototype.dimensions,create:function(u,h){var y=[];return u.eachComponent("polar",function(b,E){var v=new m(E);v.update=l;var w=v.getRadiusAxis(),O=v.getAngleAxis(),T=b.findAxisModel("radiusAxis"),S=b.findAxisModel("angleAxis");r(w,T),r(O,S),t(v,b,h),y.push(v),b.coordinateSystem=v,v.model=b}),u.eachSeries(function(b){if(b.get("coordinateSystem")==="polar"){var E=u.queryComponents({mainType:"polar",index:b.get("polarIndex"),id:b.get("polarId")})[0];b.coordinateSystem=E.coordinateSystem}}),y}};n.register("polar",o)},HQEm:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},HjIi:function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=f.parsePercent,m=e("7hqr"),g=m.isDimensionStacked;function p(i){return i.get("stack")||"__ec_stack_"+i.seriesIndex}function c(i,d){return d.dim+i.model.componentIndex}function s(i,d,t){var l={},r=a(A.filter(d.getSeriesByType(i),function(o){return!d.isSeriesFiltered(o)&&o.coordinateSystem&&o.coordinateSystem.type==="polar"}));d.eachSeriesByType(i,function(o){if(o.coordinateSystem.type!=="polar")return;var u=o.getData(),h=o.coordinateSystem,y=h.getBaseAxis(),b=c(h,y),E=p(o),v=r[b][E],w=v.offset,O=v.width,T=h.getOtherAxis(y),S=o.coordinateSystem.cx,C=o.coordinateSystem.cy,_=o.get("barMinHeight")||0,I=o.get("barMinAngle")||0;l[E]=l[E]||[];for(var k=u.mapDimension(T.dim),F=u.mapDimension(y.dim),B=g(u,k),j=y.dim!=="radius"||!o.get("roundCap",!0),z=T.getExtent()[0],M=0,U=u.count();M<U;M++){var P=u.get(k,M),H=u.get(F,M),W=P>=0?"p":"n",X=z;B&&(l[E][H]||(l[E][H]={p:z,n:z}),X=l[E][H][W]);var K,$,ie,be;if(T.dim==="radius"){var te=T.dataToRadius(P)-z,Te=y.dataToAngle(H);Math.abs(te)<_&&(te=(te<0?-1:1)*_),K=X,$=X+te,ie=Te-w,be=ie-O,B&&(l[E][H][W]=$)}else{var Ie=T.dataToAngle(P,j)-z,Fe=y.dataToRadius(H);Math.abs(Ie)<I&&(Ie=(Ie<0?-1:1)*I),K=Fe+w,$=K+O,ie=X,be=X+Ie,B&&(l[E][H][W]=be)}u.setItemLayout(M,{cx:S,cy:C,r0:K,r:$,startAngle:-ie*Math.PI/180,endAngle:-be*Math.PI/180})}},this)}function a(i,d){var t={};A.each(i,function(r,o){var u=r.getData(),h=r.coordinateSystem,y=h.getBaseAxis(),b=c(h,y),E=y.getExtent(),v=y.type==="category"?y.getBandWidth():Math.abs(E[1]-E[0])/u.count(),w=t[b]||{bandWidth:v,remainedWidth:v,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},O=w.stacks;t[b]=w;var T=p(r);O[T]||w.autoWidthCount++,O[T]=O[T]||{width:0,maxWidth:0};var S=x(r.get("barWidth"),v),C=x(r.get("barMaxWidth"),v),_=r.get("barGap"),I=r.get("barCategoryGap");S&&!O[T].width&&(S=Math.min(w.remainedWidth,S),O[T].width=S,w.remainedWidth-=S),C&&(O[T].maxWidth=C),_!=null&&(w.gap=_),I!=null&&(w.categoryGap=I)});var l={};return A.each(t,function(r,o){l[o]={};var u=r.stacks,h=r.bandWidth,y=x(r.categoryGap,h),b=x(r.gap,1),E=r.remainedWidth,v=r.autoWidthCount,w=(E-y)/(v+(v-1)*b);w=Math.max(w,0),A.each(u,function(C,_){var I=C.maxWidth;I&&I<w&&(I=Math.min(I,E),C.width&&(I=Math.min(I,C.width)),E-=I,C.width=I,v--)}),w=(E-y)/(v+(v-1)*b),w=Math.max(w,0);var O=0,T;A.each(u,function(C,_){C.width||(C.width=w),T=C,O+=C.width*(1+b)}),T&&(O-=T.width*b);var S=-O/2;A.each(u,function(C,_){l[o][_]=l[o][_]||{offset:S,width:C.width},S+=C.width*(1+b)})}),l}var n=s;R.exports=n},HjOm:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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=A;N.default=f},Hw7h:function(R,N,e){var A=e("y+Vt"),f=A.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(x,m){var g=Math.cos,p=Math.sin,c=m.r,s=m.width,a=m.angle,n=m.x-g(a)*s*(s>=c/3?1:2),i=m.y-p(a)*s*(s>=c/3?1:2);a=m.angle-Math.PI/2,x.moveTo(n,i),x.lineTo(m.x+g(a)*s,m.y+p(a)*s),x.lineTo(m.x+g(m.angle)*c,m.y+p(m.angle)*c),x.lineTo(m.x-g(a)*s,m.y-p(a)*s),x.lineTo(n,i);return}});R.exports=f},Hxpc:function(R,N,e){var A=e("bYtY"),f=e("4NO4"),x=e("bLfw"),m=e("Qxkt"),g=e("cCMj"),p=e("7uqq"),c=x.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(a){x.prototype.init.apply(this,arguments),f.defaultEmphasis(a,"label",["show"])},optionUpdated:function(){var a=this.option,n=this;a.regions=p.getFilledRegions(a.regions,a.map,a.nameMap),this._optionModelMap=A.reduce(a.regions||[],function(i,d){return d.name&&i.set(d.name,new m(d,n)),i},A.createHashMap()),this.updateSelectedMap(a.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(a){return this._optionModelMap.get(a)||new m(null,this,this.ecModel)},getFormattedLabel:function(a,n){var i=this.getRegionModel(a),d=i.get("label"+(n==="normal"?".":n+".")+"formatter"),t={name:a};if(typeof d=="function")return t.status=n,d(t);if(typeof d=="string")return d.replace("{a}",a!=null?a:"")},setZoom:function(a){this.option.zoom=a},setCenter:function(a){this.option.center=a}});A.mixin(c,g);var s=c;R.exports=s},"I+77":function(R,N,e){var A=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),x=e("f5Yq"),m=e("KUOm"),g=e("3m61"),p=e("01d+"),c=e("rdor"),s=e("WGYa"),a=e("ewwo");A.registerProcessor(f),A.registerVisual(x("graph","circle",null)),A.registerVisual(m),A.registerVisual(g),A.registerLayout(p),A.registerLayout(A.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),A.registerLayout(s),A.registerCoordinateSystem("graphView",{create:a})},"I+Bx":function(R,N,e){var A=e("bYtY"),f=e("eIcI"),x=e("ieMj"),m=e("OELB"),g=e("aX7z"),p=g.getScaleExtent,c=g.niceScaleExtent,s=e("IDmD"),a=e("jCoz");function n(d,t,l){this._model=d,this.dimensions=[],this._indicatorAxes=A.map(d.getIndicatorModels(),function(r,o){var u="indicator_"+o,h=new f(u,r.get("axisType")==="log"?new a:new x);return h.name=r.get("name"),h.model=r,r.axis=h,this.dimensions.push(u),h},this),this.resize(d,l),this.cx,this.cy,this.r,this.r0,this.startAngle}n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(d,t){var l=this._indicatorAxes[t];return this.coordToPoint(l.dataToCoord(d),t)},n.prototype.coordToPoint=function(d,t){var l=this._indicatorAxes[t],r=l.angle,o=this.cx+d*Math.cos(r),u=this.cy-d*Math.sin(r);return[o,u]},n.prototype.pointToData=function(d){var t=d[0]-this.cx,l=d[1]-this.cy,r=Math.sqrt(t*t+l*l);t/=r,l/=r;for(var o=Math.atan2(-l,t),u=Infinity,h,y=-1,b=0;b<this._indicatorAxes.length;b++){var E=this._indicatorAxes[b],v=Math.abs(o-E.angle);v<u&&(h=E,y=b,u=v)}return[y,+(h&&h.coordToData(r))]},n.prototype.resize=function(d,t){var l=d.get("center"),r=t.getWidth(),o=t.getHeight(),u=Math.min(r,o)/2;this.cx=m.parsePercent(l[0],r),this.cy=m.parsePercent(l[1],o),this.startAngle=d.get("startAngle")*Math.PI/180;var h=d.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=m.parsePercent(h[0],u),this.r=m.parsePercent(h[1],u),A.each(this._indicatorAxes,function(y,b){y.setExtent(this.r0,this.r);var E=this.startAngle+b*Math.PI*2/this._indicatorAxes.length;E=Math.atan2(Math.sin(E),Math.cos(E)),y.angle=E},this)},n.prototype.update=function(d,t){var l=this._indicatorAxes,r=this._model;A.each(l,function(h){h.scale.setExtent(Infinity,-Infinity)}),d.eachSeriesByType("radar",function(h,y){if(h.get("coordinateSystem")!=="radar"||d.getComponent("radar",h.get("radarIndex"))!==r)return;var b=h.getData();A.each(l,function(E){E.scale.unionExtentFromData(b,b.mapDimension(E.dim))})},this);var o=r.get("splitNumber");function u(h){var y=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),b=h/y;return b===2?b=5:b*=2,b*y}A.each(l,function(h,y){var b=p(h.scale,h.model).extent;c(h.scale,h.model);var E=h.model,v=h.scale,w=E.getMin(),O=E.getMax(),T=v.getInterval();if(w!=null&&O!=null)v.setExtent(+w,+O),v.setInterval((O-w)/o);else if(w!=null){var S;do S=w+T*o,v.setExtent(+w,S),v.setInterval(T),T=u(T);while(S<b[1]&&isFinite(S)&&isFinite(b[1]))}else if(O!=null){var C;do C=O-T*o,v.setExtent(C,+O),v.setInterval(T),T=u(T);while(C>b[0]&&isFinite(C)&&isFinite(b[0]))}else{var _=v.getTicks().length-1;_>o&&(T=u(T));var S=Math.ceil(b[1]/T)*T,C=m.round(S-T*o);v.setExtent(C,S),v.setInterval(T)}})},n.dimensions=[],n.create=function(d,t){var l=[];return d.eachComponent("radar",function(r){var o=new n(r,d,t);l.push(o),r.coordinateSystem=o}),d.eachSeriesByType("radar",function(r){r.get("coordinateSystem")==="radar"&&(r.coordinateSystem=l[r.get("radarIndex")||0])}),l},s.register("radar",n);var i=n;R.exports=i},"I3/A":function(R,N,e){var A=e("bYtY"),f=e("YXkt"),x=e("c2i1"),m=e("Mdki"),g=e("sdST"),p=e("IDmD"),c=e("MwEJ");function s(a,n,i,d,t){for(var l=new x(d),r=0;r<a.length;r++)l.addNode(A.retrieve(a[r].id,a[r].name,r),r);for(var o=[],u=[],h=0,r=0;r<n.length;r++){var y=n[r],b=y.source,E=y.target;l.addEdge(b,E,h)&&(u.push(y),o.push(A.retrieve(y.id,b+" > "+E)),h++)}var v=i.get("coordinateSystem"),w;if(v==="cartesian2d"||v==="polar")w=c(a,i);else{var O=p.get(v),T=O&&O.type!=="view"?O.dimensions||[]:[];A.indexOf(T,"value")<0&&T.concat(["value"]);var S=g(a,{coordDimensions:T});w=new f(S,i),w.initData(a)}var C=new f(["value"],i);return C.initData(u,o),t&&t(w,C),m({mainData:w,struct:l,structAttr:"graph",datas:{node:w,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}R.exports=s},I8Z2:function(R,N,e){"use strict";e.d(N,"a",function(){return m}),e.d(N,"b",function(){return t}),e.d(N,"c",function(){return r});var A=e("q1tI"),f=function(){var o=function(h,y){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var v in E)E.hasOwnProperty(v)&&(b[v]=E[v])},o(h,y)};return function(u,h){o(u,h);function y(){this.constructor=u}u.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),x=A.createContext(null),m=function(o){f(u,o);function u(){return o!==null&&o.apply(this,arguments)||this}return u.prototype.render=function(){return A.createElement(x.Provider,{value:this.props.store},this.props.children)},u}(A.Component),g=e("Gytx"),p=e.n(g),c=e("2mql"),s=e.n(c),a=function(){var o=function(h,y){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var v in E)E.hasOwnProperty(v)&&(b[v]=E[v])},o(h,y)};return function(u,h){o(u,h);function y(){this.constructor=u}u.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),n=function(){return n=Object.assign||function(o){for(var u,h=1,y=arguments.length;h<y;h++){u=arguments[h];for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(o[b]=u[b])}return o},n.apply(this,arguments)};function i(o){return o.displayName||o.name||"Component"}var d=function(){return{}};function t(o,u){u===void 0&&(u={});var h=!!o,y=o||d;return function(E){var v=function(O){a(T,O);function T(S,C){var _=O.call(this,S,C)||this;return _.unsubscribe=null,_.handleChange=function(){if(!_.unsubscribe)return;var I=y(_.store.getState(),_.props);_.setState({subscribed:I})},_.store=_.context,_.state={subscribed:y(_.store.getState(),S),store:_.store,props:S},_}return T.getDerivedStateFromProps=function(S,C){return o&&o.length===2&&S!==C.props?{subscribed:y(C.store.getState(),S),props:S}:{props:S}},T.prototype.componentDidMount=function(){this.trySubscribe()},T.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},T.prototype.shouldComponentUpdate=function(S,C){return!p()(this.props,S)||!p()(this.state.subscribed,C.subscribed)},T.prototype.trySubscribe=function(){h&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},T.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},T.prototype.render=function(){var S=n(n(n({},this.props),this.state.subscribed),{store:this.store});return A.createElement(E,n({},S,{ref:this.props.miniStoreForwardedRef}))},T.displayName="Connect("+i(E)+")",T.contextType=x,T}(A.Component);if(u.forwardRef){var w=A.forwardRef(function(O,T){return A.createElement(v,n({},O,{miniStoreForwardedRef:T}))});return s()(w,E)}return s()(v,E)}}var l=function(){return l=Object.assign||function(o){for(var u,h=1,y=arguments.length;h<y;h++){u=arguments[h];for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(o[b]=u[b])}return o},l.apply(this,arguments)};function r(o){var u=o,h=[];function y(v){u=l(l({},u),v);for(var w=0;w<h.length;w++)h[w]()}function b(){return u}function E(v){return h.push(v),function(){var O=h.indexOf(v);h.splice(O,1)}}return{setState:y,getState:b,subscribe:E}}},"I9Y+":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("4xFK")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="DoubleRightOutlined";var s=m.forwardRef(c);N.default=s},ICMv:function(R,N,e){var A=e("bYtY"),f={getMin:function(x){var m=this.option,g=!x&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&g!=null&&g!=="dataMin"&&typeof g!="function"&&!A.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getMax:function(x){var m=this.option,g=!x&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&g!=null&&g!=="dataMax"&&typeof g!="function"&&!A.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getNeedCrossZero:function(){var x=this.option;return x.rangeStart!=null||x.rangeEnd!=null?!1:!x.scale},getCoordSysModel:A.noop,setRange:function(x,m){this.option.rangeStart=x,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};R.exports=f},IDmD:function(R,N,e){var A=e("bYtY"),f={};function x(){this._coordinateSystems=[]}x.prototype={constructor:x,create:function(g,p){var c=[];A.each(f,function(s,a){var n=s.create(g,p);c=c.concat(n||[])}),this._coordinateSystems=c},update:function(g,p){A.each(this._coordinateSystems,function(c){c.update&&c.update(g,p)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},x.register=function(g,p){f[g]=p},x.get=function(g){return f[g]};var m=x;R.exports=m},IMiH:function(R,N,e){var A=e("Sj9i"),f=e("QBsz"),x=e("4mN7"),m=e("mFDi"),g=e("LPTA"),p=g.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},s=[],a=[],n=[],i=[],d=Math.min,t=Math.max,l=Math.cos,r=Math.sin,o=Math.sqrt,u=Math.abs,h=typeof Float32Array!="undefined",y=function(v){this._saveData=!(v||!1),this._saveData&&(this.data=[]),this._ctx=null};y.prototype={constructor:y,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(v,w,O){O=O||0,this._ux=u(O/p/v)||0,this._uy=u(O/p/w)||0},getContext:function(){return this._ctx},beginPath:function(v){return this._ctx=v,v&&v.beginPath(),v&&(this.dpr=v.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(v,w){return this.addData(c.M,v,w),this._ctx&&this._ctx.moveTo(v,w),this._x0=v,this._y0=w,this._xi=v,this._yi=w,this},lineTo:function(v,w){var O=u(v-this._xi)>this._ux||u(w-this._yi)>this._uy||this._len<5;return this.addData(c.L,v,w),this._ctx&&O&&(this._needsDash()?this._dashedLineTo(v,w):this._ctx.lineTo(v,w)),O&&(this._xi=v,this._yi=w),this},bezierCurveTo:function(v,w,O,T,S,C){return this.addData(c.C,v,w,O,T,S,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(v,w,O,T,S,C):this._ctx.bezierCurveTo(v,w,O,T,S,C)),this._xi=S,this._yi=C,this},quadraticCurveTo:function(v,w,O,T){return this.addData(c.Q,v,w,O,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(v,w,O,T):this._ctx.quadraticCurveTo(v,w,O,T)),this._xi=O,this._yi=T,this},arc:function(v,w,O,T,S,C){return this.addData(c.A,v,w,O,O,T,S-T,0,C?0:1),this._ctx&&this._ctx.arc(v,w,O,T,S,C),this._xi=l(S)*O+v,this._yi=r(S)*O+w,this},arcTo:function(v,w,O,T,S){return this._ctx&&this._ctx.arcTo(v,w,O,T,S),this},rect:function(v,w,O,T){return this._ctx&&this._ctx.rect(v,w,O,T),this.addData(c.R,v,w,O,T),this},closePath:function(){this.addData(c.Z);var v=this._ctx,w=this._x0,O=this._y0;return v&&(this._needsDash()&&this._dashedLineTo(w,O),v.closePath()),this._xi=w,this._yi=O,this},fill:function(v){v&&v.fill(),this.toStatic()},stroke:function(v){v&&v.stroke(),this.toStatic()},setLineDash:function(v){if(v instanceof Array){this._lineDash=v,this._dashIdx=0;for(var w=0,O=0;O<v.length;O++)w+=v[O];this._dashSum=w}return this},setLineDashOffset:function(v){return this._dashOffset=v,this},len:function(){return this._len},setData:function(v){var w=v.length;!(this.data&&this.data.length===w)&&h&&(this.data=new Float32Array(w));for(var O=0;O<w;O++)this.data[O]=v[O];this._len=w},appendPath:function(v){v instanceof Array||(v=[v]);for(var w=v.length,O=0,T=this._len,S=0;S<w;S++)O+=v[S].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+O));for(var S=0;S<w;S++)for(var C=v[S].data,_=0;_<C.length;_++)this.data[T++]=C[_];this._len=T},addData:function(v){if(!this._saveData)return;var w=this.data;this._len+arguments.length>w.length&&(this._expandData(),w=this.data);for(var O=0;O<arguments.length;O++)w[this._len++]=arguments[O];this._prevCmd=v},_expandData:function(){if(!(this.data instanceof Array)){for(var v=[],w=0;w<this._len;w++)v[w]=this.data[w];this.data=v}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(v,w){var O=this._dashSum,T=this._dashOffset,S=this._lineDash,C=this._ctx,_=this._xi,I=this._yi,k=v-_,F=w-I,B=o(k*k+F*F),j=_,z=I,M,U=S.length,P;for(k/=B,F/=B,T<0&&(T=O+T),T%=O,j-=T*k,z-=T*F;k>0&&j<=v||k<0&&j>=v||k===0&&(F>0&&z<=w||F<0&&z>=w);){if(P=this._dashIdx,M=S[P],j+=k*M,z+=F*M,this._dashIdx=(P+1)%U,k>0&&j<_||k<0&&j>_||F>0&&z<I||F<0&&z>I)continue;C[P%2?"moveTo":"lineTo"](k>=0?d(j,v):t(j,v),F>=0?d(z,w):t(z,w))}k=j-v,F=z-w,this._dashOffset=-o(k*k+F*F)},_dashedBezierTo:function(v,w,O,T,S,C){var _=this._dashSum,I=this._dashOffset,k=this._lineDash,F=this._ctx,B=this._xi,j=this._yi,z,M,U,P=A.cubicAt,H=0,W=this._dashIdx,X=k.length,K,$,ie=0;for(I<0&&(I=_+I),I%=_,z=0;z<1;z+=.1)M=P(B,v,O,S,z+.1)-P(B,v,O,S,z),U=P(j,w,T,C,z+.1)-P(j,w,T,C,z),H+=o(M*M+U*U);for(;W<X&&!(ie+=k[W],ie>I);W++);for(z=(ie-I)/H;z<=1;)K=P(B,v,O,S,z),$=P(j,w,T,C,z),W%2?F.moveTo(K,$):F.lineTo(K,$),z+=k[W]/H,W=(W+1)%X;W%2!==0&&F.lineTo(S,C),M=S-K,U=C-$,this._dashOffset=-o(M*M+U*U)},_dashedQuadraticTo:function(v,w,O,T){var S=O,C=T;O=(O+2*v)/3,T=(T+2*w)/3,v=(this._xi+2*v)/3,w=(this._yi+2*w)/3,this._dashedBezierTo(v,w,O,T,S,C)},toStatic:function(){var v=this.data;v instanceof Array&&(v.length=this._len,h&&(this.data=new Float32Array(v)))},getBoundingRect:function(){s[0]=s[1]=n[0]=n[1]=Number.MAX_VALUE,a[0]=a[1]=i[0]=i[1]=-Number.MAX_VALUE;for(var v=this.data,w=0,O=0,T=0,S=0,C=0;C<v.length;){var _=v[C++];C===1&&(w=v[C],O=v[C+1],T=w,S=O);switch(_){case c.M:T=v[C++],S=v[C++],w=T,O=S,n[0]=T,n[1]=S,i[0]=T,i[1]=S;break;case c.L:x.fromLine(w,O,v[C],v[C+1],n,i),w=v[C++],O=v[C++];break;case c.C:x.fromCubic(w,O,v[C++],v[C++],v[C++],v[C++],v[C],v[C+1],n,i),w=v[C++],O=v[C++];break;case c.Q:x.fromQuadratic(w,O,v[C++],v[C++],v[C],v[C+1],n,i),w=v[C++],O=v[C++];break;case c.A:var I=v[C++],k=v[C++],F=v[C++],B=v[C++],j=v[C++],z=v[C++]+j;C+=1;var M=1-v[C++];C===1&&(T=l(j)*F+I,S=r(j)*B+k),x.fromArc(I,k,F,B,j,z,M,n,i),w=l(z)*F+I,O=r(z)*B+k;break;case c.R:T=w=v[C++],S=O=v[C++];var U=v[C++],P=v[C++];x.fromLine(T,S,T+U,S+P,n,i);break;case c.Z:w=T,O=S;break}f.min(s,s,n),f.max(a,a,i)}return C===0&&(s[0]=s[1]=a[0]=a[1]=0),new m(s[0],s[1],a[0]-s[0],a[1]-s[1])},rebuildPath:function(v){for(var w=this.data,O,T,S,C,_,I,k=this._ux,F=this._uy,B=this._len,j=0;j<B;){var z=w[j++];j===1&&(S=w[j],C=w[j+1],O=S,T=C);switch(z){case c.M:O=S=w[j++],T=C=w[j++],v.moveTo(S,C);break;case c.L:_=w[j++],I=w[j++],(u(_-S)>k||u(I-C)>F||j===B-1)&&(v.lineTo(_,I),S=_,C=I);break;case c.C:v.bezierCurveTo(w[j++],w[j++],w[j++],w[j++],w[j++],w[j++]),S=w[j-2],C=w[j-1];break;case c.Q:v.quadraticCurveTo(w[j++],w[j++],w[j++],w[j++]),S=w[j-2],C=w[j-1];break;case c.A:var M=w[j++],U=w[j++],P=w[j++],H=w[j++],W=w[j++],X=w[j++],K=w[j++],$=w[j++],ie=P>H?P:H,be=P>H?1:P/H,te=P>H?H/P:1,Te=Math.abs(P-H)>.001,Ie=W+X;Te?(v.translate(M,U),v.rotate(K),v.scale(be,te),v.arc(0,0,ie,W,Ie,1-$),v.scale(1/be,1/te),v.rotate(-K),v.translate(-M,-U)):v.arc(M,U,ie,W,Ie,1-$),j===1&&(O=l(W)*P+M,T=r(W)*H+U),S=l(Ie)*P+M,C=r(Ie)*H+U;break;case c.R:O=S=w[j],T=C=w[j+1],v.rect(w[j++],w[j++],w[j++],w[j++]);break;case c.Z:v.closePath(),S=O,C=T}}}},y.CMD=c;var b=y;R.exports=b},IUWy:function(R,N){var e={};function A(x,m){e[x]=m}function f(x){return e[x]}N.register=A,N.get=f},IWNH:function(R,N,e){var A=e("T4UG"),f=e("Bsck"),x=e("7aKB"),m=x.encodeHTML,g=e("Qxkt"),p=A.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var s={name:c.name,children:c.data},a=c.leaves||{},n=new g(a,this,this.ecModel),i=f.createTree(s,this,{},d);function d(o){o.wrapMethod("getItemModel",function(u,h){var y=i.getNodeByDataIndex(h);return(!y.children.length||!y.isExpand)&&(u.parentModel=n),u})}var t=0;i.eachNode("preorder",function(o){o.depth>t&&(t=o.depth)});var l=c.expandAndCollapse,r=l&&c.initialTreeDepth>=0?c.initialTreeDepth:t;return i.root.eachNode("preorder",function(o){var u=o.hostTree.data.getRawDataItem(o.dataIndex);o.isExpand=u&&u.collapsed!=null?!u.collapsed:o.depth<=r}),i.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 s=this.getData().tree,a=s.root.children[0],n=s.getNodeByDataIndex(c),i=n.getValue(),d=n.name;n&&n!==a;)d=n.parentNode.name+"."+d,n=n.parentNode;return m(d+(isNaN(i)||i==null?"":" : "+i))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});R.exports=p},IWp7:function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=e("7aKB"),m=e("lE7J"),g=e("ieMj"),p=g.prototype,c=Math.ceil,s=Math.floor,a=1e3,n=a*60,i=n*60,d=i*24,t=function(u,h,y,b){for(;y<b;){var E=y+b>>>1;u[E][1]<h?y=E+1:b=E}return y},l=g.extend({type:"time",getLabel:function(u){var h=this._stepLvl,y=new Date(u);return x.formatTime(h[0],y,this.getSetting("useUTC"))},niceExtent:function(u){var h=this._extent;if(h[0]===h[1]&&(h[0]-=d,h[1]+=d),h[1]===-Infinity&&h[0]===Infinity){var y=new Date;h[1]=+new Date(y.getFullYear(),y.getMonth(),y.getDate()),h[0]=h[1]-d}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var b=this._interval;u.fixMin||(h[0]=f.round(s(h[0]/b)*b)),u.fixMax||(h[1]=f.round(c(h[1]/b)*b))},niceTicks:function(u,h,y){u=u||10;var b=this._extent,E=b[1]-b[0],v=E/u;h!=null&&v<h&&(v=h),y!=null&&v>y&&(v=y);var w=r.length,O=t(r,v,0,w),T=r[Math.min(O,w-1)],S=T[1];if(T[0]==="year"){var C=E/S,_=f.nice(C/u,!0);S*=_}var I=this.getSetting("useUTC")?0:new Date(+b[0]||+b[1]).getTimezoneOffset()*60*1e3,k=[Math.round(c((b[0]-I)/S)*S+I),Math.round(s((b[1]-I)/S)*S+I)];m.fixExtent(k,b),this._stepLvl=T,this._interval=S,this._niceExtent=k},parse:function(u){return+f.parseDate(u)}});A.each(["contain","normalize"],function(u){l.prototype[u]=function(h){return p[u].call(this,this.parse(h))}});var r=[["hh:mm:ss",a],["hh:mm:ss",a*5],["hh:mm:ss",a*10],["hh:mm:ss",a*15],["hh:mm:ss",a*30],[`hh:mm
|
|
|
MM-dd`,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`,i],[`hh:mm
|
|
|
MM-dd`,i*2],[`hh:mm
|
|
|
MM-dd`,i*6],[`hh:mm
|
|
|
MM-dd`,i*12],[`MM-dd
|
|
|
yyyy`,d],[`MM-dd
|
|
|
yyyy`,d*2],[`MM-dd
|
|
|
yyyy`,d*3],[`MM-dd
|
|
|
yyyy`,d*4],[`MM-dd
|
|
|
yyyy`,d*5],[`MM-dd
|
|
|
yyyy`,d*6],["week",d*7],[`MM-dd
|
|
|
yyyy`,d*10],["week",d*14],["week",d*21],["month",d*31],["week",d*42],["month",d*62],["week",d*70],["quarter",d*95],["month",d*31*4],["month",d*31*5],["half-year",d*380/2],["month",d*31*8],["month",d*31*10],["year",d*380]];l.create=function(u){return new l({useUTC:u.ecModel.get("useUTC")})};var o=l;R.exports=o},IXuL:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("MwEJ"),m=e("T4UG"),g=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(p,c){return x(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});R.exports=g},IXyC:function(R,N,e){var A=e("bYtY"),f=e("bLfw");e("3zoK");var x=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 g=this.option;m&&A.merge(g,m,!0),this._initDimensions()},contains:function(m,g){var p=m.get("parallelIndex");return p!=null&&g.getComponent("parallel",p)===this},setAxisExpand:function(m){A.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(g){m.hasOwnProperty(g)&&(this.option[g]=m[g])},this)},_initDimensions:function(){var m=this.dimensions=[],g=this.parallelAxisIndex=[],p=A.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);A.each(p,function(c){m.push("dim"+c.get("dim")),g.push(c.componentIndex)})}});R.exports=x},ItGF:function(R,N){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 A=e;function f(x){var m={},g={},p=x.match(/Firefox\/([\d.]+)/),c=x.match(/MSIE\s([\d.]+)/)||x.match(/Trident\/.+?rv:(([\d.]+))/),s=x.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(x);return p&&(g.firefox=!0,g.version=p[1]),c&&(g.ie=!0,g.version=c[1]),s&&(g.edge=!0,g.version=s[1]),a&&(g.weChat=!0),{browser:g,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!g.ie&&!g.edge,pointerEventsSupported:"onpointerdown"in window&&(g.edge||g.ie&&g.version>=11),domSupported:typeof document!="undefined"}}R.exports=A},ItS6:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=e("eP3c"),f=x(e("1q3G"));function x(s){return s&&s.__esModule?s:{default:s}}function m(s,a){if(!(s instanceof a))throw new TypeError("Cannot call a class as a function")}function g(s,a){for(var n=0;n<a.length;n++){var i=a[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(s,i.key,i)}}function p(s,a,n){return a&&g(s.prototype,a),n&&g(s,n),s}var c=function(){function s(){m(this,s),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,A.inflateInit)(this.strm,this.windowBits)}return p(s,[{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 i=(0,A.inflate)(this.strm,0);if(i<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,A.inflateReset)(this.strm)}}]),s}();N.default=c},Itpr:function(R,N,e){var A=e("+TT/");function f(r){r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var o=[r],u,h;u=o.pop();)if(h=u.children,u.isExpand&&h.length)for(var y=h.length,b=y-1;b>=0;b--){var E=h[b];E.hierNode={defaultAncestor:null,ancestor:E,prelim:0,modifier:0,change:0,shift:0,i:b,thread:null},o.push(E)}}function x(r,o){var u=r.isExpand?r.children:[],h=r.parentNode.children,y=r.hierNode.i?h[r.hierNode.i-1]:null;if(u.length){s(r);var b=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;y?(r.hierNode.prelim=y.hierNode.prelim+o(r,y),r.hierNode.modifier=r.hierNode.prelim-b):r.hierNode.prelim=b}else y&&(r.hierNode.prelim=y.hierNode.prelim+o(r,y));r.parentNode.hierNode.defaultAncestor=a(r,y,r.parentNode.hierNode.defaultAncestor||h[0],o)}function m(r){var o=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:o},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function g(r){return arguments.length?r:l}function p(r,o){var u={};return r-=Math.PI/2,u.x=o*Math.cos(r),u.y=o*Math.sin(r),u}function c(r,o){return A.getLayoutRect(r.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function s(r){for(var o=r.children,u=o.length,h=0,y=0;--u>=0;){var b=o[u];b.hierNode.prelim+=h,b.hierNode.modifier+=h,y+=b.hierNode.change,h+=b.hierNode.shift+y}}function a(r,o,u,h){if(o){for(var y=r,b=r,E=b.parentNode.children[0],v=o,w=y.hierNode.modifier,O=b.hierNode.modifier,T=E.hierNode.modifier,S=v.hierNode.modifier;v=n(v),b=i(b),v&&b;){y=n(y),E=i(E),y.hierNode.ancestor=r;var C=v.hierNode.prelim+S-b.hierNode.prelim-O+h(v,b);C>0&&(t(d(v,r,u),r,C),O+=C,w+=C),S+=v.hierNode.modifier,O+=b.hierNode.modifier,w+=y.hierNode.modifier,T+=E.hierNode.modifier}v&&!n(y)&&(y.hierNode.thread=v,y.hierNode.modifier+=S-w),b&&!i(E)&&(E.hierNode.thread=b,E.hierNode.modifier+=O-T,u=r)}return u}function n(r){var o=r.children;return o.length&&r.isExpand?o[o.length-1]:r.hierNode.thread}function i(r){var o=r.children;return o.length&&r.isExpand?o[0]:r.hierNode.thread}function d(r,o,u){return r.hierNode.ancestor.parentNode===o.parentNode?r.hierNode.ancestor:u}function t(r,o,u){var h=u/(o.hierNode.i-r.hierNode.i);o.hierNode.change-=h,o.hierNode.shift+=u,o.hierNode.modifier+=u,o.hierNode.prelim+=u,r.hierNode.change+=h}function l(r,o){return r.parentNode===o.parentNode?1:2}N.init=f,N.firstWalk=x,N.secondWalk=m,N.separation=g,N.radialCoordinate=p,N.getViewRect=c},IwbS:function(R,N,e){var A=e("bYtY"),f=e("NC18"),x=e("Qe9p"),m=e("Fofx"),g=e("QBsz"),p=e("y+Vt"),c=e("DN4a"),s=e("Dagg");N.Image=s;var a=e("4fz+");N.Group=a;var n=e("dqUG");N.Text=n;var i=e("2fw6");N.Circle=i;var d=e("SqI9");N.Sector=d;var t=e("RXMa");N.Ring=t;var l=e("h7HQ");N.Polygon=l;var r=e("1Jh7");N.Polyline=r;var o=e("x6Kt");N.Rect=o;var u=e("yxFR");N.Line=u;var h=e("rA99");N.BezierCurve=h;var y=e("jTL6");N.Arc=y;var b=e("1MYJ");N.CompoundPath=b;var E=e("SKnc");N.LinearGradient=E;var v=e("3e3G");N.RadialGradient=v;var w=e("mFDi");N.BoundingRect=w;var O=e("OS9S");N.IncrementalDisplayable=O;var T=e("nPnh"),S=Math.max,C=Math.min,_={},I=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},F="emphasis",B="normal",j=1,z={},M={};function U(Le){return p.extend(Le)}function P(Le,we){return f.extendFromString(Le,we)}function H(Le,we){M[Le]=we}function W(Le){if(M.hasOwnProperty(Le))return M[Le]}function X(Le,we,Ke,Je){var ut=f.createFromString(Le,we);return Ke&&(Je==="center"&&(Ke=$(Ke,ut.getBoundingRect())),be(ut,Ke)),ut}function K(Le,we,Ke){var Je=new s({style:{image:Le,x:we.x,y:we.y,width:we.width,height:we.height},onload:function(ut){if(Ke==="center"){var vt={width:ut.width,height:ut.height};Je.setStyle($(we,vt))}}});return Je}function $(Le,we){var Ke=we.width/we.height,Je=Le.height*Ke,ut;Je<=Le.width?ut=Le.height:(Je=Le.width,ut=Je/Ke);var vt=Le.x+Le.width/2,_t=Le.y+Le.height/2;return{x:vt-Je/2,y:_t-ut/2,width:Je,height:ut}}var ie=f.mergePath;function be(Le,we){if(!Le.applyTransform)return;var Ke=Le.getBoundingRect(),Je=Ke.calculateTransform(we);Le.applyTransform(Je)}function te(Le){return T.subPixelOptimizeLine(Le.shape,Le.shape,Le.style),Le}function Te(Le){return T.subPixelOptimizeRect(Le.shape,Le.shape,Le.style),Le}var Ie=T.subPixelOptimize;function Fe(Le){return Le!=null&&Le!=="none"}var Qe=A.createHashMap(),fe=0;function He(Le){if(typeof Le!="string")return Le;var we=Qe.get(Le);return we||(we=x.lift(Le,-.1),fe<1e4&&(Qe.set(Le,we),fe++)),we}function se(Le){if(!Le.__hoverStlDirty)return;Le.__hoverStlDirty=!1;var we=Le.__hoverStl;if(!we){Le.__cachedNormalStl=Le.__cachedNormalZ2=null;return}var Ke=Le.__cachedNormalStl={};Le.__cachedNormalZ2=Le.z2;var Je=Le.style;for(var ut in we)we[ut]!=null&&(Ke[ut]=Je[ut]);Ke.fill=Je.fill,Ke.stroke=Je.stroke}function Ce(Le){var we=Le.__hoverStl;if(!we||Le.__highlighted)return;var Ke=Le.__zr,Je=Le.useHoverLayer&&Ke&&Ke.painter.type==="canvas";if(Le.__highlighted=Je?"layer":"plain",Le.isGroup||!Ke&&Le.useHoverLayer)return;var ut=Le,vt=Le.style;Je&&(ut=Ke.addHover(Le),vt=ut.style),Dt(vt),Je||se(ut),vt.extendFrom(we),mt(vt,we,"fill"),mt(vt,we,"stroke"),Tt(vt),Je||(Le.dirty(!1),Le.z2+=I)}function mt(Le,we,Ke){!Fe(we[Ke])&&Fe(Le[Ke])&&(Le[Ke]=He(Le[Ke]))}function Ne(Le){var we=Le.__highlighted;if(!we)return;if(Le.__highlighted=!1,Le.isGroup)return;if(we==="layer")Le.__zr&&Le.__zr.removeHover(Le);else{var Ke=Le.style,Je=Le.__cachedNormalStl;Je&&(Dt(Ke),Le.setStyle(Je),Tt(Ke));var ut=Le.__cachedNormalZ2;ut!=null&&Le.z2-ut===I&&(Le.z2=ut)}}function ae(Le,we,Ke){var Je=B,ut=B,vt;Le.__highlighted&&(Je=F,vt=!0),we(Le,Ke),Le.__highlighted&&(ut=F,vt=!0),Le.isGroup&&Le.traverse(function(_t){!_t.isGroup&&we(_t,Ke)}),vt&&Le.__highDownOnUpdate&&Le.__highDownOnUpdate(Je,ut)}function ce(Le,we){we=Le.__hoverStl=we!==!1&&(Le.hoverStyle||we||{}),Le.__hoverStlDirty=!0,Le.__highlighted&&(Le.__cachedNormalStl=null,Ne(Le),Ce(Le))}function le(Le){!De(this,Le)&&!this.__highByOuter&&ae(this,Ce)}function je(Le){!De(this,Le)&&!this.__highByOuter&&ae(this,Ne)}function Re(Le){this.__highByOuter|=1<<(Le||0),ae(this,Ce)}function Ze(Le){!(this.__highByOuter&=~(1<<(Le||0)))&&ae(this,Ne)}function De(Le,we){return Le.__highDownSilentOnTouch&&we.zrByTouch}function ne(Le,we){he(Le,!0),ae(Le,ce,we)}function he(Le,we){var Ke=we===!1;if(Le.__highDownSilentOnTouch=Le.highDownSilentOnTouch,Le.__highDownOnUpdate=Le.highDownOnUpdate,!Ke||Le.__highDownDispatcher){var Je=Ke?"off":"on";Le[Je]("mouseover",le)[Je]("mouseout",je),Le[Je]("emphasis",Re)[Je]("normal",Ze),Le.__highByOuter=Le.__highByOuter||0,Le.__highDownDispatcher=!Ke}}function pe(Le){return!!(Le&&Le.__highDownDispatcher)}function Xe(Le){var we=z[Le];return we==null&&j<=32&&(we=z[Le]=j++),we}function lt(Le,we,Ke,Je,ut,vt,_t){ut=ut||_;var Ut=ut.labelFetcher,Bt=ut.labelDataIndex,dr=ut.labelDimIndex,Oe=ut.labelProp,xe=Ke.getShallow("show"),V=Je.getShallow("show"),q;(xe||V)&&(Ut&&(q=Ut.getFormattedLabel(Bt,"normal",null,dr,Oe)),q==null&&(q=A.isFunction(ut.defaultText)?ut.defaultText(Bt,ut):ut.defaultText));var ue=xe?q:null,me=V?A.retrieve2(Ut?Ut.getFormattedLabel(Bt,"emphasis",null,dr,Oe):null,q):null;(ue!=null||me!=null)&&(Me(Le,Ke,vt,ut),Me(we,Je,_t,ut,!0)),Le.text=ue,we.text=me}function At(Le,we,Ke){var Je=Le.style;we&&(Dt(Je),Le.setStyle(we),Tt(Je)),Je=Le.__hoverStl,Ke&&Je&&(Dt(Je),A.extend(Je,Ke),Tt(Je))}function Me(Le,we,Ke,Je,ut){return tt(Le,we,Je,ut),Ke&&A.extend(Le,Ke),Le}function Ht(Le,we,Ke){var Je={isRectText:!0},ut;Ke===!1?ut=!0:Je.autoColor=Ke,tt(Le,we,Je,ut)}function tt(Le,we,Ke,Je){if(Ke=Ke||_,Ke.isRectText){var ut;Ke.getTextPosition?ut=Ke.getTextPosition(we,Je):(ut=we.getShallow("position")||(Je?null:"inside"),ut==="outside"&&(ut="top")),Le.textPosition=ut,Le.textOffset=we.getShallow("offset");var vt=we.getShallow("rotate");vt!=null&&(vt*=Math.PI/180),Le.textRotation=vt,Le.textDistance=A.retrieve2(we.getShallow("distance"),Je?null:5)}var _t=we.ecModel,Ut=_t&&_t.option.textStyle,Bt=Mt(we),dr;if(Bt){dr={};for(var Oe in Bt)if(Bt.hasOwnProperty(Oe)){var xe=we.getModel(["rich",Oe]);jt(dr[Oe]={},xe,Ut,Ke,Je)}}return Le.rich=dr,jt(Le,we,Ut,Ke,Je,!0),Ke.forceRich&&!Ke.textStyle&&(Ke.textStyle={}),Le}function Mt(Le){for(var we;Le&&Le!==Le.ecModel;){var Ke=(Le.option||_).rich;if(Ke){we=we||{};for(var Je in Ke)Ke.hasOwnProperty(Je)&&(we[Je]=1)}Le=Le.parentModel}return we}function jt(Le,we,Ke,Je,ut,vt){Ke=!ut&&Ke||_,Le.textFill=kt(we.getShallow("color"),Je)||Ke.color,Le.textStroke=kt(we.getShallow("textBorderColor"),Je)||Ke.textBorderColor,Le.textStrokeWidth=A.retrieve2(we.getShallow("textBorderWidth"),Ke.textBorderWidth),ut||(vt&&(Le.insideRollbackOpt=Je,Tt(Le)),Le.textFill==null&&(Le.textFill=Je.autoColor)),Le.fontStyle=we.getShallow("fontStyle")||Ke.fontStyle,Le.fontWeight=we.getShallow("fontWeight")||Ke.fontWeight,Le.fontSize=we.getShallow("fontSize")||Ke.fontSize,Le.fontFamily=we.getShallow("fontFamily")||Ke.fontFamily,Le.textAlign=we.getShallow("align"),Le.textVerticalAlign=we.getShallow("verticalAlign")||we.getShallow("baseline"),Le.textLineHeight=we.getShallow("lineHeight"),Le.textWidth=we.getShallow("width"),Le.textHeight=we.getShallow("height"),Le.textTag=we.getShallow("tag"),(!vt||!Je.disableBox)&&(Le.textBackgroundColor=kt(we.getShallow("backgroundColor"),Je),Le.textPadding=we.getShallow("padding"),Le.textBorderColor=kt(we.getShallow("borderColor"),Je),Le.textBorderWidth=we.getShallow("borderWidth"),Le.textBorderRadius=we.getShallow("borderRadius"),Le.textBoxShadowColor=we.getShallow("shadowColor"),Le.textBoxShadowBlur=we.getShallow("shadowBlur"),Le.textBoxShadowOffsetX=we.getShallow("shadowOffsetX"),Le.textBoxShadowOffsetY=we.getShallow("shadowOffsetY")),Le.textShadowColor=we.getShallow("textShadowColor")||Ke.textShadowColor,Le.textShadowBlur=we.getShallow("textShadowBlur")||Ke.textShadowBlur,Le.textShadowOffsetX=we.getShallow("textShadowOffsetX")||Ke.textShadowOffsetX,Le.textShadowOffsetY=we.getShallow("textShadowOffsetY")||Ke.textShadowOffsetY}function kt(Le,we){return Le!=="auto"?Le:we&&we.autoColor?we.autoColor:null}function Tt(Le){var we=Le.textPosition,Ke=Le.insideRollbackOpt,Je;if(Ke&&Le.textFill==null){var ut=Ke.autoColor,vt=Ke.isRectText,_t=Ke.useInsideStyle,Ut=_t!==!1&&(_t===!0||vt&&we&&typeof we=="string"&&we.indexOf("inside")>=0),Bt=!Ut&&ut!=null;(Ut||Bt)&&(Je={textFill:Le.textFill,textStroke:Le.textStroke,textStrokeWidth:Le.textStrokeWidth}),Ut&&(Le.textFill="#fff",Le.textStroke==null&&(Le.textStroke=ut,Le.textStrokeWidth==null&&(Le.textStrokeWidth=2))),Bt&&(Le.textFill=ut)}Le.insideRollback=Je}function Dt(Le){var we=Le.insideRollback;we&&(Le.textFill=we.textFill,Le.textStroke=we.textStroke,Le.textStrokeWidth=we.textStrokeWidth,Le.insideRollback=null)}function Ue(Le,we){var Ke=we&&we.getModel("textStyle");return A.trim([Le.fontStyle||Ke&&Ke.getShallow("fontStyle")||"",Le.fontWeight||Ke&&Ke.getShallow("fontWeight")||"",(Le.fontSize||Ke&&Ke.getShallow("fontSize")||12)+"px",Le.fontFamily||Ke&&Ke.getShallow("fontFamily")||"sans-serif"].join(" "))}function G(Le,we,Ke,Je,ut,vt){typeof ut=="function"&&(vt=ut,ut=null);var _t=Je&&Je.isAnimationEnabled();if(_t){var Ut=Le?"Update":"",Bt=Je.getShallow("animationDuration"+Ut),dr=Je.getShallow("animationEasing"+Ut),Oe=Je.getShallow("animationDelay"+Ut);typeof Oe=="function"&&(Oe=Oe(ut,Je.getAnimationDelayParams?Je.getAnimationDelayParams(we,ut):null)),typeof Bt=="function"&&(Bt=Bt(ut)),Bt>0?we.animateTo(Ke,Bt,Oe||0,dr,vt,!!vt):(we.stopAnimation(),we.attr(Ke),vt&&vt())}else we.stopAnimation(),we.attr(Ke),vt&&vt()}function Y(Le,we,Ke,Je,ut){G(!0,Le,we,Ke,Je,ut)}function Pe(Le,we,Ke,Je,ut){G(!1,Le,we,Ke,Je,ut)}function Be(Le,we){for(var Ke=m.identity([]);Le&&Le!==we;)m.mul(Ke,Le.getLocalTransform(),Ke),Le=Le.parent;return Ke}function J(Le,we,Ke){return we&&!A.isArrayLike(we)&&(we=c.getLocalTransform(we)),Ke&&(we=m.invert([],we)),g.applyTransform([],Le,we)}function St(Le,we,Ke){var Je=we[4]===0||we[5]===0||we[0]===0?1:Math.abs(2*we[4]/we[0]),ut=we[4]===0||we[5]===0||we[2]===0?1:Math.abs(2*we[4]/we[2]),vt=[Le==="left"?-Je:Le==="right"?Je:0,Le==="top"?-ut:Le==="bottom"?ut:0];return vt=J(vt,we,Ke),Math.abs(vt[0])>Math.abs(vt[1])?vt[0]>0?"right":"left":vt[1]>0?"bottom":"top"}function bt(Le,we,Ke,Je){if(!Le||!we)return;function ut(Ut){var Bt={};return Ut.traverse(function(dr){!dr.isGroup&&dr.anid&&(Bt[dr.anid]=dr)}),Bt}function vt(Ut){var Bt={position:g.clone(Ut.position),rotation:Ut.rotation};return Ut.shape&&(Bt.shape=A.extend({},Ut.shape)),Bt}var _t=ut(Le);we.traverse(function(Ut){if(!Ut.isGroup&&Ut.anid){var Bt=_t[Ut.anid];if(Bt){var dr=vt(Ut);Ut.attr(vt(Bt)),Y(Ut,dr,Ke,Ut.dataIndex)}}})}function nt(Le,we){return A.map(Le,function(Ke){var Je=Ke[0];Je=S(Je,we.x),Je=C(Je,we.x+we.width);var ut=Ke[1];return ut=S(ut,we.y),ut=C(ut,we.y+we.height),[Je,ut]})}function Rt(Le,we){var Ke=S(Le.x,we.x),Je=C(Le.x+Le.width,we.x+we.width),ut=S(Le.y,we.y),vt=C(Le.y+Le.height,we.y+we.height);if(Je>=Ke&&vt>=ut)return{x:Ke,y:ut,width:Je-Ke,height:vt-ut}}function zt(Le,we,Ke){we=A.extend({rectHover:!0},we);var Je=we.style={strokeNoScale:!0};if(Ke=Ke||{x:-1,y:-1,width:2,height:2},Le)return Le.indexOf("image://")===0?(Je.image=Le.slice(8),A.defaults(Je,Ke),new s(we)):X(Le.replace("path://",""),we,Ke,"center")}function Fr(Le,we,Ke,Je,ut){for(var vt=0,_t=ut[ut.length-1];vt<ut.length;vt++){var Ut=ut[vt];if(Jt(Le,we,Ke,Je,Ut[0],Ut[1],_t[0],_t[1]))return!0;_t=Ut}}function Jt(Le,we,Ke,Je,ut,vt,_t,Ut){var Bt=Ke-Le,dr=Je-we,Oe=_t-ut,xe=Ut-vt,V=ge(Oe,xe,Bt,dr);if(ye(V))return!1;var q=Le-ut,ue=we-vt,me=ge(q,ue,Bt,dr)/V;if(me<0||me>1)return!1;var Ee=ge(q,ue,Oe,xe)/V;return!(Ee<0||Ee>1)}function ge(Le,we,Ke,Je){return Le*Je-Ke*we}function ye(Le){return Le<=1e-6&&Le>=-1e-6}H("circle",i),H("sector",d),H("ring",t),H("polygon",l),H("polyline",r),H("rect",o),H("line",u),H("bezierCurve",h),H("arc",y),N.Z2_EMPHASIS_LIFT=I,N.CACHED_LABEL_STYLE_PROPERTIES=k,N.extendShape=U,N.extendPath=P,N.registerShape=H,N.getShapeClass=W,N.makePath=X,N.makeImage=K,N.mergePath=ie,N.resizePath=be,N.subPixelOptimizeLine=te,N.subPixelOptimizeRect=Te,N.subPixelOptimize=Ie,N.setElementHoverStyle=ce,N.setHoverStyle=ne,N.setAsHighDownDispatcher=he,N.isHighDownDispatcher=pe,N.getHighlightDigit=Xe,N.setLabelStyle=lt,N.modifyLabelStyle=At,N.setTextStyle=Me,N.setText=Ht,N.getFont=Ue,N.updateProps=Y,N.initProps=Pe,N.getTransform=Be,N.applyTransform=J,N.transformDirection=St,N.groupTransition=bt,N.clipPointsByRect=nt,N.clipRectByRect=Rt,N.createIcon=zt,N.linePolygonIntersect=Fr,N.lineLineIntersect=Jt},IyUQ:function(R,N,e){var A=e("bYtY"),f=e("YH21"),x=e("IwbS"),m=e("iLNv"),g=e("fc+c"),p=e("OELB"),c=e("+TT/"),s=e("72pK"),a=x.Rect,n=p.linearMap,i=p.asc,d=A.bind,t=A.each,l=7,r=1,o=30,u="horizontal",h="vertical",y=5,b=["line","bar","candlestick","scatter"],E=g.extend({type:"dataZoom.slider",init:function(T,S){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=S},render:function(T,S,C,_){if(E.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!_||_.type!=="dataZoom"||_.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 T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var S=this._displayables.barGroup=new x.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(S),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,S=this.api,C=this._findCoordRect(),_={width:S.getWidth(),height:S.getHeight()},I=this._orient===u?{right:_.width-C.x-C.width,top:_.height-o-l,width:C.width,height:o}:{right:l,top:C.y,width:o,height:C.height},k=c.getLayoutParams(T.option);A.each(["right","top","width","height"],function(B){k[B]==="ph"&&(k[B]=I[B])});var F=c.getLayoutRect(k,_,T.padding);this._location={x:F.x,y:F.y},this._size=[F.width,F.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,S=this._location,C=this._orient,_=this.dataZoomModel.getFirstTargetAxisModel(),I=_&&_.get("inverse"),k=this._displayables.barGroup,F=(this._dataShadowInfo||{}).otherAxisInverse;k.attr(C===u&&!I?{scale:F?[1,1]:[1,-1]}:C===u&&I?{scale:F?[-1,1]:[-1,-1]}:C===h&&!I?{scale:F?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:F?[-1,-1]:[-1,1],rotation:Math.PI/2});var B=T.getBoundingRect([k]);T.attr("position",[S.x-B.x,S.y-B.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,S=this._size,C=this._displayables.barGroup;C.add(new a({silent:!0,shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:T.get("backgroundColor")},z2:-40})),C.add(new a({shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:"transparent"},z2:0,onclick:A.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var S=this._size,C=T.series,_=C.getRawData(),I=C.getShadowDim?C.getShadowDim():T.otherDim;if(I==null)return;var k=_.getDataExtent(I),F=(k[1]-k[0])*.3;k=[k[0]-F,k[1]+F];var B=[0,S[1]],j=[0,S[0]],z=[[S[0],0],[0,0]],M=[],U=j[1]/(_.count()-1),P=0,H=Math.round(_.count()/S[0]),W;_.each([I],function(K,$){if(H>0&&$%H){P+=U;return}var ie=K==null||isNaN(K)||K==="",be=ie?0:n(K,k,B,!0);ie&&!W&&$?(z.push([z[z.length-1][0],0]),M.push([M[M.length-1][0],0])):!ie&&W&&(z.push([P,0]),M.push([P,0])),z.push([P,be]),M.push([P,be]),P+=U,W=ie});var X=this.dataZoomModel;this._displayables.barGroup.add(new x.Polygon({shape:{points:z},style:A.defaults({fill:X.get("dataBackgroundColor")},X.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new x.Polyline({shape:{points:M},style:X.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,S=T.get("showDataShadow");if(S===!1)return;var C,_=this.ecModel;return T.eachTargetAxis(function(I,k){var F=T.getAxisProxy(I.name,k).getTargetSeriesModels();A.each(F,function(B){if(C)return;if(S!==!0&&A.indexOf(b,B.get("type"))<0)return;var j=_.getComponent(I.axis,k).axis,z=v(I.name),M,U=B.coordinateSystem;z!=null&&U.getOtherAxis&&(M=U.getOtherAxis(j).inverse),z=B.getData().mapDimension(z),C={thisAxis:j,series:B,thisDim:I.name,otherDim:z,otherAxisInverse:M}},this)},this),C},_renderHandle:function(){var T=this._displayables,S=T.handles=[],C=T.handleLabels=[],_=this._displayables.barGroup,I=this._size,k=this.dataZoomModel;_.add(T.filler=new a({draggable:!0,cursor:w(this._orient),drift:d(this._onDragMove,this,"all"),ondragstart:d(this._showDataInfo,this,!0),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1),style:{fill:k.get("fillerColor"),textPosition:"inside"}})),_.add(new a({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:I[0],height:I[1]},style:{stroke:k.get("dataBackgroundColor")||k.get("borderColor"),lineWidth:r,fill:"rgba(0,0,0,0)"}})),t([0,1],function(F){var B=x.createIcon(k.get("handleIcon"),{cursor:w(this._orient),draggable:!0,drift:d(this._onDragMove,this,F),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),j=B.getBoundingRect();this._handleHeight=p.parsePercent(k.get("handleSize"),this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,B.setStyle(k.getModel("handleStyle").getItemStyle());var z=k.get("handleColor");z!=null&&(B.style.fill=z),_.add(S[F]=B);var M=k.textStyleModel;this.group.add(C[F]=new x.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:M.getTextColor(),textFont:M.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),S=this._getViewExtent();this._handleEnds=[n(T[0],[0,100],S,!0),n(T[1],[0,100],S,!0)]},_updateInterval:function(T,S){var C=this.dataZoomModel,_=this._handleEnds,I=this._getViewExtent(),k=C.findRepresentativeAxisProxy().getMinMaxSpan(),F=[0,100];s(S,_,I,C.get("zoomLock")?"all":T,k.minSpan!=null?n(k.minSpan,F,I,!0):null,k.maxSpan!=null?n(k.maxSpan,F,I,!0):null);var B=this._range,j=this._range=i([n(_[0],I,F,!0),n(_[1],I,F,!0)]);return!B||B[0]!==j[0]||B[1]!==j[1]},_updateView:function(T){var S=this._displayables,C=this._handleEnds,_=i(C.slice()),I=this._size;t([0,1],function(k){var F=S.handles[k],B=this._handleHeight;F.attr({scale:[B/2,B/2],position:[C[k],I[1]/2-B/2]})},this),S.filler.setShape({x:_[0],y:0,width:_[1]-_[0],height:I[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var S=this.dataZoomModel,C=this._displayables,_=C.handleLabels,I=this._orient,k=["",""];if(S.get("showDetail")){var F=S.findRepresentativeAxisProxy();if(F){var B=F.getAxisModel().axis,j=this._range,z=T?F.calculateDataWindow({start:j[0],end:j[1]}).valueWindow:F.getDataValueWindow();k=[this._formatLabel(z[0],B),this._formatLabel(z[1],B)]}}var M=i(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(P){var H=x.getTransform(C.handles[P].parent,this.group),W=x.transformDirection(P===0?"right":"left",H),X=this._handleWidth/2+y,K=x.applyTransform([M[P]+(P===0?-X:X),this._size[1]/2],H);_[P].setStyle({x:K[0],y:K[1],textVerticalAlign:I===u?"middle":W,textAlign:I===u?W:"center",text:k[P]})}},_formatLabel:function(T,S){var C=this.dataZoomModel,_=C.get("labelFormatter"),I=C.get("labelPrecision");(I==null||I==="auto")&&(I=S.getPixelPrecision());var k=T==null||isNaN(T)?"":S.type==="category"||S.type==="time"?S.scale.getLabel(Math.round(T)):T.toFixed(Math.min(I,20));return A.isFunction(_)?_(T,k):A.isString(_)?_.replace("{value}",k):k},_showDataInfo:function(T){T=this._dragging||T;var S=this._displayables.handleLabels;S[0].attr("invisible",!T),S[1].attr("invisible",!T)},_onDragMove:function(T,S,C,_){this._dragging=!0,f.stop(_.event);var I=this._displayables.barGroup.getLocalTransform(),k=x.applyTransform([S,C],I,!0),F=this._updateInterval(T,k[0]),B=this.dataZoomModel.get("realtime");this._updateView(!B),F&&B&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var S=this._size,C=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(C[0]<0||C[0]>S[0]||C[1]<0||C[1]>S[1])return;var _=this._handleEnds,I=(_[0]+_[1])/2,k=this._updateInterval("all",C[0]-I);this._updateView(),k&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(t(this.getTargetCoordInfo(),function(_){if(!T&&_.length){var I=_[0].model.coordinateSystem;T=I.getRect&&I.getRect()}}),!T){var S=this.api.getWidth(),C=this.api.getHeight();T={x:S*.2,y:C*.2,width:S*.6,height:C*.6}}return T}});function v(T){var S={x:"y",y:"x",radius:"angle",angle:"radius"};return S[T]}function w(T){return T==="vertical"?"ns-resize":"ew-resize"}var O=E;R.exports=O},IzEo:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("lnY3"),m=e.n(x),g=e("Znn+"),p=e("14J3"),c=e("jCWc")},J66h:function(R,N,e){(function(A){var f,x;(function(m,g){R.exports=g(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof A!="undefined"?A:this,function(m){"use strict";m=m||{};var g=m.Base64,p="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(B){for(var j={},z=0,M=B.length;z<M;z++)j[B.charAt(z)]=z;return j}(c),a=String.fromCharCode,n=function(j){if(j.length<2){var z=j.charCodeAt(0);return z<128?j:z<2048?a(192|z>>>6)+a(128|z&63):a(224|z>>>12&15)+a(128|z>>>6&63)+a(128|z&63)}else{var z=65536+(j.charCodeAt(0)-55296)*1024+(j.charCodeAt(1)-56320);return a(240|z>>>18&7)+a(128|z>>>12&63)+a(128|z>>>6&63)+a(128|z&63)}},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(j){return j.replace(i,n)},t=function(j){var z=[0,2,1][j.length%3],M=j.charCodeAt(0)<<16|(j.length>1?j.charCodeAt(1):0)<<8|(j.length>2?j.charCodeAt(2):0),U=[c.charAt(M>>>18),c.charAt(M>>>12&63),z>=2?"=":c.charAt(M>>>6&63),z>=1?"=":c.charAt(M&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,t)},r=function(j){return l(d(String(j)))},o=function(j){return j.replace(/[+\/]/g,function(z){return z=="+"?"-":"_"}).replace(/=/g,"")},u=function(j,z){return z?o(r(j)):r(j)},h=function(j){return u(j,!0)},y;m.Uint8Array&&(y=function(j,z){for(var M="",U=0,P=j.length;U<P;U+=3){var H=j[U],W=j[U+1],X=j[U+2],K=H<<16|W<<8|X;M+=c.charAt(K>>>18)+c.charAt(K>>>12&63)+(typeof W!="undefined"?c.charAt(K>>>6&63):"=")+(typeof X!="undefined"?c.charAt(K&63):"=")}return z?o(M):M});var b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(j){switch(j.length){case 4:var z=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),M=z-65536;return a((M>>>10)+55296)+a((M&1023)+56320);case 3:return a((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return a((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},v=function(j){return j.replace(b,E)},w=function(j){var z=j.length,M=z%4,U=(z>0?s[j.charAt(0)]<<18:0)|(z>1?s[j.charAt(1)]<<12:0)|(z>2?s[j.charAt(2)]<<6:0)|(z>3?s[j.charAt(3)]:0),P=[a(U>>>16),a(U>>>8&255),a(U&255)];return P.length-=[0,0,2,1][M],P.join("")},O=m.atob&&typeof m.atob=="function"?function(B){return m.atob(B)}:function(B){return B.replace(/\S{1,4}/g,w)},T=function(j){return O(String(j).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(j){return v(O(j))},C=function(j){return String(j).replace(/[-_]/g,function(z){return z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_=function(j){return S(C(j))},I;m.Uint8Array&&(I=function(j){return Uint8Array.from(T(C(j)),function(z){return z.charCodeAt(0)})});var k=function(){var j=m.Base64;return m.Base64=g,j};if(m.Base64={VERSION:p,atob:T,btoa:l,fromBase64:_,toBase64:u,utob:d,encode:u,encodeURI:h,btou:v,decode:_,noConflict:k,fromUint8Array:y,toUint8Array:I},typeof Object.defineProperty=="function"){var F=function(j){return{value:j,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return _(this)})),Object.defineProperty(String.prototype,"toBase64",F(function(B){return u(this,B)})),Object.defineProperty(String.prototype,"toBase64URI",F(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),R.exports?R.exports.Base64=m.Base64:!(f=[],x=function(){return m.Base64}.apply(N,f),x!==void 0&&(R.exports=x)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("ItGF"),p=e("4NO4"),c=e("7aKB"),s=e("OKJ2"),a=c.addCommas,n=c.encodeHTML;function i(l){p.defaultEmphasis(l,"label",["show"])}var d=x.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,r,o){this.mergeDefaultAndTheme(l,o),this._mergeOption(l,o,!1,!0)},isAnimationEnabled:function(){if(g.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,r){this._mergeOption(l,r,!1,!1)},_mergeOption:function(l,r,o,u){var h=this.constructor,y=this.mainType+"Model";o||r.eachSeries(function(b){var E=b.get(this.mainType,!0),v=b[y];if(!E||!E.data){b[y]=null;return}v?v._mergeOption(E,r,!0):(u&&i(E),m.each(E.data,function(w){w instanceof Array?(i(w[0]),i(w[1])):i(w)}),v=new h(E,this,r),m.extend(v,{mainType:this.mainType,seriesIndex:b.seriesIndex,name:b.name,createdBySelf:!0}),v.__hostSeries=b),b[y]=v},this)},formatTooltip:function(l){var r=this.getData(),o=this.getRawValue(l),u=m.isArray(o)?m.map(o,a).join(", "):a(o),h=r.getName(l),y=n(this.name);return(o!=null||h)&&(y+="<br />"),h&&(y+=n(h),o!=null&&(y+=" : ")),o!=null&&(y+=n(u)),y},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(d,s);var t=d;R.exports=t},JGo8:function(R,N,e){},JLnu:function(R,N,e){var A=e("+TT/"),f=e("OELB"),x=f.parsePercent,m=f.linearMap;function g(a,n){return A.getLayoutRect(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function p(a,n){for(var i=a.mapDimension("value"),d=a.mapArray(i,function(u){return u}),t=[],l=n==="ascending",r=0,o=a.count();r<o;r++)t[r]=r;return typeof n=="function"?t.sort(n):n!=="none"&&t.sort(function(u,h){return l?d[u]-d[h]:d[h]-d[u]}),t}function c(a){a.each(function(n){var i=a.getItemModel(n),d=i.getModel("label"),t=d.get("position"),l=i.getModel("labelLine"),r=a.getItemLayout(n),o=r.points,u=t==="inner"||t==="inside"||t==="center"||t==="insideLeft"||t==="insideRight",h,y,b,E;if(u)t==="insideLeft"?(y=(o[0][0]+o[3][0])/2+5,b=(o[0][1]+o[3][1])/2,h="left"):t==="insideRight"?(y=(o[1][0]+o[2][0])/2-5,b=(o[1][1]+o[2][1])/2,h="right"):(y=(o[0][0]+o[1][0]+o[2][0]+o[3][0])/4,b=(o[0][1]+o[1][1]+o[2][1]+o[3][1])/4,h="center"),E=[[y,b],[y,b]];else{var v,w,O,T=l.get("length");t==="left"?(v=(o[3][0]+o[0][0])/2,w=(o[3][1]+o[0][1])/2,O=v-T,y=O-5,h="right"):t==="right"?(v=(o[1][0]+o[2][0])/2,w=(o[1][1]+o[2][1])/2,O=v+T,y=O+5,h="left"):t==="rightTop"?(v=o[1][0],w=o[1][1],O=v+T,y=O+5,h="top"):t==="rightBottom"?(v=o[2][0],w=o[2][1],O=v+T,y=O+5,h="bottom"):t==="leftTop"?(v=o[0][0],w=o[1][1],O=v-T,y=O-5,h="right"):t==="leftBottom"?(v=o[3][0],w=o[2][1],O=v-T,y=O-5,h="right"):(v=(o[1][0]+o[2][0])/2,w=(o[1][1]+o[2][1])/2,O=v+T,y=O+5,h="left");var S=w;E=[[v,w],[O,S]],b=S}r.label={linePoints:E,x:y,y:b,verticalAlign:"middle",textAlign:h,inside:u}})}function s(a,n,i){a.eachSeriesByType("funnel",function(d){var t=d.getData(),l=t.mapDimension("value"),r=d.get("sort"),o=g(d,n),u=p(t,r),h=[x(d.get("minSize"),o.width),x(d.get("maxSize"),o.width)],y=t.getDataExtent(l),b=d.get("min"),E=d.get("max");b==null&&(b=Math.min(y[0],0)),E==null&&(E=y[1]);var v=d.get("funnelAlign"),w=d.get("gap"),O=(o.height-w*(t.count()-1))/t.count(),T=o.y,S=function(z,M){var U=t.get(l,z)||0,P=m(U,[b,E],h,!0),H;switch(v){case"left":H=o.x;break;case"center":H=o.x+(o.width-P)/2;break;case"right":H=o.x+o.width-P;break}return[[H,M],[H+P,M]]};r==="ascending"&&(O=-O,w=-w,T+=o.height,u=u.reverse());for(var C=0;C<u.length;C++){var _=u[C],I=u[C+1],k=t.getItemModel(_),F=k.get("itemStyle.height");F==null?F=O:(F=x(F,o.height),r==="ascending"&&(F=-F));var B=S(_,T),j=S(I,T+F);T+=F+w,t.setItemLayout(_,{points:B.concat(j.slice().reverse())})}c(t)})}R.exports=s},JSwD:function(R,N,e){"use strict";function A(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(h){return typeof h}:A=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},A(o)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=r;var f=m(e("6BzB"));function x(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return x=function(){return o},o}function m(o){if(o&&o.__esModule)return o;if(o===null||A(o)!=="object"&&typeof o!="function")return{default:o};var u=x();if(u&&u.has(o))return u.get(o);var h={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in o)if(Object.prototype.hasOwnProperty.call(o,b)){var E=y?Object.getOwnPropertyDescriptor(o,b):null;E&&(E.get||E.set)?Object.defineProperty(h,b,E):h[b]=o[b]}return h.default=o,u&&u.set(o,h),h}var g=15,p=852,c=592,s=0,a=1,n=2,i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],t=[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 r(o,u,h,y,b,E,v,w){var O=w.bits,T=0,S=0,C=0,_=0,I=0,k=0,F=0,B=0,j=0,z=0,M,U,P,H,W,X=null,K=0,$,ie=new f.Buf16(g+1),be=new f.Buf16(g+1),te=null,Te=0,Ie,Fe,Qe;for(T=0;T<=g;T++)ie[T]=0;for(S=0;S<y;S++)ie[u[h+S]]++;for(I=O,_=g;_>=1&&!(ie[_]!==0);_--);if(I>_&&(I=_),_===0)return b[E++]=1<<24|64<<16|0,b[E++]=1<<24|64<<16|0,w.bits=1,0;for(C=1;C<_&&!(ie[C]!==0);C++);for(I<C&&(I=C),B=1,T=1;T<=g;T++)if(B<<=1,B-=ie[T],B<0)return-1;if(B>0&&(o===s||_!==1))return-1;for(be[1]=0,T=1;T<g;T++)be[T+1]=be[T]+ie[T];for(S=0;S<y;S++)u[h+S]!==0&&(v[be[u[h+S]]++]=S);if(o===s?(X=te=v,$=19):o===a?(X=i,K-=257,te=d,Te-=257,$=256):(X=t,te=l,$=-1),z=0,S=0,T=C,W=E,k=I,F=0,P=-1,j=1<<I,H=j-1,o===a&&j>p||o===n&&j>c)return 1;for(;;){Ie=T-F,v[S]<$?(Fe=0,Qe=v[S]):v[S]>$?(Fe=te[Te+v[S]],Qe=X[K+v[S]]):(Fe=32+64,Qe=0),M=1<<T-F,U=1<<k,C=U;do U-=M,b[W+(z>>F)+U]=Ie<<24|Fe<<16|Qe|0;while(U!==0);for(M=1<<T-1;z&M;)M>>=1;if(M!==0?(z&=M-1,z+=M):z=0,S++,--ie[T]===0){if(T===_)break;T=u[h+v[S]]}if(T>I&&(z&H)!==P){for(F===0&&(F=I),W+=C,k=T-F,B=1<<k;k+F<_&&!(B-=ie[k+F],B<=0);)k++,B<<=1;if(j+=1<<k,o===a&&j>p||o===n&&j>c)return 1;P=z&H,b[P]=I<<24|k<<16|W-E|0}}return z!==0&&(b[W+z]=T-F<<24|64<<16|0),w.bits=I,0}},JVwQ:function(R,N,e){var A=e("ProS"),f=e("1NG9"),x=f.Polygon,m=e("IwbS"),g=e("bYtY"),p=g.bind,c=g.extend,s=e("gPAo"),a=A.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(i,d,t){var l=i.getData(),r=this.group,o=i.getLayerSeries(),u=l.getLayout("layoutInfo"),h=u.rect,y=u.boundaryGap;r.attr("position",[0,h.y+y[0]]);function b(O){return O.name}var E=new s(this._layersSeries||[],o,b,b),v={};E.add(p(w,this,"add")).update(p(w,this,"update")).remove(p(w,this,"remove")).execute();function w(O,T,S){var C=this._layers;if(O==="remove"){r.remove(C[T]);return}for(var _=[],I=[],k,F=o[T].indices,B=0;B<F.length;B++){var j=l.getItemLayout(F[B]),z=j.x,M=j.y0,U=j.y;_.push([z,M]),I.push([z,M+U]),k=l.getItemVisual(F[B],"color")}var P,H,W=l.getItemLayout(F[0]),X=l.getItemModel(F[B-1]),K=X.getModel("label"),$=K.get("margin");if(O==="add"){var ie=v[T]=new m.Group;P=new x({shape:{points:_,stackedOnPoints:I,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:W.x-$,y:W.y0+W.y/2}}),ie.add(P),ie.add(H),r.add(ie),P.setClipPath(n(P.getBoundingRect(),i,function(){P.removeClipPath()}))}else{var ie=C[S];P=ie.childAt(0),H=ie.childAt(1),r.add(ie),v[T]=ie,m.updateProps(P,{shape:{points:_,stackedOnPoints:I}},i),m.updateProps(H,{style:{x:W.x-$,y:W.y0+W.y/2}},i)}var be=X.getModel("emphasis.itemStyle"),te=X.getModel("itemStyle");m.setTextStyle(H.style,K,{text:K.get("show")?i.getFormattedLabel(F[B-1],"normal")||l.getName(F[B-1]):null,textVerticalAlign:"middle"}),P.setStyle(c({fill:k},te.getItemStyle(["color"]))),m.setHoverStyle(P,be.getItemStyle())}this._layersSeries=o,this._layers=v},dispose:function(){}});function n(i,d,t){var l=new m.Rect({shape:{x:i.x-10,y:i.y-10,width:0,height:i.height+20}});return m.initProps(l,{shape:{width:i.width+20,height:i.height+20}},d,t),l}R.exports=a},JgUQ:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},JsLm:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("PJYZ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e("i8i4"),u=e("TSYQ"),h=e.n(u),y=e("zT1h"),b=e("cDf5"),E=e.n(b),v=e("BGR+"),w=e("VTBJ"),O=e("1OyB"),T=e("vuIU"),S=e("Ji7U"),C=e("LK+K"),_=e("m+aA"),I=e("Zm9Q"),k=e("Kwbf"),F=e("c+Xe"),B=e("bdgK"),j="rc-observer-key",z=function(De){Object(S.a)(he,De);var ne=Object(C.a)(he);function he(){var pe;return Object(O.a)(this,he),pe=ne.apply(this,arguments),pe.resizeObserver=null,pe.childNode=null,pe.currentElement=null,pe.state={width:0,height:0,offsetHeight:0,offsetWidth:0},pe.onResize=function(Xe){var lt=pe.props.onResize,At=Xe[0].target,Me=At.getBoundingClientRect(),Ht=Me.width,tt=Me.height,Mt=At.offsetWidth,jt=At.offsetHeight,kt=Math.floor(Ht),Tt=Math.floor(tt);if(pe.state.width!==kt||pe.state.height!==Tt||pe.state.offsetWidth!==Mt||pe.state.offsetHeight!==jt){var Dt={width:kt,height:Tt,offsetWidth:Mt,offsetHeight:jt};pe.setState(Dt),lt&&Promise.resolve().then(function(){lt(Object(w.a)(Object(w.a)({},Dt),{},{offsetWidth:Mt,offsetHeight:jt}))})}},pe.setChildNode=function(Xe){pe.childNode=Xe},pe}return Object(T.a)(he,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var Xe=this.props.disabled;if(Xe){this.destroyObserver();return}var lt=Object(_.a)(this.childNode||this),At=lt!==this.currentElement;At&&(this.destroyObserver(),this.currentElement=lt),!this.resizeObserver&<&&(this.resizeObserver=new B.default(this.onResize),this.resizeObserver.observe(lt))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var Xe=this.props.children,lt=Object(I.a)(Xe);if(lt.length>1)Object(k.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(lt.length===0)return Object(k.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var At=lt[0];if(r.isValidElement(At)&&Object(F.c)(At)){var Me=At.ref;lt[0]=r.cloneElement(At,{ref:Object(F.a)(Me,this.setChildNode)})}return lt.length===1?lt[0]:lt.map(function(Ht,tt){return!r.isValidElement(Ht)||"key"in Ht&&Ht.key!==null?Ht:r.cloneElement(Ht,{key:"".concat(j,"-").concat(tt)})})}}]),he}(r.Component);z.displayName="ResizeObserver";var M=z,U=e("H84U"),P=e("PEeC");function H(De){return De!==window?De.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function W(De,ne,he){return he!==void 0&&ne.top>De.top-he?he+ne.top:void 0}function X(De,ne,he){if(he!==void 0&&ne.bottom<De.bottom+he){var pe=window.innerHeight-ne.bottom;return he+pe}return}var K=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],$=[];function ie(){return $}function be(De,ne){if(!De)return;var he=$.find(function(pe){return pe.target===De});he?he.affixList.push(ne):(he={target:De,affixList:[ne],eventHandlers:{}},$.push(he),K.forEach(function(pe){he.eventHandlers[pe]=Object(y.a)(De,pe,function(){he.affixList.forEach(function(Xe){Xe.lazyUpdatePosition()})})}))}function te(De){var ne=$.find(function(he){var pe=he.affixList.some(function(Xe){return Xe===De});return pe&&(he.affixList=he.affixList.filter(function(Xe){return Xe!==De})),pe});ne&&ne.affixList.length===0&&($=$.filter(function(he){return he!==ne}),K.forEach(function(he){var pe=ne.eventHandlers[he];pe&&pe.remove&&pe.remove()}))}var Te=function(De,ne,he,pe){var Xe=arguments.length,lt=Xe<3?ne:pe===null?pe=Object.getOwnPropertyDescriptor(ne,he):pe,At;if((typeof Reflect=="undefined"?"undefined":E()(Reflect))==="object"&&typeof Reflect.decorate=="function")lt=Reflect.decorate(De,ne,he,pe);else for(var Me=De.length-1;Me>=0;Me--)(At=De[Me])&&(lt=(Xe<3?At(lt):Xe>3?At(ne,he,lt):At(ne,he))||lt);return Xe>3&<&&Object.defineProperty(ne,he,lt),lt};function Ie(){return typeof window!="undefined"?window:null}var Fe;(function(De){De[De.None=0]="None",De[De.Prepare=1]="Prepare"})(Fe||(Fe={}));var Qe=function(De){d()(he,De);var ne=l()(he);function he(){var pe;return p()(this,he),pe=ne.apply(this,arguments),pe.state={status:Fe.None,lastAffix:!1,prevTarget:null},pe.getOffsetTop=function(){var Xe=pe.props.offsetBottom,lt=pe.props.offsetTop;return Xe===void 0&<===void 0&&(lt=0),lt},pe.getOffsetBottom=function(){return pe.props.offsetBottom},pe.savePlaceholderNode=function(Xe){pe.placeholderNode=Xe},pe.saveFixedNode=function(Xe){pe.fixedNode=Xe},pe.measure=function(){var Xe=pe.state,lt=Xe.status,At=Xe.lastAffix,Me=pe.props.onChange,Ht=pe.getTargetFunc();if(lt!==Fe.Prepare||!pe.fixedNode||!pe.placeholderNode||!Ht)return;var tt=pe.getOffsetTop(),Mt=pe.getOffsetBottom(),jt=Ht();if(!jt)return;var kt={status:Fe.None},Tt=H(jt),Dt=H(pe.placeholderNode),Ue=W(Dt,Tt,tt),G=X(Dt,Tt,Mt);Ue!==void 0?(kt.affixStyle={position:"fixed",top:Ue,width:Dt.width,height:Dt.height},kt.placeholderStyle={width:Dt.width,height:Dt.height}):G!==void 0&&(kt.affixStyle={position:"fixed",bottom:G,width:Dt.width,height:Dt.height},kt.placeholderStyle={width:Dt.width,height:Dt.height}),kt.lastAffix=!!kt.affixStyle,Me&&At!==kt.lastAffix&&Me(kt.lastAffix),pe.setState(kt)},pe.prepareMeasure=function(){if(pe.setState({status:Fe.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Xe},pe.render=function(){var Xe=pe.context.getPrefixCls,lt=pe.state,At=lt.affixStyle,Me=lt.placeholderStyle,Ht=pe.props,tt=Ht.prefixCls,Mt=Ht.children,jt=h()(m()({},Xe("affix",tt),At)),kt=Object(v.default)(pe.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(M,{onResize:function(){pe.updatePosition()}},r.createElement("div",f()({},kt,{ref:pe.savePlaceholderNode}),At&&r.createElement("div",{style:Me,"aria-hidden":"true"}),r.createElement("div",{className:jt,ref:pe.saveFixedNode,style:At},r.createElement(M,{onResize:function(){pe.updatePosition()}},Mt))))},pe}return s()(he,[{key:"getTargetFunc",value:function(){var Xe=this.context.getTargetContainer,lt=this.props.target;return lt!==void 0?lt:Xe||Ie}},{key:"componentDidMount",value:function(){var Xe=this,lt=this.getTargetFunc();lt&&(this.timeout=setTimeout(function(){be(lt(),Xe),Xe.updatePosition()}))}},{key:"componentDidUpdate",value:function(Xe){var lt=this.state.prevTarget,At=this.getTargetFunc(),Me=null;At&&(Me=At()||null),lt!==Me&&(te(this),Me&&(be(Me,this),this.updatePosition()),this.setState({prevTarget:Me})),(Xe.offsetTop!==this.props.offsetTop||Xe.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),te(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Xe=this.getTargetFunc(),lt=this.state.affixStyle;if(Xe&<){var At=this.getOffsetTop(),Me=this.getOffsetBottom(),Ht=Xe();if(Ht&&this.placeholderNode){var tt=H(Ht),Mt=H(this.placeholderNode),jt=W(Mt,tt,At),kt=X(Mt,tt,Me);if(jt!==void 0&<.top===jt||kt!==void 0&<.bottom===kt)return}}this.prepareMeasure()}}]),he}(r.Component);Qe.contextType=U.b,Te([Object(P.b)()],Qe.prototype,"updatePosition",null),Te([Object(P.b)()],Qe.prototype,"lazyUpdatePosition",null);var fe=Qe,He=e("zAh6"),se=e("i6bk"),Ce=r.createContext(null),mt=Ce;function Ne(){return window}function ae(De,ne){if(!De.getClientRects().length)return 0;var he=De.getBoundingClientRect();return he.width||he.height?ne===window?(ne=De.ownerDocument.documentElement,he.top-ne.clientTop):he.top-ne.getBoundingClientRect().top:he.top}var ce=/#(\S+)$/,le=function(De){d()(he,De);var ne=l()(he);function he(){var pe;return p()(this,he),pe=ne.apply(this,arguments),pe.state={activeLink:null},pe.links=[],pe.registerLink=function(Xe){pe.links.includes(Xe)||pe.links.push(Xe)},pe.unregisterLink=function(Xe){var lt=pe.links.indexOf(Xe);lt!==-1&&pe.links.splice(lt,1)},pe.getContainer=function(){var Xe=pe.context.getTargetContainer,lt=pe.props.getContainer,At=lt||Xe||Ne;return At()},pe.handleScrollTo=function(Xe){var lt=pe.props,At=lt.offsetTop,Me=lt.targetOffset;pe.setCurrentActiveLink(Xe);var Ht=pe.getContainer(),tt=Object(se.a)(Ht,!0),Mt=ce.exec(Xe);if(!Mt)return;var jt=document.getElementById(Mt[1]);if(!jt)return;var kt=ae(jt,Ht),Tt=tt+kt;Tt-=Me!==void 0?Me:At||0,pe.animating=!0,Object(He.a)(Tt,{callback:function(){pe.animating=!1},getContainer:pe.getContainer})},pe.saveInkNode=function(Xe){pe.inkNode=Xe},pe.setCurrentActiveLink=function(Xe){var lt=pe.state.activeLink,At=pe.props.onChange;lt!==Xe&&(pe.setState({activeLink:Xe}),At&&At(Xe))},pe.handleScroll=function(){if(pe.animating)return;var Xe=pe.props,lt=Xe.offsetTop,At=Xe.bounds,Me=Xe.targetOffset,Ht=pe.getCurrentAnchor(Me!==void 0?Me:lt||0,At);pe.setCurrentActiveLink(Ht)},pe.updateInk=function(){var Xe=n()(pe),lt=Xe.prefixCls,At=o.findDOMNode(n()(pe)),Me=At.getElementsByClassName("".concat(lt,"-link-title-active"))[0];Me&&(pe.inkNode.style.top="".concat(Me.offsetTop+Me.clientHeight/2-4.5,"px"))},pe.render=function(){var Xe=pe.context,lt=Xe.getPrefixCls,At=Xe.direction,Me=pe.props,Ht=Me.prefixCls,tt=Me.className,Mt=tt===void 0?"":tt,jt=Me.style,kt=Me.offsetTop,Tt=Me.affix,Dt=Me.showInkInFixed,Ue=Me.children,G=pe.state.activeLink,Y=lt("anchor",Ht);pe.prefixCls=Y;var Pe=h()("".concat(Y,"-ink-ball"),{visible:G}),Be=h()(Mt,"".concat(Y,"-wrapper"),m()({},"".concat(Y,"-rtl"),At==="rtl")),J=h()(Y,{fixed:!Tt&&!Dt}),St=f()({maxHeight:kt?"calc(100vh - ".concat(kt,"px)"):"100vh"},jt),bt=r.createElement("div",{className:Be,style:St},r.createElement("div",{className:J},r.createElement("div",{className:"".concat(Y,"-ink")},r.createElement("span",{className:Pe,ref:pe.saveInkNode})),Ue));return r.createElement(mt.Provider,{value:{registerLink:pe.registerLink,unregisterLink:pe.unregisterLink,activeLink:pe.state.activeLink,scrollTo:pe.handleScrollTo,onClick:pe.props.onClick}},Tt?r.createElement(fe,{offsetTop:kt,target:pe.getContainer},bt):bt)},pe}return s()(he,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(y.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Xe=this.getContainer();this.scrollContainer!==Xe&&(this.scrollContainer=Xe,this.scrollEvent.remove(),this.scrollEvent=Object(y.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,At=this.props.getCurrentAnchor;if(typeof At=="function")return At();var Me=[],Ht=this.getContainer();if(this.links.forEach(function(Mt){var jt=ce.exec(Mt.toString());if(!jt)return;var kt=document.getElementById(jt[1]);if(kt){var Tt=ae(kt,Ht);Tt<Xe+lt&&Me.push({link:Mt,top:Tt})}}),Me.length){var tt=Me.reduce(function(Mt,jt){return jt.top>Mt.top?jt:Mt});return tt.link}return""}}]),he}(r.Component);le.defaultProps={affix:!0,showInkInFixed:!1},le.contextType=U.b;var je=function(De){d()(he,De);var ne=l()(he);function he(){var pe;return p()(this,he),pe=ne.apply(this,arguments),pe.handleClick=function(Xe){var lt=pe.context,At=lt.scrollTo,Me=lt.onClick,Ht=pe.props,tt=Ht.href,Mt=Ht.title;Me&&Me(Xe,{title:Mt,href:tt}),At(tt)},pe.renderAnchorLink=function(Xe){var lt=Xe.getPrefixCls,At=pe.props,Me=At.prefixCls,Ht=At.href,tt=At.title,Mt=At.children,jt=At.className,kt=At.target,Tt=lt("anchor",Me),Dt=pe.context.activeLink===Ht,Ue=h()(jt,"".concat(Tt,"-link"),m()({},"".concat(Tt,"-link-active"),Dt)),G=h()("".concat(Tt,"-link-title"),m()({},"".concat(Tt,"-link-title-active"),Dt));return r.createElement("div",{className:Ue},r.createElement("a",{className:G,href:Ht,title:typeof tt=="string"?tt:"",target:kt,onClick:pe.handleClick},tt),Mt)},pe}return s()(he,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Xe){var lt=Xe.href,At=this.props.href;lt!==At&&(this.context.unregisterLink(lt),this.context.registerLink(At))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(U.a,null,this.renderAnchorLink)}}]),he}(r.Component);je.defaultProps={href:"#"},je.contextType=mt;var Re=je;le.Link=Re;var Ze=N.a=le},JuEJ:function(R,N,e){var A=e("bYtY"),f=e("4NO4"),x=A.each,m=A.isObject,g=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function p(r){var o=r&&r.itemStyle;if(!o)return;for(var u=0,h=g.length;u<h;u++){var y=g[u],b=o.normal,E=o.emphasis;b&&b[y]&&(r[y]=r[y]||{},r[y].normal?A.merge(r[y].normal,b[y]):r[y].normal=b[y],b[y]=null),E&&E[y]&&(r[y]=r[y]||{},r[y].emphasis?A.merge(r[y].emphasis,E[y]):r[y].emphasis=E[y],E[y]=null)}}function c(r,o,u){if(r&&r[o]&&(r[o].normal||r[o].emphasis)){var h=r[o].normal,y=r[o].emphasis;h&&(u?(r[o].normal=r[o].emphasis=null,A.defaults(r[o],h)):r[o]=h),y&&(r.emphasis=r.emphasis||{},r.emphasis[o]=y)}}function s(r){c(r,"itemStyle"),c(r,"lineStyle"),c(r,"areaStyle"),c(r,"label"),c(r,"labelLine"),c(r,"upperLabel"),c(r,"edgeLabel")}function a(r,o){var u=m(r)&&r[o],h=m(u)&&u.textStyle;if(h)for(var y=0,b=f.TEXT_STYLE_OPTIONS.length;y<b;y++){var o=f.TEXT_STYLE_OPTIONS[y];h.hasOwnProperty(o)&&(u[o]=h[o])}}function n(r){r&&(s(r),a(r,"label"),r.emphasis&&a(r.emphasis,"label"))}function i(r){if(!m(r))return;p(r),s(r),a(r,"label"),a(r,"upperLabel"),a(r,"edgeLabel"),r.emphasis&&(a(r.emphasis,"label"),a(r.emphasis,"upperLabel"),a(r.emphasis,"edgeLabel"));var o=r.markPoint;o&&(p(o),n(o));var u=r.markLine;u&&(p(u),n(u));var h=r.markArea;h&&n(h);var y=r.data;if(r.type==="graph"){y=y||r.nodes;var b=r.links||r.edges;if(b&&!A.isTypedArray(b))for(var E=0;E<b.length;E++)n(b[E]);A.each(r.categories,function(O){s(O)})}if(y&&!A.isTypedArray(y))for(var E=0;E<y.length;E++)n(y[E]);var o=r.markPoint;if(o&&o.data)for(var v=o.data,E=0;E<v.length;E++)n(v[E]);var u=r.markLine;if(u&&u.data)for(var w=u.data,E=0;E<w.length;E++)A.isArray(w[E])?(n(w[E][0]),n(w[E][1])):n(w[E]);r.type==="gauge"?(a(r,"axisLabel"),a(r,"title"),a(r,"detail")):r.type==="treemap"?(c(r.breadcrumb,"itemStyle"),A.each(r.levels,function(O){s(O)})):r.type==="tree"&&s(r.leaves)}function d(r){return A.isArray(r)?r:r?[r]:[]}function t(r){return(A.isArray(r)?r[0]:r)||{}}function l(r,o){x(d(r.series),function(h){m(h)&&i(h)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];o&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),x(u,function(h){x(d(r[h]),function(y){y&&(a(y,"axisLabel"),a(y.axisPointer,"label"))})}),x(d(r.parallel),function(h){var y=h&&h.parallelAxisDefault;a(y,"axisLabel"),a(y&&y.axisPointer,"label")}),x(d(r.calendar),function(h){c(h,"itemStyle"),a(h,"dayLabel"),a(h,"monthLabel"),a(h,"yearLabel")}),x(d(r.radar),function(h){a(h,"name")}),x(d(r.geo),function(h){m(h)&&(n(h),x(d(h.regions),function(y){n(y)}))}),x(d(r.timeline),function(h){n(h),c(h,"label"),c(h,"itemStyle"),c(h,"controlStyle",!0);var y=h.data;A.isArray(y)&&A.each(y,function(b){A.isObject(b)&&(c(b,"label"),c(b,"itemStyle"))})}),x(d(r.toolbox),function(h){c(h,"iconStyle"),x(h.feature,function(y){c(y,"iconStyle")})}),a(t(r.axisPointer),"label"),a(t(r.tooltip).axisPointer,"label")}R.exports=l},K2GJ:function(R,N,e){var A=e("fW2E"),f=e("gut8"),x=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],g=function(t){this.extendFrom(t,!1)};function p(d,t,l){var r=t.x==null?0:t.x,o=t.x2==null?1:t.x2,u=t.y==null?0:t.y,h=t.y2==null?0:t.y2;t.global||(r=r*l.width+l.x,o=o*l.width+l.x,u=u*l.height+l.y,h=h*l.height+l.y),r=isNaN(r)?0:r,o=isNaN(o)?1:o,u=isNaN(u)?0:u,h=isNaN(h)?0:h;var y=d.createLinearGradient(r,u,o,h);return y}function c(d,t,l){var r=l.width,o=l.height,u=Math.min(r,o),h=t.x==null?.5:t.x,y=t.y==null?.5:t.y,b=t.r==null?.5:t.r;t.global||(h=h*r+l.x,y=y*o+l.y,b=b*u);var E=d.createRadialGradient(h,y,0,h,y,b);return E}g.prototype={constructor:g,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(t,l,r){var o=this,u=r&&r.style,h=!u||t.__attrCachedBy!==x.STYLE_BIND;t.__attrCachedBy=x.STYLE_BIND;for(var y=0;y<m.length;y++){var b=m[y],E=b[0];(h||o[E]!==u[E])&&(t[E]=A(t,E,o[E]||b[1]))}if((h||o.fill!==u.fill)&&(t.fillStyle=o.fill),(h||o.stroke!==u.stroke)&&(t.strokeStyle=o.stroke),(h||o.opacity!==u.opacity)&&(t.globalAlpha=o.opacity==null?1:o.opacity),(h||o.blend!==u.blend)&&(t.globalCompositeOperation=o.blend||"source-over"),this.hasStroke()){var v=o.lineWidth;t.lineWidth=v/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var t=this.fill;return t!=null&&t!=="none"},hasStroke:function(){var t=this.stroke;return t!=null&&t!=="none"&&this.lineWidth>0},extendFrom:function(t,l){if(t)for(var r in t)t.hasOwnProperty(r)&&(l===!0||(l===!1?!this.hasOwnProperty(r):t[r]!=null))&&(this[r]=t[r])},set:function(t,l){typeof t=="string"?this[t]=l:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,l,r){for(var o=l.type==="radial"?c:p,u=o(t,l,r),h=l.colorStops,y=0;y<h.length;y++)u.addColorStop(h[y].offset,h[y].color);return u}};for(var s=g.prototype,a=0;a<m.length;a++){var n=m[a];n[0]in s||(s[n[0]]=n[1])}g.getGradient=s.getGradient;var i=g;R.exports=i},K4ya:function(R,N,e){var A=e("bYtY"),f=e("XxSj"),x=A.each;function m(a){if(a){for(var n in a)if(a.hasOwnProperty(n))return!0}}function g(a,n,i){var d={};return x(n,function(l){var r=d[l]=t();x(a[l],function(o,u){if(!f.isValidType(u))return;var h={type:u,visual:o};i&&i(h,l),r[u]=new f(h),u==="opacity"&&(h=A.clone(h),h.type="colorAlpha",r.__hidden.__alphaForOpacity=new f(h))})}),d;function t(){var l=function(){};l.prototype.__hidden=l.prototype;var r=new l;return r}}function p(a,n,i){var d;A.each(i,function(t){n.hasOwnProperty(t)&&m(n[t])&&(d=!0)}),d&&A.each(i,function(t){n.hasOwnProperty(t)&&m(n[t])?a[t]=A.clone(n[t]):delete a[t]})}function c(a,n,i,d,t,l){var r={};A.each(a,function(b){var E=f.prepareVisualTypes(n[b]);r[b]=E});var o;function u(b){return i.getItemVisual(o,b)}function h(b,E){i.setItemVisual(o,b,E)}l==null?i.each(y):i.each([l],y);function y(b,E){o=l==null?b:E;var v=i.getRawDataItem(o);if(v&&v.visualMap===!1)return;for(var w=d.call(t,b),O=n[w],T=r[w],S=0,C=T.length;S<C;S++){var _=T[S];O[_]&&O[_].applyVisual(b,u,h)}}}function s(a,n,i,d){var t={};A.each(a,function(r){var o=f.prepareVisualTypes(n[r]);t[r]=o});function l(r,o){d!=null&&(d=o.getDimension(d));function u(_){return o.getItemVisual(y,_)}function h(_,I){o.setItemVisual(y,_,I)}for(var y;(y=r.next())!=null;){var b=o.getRawDataItem(y);if(b&&b.visualMap===!1)continue;for(var E=d!=null?o.get(d,y,!0):y,v=i(E),w=n[v],O=t[v],T=0,S=O.length;T<S;T++){var C=O[T];w[C]&&w[C].applyVisual(E,u,h)}}}return{progress:l}}N.createVisualMappings=g,N.replaceVisualOption=p,N.applyVisual=c,N.incrementalApplyVisual=s},KCY9:function(R,N,e){},KCsZ:function(R,N,e){var A=e("bYtY");function f(x){for(var m=0;m<x.length;m++)x[m][1]||(x[m][1]=x[m][0]);return function(g,p,c){for(var s={},a=0;a<x.length;a++){var n=x[a][1];if(p&&A.indexOf(p,n)>=0||c&&A.indexOf(c,n)<0)continue;var i=g.getShallow(n);i!=null&&(s[x[a][0]]=i)}return s}}R.exports=f},KPFz:function(R,N,e){},KQeH:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},KS52:function(R,N,e){var A=e("OELB"),f=A.parsePercent,x=A.linearMap,m=e("+TT/"),g=e("u3DP"),p=e("bYtY"),c=Math.PI*2,s=Math.PI/180;function a(i,d){return m.getLayoutRect(i.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})}function n(i,d,t,l){d.eachSeriesByType(i,function(r){var o=r.getData(),u=o.mapDimension("value"),h=a(r,t),y=r.get("center"),b=r.get("radius");p.isArray(b)||(b=[0,b]),p.isArray(y)||(y=[y,y]);var E=f(h.width,t.getWidth()),v=f(h.height,t.getHeight()),w=Math.min(E,v),O=f(y[0],E)+h.x,T=f(y[1],v)+h.y,S=f(b[0],w/2),C=f(b[1],w/2),_=-r.get("startAngle")*s,I=r.get("minAngle")*s,k=0;o.each(u,function($){!isNaN($)&&k++});var F=o.getSum(u),B=Math.PI/(F||k)*2,j=r.get("clockwise"),z=r.get("roseType"),M=r.get("stillShowZeroSum"),U=o.getDataExtent(u);U[0]=0;var P=c,H=0,W=_,X=j?1:-1;if(o.each(u,function($,ie){var be;if(isNaN($)){o.setItemLayout(ie,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:j,cx:O,cy:T,r0:S,r:z?NaN:C,viewRect:h});return}z!=="area"?be=F===0&&M?B:$*B:be=c/k,be<I?(be=I,P-=I):H+=$;var te=W+X*be;o.setItemLayout(ie,{angle:be,startAngle:W,endAngle:te,clockwise:j,cx:O,cy:T,r0:S,r:z?x($,U,[S,C]):C,viewRect:h}),W=te}),P<c&&k)if(P<=.001){var K=c/k;o.each(u,function($,ie){if(!isNaN($)){var be=o.getItemLayout(ie);be.angle=K,be.startAngle=_+X*ie*K,be.endAngle=_+X*(ie+1)*K}})}else B=P/H,W=_,o.each(u,function($,ie){if(!isNaN($)){var be=o.getItemLayout(ie),te=be.angle===I?I:$*B;be.startAngle=W,be.endAngle=W+X*te,W+=X*te}});g(r,C,h.width,h.height,h.x,h.y)})}R.exports=n},KUOm:function(R,N){function e(A){var f={};A.eachSeriesByType("graph",function(x){var m=x.getCategoriesData(),g=x.getData(),p={};m.each(function(c){var s=m.getName(c);p["ec-"+s]=c;var a=m.getItemModel(c),n=a.get("itemStyle.color")||x.getColorFromPalette(s,f);m.setItemVisual(c,"color",n);for(var i=["opacity","symbol","symbolSize","symbolKeepAspect"],d=0;d<i.length;d++){var t=a.getShallow(i[d],!0);t!=null&&m.setItemVisual(c,i[d],t)}}),m.count()&&g.each(function(c){var s=g.getItemModel(c),a=s.getShallow("category");if(a!=null){typeof a=="string"&&(a=p["ec-"+a]);for(var n=["color","opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++)g.getItemVisual(c,n[i],!0)==null&&g.setItemVisual(c,n[i],m.getItemVisual(a,n[i]))}})})}R.exports=e},Kagy:function(R,N){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};R.exports=e},KamJ:function(R,N,e){var A=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),A.registerPreprocessor(f)},KmBX:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("CP8R")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="FilterFilled";var s=m.forwardRef(c);N.default=s},"KpQ+":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("E/ki")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="ClockCircleOutlined";var s=m.forwardRef(c);N.default=s},KrTs:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("cDf5"),m=e.n(x),g=e("pVnL"),p=e.n(g),c=e("q1tI"),s=e("UmKh"),a=e("TSYQ"),n=e.n(a),i=e("J4zp"),d=e.n(i),t=e("H84U"),l=e("0n0R"),r=function(C,_){var I={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&_.indexOf(k)<0&&(I[k]=C[k]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(C);F<k.length;F++)_.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(C,k[F])&&(I[k[F]]=C[k[F]]);return I};function o(C){return C?C.toString().split("").reverse().map(function(_){var I=Number(_);return isNaN(I)?_:I}):[]}function u(C,_){for(var I=[],k=0;k<30;k++)I.push(c.createElement("p",{key:k.toString(),className:n()(_,{current:C===k})},k%10));return I}var h=function(_){var I=_.prefixCls,k=_.count,F=_.className,B=_.style,j=_.title,z=_.component,M=z===void 0?"sup":z,U=_.displayComponent,P=_.onAnimated,H=P===void 0?function(){}:P,W=r(_,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),X=c.useState(!0),K=d()(X,2),$=K[0],ie=K[1],be=c.useState(k),te=d()(be,2),Te=te[0],Ie=te[1],Fe=c.useState(k),Qe=d()(Fe,2),fe=Qe[0],He=Qe[1],se=c.useState(k),Ce=d()(se,2),mt=Ce[0],Ne=Ce[1],ae=c.useContext(t.b),ce=ae.getPrefixCls,le=ce("scroll-number",I);fe!==k&&(ie(!0),He(k)),c.useEffect(function(){Ne(Te);var ne;return $&&(ne=setTimeout(function(){ie(!1),Ie(k),H()})),function(){ne&&clearTimeout(ne)}},[$,k,H]);var je=function(he,pe){var Xe=Math.abs(Number(Te)),lt=Math.abs(Number(mt)),At=Math.abs(o(Te)[pe]),Me=Math.abs(o(lt)[pe]);return $?10+he:Xe>lt?At>=Me?10+he:20+he:At<=Me?10+he:he},Re=function(he,pe){if(typeof he=="number"){var Xe=je(he,pe),lt=$||o(mt)[pe]===void 0;return c.createElement("span",{className:"".concat(le,"-only"),style:{transition:lt?"none":void 0,msTransform:"translateY(".concat(-Xe*100,"%)"),WebkitTransform:"translateY(".concat(-Xe*100,"%)"),transform:"translateY(".concat(-Xe*100,"%)")},key:pe},u(Xe,"".concat(le,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(le,"-symbol")},he)},Ze=function(){return Te&&Number(Te)%1===0?o(Te).map(function(he,pe){return Re(he,pe)}).reverse():Te},De=p()(p()({},W),{style:B,className:n()(le,F),title:j});return B&&B.borderColor&&(De.style=p()(p()({},B),{boxShadow:"0 0 0 1px ".concat(B.borderColor," inset")})),U?Object(l.a)(U,{className:n()("".concat(le,"-custom-component"),U.props&&U.props.className)}):c.createElement(M,De,Ze())},y=h,b=e("09Wf");function E(C){return b.a.indexOf(C)!==-1}var v=function(_){var I,k=_.className,F=_.prefixCls,B=_.style,j=_.color,z=_.children,M=_.text,U=_.placement,P=U===void 0?"end":U,H=c.useContext(t.b),W=H.getPrefixCls,X=H.direction,K=W("ribbon",F),$=E(j),ie=n()(K,k,"".concat(K,"-placement-").concat(P),(I={},f()(I,"".concat(K,"-rtl"),X==="rtl"),f()(I,"".concat(K,"-color-").concat(j),$),I)),be={},te={};return j&&!$&&(be.background=j,te.color=j),c.createElement("div",{className:"".concat(K,"-wrapper")},z,c.createElement("div",{className:ie,style:p()(p()({},be),B)},M,c.createElement("div",{className:"".concat(K,"-corner"),style:te})))},w=v,O=function(C,_){var I={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&_.indexOf(k)<0&&(I[k]=C[k]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(C);F<k.length;F++)_.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(C,k[F])&&(I[k[F]]=C[k[F]]);return I},T=function(_){var I,k,F=_.prefixCls,B=_.scrollNumberPrefixCls,j=_.children,z=_.status,M=_.text,U=_.color,P=_.count,H=P===void 0?null:P,W=_.overflowCount,X=W===void 0?99:W,K=_.dot,$=K===void 0?!1:K,ie=_.size,be=ie===void 0?"default":ie,te=_.title,Te=_.offset,Ie=_.style,Fe=_.className,Qe=_.showZero,fe=Qe===void 0?!1:Qe,He=O(_,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),se=c.useContext(t.b),Ce=se.getPrefixCls,mt=se.direction,Ne=Ce("badge",F),ae=function(){var jt=H>X?"".concat(X,"+"):H;return jt},ce=function(){return!!z||!!U},le=function(){var jt=ae();return jt==="0"||jt===0},je=function(){return $&&!le()||ce()},Re=function(){return je()?"":ae()},Ze=function(){return te||(typeof H=="string"||typeof H=="number"?H:void 0)},De=function(){return mt==="rtl"?Te?p()({left:parseInt(Te[0],10),marginTop:Te[1]},Ie):Ie:Te?p()({right:-parseInt(Te[0],10),marginTop:Te[1]},Ie):Ie},ne=function(){var jt=Re(),kt=jt==null||jt==="";return(kt||le()&&!fe)&&!je()},he=function(){var jt=ne();return jt||!M?null:c.createElement("span",{className:"".concat(Ne,"-status-text")},M)},pe=function(){var jt=H;return!jt||m()(jt)!=="object"?void 0:Object(l.a)(jt,{style:p()(p()({},De()),jt.props&&jt.props.style)})},Xe=function(){var jt,kt=Ce("scroll-number",B),Tt=Re(),Dt=je(),Ue=ne(),G=n()((jt={},f()(jt,"".concat(Ne,"-dot"),Dt),f()(jt,"".concat(Ne,"-count"),!Dt),f()(jt,"".concat(Ne,"-count-sm"),be==="small"),f()(jt,"".concat(Ne,"-multiple-words"),!Dt&&H&&H.toString&&H.toString().length>1),f()(jt,"".concat(Ne,"-status-").concat(z),!!z),f()(jt,"".concat(Ne,"-status-").concat(U),E(U)),jt)),Y=De();return U&&!E(U)&&(Y=Y||{},Y.background=U),Ue?null:c.createElement(y,{prefixCls:kt,"data-show":!Ue,className:G,count:Tt,displayComponent:pe(),title:Ze(),style:Y,key:"scrollNumber"})},lt=n()((I={},f()(I,"".concat(Ne,"-status-dot"),ce()),f()(I,"".concat(Ne,"-status-").concat(z),!!z),f()(I,"".concat(Ne,"-status-").concat(U),E(U)),I)),At={};U&&!E(U)&&(At.background=U);var Me=n()(Fe,Ne,(k={},f()(k,"".concat(Ne,"-status"),ce()),f()(k,"".concat(Ne,"-not-a-wrapper"),!j),f()(k,"".concat(Ne,"-rtl"),mt==="rtl"),k));if(!j&&ce()){var Ht=De(),tt=Ht&&Ht.color;return c.createElement("span",p()({},He,{className:Me,style:Ht}),c.createElement("span",{className:lt,style:At}),c.createElement("span",{style:{color:tt},className:"".concat(Ne,"-status-text")},M))}return c.createElement("span",p()({},He,{className:Me}),j,c.createElement(s.a,{component:"",showProp:"data-show",transitionName:j?"".concat(Ne,"-zoom"):"",transitionAppear:!0},Xe()),he())};T.Ribbon=w;var S=N.a=T},Kvyg:function(R,N,e){},KxBF:function(R,N){function e(A,f,x){var m=-1,g=A.length;f<0&&(f=-f>g?0:g+f),x=x>g?g:x,x<0&&(x+=g),g=f>x?0:x-f>>>0,f>>>=0;for(var p=Array(g);++m<g;)p[m]=A[m+f];return p}R.exports=e},KxFI:function(R,N,e){},KxfA:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.isTypedArray,g=x.extend,p=x.assert,c=x.each,s=x.isObject,a=e("4NO4"),n=a.getDataItemValue,i=a.isDataItemOption,d=e("OELB"),t=d.parseDate,l=e("7G+c"),r=e("k9D9"),o=r.SOURCE_FORMAT_TYPED_ARRAY,u=r.SOURCE_FORMAT_ARRAY_ROWS,h=r.SOURCE_FORMAT_ORIGINAL,y=r.SOURCE_FORMAT_OBJECT_ROWS;function b(j,z){l.isInstance(j)||(j=l.seriesDataToSource(j)),this._source=j;var M=this._data=j.data,U=j.sourceFormat;U===o&&(this._offset=0,this._dimSize=z,this._data=M);var P=v[U===u?U+"_"+j.seriesLayoutBy:U];g(this,P)}var E=b.prototype;E.pure=!1,E.persistent=!0,E.getSource=function(){return this._source};var v={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(j){return this._data[j+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var j=this._data[0];return j?Math.max(0,j.length-this._source.startIndex):0},getItem:function(j){j+=this._source.startIndex;for(var z=[],M=this._data,U=0;U<M.length;U++){var P=M[U];z.push(P?P[j]:null)}return z},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:O,appendData:T},keyedColumns:{pure:!0,count:function(){var j=this._source.dimensionsDefine[0].name,z=this._data[j];return z?z.length:0},getItem:function(j){for(var z=[],M=this._source.dimensionsDefine,U=0;U<M.length;U++){var P=this._data[M[U].name];z.push(P?P[j]:null)}return z},appendData:function(j){var z=this._data;c(j,function(M,U){for(var P=z[U]||(z[U]=[]),H=0;H<(M||[]).length;H++)P.push(M[H])})}},original:{count:w,getItem:O,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(j,z){j=j-this._offset,z=z||[];for(var M=this._dimSize*j,U=0;U<this._dimSize;U++)z[U]=this._data[M+U];return z},appendData:function(j){this._data=j},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function O(j){return this._data[j]}function T(j){for(var z=0;z<j.length;z++)this._data.push(j[z])}var S={arrayRows:C,objectRows:function(j,z,M,U){return M!=null?j[U]:j},keyedColumns:C,original:function(j,z,M,U){var P=n(j);return M==null||!(P instanceof Array)?P:P[M]},typedArray:C};function C(j,z,M,U){return M!=null?j[M]:j}var _={arrayRows:I,objectRows:function(j,z,M,U){return k(j[z],this._dimensionInfos[z])},keyedColumns:I,original:function(j,z,M,U){var P=j&&(j.value==null?j:j.value);return!this._rawData.pure&&i(j)&&(this.hasItemOption=!0),k(P instanceof Array?P[U]:P,this._dimensionInfos[z])},typedArray:function(j,z,M,U){return j[U]}};function I(j,z,M,U){return k(j[U],this._dimensionInfos[z])}function k(j,z){var M=z&&z.type;if(M==="ordinal"){var U=z&&z.ordinalMeta;return U?U.parseAndCollect(j):j}return M==="time"&&typeof j!="number"&&j!=null&&j!=="-"&&(j=+t(j)),j==null||j===""?NaN:+j}function F(j,z,M){if(!j)return;var U=j.getRawDataItem(z);if(U==null)return;var P=j.getProvider().getSource().sourceFormat,H,W,X=j.getDimensionInfo(M);return X&&(H=X.name,W=X.index),S[P](U,z,W,H)}function B(j,z,M){if(!j)return;var U=j.getProvider().getSource().sourceFormat;if(U!==h&&U!==y)return;var P=j.getRawDataItem(z);if(U===h&&!s(P)&&(P=null),P)return P[M]}N.DefaultDataProvider=b,N.defaultDimValueGetters=_,N.retrieveRawValue=F,N.retrieveRawAttr=B},L0Ub:function(R,N,e){var A=e("bYtY"),f=A.each,x=A.createHashMap,m=A.assert,g=e("Tghj"),p=g.__DEV__,c=x(["tooltip","label","itemName","itemId","seriesName"]);function s(d){var t={},l=t.encode={},r=x(),o=[],u=[],h=t.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};f(d.dimensions,function(w){var O=d.getDimensionInfo(w),T=O.coordDim;if(T){var S=O.coordDimIndex;a(l,T)[S]=w,O.isExtraCoord||(r.set(T,1),i(O.type)&&(o[0]=w),a(h.encode,T)[S]=O.index),O.defaultTooltip&&u.push(w)}c.each(function(C,_){var I=a(l,_),k=O.otherDims[_];k!=null&&k!==!1&&(I[k]=O.name)})});var y=[],b={};r.each(function(w,O){var T=l[O];b[O]=T[0],y=y.concat(T)}),t.dataDimsOnCoord=y,t.encodeFirstDimNotExtra=b;var E=l.label;E&&E.length&&(o=E.slice());var v=l.tooltip;return v&&v.length?u=v.slice():u.length||(u=o.slice()),l.defaultedLabel=o,l.defaultedTooltip=u,t}function a(d,t){return d.hasOwnProperty(t)||(d[t]=[]),d[t]}function n(d){return d==="category"?"ordinal":d==="time"?"time":"float"}function i(d){return!(d==="ordinal"||d==="time")}N.OTHER_DIMENSIONS=c,N.summarizeDimensions=s,N.getDimensionTypeByAxis=n},L3Oj:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),A.registerLayout(f.curry(x,"bar")),A.extendComponentView({type:"polar"})},L5E0:function(R,N){var e=["itemStyle","borderColor"];function A(f,x){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(g){var p=m[g.seriesIndex%m.length],c=g.getData();c.setVisual({legendSymbol:"roundRect",color:g.get(e)||p}),f.isSeriesFiltered(g)||c.each(function(s){var a=c.getItemModel(s);c.setItemVisual(s,{color:a.get(e,!0)})})})}R.exports=A},LBfv:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=f.createHashMap,m=f.each;A.registerProcessor({getTargetSeries:function(g){var p=x();return g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(s,a,n){var i=n.getAxisProxy(s.name,a);m(i.getTargetSeriesModels(),function(d){p.set(d.uid,d)})})}),p},modifyOutputEnd:!0,overallReset:function(g,p){g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(s,a,n){n.getAxisProxy(s.name,a).reset(n,p)}),c.eachTargetAxis(function(s,a,n){n.getAxisProxy(s.name,a).filterData(n,p)})}),g.eachComponent("dataZoom",function(c){var s=c.findRepresentativeAxisProxy(),a=s.getDataPercentWindow(),n=s.getDataValueWindow();c.setCalculatedRange({start:a[0],end:a[1],startValue:n[0],endValue:n[1]})})}})},LCi9:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function f(b,E){for(var v=0;v<E.length;v++){var w=E[v];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(b,w.key,w)}}function x(b,E,v){return E&&f(b.prototype,E),v&&f(b,v),b}var m=0,g=1,p=2,c=4,s=8,a=16,n=32,i=64,d=127,t=50,l=90,r=250,o=1e3,u=1e3,h=50,y=function(){function b(){A(this,b),this._target=null,this._state=d,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return x(b,[{key:"attach",value:function(v){this.detach(),this._target=v,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(v){var w;v.stopPropagation(),v.preventDefault();switch(v.type){case"touchstart":w=this._touchStart;break;case"touchmove":w=this._touchMove;break;case"touchend":case"touchcancel":w=this._touchEnd;break}for(var O=0;O<v.changedTouches.length;O++){var T=v.changedTouches[O];w.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(v,w,O){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(v);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>r){this._state=m,this._ignored.push(v);return}if(this._waitingRelease){this._state=m,this._ignored.push(v);return}this._tracked.push({id:v,started:Date.now(),active:!0,firstX:w,firstY:O,lastX:w,lastY:O,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(g|s|a),this._stopLongpressTimeout();break;case 3:this._state&=~(p|n|i);break;default:this._state=m}}},{key:"_touchMove",value:function(v,w,O){var T=this._tracked.find(function(F){return F.id===v});if(T===void 0)return;T.lastX=w,T.lastY=O;var S=w-T.firstX,C=O-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(C,S)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(S,C)<t)return;if(this._state&=~(g|p|c|a),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~s),this._tracked.length!==2&&(this._state&=~(n|i)),this._tracked.length===2){var _=this._tracked.find(function(F){return F.id!==v}),I=Math.hypot(_.firstX-_.lastX,_.firstY-_.lastY);if(I>t){var k=Math.abs(T.angle-_.angle);k=Math.abs((k+180)%360-180),k>l?this._state&=~n:this._state&=~i,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(v,w,O){if(this._ignored.indexOf(v)!==-1){this._ignored.splice(this._ignored.indexOf(v),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=d,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(s|n|i),this._state&=~a,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(p|c);break;case 2:this._state&=~(g|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>r&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>o})&&(this._state=m);var T=this._tracked.find(function(C){return C.id===v});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var S=0;S<this._tracked.length;S++)this._tracked[S].active&&this._ignored.push(this._tracked[S].id);this._tracked=[],this._state=m,this._ignored.indexOf(v)!==-1&&this._ignored.splice(this._ignored.indexOf(v),1),this._ignored.length===0&&(this._state=d,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(g|p|c)&&this._tracked.some(function(v){return v.active}))}},{key:"_startLongpressTimeout",value:function(){var v=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return v._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=a,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var v=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return v._twoTouchTimeout()},h)}},{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 v=this._getAverageMovement(),w=Math.abs(v.x),O=Math.abs(v.y),T=this._getAverageDistance(),S=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));O<S&&w<S?this._state=i:this._state=n,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(v){var w={type:this._stateToGesture(this._state)},O=this._getPosition(),T=O.last;v==="gesturestart"&&(T=O.first);switch(this._state){case n:case i:T=O.first;break}if(w.clientX=T.x,w.clientY=T.y,this._state===i){var S=this._getAverageDistance();v==="gesturestart"?(w.magnitudeX=S.first.x,w.magnitudeY=S.first.y):(w.magnitudeX=S.last.x,w.magnitudeY=S.last.y)}else if(this._state===n)if(v==="gesturestart")w.magnitudeX=0,w.magnitudeY=0;else{var C=this._getAverageMovement();w.magnitudeX=C.x,w.magnitudeY=C.y}var _=new CustomEvent(v,{detail:w});this._target.dispatchEvent(_)}},{key:"_stateToGesture",value:function(v){switch(v){case g:return"onetap";case p:return"twotap";case c:return"threetap";case s:return"drag";case a:return"longpress";case n:return"twodrag";case i:return"pinch"}throw new Error("Unknown gesture state: "+v)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var v=this._tracked.length,w=0,O=0,T=0,S=0,C=0;C<this._tracked.length;C++)w+=this._tracked[C].firstX,O+=this._tracked[C].firstY,T+=this._tracked[C].lastX,S+=this._tracked[C].lastY;return{first:{x:w/v,y:O/v},last:{x:T/v,y:S/v}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var v,w;v=w=0;for(var O=this._tracked.length,T=0;T<this._tracked.length;T++)v+=this._tracked[T].lastX-this._tracked[T].firstX,w+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:v/O,y:w/O}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var v=this._tracked[0],w=this._tracked[this._tracked.length-1],O=Math.abs(w.firstX-v.firstX),T=Math.abs(w.firstY-v.firstY),S=Math.abs(w.lastX-v.lastX),C=Math.abs(w.lastY-v.lastY);return{first:{x:O,y:T},last:{x:S,y:C}}}}]),b}();N.default=y},LPTA:function(R,N){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var A=0,f=e;N.debugMode=A,N.devicePixelRatio=f},LPzL:function(R,N,e){var A=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),A.extendComponentView({type:"single"})},LSTS:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A=function(){function d(t,l){for(var r=0;r<l.length;r++){var o=l[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,l,r){return l&&d(t.prototype,l),r&&d(t,r),t}}(),f=e("q1tI"),x=p(f),m=e("17x9"),g=p(m);function p(d){return d&&d.__esModule?d:{default:d}}function c(d,t){var l={};for(var r in d){if(t.indexOf(r)>=0)continue;if(!Object.prototype.hasOwnProperty.call(d,r))continue;l[r]=d[r]}return l}function s(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}function a(d,t){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:d}function n(d,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);d.prototype=Object.create(t&&t.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(d,t):d.__proto__=t)}var i=function(d){n(t,d);function t(l){s(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,l));return r.scrollListener=r.scrollListener.bind(r),r.eventListenerOptions=r.eventListenerOptions.bind(r),r.mousewheelListener=r.mousewheelListener.bind(r),r}return A(t,[{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 r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var r=!1,o={get passive(){r=!0}};try{document.addEventListener("test",null,o),document.removeEventListener("test",null,o)}catch(u){}return r}},{key:"eventListenerOptions",value:function(){var r=this.props.useCapture;return this.isPassiveSupported()&&(r={useCapture:this.props.useCapture,passive:!0}),r}},{key:"setDefaultLoader",value:function(r){this.defaultLoader=r}},{key:"detachMousewheelListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(r){var o=this.props.getScrollParent&&this.props.getScrollParent();return o!=null?o:r&&r.parentNode}},{key:"filterProps",value:function(r){return r}},{key:"attachScrollListener",value:function(){var r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;var o=window;this.props.useWindow===!1&&(o=r),o.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),o.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),o.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}},{key:"scrollListener",value:function(){var r=this.scrollComponent,o=window,u=this.getParentElement(r),h=void 0;if(this.props.useWindow){var y=document.documentElement||document.body.parentNode||document.body,b=o.pageYOffset!==void 0?o.pageYOffset:y.scrollTop;this.props.isReverse?h=b:h=this.calculateOffset(r,b)}else this.props.isReverse?h=u.scrollTop:h=r.scrollHeight-u.scrollTop-u.clientHeight;h<Number(this.props.threshold)&&r&&r.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(r,o){return r?this.calculateTopPosition(r)+(r.offsetHeight-o-window.innerHeight):0}},{key:"calculateTopPosition",value:function(r){return r?r.offsetTop+this.calculateTopPosition(r.offsetParent):0}},{key:"render",value:function(){var r=this,o=this.filterProps(this.props),u=o.children,h=o.element,y=o.hasMore,b=o.initialLoad,E=o.isReverse,v=o.loader,w=o.loadMore,O=o.pageStart,T=o.ref,S=o.threshold,C=o.useCapture,_=o.useWindow,I=o.getScrollParent,k=c(o,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);k.ref=function(B){r.scrollComponent=B,T&&T(B)};var F=[u];return y&&(v?E?F.unshift(v):F.push(v):this.defaultLoader&&(E?F.unshift(this.defaultLoader):F.push(this.defaultLoader))),x.default.createElement(h,k,F)}}]),t}(f.Component);i.propTypes={children:g.default.node.isRequired,element:g.default.node,hasMore:g.default.bool,initialLoad:g.default.bool,isReverse:g.default.bool,loader:g.default.node,loadMore:g.default.func.isRequired,pageStart:g.default.number,ref:g.default.func,getScrollParent:g.default.func,threshold:g.default.number,useCapture:g.default.bool,useWindow:g.default.bool},i.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},N.default=i,R.exports=N.default},Lerx:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},Llu2:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="DeliveredProcedureOutlined";var c=N.a=f.forwardRef(p)},Lo0S:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.initLogging=p,N.getLogging=c,N.Error=N.Warn=N.Info=N.Debug=void 0;var A="warn",f=function(){};N.Debug=f;var x=function(){};N.Info=x;var m=function(){};N.Warn=m;var g=function(){};N.Error=g;function p(s){if(typeof s=="undefined"?s=A:A=s,N.Debug=f=N.Info=x=N.Warn=m=N.Error=g=function(){},typeof window.console!="undefined")switch(s){case"debug":N.Debug=f=console.debug.bind(window.console);case"info":N.Info=x=console.info.bind(window.console);case"warn":N.Warn=m=console.warn.bind(window.console);case"error":N.Error=g=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+s+"'")}}function c(){return A}p()},LtfV:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="InboxOutlined";var c=N.a=f.forwardRef(p)},Lyp1:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="QuestionCircleOutlined";var c=N.a=f.forwardRef(p)},LzGr:function(R,N,e){var A=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),A.registerPreprocessor(f)},MBQ8:function(R,N,e){var A=e("T4UG"),f=e("MwEJ"),x=A.extend({type:"series.__base_bar__",getInitialData:function(m,g){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var g=this.coordinateSystem;if(g){var p=g.dataToPoint(g.clampData(m)),c=this.getData(),s=c.getLayout("offset"),a=c.getLayout("size"),n=g.getBaseAxis().isHorizontal()?0:1;return p[n]+=s+a/2,p}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});R.exports=x},MEGo:function(R,N,e){var A=e("4fz+"),f=e("Dagg"),x=e("dqUG"),m=e("2fw6"),g=e("x6Kt"),p=e("rmlV"),c=e("yxFR"),s=e("y+Vt"),a=e("h7HQ"),n=e("1Jh7"),i=e("SKnc"),d=e("K2GJ"),t=e("Fofx"),l=e("NC18"),r=l.createFromString,o=e("bYtY"),u=o.isString,h=o.extend,y=o.defaults,b=o.trim,E=o.each,v=/[\s,]+/;function w(X){if(u(X)){var K=new DOMParser;X=K.parseFromString(X,"text/xml")}for(X.nodeType===9&&(X=X.firstChild);X.nodeName.toLowerCase()!=="svg"||X.nodeType!==1;)X=X.nextSibling;return X}function O(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}O.prototype.parse=function(X,K){K=K||{};var $=w(X);if(!$)throw new Error("Illegal svg");var ie=new A;this._root=ie;var be=$.getAttribute("viewBox")||"",te=parseFloat($.getAttribute("width")||K.width),Te=parseFloat($.getAttribute("height")||K.height);isNaN(te)&&(te=null),isNaN(Te)&&(Te=null),F($,ie,null,!0);for(var Ie=$.firstChild;Ie;)this._parseNode(Ie,ie),Ie=Ie.nextSibling;var Fe,Qe;if(be){var fe=b(be).split(v);fe.length>=4&&(Fe={x:parseFloat(fe[0]||0),y:parseFloat(fe[1]||0),width:parseFloat(fe[2]),height:parseFloat(fe[3])})}if(Fe&&te!=null&&Te!=null&&(Qe=H(Fe,te,Te),!K.ignoreViewBox)){var He=ie;ie=new A,ie.add(He),He.scale=Qe.scale.slice(),He.position=Qe.position.slice()}return!K.ignoreRootClip&&te!=null&&Te!=null&&ie.setClipPath(new g({shape:{x:0,y:0,width:te,height:Te}})),{root:ie,width:te,height:Te,viewBoxRect:Fe,viewBoxTransform:Qe}},O.prototype._parseNode=function(X,K){var $=X.nodeName.toLowerCase();$==="defs"?this._isDefine=!0:$==="text"&&(this._isText=!0);var ie;if(this._isDefine){var be=S[$];if(be){var te=be.call(this,X),Te=X.getAttribute("id");Te&&(this._defs[Te]=te)}}else{var be=T[$];be&&(ie=be.call(this,X,K),K.add(ie))}for(var Ie=X.firstChild;Ie;)Ie.nodeType===1&&this._parseNode(Ie,ie),Ie.nodeType===3&&this._isText&&this._parseText(Ie,ie),Ie=Ie.nextSibling;$==="defs"?this._isDefine=!1:$==="text"&&(this._isText=!1)},O.prototype._parseText=function(X,K){if(X.nodeType===1){var $=X.getAttribute("dx")||0,ie=X.getAttribute("dy")||0;this._textX+=parseFloat($),this._textY+=parseFloat(ie)}var be=new x({style:{text:X.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});_(K,be),F(X,be,this._defs);var te=be.style.fontSize;te&&te<9&&(be.style.fontSize=9,be.scale=be.scale||[1,1],be.scale[0]*=te/9,be.scale[1]*=te/9);var Te=be.getBoundingRect();return this._textX+=Te.width,K.add(be),be};var T={g:function(K,$){var ie=new A;return _($,ie),F(K,ie,this._defs),ie},rect:function(K,$){var ie=new g;return _($,ie),F(K,ie,this._defs),ie.setShape({x:parseFloat(K.getAttribute("x")||0),y:parseFloat(K.getAttribute("y")||0),width:parseFloat(K.getAttribute("width")||0),height:parseFloat(K.getAttribute("height")||0)}),ie},circle:function(K,$){var ie=new m;return _($,ie),F(K,ie,this._defs),ie.setShape({cx:parseFloat(K.getAttribute("cx")||0),cy:parseFloat(K.getAttribute("cy")||0),r:parseFloat(K.getAttribute("r")||0)}),ie},line:function(K,$){var ie=new c;return _($,ie),F(K,ie,this._defs),ie.setShape({x1:parseFloat(K.getAttribute("x1")||0),y1:parseFloat(K.getAttribute("y1")||0),x2:parseFloat(K.getAttribute("x2")||0),y2:parseFloat(K.getAttribute("y2")||0)}),ie},ellipse:function(K,$){var ie=new p;return _($,ie),F(K,ie,this._defs),ie.setShape({cx:parseFloat(K.getAttribute("cx")||0),cy:parseFloat(K.getAttribute("cy")||0),rx:parseFloat(K.getAttribute("rx")||0),ry:parseFloat(K.getAttribute("ry")||0)}),ie},polygon:function(K,$){var ie=K.getAttribute("points");ie&&(ie=I(ie));var be=new a({shape:{points:ie||[]}});return _($,be),F(K,be,this._defs),be},polyline:function(K,$){var ie=new s;_($,ie),F(K,ie,this._defs);var be=K.getAttribute("points");be&&(be=I(be));var te=new n({shape:{points:be||[]}});return te},image:function(K,$){var ie=new f;return _($,ie),F(K,ie,this._defs),ie.setStyle({image:K.getAttribute("xlink:href"),x:K.getAttribute("x"),y:K.getAttribute("y"),width:K.getAttribute("width"),height:K.getAttribute("height")}),ie},text:function(K,$){var ie=K.getAttribute("x")||0,be=K.getAttribute("y")||0,te=K.getAttribute("dx")||0,Te=K.getAttribute("dy")||0;this._textX=parseFloat(ie)+parseFloat(te),this._textY=parseFloat(be)+parseFloat(Te);var Ie=new A;return _($,Ie),F(K,Ie,this._defs),Ie},tspan:function(K,$){var ie=K.getAttribute("x"),be=K.getAttribute("y");ie!=null&&(this._textX=parseFloat(ie)),be!=null&&(this._textY=parseFloat(be));var te=K.getAttribute("dx")||0,Te=K.getAttribute("dy")||0,Ie=new A;return _($,Ie),F(K,Ie,this._defs),this._textX+=te,this._textY+=Te,Ie},path:function(K,$){var ie=K.getAttribute("d")||"",be=r(ie);return _($,be),F(K,be,this._defs),be}},S={lineargradient:function(K){var $=parseInt(K.getAttribute("x1")||0,10),ie=parseInt(K.getAttribute("y1")||0,10),be=parseInt(K.getAttribute("x2")||10,10),te=parseInt(K.getAttribute("y2")||0,10),Te=new i($,ie,be,te);return C(K,Te),Te},radialgradient:function(K){}};function C(X,K){for(var $=X.firstChild;$;){if($.nodeType===1){var ie=$.getAttribute("offset");ie.indexOf("%")>0?ie=parseInt(ie,10)/100:ie?ie=parseFloat(ie):ie=0;var be=$.getAttribute("stop-color")||"#000000";K.addColorStop(ie,be)}$=$.nextSibling}}function _(X,K){X&&X.__inheritedStyle&&(K.__inheritedStyle||(K.__inheritedStyle={}),y(K.__inheritedStyle,X.__inheritedStyle))}function I(X){for(var K=b(X).split(v),$=[],ie=0;ie<K.length;ie+=2){var be=parseFloat(K[ie]),te=parseFloat(K[ie+1]);$.push([be,te])}return $}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(X,K,$,ie){var be=K.__inheritedStyle||{},te=K.type==="text";if(X.nodeType===1&&(M(X,K),h(be,P(X)),!ie)){for(var Te in k)if(k.hasOwnProperty(Te)){var Ie=X.getAttribute(Te);Ie!=null&&(be[k[Te]]=Ie)}}var Fe=te?"textFill":"fill",Qe=te?"textStroke":"stroke";K.style=K.style||new d;var fe=K.style;be.fill!=null&&fe.set(Fe,j(be.fill,$)),be.stroke!=null&&fe.set(Qe,j(be.stroke,$)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(He){var se=He==="lineWidth"&&te?"textStrokeWidth":He;be[He]!=null&&fe.set(se,parseFloat(be[He]))}),(!be.textBaseline||be.textBaseline==="auto")&&(be.textBaseline="alphabetic"),be.textBaseline==="alphabetic"&&(be.textBaseline="bottom"),be.textAlign==="start"&&(be.textAlign="left"),be.textAlign==="end"&&(be.textAlign="right"),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(He){be[He]!=null&&fe.set(He,be[He])}),be.lineDash&&(K.style.lineDash=b(be.lineDash).split(v)),fe[Qe]&&fe[Qe]!=="none"&&(K[Qe]=!0),K.__inheritedStyle=be}var B=/url\(\s*#(.*?)\)/;function j(X,K){var $=K&&X&&X.match(B);if($){var ie=b($[1]),be=K[ie];return be}return X}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function M(X,K){var $=X.getAttribute("transform");if($){$=$.replace(/,/g," ");var ie=null,be=[];$.replace(z,function(Fe,Qe,fe){be.push(Qe,fe)});for(var te=be.length-1;te>0;te-=2){var Te=be[te],Ie=be[te-1];ie=ie||t.create();switch(Ie){case"translate":Te=b(Te).split(v),t.translate(ie,ie,[parseFloat(Te[0]),parseFloat(Te[1]||0)]);break;case"scale":Te=b(Te).split(v),t.scale(ie,ie,[parseFloat(Te[0]),parseFloat(Te[1]||Te[0])]);break;case"rotate":Te=b(Te).split(v),t.rotate(ie,ie,parseFloat(Te[0]));break;case"skew":Te=b(Te).split(v),console.warn("Skew transform is not supported yet");break;case"matrix":var Te=b(Te).split(v);ie[0]=parseFloat(Te[0]),ie[1]=parseFloat(Te[1]),ie[2]=parseFloat(Te[2]),ie[3]=parseFloat(Te[3]),ie[4]=parseFloat(Te[4]),ie[5]=parseFloat(Te[5]);break}}K.setLocalTransform(ie)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function P(X){var K=X.getAttribute("style"),$={};if(!K)return $;var ie={};U.lastIndex=0;for(var be;(be=U.exec(K))!=null;)ie[be[1]]=be[2];for(var te in k)k.hasOwnProperty(te)&&ie[te]!=null&&($[k[te]]=ie[te]);return $}function H(X,K,$){var ie=K/X.width,be=$/X.height,te=Math.min(ie,be),Te=[te,te],Ie=[-(X.x+X.width/2)*te+K/2,-(X.y+X.height/2)*te+$/2];return{scale:Te,position:Ie}}function W(X,K){var $=new O;return $.parse(X,K)}N.parseXML=w,N.makeViewBoxTransform=H,N.parseSVG=W},MFOe:function(R,N,e){(function(A){var f=p(),x=c(),m=s(),g=typeof window!="undefined"?window:A;R.exports={assign:f,create:x,trim:m,bind:a,slice:n,each:i,map:d,pluck:t,isList:l,isFunction:r,isObject:o,Global:g};function p(){return Object.assign?Object.assign:function(h,y,b,E){for(var v=1;v<arguments.length;v++)i(Object(arguments[v]),function(w,O){h[O]=w});return h}}function c(){if(Object.create)return function(y,b,E,v){var w=n(arguments,1);return f.apply(this,[Object.create(y)].concat(w))};var u=function(){};return function(y,b,E,v){var w=n(arguments,1);return u.prototype=y,f.apply(this,[new u].concat(w))}}function s(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function a(u,h){return function(){return h.apply(u,Array.prototype.slice.call(arguments,0))}}function n(u,h){return Array.prototype.slice.call(u,h||0)}function i(u,h){t(u,function(y,b){return h(y,b),!1})}function d(u,h){var y=l(u)?[]:{};return t(u,function(b,E){return y[E]=h(b,E),!1}),y}function t(u,h){if(l(u)){for(var y=0;y<u.length;y++)if(h(u[y],y))return u[y]}else for(var b in u)if(u.hasOwnProperty(b)&&h(u[b],b))return u[b]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function r(u){return u&&{}.toString.call(u)==="[object Function]"}function o(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(R,N,e){var A=e("bYtY"),f=e("YXkt"),x=e("OELB"),m=e("kj2x"),g=e("c8qY"),p=e("iPDy"),c=e("7hqr"),s=c.getStackedDimension,a=function(o,u,h,y){var b=o.getData(),E=y.type;if(!A.isArray(y)&&(E==="min"||E==="max"||E==="average"||E==="median"||y.xAxis!=null||y.yAxis!=null)){var v,w;if(y.yAxis!=null||y.xAxis!=null)v=u.getAxis(y.yAxis!=null?"y":"x"),w=A.retrieve(y.yAxis,y.xAxis);else{var O=m.getAxisInfo(y,b,u,o);v=O.valueAxis;var T=s(b,O.valueDataDim);w=m.numCalculate(b,T,E)}var S=v.dim==="x"?0:1,C=1-S,_=A.clone(y),I={};_.type=null,_.coord=[],I.coord=[],_.coord[C]=-Infinity,I.coord[C]=Infinity;var k=h.get("precision");k>=0&&typeof w=="number"&&(w=+w.toFixed(Math.min(k,20))),_.coord[S]=I.coord[S]=w,y=[_,I,{type:E,valueIndex:y.valueIndex,value:w}]}return y=[m.dataTransform(o,y[0]),m.dataTransform(o,y[1]),A.extend({},y[2])],y[2].type=y[2].type||"",A.merge(y[2],y[0]),A.merge(y[2],y[1]),y};function n(o){return!isNaN(o)&&!isFinite(o)}function i(o,u,h,y){var b=1-o,E=y.dimensions[o];return n(u[b])&&n(h[b])&&u[o]===h[o]&&y.getAxis(E).containData(u[o])}function d(o,u){if(o.type==="cartesian2d"){var h=u[0].coord,y=u[1].coord;if(h&&y&&(i(1,h,y,o)||i(0,h,y,o)))return!0}return m.dataFilter(o,u[0])&&m.dataFilter(o,u[1])}function t(o,u,h,y,b){var E=y.coordinateSystem,v=o.getItemModel(u),w,O=x.parsePercent(v.get("x"),b.getWidth()),T=x.parsePercent(v.get("y"),b.getHeight());if(!isNaN(O)&&!isNaN(T))w=[O,T];else{if(y.getMarkerPosition)w=y.getMarkerPosition(o.getValues(o.dimensions,u));else{var S=E.dimensions,C=o.get(S[0],u),_=o.get(S[1],u);w=E.dataToPoint([C,_])}if(E.type==="cartesian2d"){var I=E.getAxis("x"),k=E.getAxis("y"),S=E.dimensions;n(o.get(S[0],u))?w[0]=I.toGlobalCoord(I.getExtent()[h?0:1]):n(o.get(S[1],u))&&(w[1]=k.toGlobalCoord(k.getExtent()[h?0:1]))}isNaN(O)||(w[0]=O),isNaN(T)||(w[1]=T)}o.setItemLayout(u,w)}var l=p.extend({type:"markLine",updateTransform:function(o,u,h){u.eachSeries(function(y){var b=y.markLineModel;if(b){var E=b.getData(),v=b.__from,w=b.__to;v.each(function(O){t(v,O,!0,y,h),t(w,O,!1,y,h)}),E.each(function(O){E.setItemLayout(O,[v.getItemLayout(O),w.getItemLayout(O)])}),this.markerGroupMap.get(y.id).updateLayout()}},this)},renderSeries:function(o,u,h,y){var b=o.coordinateSystem,E=o.id,v=o.getData(),w=this.markerGroupMap,O=w.get(E)||w.set(E,new g);this.group.add(O.group);var T=r(b,o,u),S=T.from,C=T.to,_=T.line;u.__from=S,u.__to=C,u.setData(_);var I=u.get("symbol"),k=u.get("symbolSize");A.isArray(I)||(I=[I,I]),typeof k=="number"&&(k=[k,k]),T.from.each(function(B){F(S,B,!0),F(C,B,!1)}),_.each(function(B){var j=_.getItemModel(B).get("lineStyle.color");_.setItemVisual(B,{color:j||S.getItemVisual(B,"color")}),_.setItemLayout(B,[S.getItemLayout(B),C.getItemLayout(B)]),_.setItemVisual(B,{fromSymbolSize:S.getItemVisual(B,"symbolSize"),fromSymbol:S.getItemVisual(B,"symbol"),toSymbolSize:C.getItemVisual(B,"symbolSize"),toSymbol:C.getItemVisual(B,"symbol")})}),O.updateData(_),T.line.eachItemGraphicEl(function(B,j){B.traverse(function(z){z.dataModel=u})});function F(B,j,z){var M=B.getItemModel(j);t(B,j,z,o,y),B.setItemVisual(j,{symbolSize:M.get("symbolSize")||k[z?0:1],symbol:M.get("symbol",!0)||I[z?0:1],color:M.get("itemStyle.color")||v.getVisual("color")})}O.__keep=!0,O.group.silent=u.get("silent")||o.get("silent")}});function r(o,u,h){var y;o?y=A.map(o&&o.dimensions,function(T){var S=u.getData().getDimensionInfo(u.getData().mapDimension(T))||{};return A.defaults({name:T},S)}):y=[{name:"value",type:"float"}];var b=new f(y,h),E=new f(y,h),v=new f([],h),w=A.map(h.get("data"),A.curry(a,u,o,h));o&&(w=A.filter(w,A.curry(d,o)));var O=o?m.dimValueGetter:function(T){return T.value};return b.initData(A.map(w,function(T){return T[0]}),null,O),E.initData(A.map(w,function(T){return T[1]}),null,O),v.initData(A.map(w,function(T){return T[2]})),v.hasItemOption=!0,{from:b,to:E,line:v}}R.exports=l},MHoB:function(R,N,e){var A=e("bYtY"),f=e("6uqw"),x=e("OELB"),m=[20,140],g=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(s,a){g.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){g.superApply(this,"resetItemSize",arguments);var s=this.itemSize;this._orient==="horizontal"&&s.reverse(),(s[0]==null||isNaN(s[0]))&&(s[0]=m[0]),(s[1]==null||isNaN(s[1]))&&(s[1]=m[1])},_resetRange:function(){var s=this.getExtent(),a=this.option.range;!a||a.auto?(s.auto=1,this.option.range=s):A.isArray(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],s[0]),a[1]=Math.min(a[1],s[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),A.each(this.stateList,function(s){var a=this.option.controller[s].symbolSize;a&&a[0]!==a[1]&&(a[0]=0)},this)},setSelected:function(s){this.option.range=s.slice(),this._resetRange()},getSelected:function(){var s=this.getExtent(),a=x.asc((this.get("range")||[]).slice());return a[0]>s[1]&&(a[0]=s[1]),a[1]>s[1]&&(a[1]=s[1]),a[0]<s[0]&&(a[0]=s[0]),a[1]<s[0]&&(a[1]=s[0]),a},getValueState:function(s){var a=this.option.range,n=this.getExtent();return(a[0]<=n[0]||a[0]<=s)&&(a[1]>=n[1]||s<=a[1])?"inRange":"outOfRange"},findTargetDataIndices:function(s){var a=[];return this.eachTargetSeries(function(n){var i=[],d=n.getData();d.each(this.getDataDimension(d),function(t,l){s[0]<=t&&t<=s[1]&&i.push(l)},this),a.push({seriesId:n.id,dataIndex:i})},this),a},getVisualMeta:function(s){var a=p(this,"outOfRange",this.getExtent()),n=p(this,"inRange",this.option.range.slice()),i=[];function d(y,b){i.push({value:y,color:s(y,b)})}for(var t=0,l=0,r=n.length,o=a.length;l<o&&(!n.length||a[l]<=n[0]);l++)a[l]<n[t]&&d(a[l],"outOfRange");for(var u=1;t<r;t++,u=0)u&&i.length&&d(n[t],"outOfRange"),d(n[t],"inRange");for(var u=1;l<o;l++)(!n.length||n[n.length-1]<a[l])&&(u&&(i.length&&d(i[i.length-1].value,"outOfRange"),u=0),d(a[l],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function p(s,a,n){if(n[0]===n[1])return n.slice();for(var i=200,d=(n[1]-n[0])/i,t=n[0],l=[],r=0;r<=i&&t<n[1];r++)l.push(t),t+=d;return l.push(n[1]),l}var c=g;R.exports=c},MHtr:function(R,N,e){var A=e("bYtY");function f(m,g){var p=this.getAxis(),c=g instanceof Array?g[0]:g,s=(m instanceof Array?m[0]:m)/2;return p.type==="category"?p.getBandWidth():Math.abs(p.dataToCoord(c-s)-p.dataToCoord(c+s))}function x(m){var g=m.getRect();return{coordSys:{type:"singleAxis",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(p){return m.dataToPoint(p)},size:A.bind(f,m)}}}R.exports=x},MJZm:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("q1tI"),p=e("rePB"),c=e("VTBJ"),s=e("KQm4"),a=e("1OyB"),n=e("vuIU"),i=e("Ji7U"),d=e("LK+K"),t=e("4IlW"),l=e("Kwbf"),r=e("TSYQ"),o=e.n(r),u=e("FTAc"),h=e("wPhX"),y=e("c3jg"),b=e("ODXe"),E=e("Ff2n"),v=e("+nKL"),w=e("HTfv"),O=e("lr6o"),T=function(Tt,Dt){var Ue=Tt.className,G=Tt.style,Y=Tt.motion,Pe=Tt.motionNodes,Be=Tt.motionType,J=Tt.onMotionStart,St=Tt.onMotionEnd,bt=Tt.active,nt=Tt.treeNodeRequiredProps,Rt=Object(E.a)(Tt,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),zt=g.useState(!0),Fr=Object(b.a)(zt,2),Jt=Fr[0],ge=Fr[1],ye=g.useContext(u.a),Le=ye.prefixCls,we=g.useRef(!1),Ke=function(){we.current||St(),we.current=!0};return Object(g.useEffect)(function(){Pe&&Be==="hide"&&Jt&&ge(!1)},[Pe]),Object(g.useEffect)(function(){return Pe&&J(),function(){Pe&&Ke()}},[]),Pe?g.createElement(w.default,Object.assign({ref:Dt,visible:Jt},Y,{motionAppear:Be==="show",onAppearEnd:Ke,onLeaveEnd:Ke}),function(Je,ut){var vt=Je.className,_t=Je.style;return g.createElement("div",{ref:ut,className:o()("".concat(Le,"-treenode-motion"),vt),style:_t},Pe.map(function(Ut){var Bt=Ut.data,dr=Bt.key,Oe=Object(E.a)(Bt,["key"]),xe=Ut.isStart,V=Ut.isEnd;delete Oe.children;var q=Object(y.f)(dr,nt);return g.createElement(O.a,Object.assign({},Oe,q,{active:bt,data:Ut.data,key:dr,isStart:xe,isEnd:V}))}))}):g.createElement(O.a,Object.assign({domRef:Dt,className:Ue,style:G},Rt,{active:bt}))};T.displayName="MotionTreeNode";var S=g.forwardRef(T),C=S;function _(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Dt=kt.length,Ue=Tt.length;if(Math.abs(Dt-Ue)!==1)return{add:!1,key:null};function G(Y,Pe){var Be=new Map;Y.forEach(function(St){Be.set(St,!0)});var J=Pe.filter(function(St){return!Be.has(St)});return J.length===1?J[0]:null}return Dt<Ue?{add:!0,key:G(kt,Tt)}:{add:!1,key:G(Tt,kt)}}function I(kt,Tt,Dt){var Ue=kt.findIndex(function(Be){var J=Be.data;return J.key===Dt}),G=kt[Ue+1],Y=Tt.findIndex(function(Be){var J=Be.data;return J.key===Dt});if(G){var Pe=Tt.findIndex(function(Be){var J=Be.data;return J.key===G.data.key});return Tt.slice(Y+1,Pe)}return Tt.slice(Y+1)}var k={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},F=function(){},B="RC_TREE_MOTION_".concat(Math.random()),j={key:B},z={key:B,level:0,index:0,pos:"0",node:j},M={parent:null,children:[],pos:z.pos,data:j,isStart:[],isEnd:[]};function U(kt,Tt,Dt,Ue){return Tt===!1||!Dt?kt:kt.slice(0,Math.ceil(Dt/Ue)+1)}function P(kt){var Tt=kt.data.key,Dt=kt.pos;return Object(y.e)(Tt,Dt)}function H(kt){for(var Tt=String(kt.data.key),Dt=kt;Dt.parent;)Dt=Dt.parent,Tt="".concat(Dt.data.key," > ").concat(Tt);return Tt}var W=function(Tt,Dt){var Ue=Tt.prefixCls,G=Tt.data,Y=Tt.selectable,Pe=Tt.checkable,Be=Tt.expandedKeys,J=Tt.selectedKeys,St=Tt.checkedKeys,bt=Tt.loadedKeys,nt=Tt.loadingKeys,Rt=Tt.halfCheckedKeys,zt=Tt.keyEntities,Fr=Tt.disabled,Jt=Tt.dragging,ge=Tt.dragOverNodeKey,ye=Tt.dropPosition,Le=Tt.motion,we=Tt.height,Ke=Tt.itemHeight,Je=Tt.virtual,ut=Tt.focusable,vt=Tt.activeItem,_t=Tt.focused,Ut=Tt.tabIndex,Bt=Tt.onKeyDown,dr=Tt.onFocus,Oe=Tt.onBlur,xe=Tt.onActiveChange,V=Tt.onListChangeStart,q=Tt.onListChangeEnd,ue=Object(E.a)(Tt,["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"]),me=g.useRef(null);g.useImperativeHandle(Dt,function(){return{scrollTo:function(Br){me.current.scrollTo(Br)}}});var Ee=g.useState(Be),Ge=Object(b.a)(Ee,2),dt=Ge[0],Kt=Ge[1],tr=g.useState(G),wt=Object(b.a)(tr,2),It=wt[0],Lt=wt[1],Nt=g.useState(G),$e=Object(b.a)(Nt,2),ot=$e[0],ft=$e[1],ze=g.useState([]),Ye=Object(b.a)(ze,2),qe=Ye[0],rt=Ye[1],ct=g.useState(null),st=Object(b.a)(ct,2),et=st[0],Ft=st[1];function Ct(){Lt(G),ft(G),rt([]),Ft(null),q()}g.useEffect(function(){Kt(Be);var _r=_(dt,Be);if(_r.key!==null)if(_r.add){var Br=It.findIndex(function(yn){var nn=yn.data.key;return nn===_r.key}),Gr=U(I(It,G,_r.key),Je,we,Ke),un=It.slice();un.splice(Br+1,0,M),ft(un),rt(Gr),Ft("show")}else{var mn=G.findIndex(function(yn){var nn=yn.data.key;return nn===_r.key}),_n=U(I(G,It,_r.key),Je,we,Ke),qr=G.slice();qr.splice(mn+1,0,M),ft(qr),rt(_n),Ft("hide")}else It!==G&&(Lt(G),ft(G))},[Be,G]),g.useEffect(function(){Jt||Ct()},[Jt]);var ir=Le?ot:G,Xt={expandedKeys:Be,selectedKeys:J,loadedKeys:bt,loadingKeys:nt,checkedKeys:St,halfCheckedKeys:Rt,dragOverNodeKey:ge,dropPosition:ye,keyEntities:zt};return g.createElement(g.Fragment,null,_t&&vt&&g.createElement("span",{style:k,"aria-live":"assertive"},H(vt)),g.createElement("div",{role:"tree"},g.createElement("input",{style:k,disabled:ut===!1||Fr,tabIndex:ut!==!1?Ut:null,onKeyDown:Bt,onFocus:dr,onBlur:Oe,value:"",onChange:F})),g.createElement(v.a,Object.assign({},ue,{data:ir,itemKey:P,height:we,fullHeight:!1,virtual:Je,itemHeight:Ke,prefixCls:"".concat(Ue,"-list"),ref:me}),function(_r){var Br=_r.pos,Gr=_r.data,un=Gr.key,mn=Object(E.a)(Gr,["key"]),_n=_r.isStart,qr=_r.isEnd,yn=Object(y.e)(un,Br);delete mn.children;var nn=Object(y.f)(yn,Xt);return g.createElement(C,Object.assign({},mn,nn,{active:vt&&un===vt.data.key,pos:Br,data:_r.data,isStart:_n,isEnd:qr,motion:Le,motionNodes:un===B?qe:null,motionType:et,onMotionStart:V,onMotionEnd:Ct,treeNodeRequiredProps:Xt,onMouseMove:function(){xe(null)}}))}))},X=g.forwardRef(W);X.displayName="NodeList";var K=X,$=e("qOx5"),ie=function(kt){Object(i.a)(Dt,kt);var Tt=Object(d.a)(Dt);function Dt(){var Ue;return Object(a.a)(this,Dt),Ue=Tt.apply(this,arguments),Ue.destroyed=!1,Ue.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},Ue.listRef=g.createRef(),Ue.onNodeDragStart=function(G,Y){var Pe=Ue.state,Be=Pe.expandedKeys,J=Pe.keyEntities,St=Ue.props.onDragStart,bt=Y.props.eventKey;Ue.dragNode=Y;var nt=Object(h.b)(Be,bt);Ue.setState({dragging:!0,dragNodesKeys:Object(h.g)(bt,J)}),Ue.setExpandedKeys(nt),St&&St({event:G,node:Object(y.b)(Y.props)})},Ue.onNodeDragEnter=function(G,Y){var Pe=Ue.state,Be=Pe.expandedKeys,J=Pe.keyEntities,St=Pe.dragNodesKeys,bt=Ue.props.onDragEnter,nt=Y.props,Rt=nt.pos,zt=nt.eventKey;if(!Ue.dragNode||St.indexOf(zt)!==-1)return;var Fr=Object(h.c)(G,Y);if(Ue.dragNode.props.eventKey===zt&&Fr===0){Ue.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Ue.setState({dragOverNodeKey:zt,dropPosition:Fr}),Ue.delayedDragEnterLogic||(Ue.delayedDragEnterLogic={}),Object.keys(Ue.delayedDragEnterLogic).forEach(function(Jt){clearTimeout(Ue.delayedDragEnterLogic[Jt])}),Ue.delayedDragEnterLogic[Rt]=window.setTimeout(function(){if(!Ue.state.dragging)return;var Jt=Object(s.a)(Be),ge=J[zt];ge&&(ge.children||[]).length&&(Jt=Object(h.a)(Be,zt)),"expandedKeys"in Ue.props||Ue.setExpandedKeys(Jt),bt&&bt({event:G,node:Object(y.b)(Y.props),expandedKeys:Jt})},400)},0)},Ue.onNodeDragOver=function(G,Y){var Pe=Ue.state.dragNodesKeys,Be=Ue.props.onDragOver,J=Y.props.eventKey;if(Pe.indexOf(J)!==-1)return;if(Ue.dragNode&&J===Ue.state.dragOverNodeKey){var St=Object(h.c)(G,Y);if(St===Ue.state.dropPosition)return;Ue.setState({dropPosition:St})}Be&&Be({event:G,node:Object(y.b)(Y.props)})},Ue.onNodeDragLeave=function(G,Y){var Pe=Ue.props.onDragLeave;Ue.setState({dragOverNodeKey:""}),Pe&&Pe({event:G,node:Object(y.b)(Y.props)})},Ue.onNodeDragEnd=function(G,Y){var Pe=Ue.props.onDragEnd;Ue.setState({dragOverNodeKey:""}),Ue.cleanDragState(),Pe&&Pe({event:G,node:Object(y.b)(Y.props)}),Ue.dragNode=null},Ue.onNodeDrop=function(G,Y){var Pe=Ue.state,Be=Pe.dragNodesKeys,J=Be===void 0?[]:Be,St=Pe.dropPosition,bt=Ue.props.onDrop,nt=Y.props,Rt=nt.eventKey,zt=nt.pos;if(Ue.setState({dragOverNodeKey:""}),Ue.cleanDragState(),J.indexOf(Rt)!==-1){Object(l.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Fr=Object(h.k)(zt),Jt={event:G,node:Object(y.b)(Y.props),dragNode:Ue.dragNode?Object(y.b)(Ue.dragNode.props):null,dragNodesKeys:J.slice(),dropPosition:St+Number(Fr[Fr.length-1]),dropToGap:!1};St!==0&&(Jt.dropToGap=!0),bt&&bt(Jt),Ue.dragNode=null},Ue.cleanDragState=function(){var G=Ue.state.dragging;G&&Ue.setState({dragging:!1})},Ue.onNodeClick=function(G,Y){var Pe=Ue.props.onClick;Pe&&Pe(G,Y)},Ue.onNodeDoubleClick=function(G,Y){var Pe=Ue.props.onDoubleClick;Pe&&Pe(G,Y)},Ue.onNodeSelect=function(G,Y){var Pe=Ue.state.selectedKeys,Be=Ue.state.keyEntities,J=Ue.props,St=J.onSelect,bt=J.multiple,nt=Y.selected,Rt=Y.key,zt=!nt;zt?bt?Pe=Object(h.a)(Pe,Rt):Pe=[Rt]:Pe=Object(h.b)(Pe,Rt);var Fr=Pe.map(function(Jt){var ge=Be[Jt];return ge?ge.node:null}).filter(function(Jt){return Jt});Ue.setUncontrolledState({selectedKeys:Pe}),St&&St(Pe,{event:"select",selected:zt,node:Y,selectedNodes:Fr,nativeEvent:G.nativeEvent})},Ue.onNodeCheck=function(G,Y,Pe){var Be=Ue.state,J=Be.keyEntities,St=Be.checkedKeys,bt=Be.halfCheckedKeys,nt=Ue.props,Rt=nt.checkStrictly,zt=nt.onCheck,Fr=Y.key,Jt,ge={event:"check",node:Y,checked:Pe,nativeEvent:G.nativeEvent};if(Rt){var ye=Pe?Object(h.a)(St,Fr):Object(h.b)(St,Fr),Le=Object(h.b)(bt,Fr);Jt={checked:ye,halfChecked:Le},ge.checkedNodes=ye.map(function(_t){return J[_t]}).filter(function(_t){return _t}).map(function(_t){return _t.node}),Ue.setUncontrolledState({checkedKeys:ye})}else{var we=Object($.a)([].concat(Object(s.a)(St),[Fr]),!0,J),Ke=we.checkedKeys,Je=we.halfCheckedKeys;if(!Pe){var ut=new Set(Ke);ut.delete(Fr);var vt=Object($.a)(Array.from(ut),{checked:!1,halfCheckedKeys:Je},J);Ke=vt.checkedKeys,Je=vt.halfCheckedKeys}Jt=Ke,ge.checkedNodes=[],ge.checkedNodesPositions=[],ge.halfCheckedKeys=Je,Ke.forEach(function(_t){var Ut=J[_t];if(!Ut)return;var Bt=Ut.node,dr=Ut.pos;ge.checkedNodes.push(Bt),ge.checkedNodesPositions.push({node:Bt,pos:dr})}),Ue.setUncontrolledState({checkedKeys:Ke},!1,{halfCheckedKeys:Je})}zt&&zt(Jt,ge)},Ue.onNodeLoad=function(G){return new Promise(function(Y){Ue.setState(function(Pe){var Be=Pe.loadedKeys,J=Be===void 0?[]:Be,St=Pe.loadingKeys,bt=St===void 0?[]:St,nt=Ue.props,Rt=nt.loadData,zt=nt.onLoad,Fr=G.key;if(!Rt||J.indexOf(Fr)!==-1||bt.indexOf(Fr)!==-1)return{};var Jt=Rt(G);return Jt.then(function(){var ge=Ue.state,ye=ge.loadedKeys,Le=ge.loadingKeys,we=Object(h.a)(ye,Fr),Ke=Object(h.b)(Le,Fr);zt&&zt(we,{event:"load",node:G}),Ue.setUncontrolledState({loadedKeys:we}),Ue.setState({loadingKeys:Ke}),Y()}),{loadingKeys:Object(h.a)(bt,Fr)}})})},Ue.onNodeMouseEnter=function(G,Y){var Pe=Ue.props.onMouseEnter;Pe&&Pe({event:G,node:Y})},Ue.onNodeMouseLeave=function(G,Y){var Pe=Ue.props.onMouseLeave;Pe&&Pe({event:G,node:Y})},Ue.onNodeContextMenu=function(G,Y){var Pe=Ue.props.onRightClick;Pe&&(G.preventDefault(),Pe({event:G,node:Y}))},Ue.onFocus=function(){var G=Ue.props.onFocus;Ue.setState({focused:!0}),G&&G.apply(void 0,arguments)},Ue.onBlur=function(){var G=Ue.props.onBlur;Ue.setState({focused:!1}),Ue.onActiveChange(null),G&&G.apply(void 0,arguments)},Ue.getTreeNodeRequiredProps=function(){var G=Ue.state,Y=G.expandedKeys,Pe=G.selectedKeys,Be=G.loadedKeys,J=G.loadingKeys,St=G.checkedKeys,bt=G.halfCheckedKeys,nt=G.dragOverNodeKey,Rt=G.dropPosition,zt=G.keyEntities;return{expandedKeys:Y||[],selectedKeys:Pe||[],loadedKeys:Be||[],loadingKeys:J||[],checkedKeys:St||[],halfCheckedKeys:bt||[],dragOverNodeKey:nt,dropPosition:Rt,keyEntities:zt}},Ue.setExpandedKeys=function(G){var Y=Ue.state.treeData,Pe=Object(y.d)(Y,G);Ue.setUncontrolledState({expandedKeys:G,flattenNodes:Pe},!0)},Ue.onNodeExpand=function(G,Y){var Pe=Ue.state.expandedKeys,Be=Ue.state.listChanging,J=Ue.props,St=J.onExpand,bt=J.loadData,nt=Y.key,Rt=Y.expanded;if(Be)return;var zt=Pe.indexOf(nt),Fr=!Rt;if(Object(l.a)(Rt&&zt!==-1||!Rt&&zt===-1,"Expand state not sync with index check"),Fr?Pe=Object(h.a)(Pe,nt):Pe=Object(h.b)(Pe,nt),Ue.setExpandedKeys(Pe),St&&St(Pe,{node:Y,expanded:Fr,nativeEvent:G.nativeEvent}),Fr&&bt){var Jt=Ue.onNodeLoad(Y);Jt&&Jt.then(function(){var ge=Object(y.d)(Ue.state.treeData,Pe);Ue.setUncontrolledState({flattenNodes:ge})})}},Ue.onListChangeStart=function(){Ue.setUncontrolledState({listChanging:!0})},Ue.onListChangeEnd=function(){setTimeout(function(){Ue.setUncontrolledState({listChanging:!1})})},Ue.onActiveChange=function(G){var Y=Ue.state.activeKey,Pe=Ue.props.onActiveChange;if(Y===G)return;Ue.setState({activeKey:G}),G!==null&&Ue.scrollTo({key:G}),Pe&&Pe(G)},Ue.getActiveItem=function(){var G=Ue.state,Y=G.activeKey,Pe=G.flattenNodes;return Y===null?null:Pe.find(function(Be){var J=Be.data.key;return J===Y})||null},Ue.offsetActiveKey=function(G){var Y=Ue.state,Pe=Y.flattenNodes,Be=Y.activeKey,J=Pe.findIndex(function(nt){var Rt=nt.data.key;return Rt===Be});J===-1&&G<0&&(J=Pe.length),J=(J+G+Pe.length)%Pe.length;var St=Pe[J];if(St){var bt=St.data.key;Ue.onActiveChange(bt)}else Ue.onActiveChange(null)},Ue.onKeyDown=function(G){var Y=Ue.state,Pe=Y.activeKey,Be=Y.expandedKeys,J=Y.checkedKeys,St=Ue.props,bt=St.onKeyDown,nt=St.checkable,Rt=St.selectable;switch(G.which){case t.a.UP:{Ue.offsetActiveKey(-1),G.preventDefault();break}case t.a.DOWN:{Ue.offsetActiveKey(1),G.preventDefault();break}}var zt=Ue.getActiveItem();if(zt&&zt.data){var Fr=Ue.getTreeNodeRequiredProps(),Jt=zt.data.isLeaf===!1||!!(zt.data.children||[]).length,ge=Object(y.b)(Object(c.a)(Object(c.a)({},Object(y.f)(Pe,Fr)),{},{data:zt.data,active:!0}));switch(G.which){case t.a.LEFT:{Jt&&Be.includes(Pe)?Ue.onNodeExpand({},ge):zt.parent&&Ue.onActiveChange(zt.parent.data.key),G.preventDefault();break}case t.a.RIGHT:{Jt&&!Be.includes(Pe)?Ue.onNodeExpand({},ge):zt.children&&zt.children.length&&Ue.onActiveChange(zt.children[0].data.key),G.preventDefault();break}case t.a.ENTER:case t.a.SPACE:{nt&&!ge.disabled&&ge.checkable!==!1&&!ge.disableCheckbox?Ue.onNodeCheck({},ge,!J.includes(Pe)):!nt&&Rt&&!ge.disabled&&ge.selectable!==!1&&Ue.onNodeSelect({},ge);break}}}bt&&bt(G)},Ue.setUncontrolledState=function(G){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ue.destroyed)return;var Be=!1,J=!0,St={};Object.keys(G).forEach(function(bt){if(bt in Ue.props){J=!1;return}Be=!0,St[bt]=G[bt]}),Be&&(!Y||J)&&Ue.setState(Object(c.a)(Object(c.a)({},St),Pe))},Ue.scrollTo=function(G){Ue.listRef.current.scrollTo(G)},Ue}return Object(n.a)(Dt,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var G,Y=this.state,Pe=Y.focused,Be=Y.flattenNodes,J=Y.keyEntities,St=Y.dragging,bt=Y.activeKey,nt=this.props,Rt=nt.prefixCls,zt=nt.className,Fr=nt.style,Jt=nt.showLine,ge=nt.focusable,ye=nt.tabIndex,Le=ye===void 0?0:ye,we=nt.selectable,Ke=nt.showIcon,Je=nt.icon,ut=nt.switcherIcon,vt=nt.draggable,_t=nt.checkable,Ut=nt.checkStrictly,Bt=nt.disabled,dr=nt.motion,Oe=nt.loadData,xe=nt.filterTreeNode,V=nt.height,q=nt.itemHeight,ue=nt.virtual,me=nt.titleRender,Ee=nt.onContextMenu,Ge=Object(h.f)(this.props);return g.createElement(u.a.Provider,{value:{prefixCls:Rt,selectable:we,showIcon:Ke,icon:Je,switcherIcon:ut,draggable:vt,checkable:_t,checkStrictly:Ut,disabled:Bt,keyEntities:J,loadData:Oe,filterTreeNode:xe,titleRender:me,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}},g.createElement("div",{className:o()(Rt,zt,(G={},Object(p.a)(G,"".concat(Rt,"-show-line"),Jt),Object(p.a)(G,"".concat(Rt,"-focused"),Pe),Object(p.a)(G,"".concat(Rt,"-active-focused"),bt!==null),G))},g.createElement(K,Object.assign({ref:this.listRef,prefixCls:Rt,style:Fr,data:Be,disabled:Bt,selectable:we,checkable:!!_t,motion:dr,dragging:St,height:V,itemHeight:q,virtual:ue,focusable:ge,focused:Pe,tabIndex:Le,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ee},this.getTreeNodeRequiredProps(),Ge))))}}],[{key:"getDerivedStateFromProps",value:function(G,Y){var Pe=Y.prevProps,Be={prevProps:G};function J(Je){return!Pe&&Je in G||Pe&&Pe[Je]!==G[Je]}var St;if(J("treeData")?St=G.treeData:J("children")&&(Object(l.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),St=Object(y.c)(G.children)),St){Be.treeData=St;var bt=Object(y.a)(St);Be.keyEntities=Object(c.a)(Object(p.a)({},B,z),bt.keyEntities)}var nt=Be.keyEntities||Y.keyEntities;if(J("expandedKeys")||Pe&&J("autoExpandParent"))Be.expandedKeys=G.autoExpandParent||!Pe&&G.defaultExpandParent?Object(h.e)(G.expandedKeys,nt):G.expandedKeys;else if(!Pe&&G.defaultExpandAll){var Rt=Object(c.a)({},nt);delete Rt[B],Be.expandedKeys=Object.keys(Rt).map(function(Je){return Rt[Je].key})}else!Pe&&G.defaultExpandedKeys&&(Be.expandedKeys=G.autoExpandParent||G.defaultExpandParent?Object(h.e)(G.defaultExpandedKeys,nt):G.defaultExpandedKeys);if(Be.expandedKeys||delete Be.expandedKeys,St||Be.expandedKeys){var zt=Object(y.d)(St||Y.treeData,Be.expandedKeys||Y.expandedKeys);Be.flattenNodes=zt}if(G.selectable&&(J("selectedKeys")?Be.selectedKeys=Object(h.d)(G.selectedKeys,G):!Pe&&G.defaultSelectedKeys&&(Be.selectedKeys=Object(h.d)(G.defaultSelectedKeys,G))),G.checkable){var Fr;if(J("checkedKeys")?Fr=Object(h.j)(G.checkedKeys)||{}:!Pe&&G.defaultCheckedKeys?Fr=Object(h.j)(G.defaultCheckedKeys)||{}:St&&(Fr=Object(h.j)(G.checkedKeys)||{checkedKeys:Y.checkedKeys,halfCheckedKeys:Y.halfCheckedKeys}),Fr){var Jt=Fr,ge=Jt.checkedKeys,ye=ge===void 0?[]:ge,Le=Jt.halfCheckedKeys,we=Le===void 0?[]:Le;if(!G.checkStrictly){var Ke=Object($.a)(ye,!0,nt);ye=Ke.checkedKeys,we=Ke.halfCheckedKeys}Be.checkedKeys=ye,Be.halfCheckedKeys=we}}return J("loadedKeys")&&(Be.loadedKeys=G.loadedKeys),Be}}]),Dt}(g.Component);ie.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:[]},ie.TreeNode=O.a;var be=ie,te=be,Te=e("RIqP"),Ie=e.n(Te),Fe=e("J4zp"),Qe=e.n(Fe),fe=e("sEfC"),He=e.n(fe),se=e("vk+C"),Ce=e.n(se),mt=e("Vy0f"),Ne=e.n(mt),ae=e("kGiB"),ce=e.n(ae),le=e("H84U"),je;(function(kt){kt[kt.None=0]="None",kt[kt.Start=1]="Start",kt[kt.End=2]="End"})(je||(je={}));function Re(kt,Tt){function Dt(Ue){var G=Ue.key,Y=Ue.children;Tt(G,Ue)!==!1&&Re(Y||[],Tt)}kt.forEach(Dt)}function Ze(kt){var Tt=kt.treeData,Dt=kt.expandedKeys,Ue=kt.startKey,G=kt.endKey,Y=[],Pe=je.None;if(Ue&&Ue===G)return[Ue];if(!Ue||!G)return[];function Be(J){return J===Ue||J===G}return Re(Tt,function(J){if(Pe===je.End)return!1;if(Be(J)){if(Y.push(J),Pe===je.None)Pe=je.Start;else if(Pe===je.Start)return Pe=je.End,!1}else Pe===je.Start&&Y.push(J);return!(Dt.indexOf(J)===-1)}),Y}function De(kt,Tt){var Dt=Ie()(Tt),Ue=[];return Re(kt,function(G,Y){var Pe=Dt.indexOf(G);return Pe!==-1&&(Ue.push(Y),Dt.splice(Pe,1)),!!Dt.length}),Ue}var ne=function(kt,Tt){var Dt={};for(var Ue in kt)Object.prototype.hasOwnProperty.call(kt,Ue)&&Tt.indexOf(Ue)<0&&(Dt[Ue]=kt[Ue]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,Ue=Object.getOwnPropertySymbols(kt);G<Ue.length;G++)Tt.indexOf(Ue[G])<0&&Object.prototype.propertyIsEnumerable.call(kt,Ue[G])&&(Dt[Ue[G]]=kt[Ue[G]]);return Dt};function he(kt){var Tt=kt.isLeaf,Dt=kt.expanded;return Tt?g.createElement(Ce.a,null):Dt?g.createElement(Ne.a,null):g.createElement(ce.a,null)}function pe(kt){var Tt=kt.treeData,Dt=kt.children;return Tt||Object(y.c)(Dt)}var Xe=function(Tt,Dt){var Ue=Tt.defaultExpandAll,G=Tt.defaultExpandParent,Y=Tt.defaultExpandedKeys,Pe=ne(Tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Be=g.useRef(),J=g.useRef(),St=g.createRef();g.useImperativeHandle(Dt,function(){return St.current});var bt=function(){var Ee=Object(y.a)(pe(Pe)),Ge=Ee.keyEntities,dt;return Ue?dt=Object.keys(Ge):G?dt=Object(h.e)(Pe.expandedKeys||Y,Ge):dt=Pe.expandedKeys||Y,dt},nt=g.useState(Pe.selectedKeys||Pe.defaultSelectedKeys||[]),Rt=Qe()(nt,2),zt=Rt[0],Fr=Rt[1],Jt=g.useState(bt()),ge=Qe()(Jt,2),ye=ge[0],Le=ge[1];g.useEffect(function(){"selectedKeys"in Pe&&Fr(Pe.selectedKeys)},[Pe.selectedKeys]),g.useEffect(function(){"expandedKeys"in Pe&&Le(Pe.expandedKeys)},[Pe.expandedKeys]);var we=function(Ee,Ge){var dt=Ge.isLeaf;if(dt||Ee.shiftKey||Ee.metaKey||Ee.ctrlKey)return;St.current.onNodeExpand(Ee,Ge)},Ke=He()(we,200,{leading:!0}),Je=function(Ee,Ge){return"expandedKeys"in Pe||Le(Ee),Pe.onExpand?Pe.onExpand(Ee,Ge):void 0},ut=function(Ee,Ge){var dt=Pe.expandAction;dt==="click"&&Ke(Ee,Ge),Pe.onClick&&Pe.onClick(Ee,Ge)},vt=function(Ee,Ge){var dt=Pe.expandAction;dt==="doubleClick"&&Ke(Ee,Ge),Pe.onDoubleClick&&Pe.onDoubleClick(Ee,Ge)},_t=function(Ee,Ge){var dt=Pe.multiple,Kt=Ge.node,tr=Ge.nativeEvent,wt=Kt.key,It=wt===void 0?"":wt,Lt=pe(Pe),Nt=m()(m()({},Ge),{selected:!0}),$e=tr.ctrlKey||tr.metaKey,ot=tr.shiftKey,ft;dt&&$e?(ft=Ee,Be.current=It,J.current=ft,Nt.selectedNodes=De(Lt,ft)):dt&&ot?(ft=Array.from(new Set([].concat(Ie()(J.current||[]),Ie()(Ze({treeData:Lt,expandedKeys:ye,startKey:It,endKey:Be.current}))))),Nt.selectedNodes=De(Lt,ft)):(ft=[It],Be.current=It,J.current=ft,Nt.selectedNodes=De(Lt,ft)),Pe.onSelect&&Pe.onSelect(ft,Nt),"selectedKeys"in Pe||Fr(ft)},Ut=g.useContext(le.b),Bt=Ut.getPrefixCls,dr=Ut.direction,Oe=Pe.prefixCls,xe=Pe.className,V=ne(Pe,["prefixCls","className"]),q=Bt("tree",Oe),ue=o()("".concat(q,"-directory"),xe,f()({},"".concat(q,"-directory-rtl"),dr==="rtl"));return g.createElement(Mt,m()({icon:he,ref:St,blockNode:!0},V,{prefixCls:q,className:ue,expandedKeys:ye,selectedKeys:zt,onSelect:_t,onClick:ut,onDoubleClick:vt,onExpand:Je}))},lt=g.forwardRef(Xe);lt.displayName="DirectoryTree",lt.defaultProps={showIcon:!0,expandAction:"click"};var At=lt,Me=e("EXcs"),Ht=e("2jpz"),tt=g.forwardRef(function(kt,Tt){var Dt,Ue=g.useContext(le.b),G=Ue.getPrefixCls,Y=Ue.direction,Pe=Ue.virtual,Be=kt.prefixCls,J=kt.className,St=kt.showIcon,bt=kt.showLine,nt=kt.switcherIcon,Rt=kt.blockNode,zt=kt.children,Fr=kt.checkable,Jt=m()(m()({},kt),{showLine:Boolean(bt)}),ge=G("tree",Be);return g.createElement(te,m()({itemHeight:20,ref:Tt,virtual:Pe},Jt,{prefixCls:ge,className:o()(J,(Dt={},f()(Dt,"".concat(ge,"-icon-hide"),!St),f()(Dt,"".concat(ge,"-block-node"),Rt),f()(Dt,"".concat(ge,"-rtl"),Y==="rtl"),Dt)),checkable:Fr&&g.createElement("span",{className:"".concat(ge,"-checkbox-inner")}),switcherIcon:function(Le){return Object(Ht.a)(ge,nt,bt,Le)}}),zt)});tt.TreeNode=O.a,tt.DirectoryTree=At,tt.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},Me.a),{motionAppear:!1}),blockNode:!1};var Mt=tt,jt=N.a=Mt},MKOG:function(R,N,e){var A=e("bYtY"),f=e("YH21"),x=f.Dispatcher,m=e("mLcG"),g=e("Bq2U"),p=function(a){a=a||{},this.stage=a.stage||{},this.onframe=a.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,x.call(this)};p.prototype={constructor:p,addClip:function(a){this._clips.push(a)},addAnimator:function(a){a.animation=this;for(var n=a.getClips(),i=0;i<n.length;i++)this.addClip(n[i])},removeClip:function(a){var n=A.indexOf(this._clips,a);n>=0&&this._clips.splice(n,1)},removeAnimator:function(a){for(var n=a.getClips(),i=0;i<n.length;i++)this.removeClip(n[i]);a.animation=null},_update:function(){for(var a=new Date().getTime()-this._pausedTime,n=a-this._time,i=this._clips,d=i.length,t=[],l=[],r=0;r<d;r++){var o=i[r],u=o.step(a,n);u&&(t.push(u),l.push(o))}for(var r=0;r<d;)i[r]._needsRemove?(i[r]=i[d-1],i.pop(),d--):r++;d=t.length;for(var r=0;r<d;r++)l[r].fire(t[r]);this._time=a,this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update()},_startLoop:function(){var a=this;this._running=!0;function n(){a._running&&(m(n),!a._paused&&a._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(a,n){n=n||{};var i=new g(a,n.loop,n.getter,n.setter);return this.addAnimator(i),i}},A.mixin(p,x);var c=p;R.exports=c},MRoa:function(R,N,e){var A=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),x=e("Dg8C");A.registerLayout(f),A.registerVisual(x)},MT78:function(R,N,e){var A=e("ProS");(function(){for(var x in A){if(A==null||!A.hasOwnProperty(x)||x==="default"||x==="__esModule")return;N[x]=A[x]}})();var f=e("txkQ");(function(){for(var x in f){if(f==null||!f.hasOwnProperty(x)||x==="default"||x==="__esModule")return;N[x]=f[x]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("Kvyg"),m=e.n(x)},MZdM:function(R,N,e){"use strict";function A(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(r){return typeof r}:A=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},A(t)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=s(e("Lo0S")),x=p(e("N/zr")),m=e("GdRQ"),g=e("GQ8N");function p(t){return t&&t.__esModule?t:{default:t}}function c(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return c=function(){return t},t}function s(t){if(t&&t.__esModule)return t;if(t===null||A(t)!=="object"&&typeof t!="function")return{default:t};var l=c();if(l&&l.has(t))return l.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var h=o?Object.getOwnPropertyDescriptor(t,u):null;h&&(h.get||h.set)?Object.defineProperty(r,u,h):r[u]=t[u]}return r.default=t,l&&l.set(t,r),r}function a(t,l){if(!(t instanceof l))throw new TypeError("Cannot call a class as a function")}function n(t,l){for(var r=0;r<l.length;r++){var o=l[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function i(t,l,r){return l&&n(t.prototype,l),r&&n(t,r),t}var d=function(){function t(l){if(a(this,t),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 i(t,[{key:"viewportChangePos",value:function(r,o){var u=this._viewportLoc;r=Math.floor(r),o=Math.floor(o),this._clipViewport||(r=-u.w,o=-u.h);var h=u.x+u.w-1,y=u.y+u.h-1;if(r<0&&u.x+r<0&&(r=-u.x),h+r>=this._fbWidth&&(r-=h+r-this._fbWidth+1),u.y+o<0&&(o=-u.y),y+o>=this._fbHeight&&(o-=y+o-this._fbHeight+1),r===0&&o===0)return;f.Debug("viewportChange deltaX: "+r+", deltaY: "+o),u.x+=r,u.y+=o,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(r,o){(!this._clipViewport||typeof r=="undefined"||typeof o=="undefined")&&(f.Debug("Setting viewport to full display region"),r=this._fbWidth,o=this._fbHeight),r=Math.floor(r),o=Math.floor(o),r>this._fbWidth&&(r=this._fbWidth),o>this._fbHeight&&(o=this._fbHeight);var u=this._viewportLoc;if(u.w!==r||u.h!==o){u.w=r,u.h=o;var h=this._target;h.width=r,h.height=o,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(r){return this._scale===0?0:(0,g.toSigned32bit)(r/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(r){return this._scale===0?0:(0,g.toSigned32bit)(r/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(r,o){this._prevDrawStyle="",this._fbWidth=r,this._fbHeight=o;var u=this._backbuffer;if(u.width!==r||u.height!==o){var h=null;u.width>0&&u.height>0&&(h=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==r&&(u.width=r),u.height!==o&&(u.height=o),h&&this._drawCtx.putImageData(h,0,0)}var y=this._viewportLoc;this.viewportChangeSize(y.w,y.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(r,o,u,h){r<this._damageBounds.left&&(this._damageBounds.left=r),o<this._damageBounds.top&&(this._damageBounds.top=o),r+u>this._damageBounds.right&&(this._damageBounds.right=r+u),o+h>this._damageBounds.bottom&&(this._damageBounds.bottom=o+h)}},{key:"flip",value:function(r){if(this._renderQ.length!==0&&!r)this._renderQPush({type:"flip"});else{var o=this._damageBounds.left,u=this._damageBounds.top,h=this._damageBounds.right-o,y=this._damageBounds.bottom-u,b=o-this._viewportLoc.x,E=u-this._viewportLoc.y;b<0&&(h+=b,o-=b,b=0),E<0&&(y+=E,u-=E,E=0),b+h>this._viewportLoc.w&&(h=this._viewportLoc.w-b),E+y>this._viewportLoc.h&&(y=this._viewportLoc.h-E),h>0&&y>0&&this._targetCtx.drawImage(this._backbuffer,o,u,h,y,b,E,h,y),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(r,o,u,h,y,b){this._renderQ.length!==0&&!b?this._renderQPush({type:"fill",x:r,y:o,width:u,height:h,color:y}):(this._setFillColor(y),this._drawCtx.fillRect(r,o,u,h),this._damage(r,o,u,h))}},{key:"copyImage",value:function(r,o,u,h,y,b,E){this._renderQ.length!==0&&!E?this._renderQPush({type:"copy",oldX:r,oldY:o,x:u,y:h,width:y,height:b}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,r,o,y,b,u,h,y,b),this._damage(u,h,y,b))}},{key:"imageRect",value:function(r,o,u,h,y,b){if(u===0||h===0)return;var E=new Image;E.src="data: "+y+";base64,"+x.default.encode(b),this._renderQPush({type:"img",img:E,x:r,y:o,width:u,height:h})}},{key:"startTile",value:function(r,o,u,h,y){this._tileX=r,this._tileY=o,u===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,h);for(var b=y[2],E=y[1],v=y[0],w=this._tile.data,O=0;O<u*h*4;O+=4)w[O]=b,w[O+1]=E,w[O+2]=v,w[O+3]=255}},{key:"subTile",value:function(r,o,u,h,y){for(var b=y[2],E=y[1],v=y[0],w=r+u,O=o+h,T=this._tile.data,S=this._tile.width,C=o;C<O;C++)for(var _=r;_<w;_++){var I=(_+C*S)*4;T[I]=b,T[I+1]=E,T[I+2]=v,T[I+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(r,o,u,h,y,b,E){if(this._renderQ.length!==0&&!E){var v=new Uint8Array(u*h*4);v.set(new Uint8Array(y.buffer,0,v.length)),this._renderQPush({type:"blit",data:v,x:r,y:o,width:u,height:h})}else this._bgrxImageData(r,o,u,h,y,b)}},{key:"blitRgbImage",value:function(r,o,u,h,y,b,E){if(this._renderQ.length!==0&&!E){var v=new Uint8Array(u*h*3);v.set(new Uint8Array(y.buffer,0,v.length)),this._renderQPush({type:"blitRgb",data:v,x:r,y:o,width:u,height:h})}else this._rgbImageData(r,o,u,h,y,b)}},{key:"blitRgbxImage",value:function(r,o,u,h,y,b,E){if(this._renderQ.length!==0&&!E){var v=new Uint8Array(u*h*4);v.set(new Uint8Array(y.buffer,0,v.length)),this._renderQPush({type:"blitRgbx",data:v,x:r,y:o,width:u,height:h})}else this._rgbxImageData(r,o,u,h,y,b)}},{key:"drawImage",value:function(r,o,u){this._drawCtx.drawImage(r,o,u),this._damage(o,u,r.width,r.height)}},{key:"autoscale",value:function(r,o){var u;if(r===0||o===0)u=0;else{var h=this._viewportLoc,y=r/o,b=h.w/h.h;b>=y?u=r/h.w:u=o/h.h}this._rescale(u)}},{key:"_rescale",value:function(r){this._scale=r;var o=this._viewportLoc,u=r*o.w+"px",h=r*o.h+"px";(this._target.style.width!==u||this._target.style.height!==h)&&(this._target.style.width=u,this._target.style.height=h)}},{key:"_setFillColor",value:function(r){var o="rgb("+r[2]+","+r[1]+","+r[0]+")";o!==this._prevDrawStyle&&(this._drawCtx.fillStyle=o,this._prevDrawStyle=o)}},{key:"_rgbImageData",value:function(r,o,u,h,y,b){for(var E=this._drawCtx.createImageData(u,h),v=E.data,w=0,O=b;w<u*h*4;w+=4,O+=3)v[w]=y[O],v[w+1]=y[O+1],v[w+2]=y[O+2],v[w+3]=255;this._drawCtx.putImageData(E,r,o),this._damage(r,o,E.width,E.height)}},{key:"_bgrxImageData",value:function(r,o,u,h,y,b){for(var E=this._drawCtx.createImageData(u,h),v=E.data,w=0,O=b;w<u*h*4;w+=4,O+=4)v[w]=y[O+2],v[w+1]=y[O+1],v[w+2]=y[O],v[w+3]=255;this._drawCtx.putImageData(E,r,o),this._damage(r,o,E.width,E.height)}},{key:"_rgbxImageData",value:function(r,o,u,h,y,b){var E;m.supportsImageMetadata?E=new ImageData(new Uint8ClampedArray(y.buffer,y.byteOffset,u*h*4),u,h):(E=this._drawCtx.createImageData(u,h),E.data.set(new Uint8ClampedArray(y.buffer,y.byteOffset,u*h*4))),this._drawCtx.putImageData(E,r,o),this._damage(r,o,E.width,E.height)}},{key:"_renderQPush",value:function(r){this._renderQ.push(r),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 r=!0;r&&this._renderQ.length>0;){var o=this._renderQ[0];switch(o.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(o.oldX,o.oldY,o.x,o.y,o.width,o.height,!0);break;case"fill":this.fillRect(o.x,o.y,o.width,o.height,o.color,!0);break;case"blit":this.blitImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgb":this.blitRgbImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"img":if(o.img.complete&&o.img.width!==0&&o.img.height!==0){if(o.img.width!==o.width||o.img.height!==o.height){f.Error("Decoded image has incorrect dimensions. Got "+o.img.width+"x"+o.img.height+". Expected "+o.width+"x"+o.height+".");return}this.drawImage(o.img,o.x,o.y)}else o.img._noVNCDisplay=this,o.img.addEventListener("load",this._resumeRenderQ),r=!1;break}r&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(r){this._rescale(r)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(r){this._clipViewport=r;var o=this._viewportLoc;this.viewportChangeSize(o.w,o.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),t}();N.default=d},Mdki:function(R,N,e){var A=e("bYtY"),f=A.each,x="\0__link_datas",m="\0__link_mainData";function g(l){var r=l.mainData,o=l.datas;o||(o={main:r},l.datasAttr={main:"data"}),l.datas=l.mainData=null,i(r,o,l),f(o,function(u){f(r.TRANSFERABLE_METHODS,function(h){u.wrapMethod(h,A.curry(p,l))})}),r.wrapMethod("cloneShallow",A.curry(s,l)),f(r.CHANGABLE_METHODS,function(u){r.wrapMethod(u,A.curry(c,l))}),A.assert(o[r.dataType]===r)}function p(l,r){if(n(this)){var o=A.extend({},this[x]);o[this.dataType]=r,i(r,o,l)}else d(r,this.dataType,this[m],l);return r}function c(l,r){return l.struct&&l.struct.update(this),r}function s(l,r){return f(r[x],function(o,u){o!==r&&d(o.cloneShallow(),u,r,l)}),r}function a(l){var r=this[m];return l==null||r==null?r:r[x][l]}function n(l){return l[m]===l}function i(l,r,o){l[x]={},f(r,function(u,h){d(u,h,l,o)})}function d(l,r,o,u){o[x][r]=l,l[m]=o,l.dataType=r,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[r]]=l),l.getLinkedData=a}var t=g;R.exports=t},Mds0:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("8IMR")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="StarFilled";var s=m.forwardRef(c);N.default=s},Mgri:function(R,N,e){for(var A=e("bYtY"),f=e("8nly"),x=[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]]],g=0;g<m.length;g++)for(var p=0;p<m[g].length;p++)m[g][p][0]/=10.5,m[g][p][1]/=-10.5/.75,m[g][p][0]+=x[0],m[g][p][1]+=x[1];function c(s,a){s==="china"&&a.push(new f("\u5357\u6D77\u8BF8\u5C9B",A.map(m,function(n){return{type:"polygon",exterior:n}}),x))}R.exports=c},Mmt2:function(R,N,e){"use strict";function A(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(t){return typeof t}:A=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(i)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=m(e("Lo0S"));function x(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return x=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||A(i)!=="object"&&typeof i!="function")return{default:i};var d=x();if(d&&d.has(i))return d.get(i);var t={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var o=l?Object.getOwnPropertyDescriptor(i,r):null;o&&(o.get||o.set)?Object.defineProperty(t,r,o):t[r]=i[r]}return t.default=i,d&&d.set(i,t),t}function g(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")}function p(i,d){for(var t=0;t<d.length;t++){var l=d[t];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}function c(i,d,t){return d&&p(i.prototype,d),t&&p(i,t),i}var s=!1,a=40*1024*1024,n=function(){function i(){g(this,i),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(i,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(t){this._rQi+=t}},{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(t){for(var l=0,r=t-1;r>=0;r--)l+=this._rQ[this._rQi++]<<r*8;return l}},{key:"rQshiftStr",value:function(t){typeof t=="undefined"&&(t=this.rQlen);for(var l="",r=0;r<t;r+=4096){var o=this.rQshiftBytes(Math.min(4096,t-r));l+=String.fromCharCode.apply(null,o)}return l}},{key:"rQshiftBytes",value:function(t){return typeof t=="undefined"&&(t=this.rQlen),this._rQi+=t,new Uint8Array(this._rQ.buffer,this._rQi-t,t)}},{key:"rQshiftTo",value:function(t,l){l===void 0&&(l=this.rQlen),t.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(t){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+t,l-t)}},{key:"rQwait",value:function(t,l,r){if(this.rQlen<l){if(r){if(this._rQi<r)throw new Error("rQwait cannot backup "+r+" bytes");this._rQi-=r}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(t){this._sQ.set(t,this._sQlen),this._sQlen+=t.length,this.flush()}},{key:"sendString",value:function(t){this.send(t.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(t){this._eventHandlers[t]=function(){}}},{key:"on",value:function(t,l){this._eventHandlers[t]=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(t,l){var r=this;this.init(),this._websocket=new WebSocket(t,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){f.Debug(">> WebSock.onopen"),r._websocket.protocol&&f.Info("Server choose sub-protocol: "+r._websocket.protocol),r._eventHandlers.open(),f.Debug("<< WebSock.onopen")},this._websocket.onclose=function(o){f.Debug(">> WebSock.onclose"),r._eventHandlers.close(o),f.Debug("<< WebSock.onclose")},this._websocket.onerror=function(o){f.Debug(">> WebSock.onerror: "+o),r._eventHandlers.error(o),f.Debug("<< WebSock.onerror: "+o)}}},{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(t){var l=(this._rQlen-this._rQi+t)*8,r=this._rQbufferSize<l;if(r&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>a&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlen<t))throw new Error("Receive Queue buffer exceeded "+a+" bytes, and the new message could not fit");if(r){var o=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(o,this._rQi,this._rQlen-this._rQi))}else s?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(t){var l=new Uint8Array(t);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(t){this._DecodeMessage(t.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(t){this._rQi=t}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),i}();N.default=n},MqEG:function(R,N,e){var A=e("bYtY"),f=e("fc+c"),x=e("72pK"),m=e("VXYp"),g=A.bind,p=f.extend({type:"dataZoom.inside",init:function(i,d){this._range},render:function(i,d,t,l){p.superApply(this,"render",arguments),this._range=i.getPercentRange(),A.each(this.getTargetCoordInfo(),function(r,o){var u=A.map(r,function(h){return m.generateCoordId(h.model)});A.each(r,function(h){var y=h.model,b={};A.each(["pan","zoom","scrollMove"],function(E){b[E]=g(c[E],this,h,o)},this),m.register(t,{coordId:m.generateCoordId(y),allCoordIds:u,containsPoint:function(E,v,w){return y.coordinateSystem.containPoint([v,w])},dataZoomId:i.id,dataZoomModel:i,getRange:b})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),p.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(i,d,t,l){var r=this._range,o=r.slice(),u=i.axisModels[0];if(!u)return;var h=a[d](null,[l.originX,l.originY],u,t,i),y=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(o[1]-o[0])+o[0],b=Math.max(1/l.scale,0);o[0]=(o[0]-y)*b+y,o[1]=(o[1]-y)*b+y;var E=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(x(0,o,[0,100],0,E.minSpan,E.maxSpan),this._range=o,r[0]!==o[0]||r[1]!==o[1])return o},pan:s(function(i,d,t,l,r,o){var u=a[l]([o.oldX,o.oldY],[o.newX,o.newY],d,r,t);return u.signal*(i[1]-i[0])*u.pixel/u.pixelLength}),scrollMove:s(function(i,d,t,l,r,o){var u=a[l]([0,0],[o.scrollDelta,o.scrollDelta],d,r,t);return u.signal*(i[1]-i[0])*o.scrollDelta})};function s(i){return function(d,t,l,r){var o=this._range,u=o.slice(),h=d.axisModels[0];if(!h)return;var y=i(u,h,d,t,l,r);if(x(y,u,[0,100],"all"),this._range=u,o[0]!==u[0]||o[1]!==u[1])return u}}var a={grid:function(i,d,t,l,r){var o=t.axis,u={},h=r.model.coordinateSystem.getRect();return i=i||[0,0],o.dim==="x"?(u.pixel=d[0]-i[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=o.inverse?1:-1):(u.pixel=d[1]-i[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=o.inverse?-1:1),u},polar:function(i,d,t,l,r){var o=t.axis,u={},h=r.model.coordinateSystem,y=h.getRadiusAxis().getExtent(),b=h.getAngleAxis().getExtent();return i=i?h.pointToCoord(i):[0,0],d=h.pointToCoord(d),t.mainType==="radiusAxis"?(u.pixel=d[0]-i[0],u.pixelLength=y[1]-y[0],u.pixelStart=y[0],u.signal=o.inverse?1:-1):(u.pixel=d[1]-i[1],u.pixelLength=b[1]-b[0],u.pixelStart=b[0],u.signal=o.inverse?-1:1),u},singleAxis:function(i,d,t,l,r){var o=t.axis,u=r.model.coordinateSystem.getRect(),h={};return i=i||[0,0],o.orient==="horizontal"?(h.pixel=d[0]-i[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=o.inverse?1:-1):(h.pixel=d[1]-i[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=o.inverse?-1:1),h}},n=p;R.exports=n},MwEJ:function(R,N,e){var A=e("bYtY"),f=e("YXkt"),x=e("sdST"),m=e("k9D9"),g=m.SOURCE_FORMAT_ORIGINAL,p=e("L0Ub"),c=p.getDimensionTypeByAxis,s=e("4NO4"),a=s.getDataItemValue,n=e("IDmD"),i=e("i38C"),d=i.getCoordSysInfoBySeries,t=e("7G+c"),l=e("7hqr"),r=l.enableDataStack,o=e("D5nY"),u=o.makeSeriesEncodeForAxisCoordSys;function h(v,w,O){O=O||{},t.isInstance(v)||(v=t.seriesDataToSource(v));var T=w.get("coordinateSystem"),S=n.get(T),C=d(w),_;C&&(_=A.map(C.coordSysDims,function(M){var U={name:M},P=C.axisMap.get(M);if(P){var H=P.get("type");U.type=c(H)}return U})),_||(_=S&&(S.getDimensionsInfo?S.getDimensionsInfo():S.dimensions.slice())||["x","y"]);var I=x(v,{coordDimensions:_,generateCoord:O.generateCoord,encodeDefaulter:O.useEncodeDefaulter?A.curry(u,_,w):null}),k,F;C&&A.each(I,function(M,U){var P=M.coordDim,H=C.categoryAxisMap.get(P);H&&(k==null&&(k=U),M.ordinalMeta=H.getOrdinalMeta()),M.otherDims.itemName!=null&&(F=!0)}),!F&&k!=null&&(I[k].otherDims.itemName=0);var B=r(w,I),j=new f(I,w);j.setCalculationInfo(B);var z=k!=null&&y(v)?function(M,U,P,H){return H===k?P:this.defaultDimValueGetter(M,U,P,H)}:null;return j.hasItemOption=!1,j.initData(v,null,z),j}function y(v){if(v.sourceFormat===g){var w=b(v.data||[]);return w!=null&&!A.isArray(a(w))}}function b(v){for(var w=0;w<v.length&&v[w]==null;)w++;return v[w]}var E=h;R.exports=E},Mylv:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS"),m=e("oVpE"),g=m.createSymbol,p=e("OELB"),c=p.parsePercent,s=p.isNumeric,a=e("56rv"),n=a.setLabel,i=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],t=new x.Circle,l=A.extendChartView({type:"pictorialBar",render:function(W,X,K){var $=this.group,ie=W.getData(),be=this._data,te=W.coordinateSystem,Te=te.getBaseAxis(),Ie=!!Te.isHorizontal(),Fe=te.grid.getRect(),Qe={ecSize:{width:K.getWidth(),height:K.getHeight()},seriesModel:W,coordSys:te,coordSysExtent:[[Fe.x,Fe.x+Fe.width],[Fe.y,Fe.y+Fe.height]],isHorizontal:Ie,valueDim:d[+Ie],categoryDim:d[1-Ie]};return ie.diff(be).add(function(fe){if(!ie.hasValue(fe))return;var He=S(ie,fe),se=r(ie,fe,He,Qe),Ce=k(ie,Qe,se);ie.setItemGraphicEl(fe,Ce),$.add(Ce),U(Ce,Qe,se)}).update(function(fe,He){var se=be.getItemGraphicEl(He);if(!ie.hasValue(fe)){$.remove(se);return}var Ce=S(ie,fe),mt=r(ie,fe,Ce,Qe),Ne=j(ie,mt);se&&Ne!==se.__pictorialShapeStr&&($.remove(se),ie.setItemGraphicEl(fe,null),se=null),se?F(se,Qe,mt):se=k(ie,Qe,mt,!0),ie.setItemGraphicEl(fe,se),se.__pictorialSymbolMeta=mt,$.add(se),U(se,Qe,mt)}).remove(function(fe){var He=be.getItemGraphicEl(fe);He&&B(be,fe,He.__pictorialSymbolMeta.animationModel,He)}).execute(),this._data=ie,this.group},dispose:f.noop,remove:function(W,X){var K=this.group,$=this._data;W.get("animation")?$&&$.eachItemGraphicEl(function(ie){B($,ie.dataIndex,W,ie)}):K.removeAll()}});function r(W,X,K,$){var ie=W.getItemLayout(X),be=K.get("symbolRepeat"),te=K.get("symbolClip"),Te=K.get("symbolPosition")||"start",Ie=K.get("symbolRotate"),Fe=(Ie||0)*Math.PI/180||0,Qe=K.get("symbolPatternSize")||2,fe=K.isAnimationEnabled(),He={dataIndex:X,layout:ie,itemModel:K,symbolType:W.getItemVisual(X,"symbol")||"circle",color:W.getItemVisual(X,"color"),symbolClip:te,symbolRepeat:be,symbolRepeatDirection:K.get("symbolRepeatDirection"),symbolPatternSize:Qe,rotation:Fe,animationModel:fe?K:null,hoverAnimation:fe&&K.get("hoverAnimation"),z2:K.getShallow("z",!0)||0};o(K,be,ie,$,He),h(W,X,ie,be,te,He.boundingLength,He.pxSign,Qe,$,He),y(K,He.symbolScale,Fe,$,He);var se=He.symbolSize,Ce=K.get("symbolOffset");return f.isArray(Ce)&&(Ce=[c(Ce[0],se[0]),c(Ce[1],se[1])]),b(K,se,ie,be,te,Ce,Te,He.valueLineWidth,He.boundingLength,He.repeatCutLength,$,He),He}function o(W,X,K,$,ie){var be=$.valueDim,te=W.get("symbolBoundingData"),Te=$.coordSys.getOtherAxis($.coordSys.getBaseAxis()),Ie=Te.toGlobalCoord(Te.dataToCoord(0)),Fe=1-+(K[be.wh]<=0),Qe;if(f.isArray(te)){var fe=[u(Te,te[0])-Ie,u(Te,te[1])-Ie];fe[1]<fe[0]&&fe.reverse(),Qe=fe[Fe]}else te!=null?Qe=u(Te,te)-Ie:X?Qe=$.coordSysExtent[be.index][Fe]-Ie:Qe=K[be.wh];ie.boundingLength=Qe,X&&(ie.repeatCutLength=K[be.wh]),ie.pxSign=Qe>0?1:Qe<0?-1:0}function u(W,X){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(X)))}function h(W,X,K,$,ie,be,te,Te,Ie,Fe){var Qe=Ie.valueDim,fe=Ie.categoryDim,He=Math.abs(K[fe.wh]),se=W.getItemVisual(X,"symbolSize");f.isArray(se)?se=se.slice():(se==null&&(se="100%"),se=[se,se]),se[fe.index]=c(se[fe.index],He),se[Qe.index]=c(se[Qe.index],$?He:Math.abs(be)),Fe.symbolSize=se;var Ce=Fe.symbolScale=[se[0]/Te,se[1]/Te];Ce[Qe.index]*=(Ie.isHorizontal?-1:1)*te}function y(W,X,K,$,ie){var be=W.get(i)||0;be&&(t.attr({scale:X.slice(),rotation:K}),t.updateTransform(),be/=t.getLineScale(),be*=X[$.valueDim.index]),ie.valueLineWidth=be}function b(W,X,K,$,ie,be,te,Te,Ie,Fe,Qe,fe){var He=Qe.categoryDim,se=Qe.valueDim,Ce=fe.pxSign,mt=Math.max(X[se.index]+Te,0),Ne=mt;if($){var ae=Math.abs(Ie),ce=f.retrieve(W.get("symbolMargin"),"15%")+"",le=!1;ce.lastIndexOf("!")===ce.length-1&&(le=!0,ce=ce.slice(0,ce.length-1)),ce=c(ce,X[se.index]);var je=Math.max(mt+ce*2,0),Re=le?0:ce*2,Ze=s($),De=Ze?$:P((ae+Re)/je),ne=ae-De*mt;ce=ne/2/(le?De:De-1),je=mt+ce*2,Re=le?0:ce*2,!Ze&&$!=="fixed"&&(De=Fe?P((Math.abs(Fe)+Re)/je):0),Ne=De*je-Re,fe.repeatTimes=De,fe.symbolMargin=ce}var he=Ce*(Ne/2),pe=fe.pathPosition=[];pe[He.index]=K[He.wh]/2,pe[se.index]=te==="start"?he:te==="end"?Ie-he:Ie/2,be&&(pe[0]+=be[0],pe[1]+=be[1]);var Xe=fe.bundlePosition=[];Xe[He.index]=K[He.xy],Xe[se.index]=K[se.xy];var lt=fe.barRectShape=f.extend({},K);lt[se.wh]=Ce*Math.max(Math.abs(K[se.wh]),Math.abs(pe[se.index]+he)),lt[He.wh]=K[He.wh];var At=fe.clipShape={};At[He.xy]=-K[He.xy],At[He.wh]=Qe.ecSize[He.wh],At[se.xy]=0,At[se.wh]=K[se.wh]}function E(W){var X=W.symbolPatternSize,K=g(W.symbolType,-X/2,-X/2,X,X,W.color);return K.attr({culling:!0}),K.type!=="image"&&K.setStyle({strokeNoScale:!0}),K}function v(W,X,K,$){var ie=W.__pictorialBundle,be=K.symbolSize,te=K.valueLineWidth,Te=K.pathPosition,Ie=X.valueDim,Fe=K.repeatTimes||0,Qe=0,fe=be[X.valueDim.index]+te+K.symbolMargin*2;for(z(W,function(ae){ae.__pictorialAnimationIndex=Qe,ae.__pictorialRepeatTimes=Fe,Qe<Fe?M(ae,null,Ce(Qe),K,$):M(ae,null,{scale:[0,0]},K,$,function(){ie.remove(ae)}),I(ae,K),Qe++});Qe<Fe;Qe++){var He=E(K);He.__pictorialAnimationIndex=Qe,He.__pictorialRepeatTimes=Fe,ie.add(He);var se=Ce(Qe);M(He,{position:se.position,scale:[0,0]},{scale:se.scale,rotation:se.rotation},K,$),He.on("mouseover",mt).on("mouseout",Ne),I(He,K)}function Ce(ae){var ce=Te.slice(),le=K.pxSign,je=ae;return(K.symbolRepeatDirection==="start"?le>0:le<0)&&(je=Fe-1-ae),ce[Ie.index]=fe*(je-Fe/2+.5)+Te[Ie.index],{position:ce,scale:K.symbolScale.slice(),rotation:K.rotation}}function mt(){z(W,function(ae){ae.trigger("emphasis")})}function Ne(){z(W,function(ae){ae.trigger("normal")})}}function w(W,X,K,$){var ie=W.__pictorialBundle,be=W.__pictorialMainPath;be?M(be,null,{position:K.pathPosition.slice(),scale:K.symbolScale.slice(),rotation:K.rotation},K,$):(be=W.__pictorialMainPath=E(K),ie.add(be),M(be,{position:K.pathPosition.slice(),scale:[0,0],rotation:K.rotation},{scale:K.symbolScale.slice()},K,$),be.on("mouseover",te).on("mouseout",Te)),I(be,K);function te(){this.trigger("emphasis")}function Te(){this.trigger("normal")}}function O(W,X,K){var $=f.extend({},X.barRectShape),ie=W.__pictorialBarRect;ie?M(ie,null,{shape:$},X,K):(ie=W.__pictorialBarRect=new x.Rect({z2:2,shape:$,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add(ie))}function T(W,X,K,$){if(K.symbolClip){var ie=W.__pictorialClipPath,be=f.extend({},K.clipShape),te=X.valueDim,Te=K.animationModel,Ie=K.dataIndex;if(ie)x.updateProps(ie,{shape:be},Te,Ie);else{be[te.wh]=0,ie=new x.Rect({shape:be}),W.__pictorialBundle.setClipPath(ie),W.__pictorialClipPath=ie;var Fe={};Fe[te.wh]=K.clipShape[te.wh],x[$?"updateProps":"initProps"](ie,{shape:Fe},Te,Ie)}}}function S(W,X){var K=W.getItemModel(X);return K.getAnimationDelayParams=C,K.isAnimationEnabled=_,K}function C(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function _(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function I(W,X){W.off("emphasis").off("normal");var K=X.symbolScale.slice();X.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[K[0]*1.1,K[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:K.slice()},400,"elasticOut")})}function k(W,X,K,$){var ie=new x.Group,be=new x.Group;return ie.add(be),ie.__pictorialBundle=be,be.attr("position",K.bundlePosition.slice()),K.symbolRepeat?v(ie,X,K):w(ie,X,K),O(ie,K,$),T(ie,X,K,$),ie.__pictorialShapeStr=j(W,K),ie.__pictorialSymbolMeta=K,ie}function F(W,X,K){var $=K.animationModel,ie=K.dataIndex,be=W.__pictorialBundle;x.updateProps(be,{position:K.bundlePosition.slice()},$,ie),K.symbolRepeat?v(W,X,K,!0):w(W,X,K,!0),O(W,K,!0),T(W,X,K,!0)}function B(W,X,K,$){var ie=$.__pictorialBarRect;ie&&(ie.style.text=null);var be=[];z($,function(te){be.push(te)}),$.__pictorialMainPath&&be.push($.__pictorialMainPath),$.__pictorialClipPath&&(K=null),f.each(be,function(te){x.updateProps(te,{scale:[0,0]},K,X,function(){$.parent&&$.parent.remove($)})}),W.setItemGraphicEl(X,null)}function j(W,X){return[W.getItemVisual(X.dataIndex,"symbol")||"none",!!X.symbolRepeat,!!X.symbolClip].join(":")}function z(W,X,K){f.each(W.__pictorialBundle.children(),function($){$!==W.__pictorialBarRect&&X.call(K,$)})}function M(W,X,K,$,ie,be){X&&W.attr(X),$.symbolClip&&!ie?K&&W.attr(K):K&&x[ie?"updateProps":"initProps"](W,K,$.animationModel,$.dataIndex,be)}function U(W,X,K){var $=K.color,ie=K.dataIndex,be=K.itemModel,te=be.getModel("itemStyle").getItemStyle(["color"]),Te=be.getModel("emphasis.itemStyle").getItemStyle(),Ie=be.getShallow("cursor");z(W,function(He){He.setColor($),He.setStyle(f.defaults({fill:$,opacity:K.opacity},te)),x.setHoverStyle(He,Te),Ie&&(He.cursor=Ie),He.z2=K.z2});var Fe={},Qe=X.valueDim.posDesc[+(K.boundingLength>0)],fe=W.__pictorialBarRect;n(fe.style,Fe,be,$,X.seriesModel,ie,Qe),x.setHoverStyle(fe,Fe)}function P(W){var X=Math.round(W);return Math.abs(W-X)<1e-4?X:Math.ceil(W)}var H=l;R.exports=H},"N/zr":function(R,N,e){"use strict";function A(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(s){return typeof s}:A=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},A(p)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=m(e("Lo0S"));function x(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return x=function(){return p},p}function m(p){if(p&&p.__esModule)return p;if(p===null||A(p)!=="object"&&typeof p!="function")return{default:p};var c=x();if(c&&c.has(p))return c.get(p);var s={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in p)if(Object.prototype.hasOwnProperty.call(p,n)){var i=a?Object.getOwnPropertyDescriptor(p,n):null;i&&(i.get||i.set)?Object.defineProperty(s,n,i):s[n]=p[n]}return s.default=p,c&&c.set(p,s),s}var g={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var s="",a=c.length,n=a%3,i=0;i<a-2;i+=3)s+=this.toBase64Table[c[i]>>2],s+=this.toBase64Table[((c[i]&3)<<4)+(c[i+1]>>4)],s+=this.toBase64Table[((c[i+1]&15)<<2)+(c[i+2]>>6)],s+=this.toBase64Table[c[i+2]&63];var d=a-n;return n===2?(s+=this.toBase64Table[c[d]>>2],s+=this.toBase64Table[((c[d]&3)<<4)+(c[d+1]>>4)],s+=this.toBase64Table[(c[d+1]&15)<<2],s+=this.toBase64Table[64]):n===1&&(s+=this.toBase64Table[c[d]>>2],s+=this.toBase64Table[(c[d]&3)<<4],s+=this.toBase64Table[64],s+=this.toBase64Table[64]),s},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 s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=c.indexOf("=")-s;a<0&&(a=c.length-s);for(var n=(a>>2)*3+Math.floor(a%4/1.5),i=new Array(n),d=0,t=0,l=0,r=s;r<c.length;r++){var o=this.toBinaryTable[c.charCodeAt(r)&127],u=c.charAt(r)===this.base64Pad;if(o===-1){f.Error("Illegal character code "+c.charCodeAt(r)+" at position "+r);continue}t=t<<6|o,d+=6,d>=8&&(d-=8,u||(i[l++]=t>>d&255),t&=(1<<d)-1)}if(d){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return i}};N.default=g},N5BQ:function(R,N,e){var A=e("OlYY"),f=A.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"}}}),x=f;R.exports=x},NA0q:function(R,N,e){var A=e("bYtY"),f=e("6Ic6"),x=e("TkdX"),m=e("gPAo"),g=e("7aKB"),p=g.windowOpen,c="sunburstRootToNode",s=f.extend({type:"sunburst",init:function(){},render:function(n,i,d,t){var l=this;this.seriesModel=n,this.api=d,this.ecModel=i;var r=n.getData(),o=r.tree.root,u=n.getViewRoot(),h=this.group,y=n.get("renderLabelForZeroData"),b=[];u.eachNode(function(_){b.push(_)});var E=this._oldChildren||[];if(O(b,E),C(o,u),t&&t.highlight&&t.highlight.piece){var v=n.getShallow("highlightPolicy");t.highlight.piece.onEmphasis(v)}else if(t&&t.unhighlight){var w=this.virtualPiece;!w&&o.children.length&&(w=o.children[0].piece),w&&w.onNormal()}this._initEvents(),this._oldChildren=b;function O(_,I){if(_.length===0&&I.length===0)return;new m(I,_,k,k).add(F).update(F).remove(A.curry(F,null)).execute();function k(B){return B.getId()}function F(B,j){var z=B==null?null:_[B],M=j==null?null:I[j];T(z,M)}}function T(_,I){if(!y&&_&&!_.getValue()&&(_=null),_!==o&&I!==o){if(I&&I.piece)_?(I.piece.updateData(!1,_,"normal",n,i),r.setItemGraphicEl(_.dataIndex,I.piece)):S(I);else if(_){var k=new x(_,n,i);h.add(k),r.setItemGraphicEl(_.dataIndex,k)}}}function S(_){if(!_)return;_.piece&&(h.remove(_.piece),_.piece=null)}function C(_,I){if(I.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,_,"normal",n,i):(l.virtualPiece=new x(_,n,i),h.add(l.virtualPiece)),I.piece._onclickEvent&&I.piece.off("click",I.piece._onclickEvent);var k=function(F){l._rootToNode(I.parentNode)};I.piece._onclickEvent=k,l.virtualPiece.on("click",k)}else l.virtualPiece&&(h.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var n=this,i=function(d){var t=!1,l=n.seriesModel.getViewRoot();l.eachNode(function(r){if(!t&&r.piece&&r.piece.childAt(0)===d.target){var o=r.getModel().get("nodeClick");if(o==="rootToNode")n._rootToNode(r);else if(o==="link"){var u=r.getModel(),h=u.get("link");if(h){var y=u.get("target",!0)||"_blank";p(h,y)}}t=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",i),this.group._onclickEvent=i},_rootToNode:function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},containPoint:function(n,i){var d=i.getData(),t=d.getItemLayout(0);if(t){var l=n[0]-t.cx,r=n[1]-t.cy,o=Math.sqrt(l*l+r*r);return o<=t.r&&o>=t.r0}}}),a=s;R.exports=a},NAnI:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},NBmB:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.encodingName=f,N.encodings=void 0;var A={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};N.encodings=A;function f(x){switch(x){case A.encodingRaw:return"Raw";case A.encodingCopyRect:return"CopyRect";case A.encodingRRE:return"RRE";case A.encodingHextile:return"Hextile";case A.encodingTight:return"Tight";case A.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+x+"]"}}},NC18:function(R,N,e){var A=e("y+Vt"),f=e("IMiH"),x=e("7oTu"),m=Math.sqrt,g=Math.sin,p=Math.cos,c=Math.PI,s=function(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])},a=function(b,E){return(b[0]*E[0]+b[1]*E[1])/(s(b)*s(E))},n=function(b,E){return(b[0]*E[1]<b[1]*E[0]?-1:1)*Math.acos(a(b,E))};function i(y,b,E,v,w,O,T,S,C,_,I){var k=C*(c/180),F=p(k)*(y-E)/2+g(k)*(b-v)/2,B=-1*g(k)*(y-E)/2+p(k)*(b-v)/2,j=F*F/(T*T)+B*B/(S*S);j>1&&(T*=m(j),S*=m(j));var z=(w===O?-1:1)*m((T*T*(S*S)-T*T*(B*B)-S*S*(F*F))/(T*T*(B*B)+S*S*(F*F)))||0,M=z*T*B/S,U=z*-S*F/T,P=(y+E)/2+p(k)*M-g(k)*U,H=(b+v)/2+g(k)*M+p(k)*U,W=n([1,0],[(F-M)/T,(B-U)/S]),X=[(F-M)/T,(B-U)/S],K=[(-1*F-M)/T,(-1*B-U)/S],$=n(X,K);a(X,K)<=-1&&($=c),a(X,K)>=1&&($=0),O===0&&$>0&&($=$-2*c),O===1&&$<0&&($=$+2*c),I.addData(_,P,H,T,S,W,$,k,O)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,t=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(y){if(!y)return new f;for(var b=0,E=0,v=b,w=E,O,T=new f,S=f.CMD,C=y.match(d),_=0;_<C.length;_++){for(var I=C[_],k=I.charAt(0),F,B=I.match(t)||[],j=B.length,z=0;z<j;z++)B[z]=parseFloat(B[z]);for(var M=0;M<j;){var U,P,H,W,X,K,$,ie=b,be=E;switch(k){case"l":b+=B[M++],E+=B[M++],F=S.L,T.addData(F,b,E);break;case"L":b=B[M++],E=B[M++],F=S.L,T.addData(F,b,E);break;case"m":b+=B[M++],E+=B[M++],F=S.M,T.addData(F,b,E),v=b,w=E,k="l";break;case"M":b=B[M++],E=B[M++],F=S.M,T.addData(F,b,E),v=b,w=E,k="L";break;case"h":b+=B[M++],F=S.L,T.addData(F,b,E);break;case"H":b=B[M++],F=S.L,T.addData(F,b,E);break;case"v":E+=B[M++],F=S.L,T.addData(F,b,E);break;case"V":E=B[M++],F=S.L,T.addData(F,b,E);break;case"C":F=S.C,T.addData(F,B[M++],B[M++],B[M++],B[M++],B[M++],B[M++]),b=B[M-2],E=B[M-1];break;case"c":F=S.C,T.addData(F,B[M++]+b,B[M++]+E,B[M++]+b,B[M++]+E,B[M++]+b,B[M++]+E),b+=B[M-2],E+=B[M-1];break;case"S":U=b,P=E;var te=T.len(),Te=T.data;O===S.C&&(U+=b-Te[te-4],P+=E-Te[te-3]),F=S.C,ie=B[M++],be=B[M++],b=B[M++],E=B[M++],T.addData(F,U,P,ie,be,b,E);break;case"s":U=b,P=E;var te=T.len(),Te=T.data;O===S.C&&(U+=b-Te[te-4],P+=E-Te[te-3]),F=S.C,ie=b+B[M++],be=E+B[M++],b+=B[M++],E+=B[M++],T.addData(F,U,P,ie,be,b,E);break;case"Q":ie=B[M++],be=B[M++],b=B[M++],E=B[M++],F=S.Q,T.addData(F,ie,be,b,E);break;case"q":ie=B[M++]+b,be=B[M++]+E,b+=B[M++],E+=B[M++],F=S.Q,T.addData(F,ie,be,b,E);break;case"T":U=b,P=E;var te=T.len(),Te=T.data;O===S.Q&&(U+=b-Te[te-4],P+=E-Te[te-3]),b=B[M++],E=B[M++],F=S.Q,T.addData(F,U,P,b,E);break;case"t":U=b,P=E;var te=T.len(),Te=T.data;O===S.Q&&(U+=b-Te[te-4],P+=E-Te[te-3]),b+=B[M++],E+=B[M++],F=S.Q,T.addData(F,U,P,b,E);break;case"A":H=B[M++],W=B[M++],X=B[M++],K=B[M++],$=B[M++],ie=b,be=E,b=B[M++],E=B[M++],F=S.A,i(ie,be,b,E,K,$,H,W,X,F,T);break;case"a":H=B[M++],W=B[M++],X=B[M++],K=B[M++],$=B[M++],ie=b,be=E,b+=B[M++],E+=B[M++],F=S.A,i(ie,be,b,E,K,$,H,W,X,F,T);break}}(k==="z"||k==="Z")&&(F=S.Z,T.addData(F),b=v,E=w),O=F}return T.toStatic(),T}function r(y,b){var E=l(y);return b=b||{},b.buildPath=function(v){if(v.setData){v.setData(E.data);var w=v.getContext();w&&v.rebuildPath(w)}else{var w=v;E.rebuildPath(w)}},b.applyTransform=function(v){x(E,v),this.dirty(!0)},b}function o(y,b){return new A(r(y,b))}function u(y,b){return A.extend(r(y,b))}function h(y,b){for(var E=[],v=y.length,w=0;w<v;w++){var O=y[w];O.path||O.createPathProxy(),O.__dirtyPath&&O.buildPath(O.path,O.shape,!0),E.push(O.path)}var T=new A(b);return T.createPathProxy(),T.buildPath=function(S){S.appendPath(E);var C=S.getContext();C&&S.rebuildPath(C)},T}N.createFromString=o,N.extendFromString=u,N.mergePath=h},NH9N:function(R,N,e){var A=e("bYtY"),f=e("mFDi"),x=e("Fofx"),m=e("IwbS"),g=e("+TT/"),p=e("kzvK"),c=e("CMP+"),s=e("oVpE"),a=s.createSymbol,n=e("aX7z"),i=e("OELB"),d=e("7aKB"),t=d.encodeHTML,l=A.bind,r=A.each,o=Math.PI,u=p.extend({type:"timeline.slider",init:function(v,w){this.api=w,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(v,w,O,T){if(this.model=v,this.api=O,this.ecModel=w,this.group.removeAll(),v.get("show",!0)){var S=this._layout(v,O),C=this._createGroup("mainGroup"),_=this._createGroup("labelGroup"),I=this._axis=this._createAxis(S,v);v.formatTooltip=function(k){return t(I.scale.getLabel(k))},r(["AxisLine","AxisTick","Control","CurrentPointer"],function(k){this["_render"+k](S,C,I,v)},this),this._renderAxisLabel(S,_,I,v),this._position(S,v)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(v,w){var O=v.get("label.position"),T=v.get("orient"),S=h(v,w);O==null||O==="auto"?O=T==="horizontal"?S.y+S.height/2<w.getHeight()/2?"-":"+":S.x+S.width/2<w.getWidth()/2?"+":"-":isNaN(O)&&(O={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][O]);var C={horizontal:"center",vertical:O>=0||O==="+"?"left":"right"},_={horizontal:O>=0||O==="+"?"top":"bottom",vertical:"middle"},I={horizontal:0,vertical:o/2},k=T==="vertical"?S.height:S.width,F=v.getModel("controlStyle"),B=F.get("show",!0),j=B?F.get("itemSize"):0,z=B?F.get("itemGap"):0,M=j+z,U=v.get("label.rotate")||0;U=U*o/180;var P,H,W,X,K=F.get("position",!0),$=B&&F.get("showPlayBtn",!0),ie=B&&F.get("showPrevBtn",!0),be=B&&F.get("showNextBtn",!0),te=0,Te=k;return K==="left"||K==="bottom"?($&&(P=[0,0],te+=M),ie&&(H=[te,0],te+=M),be&&(W=[Te-j,0],Te-=M)):($&&(P=[Te-j,0],Te-=M),ie&&(H=[0,0],te+=M),be&&(W=[Te-j,0],Te-=M)),X=[te,Te],v.get("inverse")&&X.reverse(),{viewRect:S,mainLength:k,orient:T,rotation:I[T],labelRotation:U,labelPosOpt:O,labelAlign:v.get("label.align")||C[T],labelBaseline:v.get("label.verticalAlign")||v.get("label.baseline")||_[T],playPosition:P,prevBtnPosition:H,nextBtnPosition:W,axisExtent:X,controlSize:j,controlGap:z}},_position:function(v,w){var O=this._mainGroup,T=this._labelGroup,S=v.viewRect;if(v.orient==="vertical"){var C=x.create(),_=S.x,I=S.y+S.height;x.translate(C,C,[-_,-I]),x.rotate(C,C,-o/2),x.translate(C,C,[_,I]),S=S.clone(),S.applyTransform(C)}var k=H(S),F=H(O.getBoundingRect()),B=H(T.getBoundingRect()),j=O.position,z=T.position;z[0]=j[0]=k[0][0];var M=v.labelPosOpt;if(isNaN(M)){var U=M==="+"?0:1;W(j,F,k,1,U),W(z,B,k,1,1-U)}else{var U=M>=0?0:1;W(j,F,k,1,U),z[1]=j[1]+M}O.attr("position",j),T.attr("position",z),O.rotation=T.rotation=v.rotation,P(O),P(T);function P(X){var K=X.position;X.origin=[k[0][0]-K[0],k[1][0]-K[1]]}function H(X){return[[X.x,X.x+X.width],[X.y,X.y+X.height]]}function W(X,K,$,ie,be){X[ie]+=$[ie][be]-K[ie][be]}},_createAxis:function(v,w){var O=w.getData(),T=w.get("axisType"),S=n.createScaleByModel(w,T);S.getTicks=function(){return O.mapArray(["value"],function(I){return I})};var C=O.getDataExtent("value");S.setExtent(C[0],C[1]),S.niceTicks();var _=new c("value",S,v.axisExtent,T);return _.model=w,_},_createGroup:function(v){var w=this["_"+v]=new m.Group;return this.group.add(w),w},_renderAxisLine:function(v,w,O,T){var S=O.getExtent();if(!T.get("lineStyle.show"))return;w.add(new m.Line({shape:{x1:S[0],y1:0,x2:S[1],y2:0},style:A.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(v,w,O,T){var S=T.getData(),C=O.scale.getTicks();r(C,function(_){var I=O.dataToCoord(_),k=S.getItemModel(_),F=k.getModel("itemStyle"),B=k.getModel("emphasis.itemStyle"),j={position:[I,0],onclick:l(this._changeTimeline,this,_)},z=b(k,F,w,j);m.setHoverStyle(z,B.getItemStyle()),k.get("tooltip")?(z.dataIndex=_,z.dataModel=T):z.dataIndex=z.dataModel=null},this)},_renderAxisLabel:function(v,w,O,T){var S=O.getLabelModel();if(!S.get("show"))return;var C=T.getData(),_=O.getViewLabels();r(_,function(I){var k=I.tickValue,F=C.getItemModel(k),B=F.getModel("label"),j=F.getModel("emphasis.label"),z=O.dataToCoord(I.tickValue),M=new m.Text({position:[z,0],rotation:v.labelRotation-v.rotation,onclick:l(this._changeTimeline,this,k),silent:!1});m.setTextStyle(M.style,B,{text:I.formattedLabel,textAlign:v.labelAlign,textVerticalAlign:v.labelBaseline}),w.add(M),m.setHoverStyle(M,m.setTextStyle({},j))},this)},_renderControl:function(v,w,O,T){var S=v.controlSize,C=v.rotation,_=T.getModel("controlStyle").getItemStyle(),I=T.getModel("emphasis.controlStyle").getItemStyle(),k=[0,-S/2,S,S],F=T.getPlayState(),B=T.get("inverse",!0);j(v.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,B?"-":"+")),j(v.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,B?"+":"-")),j(v.playPosition,"controlStyle."+(F?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!F),!0);function j(z,M,U,P){if(!z)return;var H={position:z,origin:[S/2,0],rotation:P?-C:0,rectHover:!0,style:_,onclick:U},W=y(T,M,k,H);w.add(W),m.setHoverStyle(W,I)}},_renderCurrentPointer:function(v,w,O,T){var S=T.getData(),C=T.getCurrentIndex(),_=S.getItemModel(C).getModel("checkpointStyle"),I=this,k={onCreate:function(F){F.draggable=!0,F.drift=l(I._handlePointerDrag,I),F.ondragend=l(I._handlePointerDragend,I),E(F,C,O,T,!0)},onUpdate:function(F){E(F,C,O,T)}};this._currentPointer=b(_,_,this._mainGroup,{},this._currentPointer,k)},_handlePlayClick:function(v){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:v,from:this.uid})},_handlePointerDrag:function(v,w,O){this._clearTimer(),this._pointerChangeTimeline([O.offsetX,O.offsetY])},_handlePointerDragend:function(v){this._pointerChangeTimeline([v.offsetX,v.offsetY],!0)},_pointerChangeTimeline:function(v,w){var O=this._toAxisCoord(v)[0],T=this._axis,S=i.asc(T.getExtent().slice());O>S[1]&&(O=S[1]),O<S[0]&&(O=S[0]),this._currentPointer.position[0]=O,this._currentPointer.dirty();var C=this._findNearestTick(O),_=this.model;(w||C!==_.getCurrentIndex()&&_.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(v,this),this.model.get("playInterval")));function v(){var w=this.model;this._changeTimeline(w.getCurrentIndex()+(w.get("rewind",!0)?-1:1))}},_toAxisCoord:function(v){var w=this._mainGroup.getLocalTransform();return m.applyTransform(v,w,!0)},_findNearestTick:function(v){var w=this.model.getData(),O=Infinity,T,S=this._axis;return w.each(["value"],function(C,_){var I=S.dataToCoord(C),k=Math.abs(I-v);k<O&&(O=k,T=_)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(v){var w=this.model.getCurrentIndex();v==="+"?v=w+1:v==="-"&&(v=w-1),this.api.dispatchAction({type:"timelineChange",currentIndex:v,from:this.uid})}});function h(v,w){return g.getLayoutRect(v.getBoxLayoutParams(),{width:w.getWidth(),height:w.getHeight()},v.get("padding"))}function y(v,w,O,T){var S=m.makePath(v.get(w).replace(/^path:\/\//,""),A.clone(T||{}),new f(O[0],O[1],O[2],O[3]),"center");return S}function b(v,w,O,T,S,C){var _=w.get("color");if(S)S.setColor(_),O.add(S),C&&C.onUpdate(S);else{var I=v.get("symbol");S=a(I,-1,-1,2,2,_),S.setStyle("strokeNoScale",!0),O.add(S),C&&C.onCreate(S)}var k=w.getItemStyle(["color","symbol","symbolSize"]);S.setStyle(k),T=A.merge({rectHover:!0,z2:100},T,!0);var F=v.get("symbolSize");F=F instanceof Array?F.slice():[+F,+F],F[0]/=2,F[1]/=2,T.scale=F;var B=v.get("symbolOffset");if(B){var j=T.position=T.position||[0,0];j[0]+=i.parsePercent(B[0],F[0]),j[1]+=i.parsePercent(B[1],F[1])}var z=v.get("symbolRotate");return T.rotation=(z||0)*Math.PI/180||0,S.attr(T),S.updateTransform(),S}function E(v,w,O,T,S){if(v.dragging)return;var C=T.getModel("checkpointStyle"),_=O.dataToCoord(T.getData().get(["value"],w));S||!C.get("animation",!0)?v.attr({position:[_,0]}):(v.stopAnimation(!0),v.animateTo({position:[_,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}R.exports=u},NJEC:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("J4zp"),m=e.n(x),g=e("q1tI"),p=e.n(g),c=e("TSYQ"),s=e.n(c),a=e("sKbD"),n=e.n(a),i=e("4IlW"),d=e("3S7+"),t=e("2/Rp"),l=e("zvFY"),r=e("YMnH"),o=e("ZvpZ"),u=e("H84U"),h=e("bogI"),y=e("0n0R"),b=void 0,E=function(w,O){var T={};for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&O.indexOf(S)<0&&(T[S]=w[S]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,S=Object.getOwnPropertySymbols(w);C<S.length;C++)O.indexOf(S[C])<0&&Object.prototype.propertyIsEnumerable.call(w,S[C])&&(T[S[C]]=w[S[C]]);return T},v=g.forwardRef(function(w,O){var T=g.useState(w.visible),S=m()(T,2),C=S[0],_=S[1];g.useEffect(function(){"visible"in w&&_(w.visible)},[w.visible]),g.useEffect(function(){"defaultVisible"in w&&_(w.defaultVisible)},[w.defaultVisible]);var I=function(Ie,Fe){"visible"in w||_(Ie),w.onVisibleChange&&w.onVisibleChange(Ie,Fe)},k=function(Ie){I(!1,Ie),w.onConfirm&&w.onConfirm.call(b,Ie)},F=function(Ie){I(!1,Ie),w.onCancel&&w.onCancel.call(b,Ie)},B=function(Ie){Ie.keyCode===i.a.ESC&&C&&I(!1,Ie)},j=function(Ie){var Fe=w.disabled;if(Fe)return;I(Ie)},z=function(Ie,Fe){var Qe=w.okButtonProps,fe=w.cancelButtonProps,He=w.title,se=w.cancelText,Ce=w.okText,mt=w.okType,Ne=w.icon;return g.createElement("div",{className:"".concat(Ie,"-inner-content")},g.createElement("div",{className:"".concat(Ie,"-message")},Ne,g.createElement("div",{className:"".concat(Ie,"-message-title")},Object(h.a)(He))),g.createElement("div",{className:"".concat(Ie,"-buttons")},g.createElement(t.a,f()({onClick:F,size:"small"},fe),se||Fe.cancelText),g.createElement(t.a,f()({onClick:k},Object(l.a)(mt),{size:"small"},Qe),Ce||Fe.okText)))},M=g.useContext(u.b),U=M.getPrefixCls,P=w.prefixCls,H=w.placement,W=w.children,X=w.overlayClassName,K=E(w,["prefixCls","placement","children","overlayClassName"]),$=U("popover",P),ie=U("popconfirm",P),be=s()(ie,X),te=g.createElement(r.a,{componentName:"Popconfirm",defaultLocale:o.a.Popconfirm},function(Te){return z($,Te)});return g.createElement(d.a,f()({},K,{prefixCls:$,placement:H,onVisibleChange:j,visible:C,overlay:te,overlayClassName:be,ref:O}),Object(y.a)(W,{onKeyDown:function(Ie){var Fe,Qe;(Qe=W==null?void 0:(Fe=W.props).onKeyDown)===null||Qe===void 0||Qe.call(Fe,Ie),B(Ie)}}))});v.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:g.createElement(n.a,null),disabled:!1},N.a=v},NUBc:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("q1tI"),p=e.n(g),c=e("wx14"),s=e("rePB"),a=e("VTBJ"),n=e("1OyB"),i=e("vuIU"),d=e("Ji7U"),t=e("LK+K"),l=e("TSYQ"),r=e.n(l),o=function(Fe){var Qe,fe="".concat(Fe.rootPrefixCls,"-item"),He=r()(fe,"".concat(fe,"-").concat(Fe.page),(Qe={},Object(s.a)(Qe,"".concat(fe,"-active"),Fe.active),Object(s.a)(Qe,Fe.className,!!Fe.className),Object(s.a)(Qe,"".concat(fe,"-disabled"),!Fe.page),Qe)),se=function(){Fe.onClick(Fe.page)},Ce=function(Ne){Fe.onKeyPress(Ne,Fe.onClick,Fe.page)};return p.a.createElement("li",{title:Fe.showTitle?Fe.page:null,className:He,onClick:se,onKeyPress:Ce,tabIndex:"0"},Fe.itemRender(Fe.page,"page",p.a.createElement("a",{rel:"nofollow"},Fe.page)))},u=o,h={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},y=function(Ie){Object(d.a)(Qe,Ie);var Fe=Object(t.a)(Qe);function Qe(){var fe;Object(n.a)(this,Qe);for(var He=arguments.length,se=new Array(He),Ce=0;Ce<He;Ce++)se[Ce]=arguments[Ce];return fe=Fe.call.apply(Fe,[this].concat(se)),fe.state={goInputText:""},fe.buildOptionText=function(mt){return"".concat(mt," ").concat(fe.props.locale.items_per_page)},fe.changeSize=function(mt){fe.props.changeSize(Number(mt))},fe.handleChange=function(mt){fe.setState({goInputText:mt.target.value})},fe.handleBlur=function(mt){var Ne=fe.props,ae=Ne.goButton,ce=Ne.quickGo,le=Ne.rootPrefixCls,je=fe.state.goInputText;if(ae||je==="")return;if(mt.relatedTarget&&(mt.relatedTarget.className.indexOf("".concat(le,"-prev"))>=0||mt.relatedTarget.className.indexOf("".concat(le,"-next"))>=0))return;fe.setState({goInputText:""}),ce(fe.getValidValue())},fe.go=function(mt){var Ne=fe.state.goInputText;if(Ne==="")return;(mt.keyCode===h.ENTER||mt.type==="click")&&(fe.setState({goInputText:""}),fe.props.quickGo(fe.getValidValue()))},fe}return Object(i.a)(Qe,[{key:"getValidValue",value:function(){var He=this.state,se=He.goInputText,Ce=He.current;return!se||isNaN(se)?Ce:Number(se)}},{key:"getPageSizeOptions",value:function(){var He=this.props,se=He.pageSize,Ce=He.pageSizeOptions;return Ce.some(function(mt){return mt.toString()===se.toString()})?Ce:Ce.concat([se.toString()]).sort(function(mt,Ne){var ae=isNaN(Number(mt))?0:Number(mt),ce=isNaN(Number(Ne))?0:Number(Ne);return ae-ce})}},{key:"render",value:function(){var He=this,se=this.props,Ce=se.pageSize,mt=se.locale,Ne=se.rootPrefixCls,ae=se.changeSize,ce=se.quickGo,le=se.goButton,je=se.selectComponentClass,Re=se.buildOptionText,Ze=se.selectPrefixCls,De=se.disabled,ne=this.state.goInputText,he="".concat(Ne,"-options"),pe=je,Xe=null,lt=null,At=null;if(!ae&&!ce)return null;var Me=this.getPageSizeOptions();if(ae&&pe){var Ht=Me.map(function(tt,Mt){return p.a.createElement(pe.Option,{key:Mt,value:tt.toString()},(Re||He.buildOptionText)(tt))});Xe=p.a.createElement(pe,{disabled:De,prefixCls:Ze,showSearch:!1,className:"".concat(he,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Ce||Me[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mt){return Mt.parentNode}},Ht)}return ce&&(le&&(At=typeof le=="boolean"?p.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:De,className:"".concat(he,"-quick-jumper-button")},mt.jump_to_confirm):p.a.createElement("span",{onClick:this.go,onKeyUp:this.go},le)),lt=p.a.createElement("div",{className:"".concat(he,"-quick-jumper")},mt.jump_to,p.a.createElement("input",{disabled:De,type:"text",value:ne,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),mt.page,At)),p.a.createElement("li",{className:"".concat(he)},Xe,lt)}}]),Qe}(p.a.Component);y.defaultProps={pageSizeOptions:["10","20","50","100"]};var b=y,E=e("N2Kk");function v(){}function w(Ie){return typeof Ie=="number"&&isFinite(Ie)&&Math.floor(Ie)===Ie}function O(Ie,Fe,Qe){return Qe}function T(Ie,Fe,Qe){var fe=typeof Ie=="undefined"?Fe.pageSize:Ie;return Math.floor((Qe.total-1)/fe)+1}var S=function(Ie){Object(d.a)(Qe,Ie);var Fe=Object(t.a)(Qe);function Qe(fe){var He;Object(n.a)(this,Qe),He=Fe.call(this,fe),He.getJumpPrevPage=function(){return Math.max(1,He.state.current-(He.props.showLessItems?3:5))},He.getJumpNextPage=function(){return Math.min(T(void 0,He.state,He.props),He.state.current+(He.props.showLessItems?3:5))},He.getItemIcon=function(ae,ce){var le=He.props.prefixCls,je=ae||p.a.createElement("button",{type:"button","aria-label":ce,className:"".concat(le,"-item-link")});return typeof ae=="function"&&(je=p.a.createElement(ae,Object(a.a)({},He.props))),je},He.savePaginationNode=function(ae){He.paginationNode=ae},He.isValid=function(ae){return w(ae)&&ae!==He.state.current},He.shouldDisplayQuickJumper=function(){var ae=He.props,ce=ae.showQuickJumper,le=ae.pageSize,je=ae.total;return je<=le?!1:ce},He.handleKeyDown=function(ae){(ae.keyCode===h.ARROW_UP||ae.keyCode===h.ARROW_DOWN)&&ae.preventDefault()},He.handleKeyUp=function(ae){var ce=He.getValidValue(ae),le=He.state.currentInputValue;ce!==le&&He.setState({currentInputValue:ce}),ae.keyCode===h.ENTER?He.handleChange(ce):ae.keyCode===h.ARROW_UP?He.handleChange(ce-1):ae.keyCode===h.ARROW_DOWN&&He.handleChange(ce+1)},He.changePageSize=function(ae){var ce=He.state.current,le=T(ae,He.state,He.props);ce=ce>le?le:ce,le===0&&(ce=He.state.current),typeof ae=="number"&&("pageSize"in He.props||He.setState({pageSize:ae}),"current"in He.props||He.setState({current:ce,currentInputValue:ce})),He.props.onShowSizeChange(ce,ae),"onChange"in He.props&&He.props.onChange&&He.props.onChange(ce,ae)},He.handleChange=function(ae){var ce=He.props.disabled,le=ae;if(He.isValid(le)&&!ce){var je=T(void 0,He.state,He.props);le>je?le=je:le<1&&(le=1),"current"in He.props||He.setState({current:le,currentInputValue:le});var Re=He.state.pageSize;return He.props.onChange(le,Re),le}return He.state.current},He.prev=function(){He.hasPrev()&&He.handleChange(He.state.current-1)},He.next=function(){He.hasNext()&&He.handleChange(He.state.current+1)},He.jumpPrev=function(){He.handleChange(He.getJumpPrevPage())},He.jumpNext=function(){He.handleChange(He.getJumpNextPage())},He.hasPrev=function(){return He.state.current>1},He.hasNext=function(){return He.state.current<T(void 0,He.state,He.props)},He.runIfEnter=function(ae,ce){if(ae.key==="Enter"||ae.charCode===13){for(var le=arguments.length,je=new Array(le>2?le-2:0),Re=2;Re<le;Re++)je[Re-2]=arguments[Re];ce.apply(void 0,je)}},He.runIfEnterPrev=function(ae){He.runIfEnter(ae,He.prev)},He.runIfEnterNext=function(ae){He.runIfEnter(ae,He.next)},He.runIfEnterJumpPrev=function(ae){He.runIfEnter(ae,He.jumpPrev)},He.runIfEnterJumpNext=function(ae){He.runIfEnter(ae,He.jumpNext)},He.handleGoTO=function(ae){(ae.keyCode===h.ENTER||ae.type==="click")&&He.handleChange(He.state.currentInputValue)};var se=fe.onChange!==v,Ce="current"in fe;Ce&&!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 mt=fe.defaultCurrent;"current"in fe&&(mt=fe.current);var Ne=fe.defaultPageSize;return"pageSize"in fe&&(Ne=fe.pageSize),mt=Math.min(mt,T(Ne,void 0,fe)),He.state={current:mt,currentInputValue:mt,pageSize:Ne},He}return Object(i.a)(Qe,[{key:"componentDidUpdate",value:function(He,se){var Ce=this.props.prefixCls;if(se.current!==this.state.current&&this.paginationNode){var mt=this.paginationNode.querySelector(".".concat(Ce,"-item-").concat(se.current));mt&&document.activeElement===mt&&mt.blur()}}},{key:"getValidValue",value:function(He){var se=He.target.value,Ce=T(void 0,this.state,this.props),mt=this.state.currentInputValue,Ne;return se===""?Ne=se:isNaN(Number(se))?Ne=mt:se>=Ce?Ne=Ce:Ne=Number(se),Ne}},{key:"getShowSizeChanger",value:function(){var He=this.props,se=He.showSizeChanger,Ce=He.total,mt=He.totalBoundaryShowSizeChanger;return typeof se!="undefined"?se:Ce>mt}},{key:"renderPrev",value:function(He){var se=this.props,Ce=se.prevIcon,mt=se.itemRender,Ne=mt(He,"prev",this.getItemIcon(Ce,"prev page")),ae=!this.hasPrev();return Object(g.isValidElement)(Ne)?Object(g.cloneElement)(Ne,{disabled:ae}):Ne}},{key:"renderNext",value:function(He){var se=this.props,Ce=se.nextIcon,mt=se.itemRender,Ne=mt(He,"next",this.getItemIcon(Ce,"next page")),ae=!this.hasNext();return Object(g.isValidElement)(Ne)?Object(g.cloneElement)(Ne,{disabled:ae}):Ne}},{key:"render",value:function(){var He=this,se=this.props,Ce=se.prefixCls,mt=se.className,Ne=se.style,ae=se.disabled,ce=se.hideOnSinglePage,le=se.total,je=se.locale,Re=se.showQuickJumper,Ze=se.showLessItems,De=se.showTitle,ne=se.showTotal,he=se.simple,pe=se.itemRender,Xe=se.showPrevNextJumpers,lt=se.jumpPrevIcon,At=se.jumpNextIcon,Me=se.selectComponentClass,Ht=se.selectPrefixCls,tt=se.pageSizeOptions,Mt=this.state,jt=Mt.current,kt=Mt.pageSize,Tt=Mt.currentInputValue;if(ce===!0&&le<=kt)return null;var Dt=T(void 0,this.state,this.props),Ue=[],G=null,Y=null,Pe=null,Be=null,J=null,St=Re&&Re.goButton,bt=Ze?1:2,nt=jt-1>0?jt-1:0,Rt=jt+1<Dt?jt+1:Dt,zt=Object.keys(this.props).reduce(function(Bt,dr){return(dr.substr(0,5)==="data-"||dr.substr(0,5)==="aria-"||dr==="role")&&(Bt[dr]=He.props[dr]),Bt},{});if(he)return St&&(typeof St=="boolean"?J=p.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},je.jump_to_confirm):J=p.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},St),J=p.a.createElement("li",{title:De?"".concat(je.jump_to).concat(jt,"/").concat(Dt):null,className:"".concat(Ce,"-simple-pager")},J)),p.a.createElement("ul",Object(c.a)({className:r()(Ce,"".concat(Ce,"-simple"),Object(s.a)({},"".concat(Ce,"-disabled"),ae),mt),style:Ne,ref:this.savePaginationNode},zt),p.a.createElement("li",{title:De?je.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Ce,"-prev"),Object(s.a)({},"".concat(Ce,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(nt)),p.a.createElement("li",{title:De?"".concat(jt,"/").concat(Dt):null,className:"".concat(Ce,"-simple-pager")},p.a.createElement("input",{type:"text",value:Tt,disabled:ae,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),p.a.createElement("span",{className:"".concat(Ce,"-slash")},"/"),Dt),p.a.createElement("li",{title:De?je.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(Ce,"-next"),Object(s.a)({},"".concat(Ce,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Rt)),J);if(Dt<=3+bt*2){var Fr={locale:je,rootPrefixCls:Ce,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:De,itemRender:pe};Dt||Ue.push(p.a.createElement(u,Object(c.a)({},Fr,{key:"noPager",page:Dt,className:"".concat(Ce,"-disabled")})));for(var Jt=1;Jt<=Dt;Jt+=1){var ge=jt===Jt;Ue.push(p.a.createElement(u,Object(c.a)({},Fr,{key:Jt,page:Jt,active:ge})))}}else{var ye=Ze?je.prev_3:je.prev_5,Le=Ze?je.next_3:je.next_5;Xe&&(G=p.a.createElement("li",{title:De?ye:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(Ce,"-jump-prev"),Object(s.a)({},"".concat(Ce,"-jump-prev-custom-icon"),!!lt))},pe(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(lt,"prev page"))),Y=p.a.createElement("li",{title:De?Le:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(Ce,"-jump-next"),Object(s.a)({},"".concat(Ce,"-jump-next-custom-icon"),!!At))},pe(this.getJumpNextPage(),"jump-next",this.getItemIcon(At,"next page")))),Be=p.a.createElement(u,{locale:je,last:!0,rootPrefixCls:Ce,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dt,page:Dt,active:!1,showTitle:De,itemRender:pe}),Pe=p.a.createElement(u,{locale:je,rootPrefixCls:Ce,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:De,itemRender:pe});var we=Math.max(1,jt-bt),Ke=Math.min(jt+bt,Dt);jt-1<=bt&&(Ke=1+bt*2),Dt-jt<=bt&&(we=Dt-bt*2);for(var Je=we;Je<=Ke;Je+=1){var ut=jt===Je;Ue.push(p.a.createElement(u,{locale:je,rootPrefixCls:Ce,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Je,page:Je,active:ut,showTitle:De,itemRender:pe}))}jt-1>=bt*2&&jt!==1+2&&(Ue[0]=Object(g.cloneElement)(Ue[0],{className:"".concat(Ce,"-item-after-jump-prev")}),Ue.unshift(G)),Dt-jt>=bt*2&&jt!==Dt-2&&(Ue[Ue.length-1]=Object(g.cloneElement)(Ue[Ue.length-1],{className:"".concat(Ce,"-item-before-jump-next")}),Ue.push(Y)),we!==1&&Ue.unshift(Pe),Ke!==Dt&&Ue.push(Be)}var vt=null;ne&&(vt=p.a.createElement("li",{className:"".concat(Ce,"-total-text")},ne(le,[le===0?0:(jt-1)*kt+1,jt*kt>le?le:jt*kt])));var _t=!this.hasPrev()||!Dt,Ut=!this.hasNext()||!Dt;return p.a.createElement("ul",Object(c.a)({className:r()(Ce,mt,Object(s.a)({},"".concat(Ce,"-disabled"),ae)),style:Ne,unselectable:"unselectable",ref:this.savePaginationNode},zt),vt,p.a.createElement("li",{title:De?je.prev_page:null,onClick:this.prev,tabIndex:_t?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Ce,"-prev"),Object(s.a)({},"".concat(Ce,"-disabled"),_t)),"aria-disabled":_t},this.renderPrev(nt)),Ue,p.a.createElement("li",{title:De?je.next_page:null,onClick:this.next,tabIndex:Ut?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(Ce,"-next"),Object(s.a)({},"".concat(Ce,"-disabled"),Ut)),"aria-disabled":Ut},this.renderNext(Rt)),p.a.createElement(b,{disabled:ae,locale:je,rootPrefixCls:Ce,selectComponentClass:Me,selectPrefixCls:Ht,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:jt,pageSize:kt,pageSizeOptions:tt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:St}))}}],[{key:"getDerivedStateFromProps",value:function(He,se){var Ce={};if("current"in He&&(Ce.current=He.current,He.current!==se.current&&(Ce.currentInputValue=Ce.current)),"pageSize"in He&&He.pageSize!==se.pageSize){var mt=se.current,Ne=T(He.pageSize,se,He);mt=mt>Ne?Ne:mt,"current"in He||(Ce.current=mt,Ce.currentInputValue=mt),Ce.pageSize=He.pageSize}return Ce}}]),Qe}(p.a.Component);S.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:v,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:v,locale:E.a,style:{},itemRender:O,totalBoundaryShowSizeChanger:50};var C=S,_=e("H4fg"),I=e("DFhj"),k=e.n(I),F=e("fEPi"),B=e.n(F),j=e("u9fO"),z=e.n(j),M=e("mO/d"),U=e.n(M),P=e("2fM7"),H=function(Fe){return g.createElement(P.a,m()({size:"small"},Fe))};H.Option=P.a.Option;var W=H,X=e("YMnH"),K=e("H84U"),$=e("5OYt"),ie=function(Ie,Fe){var Qe={};for(var fe in Ie)Object.prototype.hasOwnProperty.call(Ie,fe)&&Fe.indexOf(fe)<0&&(Qe[fe]=Ie[fe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,fe=Object.getOwnPropertySymbols(Ie);He<fe.length;He++)Fe.indexOf(fe[He])<0&&Object.prototype.propertyIsEnumerable.call(Ie,fe[He])&&(Qe[fe[He]]=Ie[fe[He]]);return Qe},be=function(Fe){var Qe=Fe.prefixCls,fe=Fe.selectPrefixCls,He=Fe.className,se=Fe.size,Ce=Fe.locale,mt=ie(Fe,["prefixCls","selectPrefixCls","className","size","locale"]),Ne=Object($.a)(),ae=Ne.xs,ce=g.useContext(K.b),le=ce.getPrefixCls,je=ce.direction,Re=le("pagination",Qe),Ze=function(){var he=g.createElement("span",{className:"".concat(Re,"-item-ellipsis")},"\u2022\u2022\u2022"),pe=g.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},g.createElement(k.a,null)),Xe=g.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},g.createElement(B.a,null)),lt=g.createElement("a",{className:"".concat(Re,"-item-link")},g.createElement("div",{className:"".concat(Re,"-item-container")},g.createElement(z.a,{className:"".concat(Re,"-item-link-icon")}),he)),At=g.createElement("a",{className:"".concat(Re,"-item-link")},g.createElement("div",{className:"".concat(Re,"-item-container")},g.createElement(U.a,{className:"".concat(Re,"-item-link-icon")}),he));if(je==="rtl"){var Me=[Xe,pe];pe=Me[0],Xe=Me[1];var Ht=[At,lt];lt=Ht[0],At=Ht[1]}return{prevIcon:pe,nextIcon:Xe,jumpPrevIcon:lt,jumpNextIcon:At}},De=function(he){var pe=m()(m()({},he),Ce),Xe=se==="small"||!!(ae&&!se&&mt.responsive),lt=le("select",fe),At=r()(He,f()({mini:Xe},"".concat(Re,"-rtl"),je==="rtl"));return g.createElement(C,m()({},mt,{prefixCls:Re,selectPrefixCls:lt},Ze(),{className:At,selectComponentClass:Xe?W:P.a,locale:pe}))};return g.createElement(X.a,{componentName:"Pagination",defaultLocale:_.a},De)},te=be,Te=N.a=te},NohK:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=function(x){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,g=null;return function(){for(var p=this,c=arguments.length,s=new Array(c),a=0;a<c;a++)s[a]=arguments[a];clearTimeout(g),g=setTimeout(function(){x.apply(p,s)},m)}};N.default=A},Nu4q:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={icon:function(x,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:x}},{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:x}}]}},name:"picture",theme:"twotone"};N.default=A},"O/iA":function(R,N,e){},O3gP:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("O/iA"),m=e.n(x),g=e("OaEy")},OELB:function(R,N,e){var A=e("bYtY"),f=1e-4;function x(w){return w.replace(/^\s+|\s+$/g,"")}function m(w,O,T,S){var C=O[1]-O[0],_=T[1]-T[0];if(C===0)return _===0?T[0]:(T[0]+T[1])/2;if(S)if(C>0){if(w<=O[0])return T[0];if(w>=O[1])return T[1]}else{if(w>=O[0])return T[0];if(w<=O[1])return T[1]}else{if(w===O[0])return T[0];if(w===O[1])return T[1]}return(w-O[0])/C*_+T[0]}function g(w,O){switch(w){case"center":case"middle":w="50%";break;case"left":case"top":w="0%";break;case"right":case"bottom":w="100%";break}return typeof w=="string"?x(w).match(/%$/)?parseFloat(w)/100*O:parseFloat(w):w==null?NaN:+w}function p(w,O,T){return O==null&&(O=10),O=Math.min(Math.max(0,O),20),w=(+w).toFixed(O),T?w:+w}function c(w){return w.sort(function(O,T){return O-T}),w}function s(w){if(w=+w,isNaN(w))return 0;for(var O=1,T=0;Math.round(w*O)/O!==w;)O*=10,T++;return T}function a(w){var O=w.toString(),T=O.indexOf("e");if(T>0){var S=+O.slice(T+1);return S<0?-S:0}else{var C=O.indexOf(".");return C<0?0:O.length-1-C}}function n(w,O){var T=Math.log,S=Math.LN10,C=Math.floor(T(w[1]-w[0])/S),_=Math.round(T(Math.abs(O[1]-O[0]))/S),I=Math.min(Math.max(-C+_,0),20);return isFinite(I)?I:20}function i(w,O,T){if(!w[O])return 0;var S=A.reduce(w,function(P,H){return P+(isNaN(H)?0:H)},0);if(S===0)return 0;for(var C=Math.pow(10,T),_=A.map(w,function(P){return(isNaN(P)?0:P)/S*C*100}),I=C*100,k=A.map(_,function(P){return Math.floor(P)}),F=A.reduce(k,function(P,H){return P+H},0),B=A.map(_,function(P,H){return P-k[H]});F<I;){for(var j=Number.NEGATIVE_INFINITY,z=null,M=0,U=B.length;M<U;++M)B[M]>j&&(j=B[M],z=M);++k[z],B[z]=0,++F}return k[O]/C}var d=9007199254740991;function t(w){var O=Math.PI*2;return(w%O+O)%O}function l(w){return w>-f&&w<f}var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(w){if(w instanceof Date)return w;if(typeof w=="string"){var O=r.exec(w);if(!O)return new Date(NaN);if(O[8]){var T=+O[4]||0;return O[8].toUpperCase()!=="Z"&&(T-=O[8].slice(0,3)),new Date(Date.UTC(+O[1],+(O[2]||1)-1,+O[3]||1,T,+(O[5]||0),+O[6]||0,+O[7]||0))}else return new Date(+O[1],+(O[2]||1)-1,+O[3]||1,+O[4]||0,+(O[5]||0),+O[6]||0,+O[7]||0)}else if(w==null)return new Date(NaN);return new Date(Math.round(w))}function u(w){return Math.pow(10,h(w))}function h(w){if(w===0)return 0;var O=Math.floor(Math.log(w)/Math.LN10);return w/Math.pow(10,O)>=10&&O++,O}function y(w,O){var T=h(w),S=Math.pow(10,T),C=w/S,_;return O?C<1.5?_=1:C<2.5?_=2:C<4?_=3:C<7?_=5:_=10:C<1?_=1:C<2?_=2:C<3?_=3:C<5?_=5:_=10,w=_*S,T>=-20?+w.toFixed(T<0?-T:0):w}function b(w,O){var T=(w.length-1)*O+1,S=Math.floor(T),C=+w[S-1],_=T-S;return _?C+_*(w[S]-C):C}function E(w){w.sort(function(F,B){return k(F,B,0)?-1:1});for(var O=-Infinity,T=1,S=0;S<w.length;){for(var C=w[S].interval,_=w[S].close,I=0;I<2;I++)C[I]<=O&&(C[I]=O,_[I]=I?1:1-T),O=C[I],T=_[I];C[0]===C[1]&&_[0]*_[1]!==1?w.splice(S,1):S++}return w;function k(F,B,j){return F.interval[j]<B.interval[j]||F.interval[j]===B.interval[j]&&(F.close[j]-B.close[j]===(j?-1:1)||!j&&k(F,B,1))}}function v(w){return w-parseFloat(w)>=0}N.linearMap=m,N.parsePercent=g,N.round=p,N.asc=c,N.getPrecision=s,N.getPrecisionSafe=a,N.getPixelPrecision=n,N.getPercentWithPrecision=i,N.MAX_SAFE_INTEGER=d,N.remRadian=t,N.isRadianAroundZero=l,N.parseDate=o,N.quantity=u,N.quantityExponent=h,N.nice=y,N.quantile=b,N.reformIntervals=E,N.isNumeric=v},OKJ2:function(R,N,e){var A=e("KxfA"),f=A.retrieveRawValue,x=e("7aKB"),m=x.getTooltipMarker,g=x.formatTpl,p=e("4NO4"),c=p.getTooltipRenderMode,s=/\{@(.+?)\}/g,a={getDataParams:function(n,i){var d=this.getData(i),t=this.getRawValue(n,i),l=d.getRawIndex(n),r=d.getName(n),o=d.getRawDataItem(n),u=d.getItemVisual(n,"color"),h=d.getItemVisual(n,"borderColor"),y=this.ecModel.getComponent("tooltip"),b=y&&y.get("renderMode"),E=c(b),v=this.mainType,w=v==="series",O=d.userOutput;return{componentType:v,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:w?this.subType:null,seriesIndex:this.seriesIndex,seriesId:w?this.id:null,seriesName:w?this.name:null,name:r,dataIndex:l,data:o,dataType:i,value:t,color:u,borderColor:h,dimensionNames:O?O.dimensionNames:null,encode:O?O.encode:null,marker:m({color:u,renderMode:E}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(n,i,d,t,l){i=i||"normal";var r=this.getData(d),o=r.getItemModel(n),u=this.getDataParams(n,d);t!=null&&u.value instanceof Array&&(u.value=u.value[t]);var h=o.get(i==="normal"?[l||"label","formatter"]:[i,l||"label","formatter"]);if(typeof h=="function")return u.status=i,u.dimensionIndex=t,h(u);if(typeof h=="string"){var y=g(h,u);return y.replace(s,function(b,E){var v=E.length;return E.charAt(0)==="["&&E.charAt(v-1)==="]"&&(E=+E.slice(1,v-1)),f(r,n,E)})}},getRawValue:function(n,i){return f(this.getData(i),n)},formatTooltip:function(){}};R.exports=a},OPEp:function(R,N,e){},OQFs:function(R,N,e){var A=e("KCsZ"),f=A([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),x={getLineStyle:function(m){var g=f(this,m);return g.lineDash=this.getLineDash(g.lineWidth),g},getLineDash:function(m){m==null&&(m=1);var g=this.get("type"),p=Math.max(m,2),c=m*4;return g==="solid"||g==null?!1:g==="dashed"?[c,c]:[p,p]}};R.exports=x},OS9S:function(R,N,e){var A=e("bYtY"),f=A.inherits,x=e("Gev7"),m=e("mFDi");function g(s){x.call(this,s),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}g.prototype.incremental=!0,g.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},g.prototype.addDisplayable=function(s,a){a?this._temporaryDisplayables.push(s):this._displayables.push(s),this.dirty()},g.prototype.addDisplayables=function(s,a){a=a||!1;for(var n=0;n<s.length;n++)this.addDisplayable(s[n],a)},g.prototype.eachPendingDisplayable=function(s){for(var a=this._cursor;a<this._displayables.length;a++)s&&s(this._displayables[a]);for(var a=0;a<this._temporaryDisplayables.length;a++)s&&s(this._temporaryDisplayables[a])},g.prototype.update=function(){this.updateTransform();for(var s=this._cursor;s<this._displayables.length;s++){var a=this._displayables[s];a.parent=this,a.update(),a.parent=null}for(var s=0;s<this._temporaryDisplayables.length;s++){var a=this._temporaryDisplayables[s];a.parent=this,a.update(),a.parent=null}},g.prototype.brush=function(s,a){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(s),i.brush(s,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(s)}this._cursor=n;for(var n=0;n<this._temporaryDisplayables.length;n++){var i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(s),i.brush(s,n===0?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(s)}this._temporaryDisplayables=[],this.notClear=!0};var p=[];g.prototype.getBoundingRect=function(){if(!this._rect){for(var s=new m(Infinity,Infinity,-Infinity,-Infinity),a=0;a<this._displayables.length;a++){var n=this._displayables[a],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(p)),s.union(i)}this._rect=s}return this._rect},g.prototype.contain=function(s,a){var n=this.transformCoordToLocal(s,a),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var d=0;d<this._displayables.length;d++){var t=this._displayables[d];if(t.contain(s,a))return!0}return!1},f(g,x);var c=g;R.exports=c},OUJF:function(R,N,e){var A=e("ProS"),f=e("bYtY");A.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(x,m){var g=m.getComponent("timeline");return g&&x.currentIndex!=null&&(g.setCurrentIndex(x.currentIndex),!g.get("loop",!0)&&g.isIndexMax()&&g.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:g.option.currentIndex},x)}),A.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(x,m){var g=m.getComponent("timeline");g&&x.playState!=null&&g.setPlayState(x.playState)})},OXB0:function(R,N,e){var A=e("T4UG"),f=e("MwEJ"),x=e("IDmD"),m=A.extend({type:"series.heatmap",getInitialData:function(g,p){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var g=x.get(this.get("coordinateSystem"));if(g&&g.dimensions)return g.dimensions[0]==="lng"&&g.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});R.exports=m},OaEy:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("bKJz"),m=e.n(x),g=e("R9oj")},Ol7k:function(R,N,e){"use strict";var A=e("PKem"),f=e("ZX9x");A.b.Sider=f.b,N.a=A.b},OlYY:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("ItGF"),p=e("4NO4"),c=e("UOVi"),s=e("zDms"),a=m.each,n=c.eachAxisDim,i=x.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(r,o,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=d(r);this.settledOption=h,this.mergeDefaultAndTheme(r,u),this.doInit(h)},mergeOption:function(r){var o=d(r);m.merge(this.option,r,!0),m.merge(this.settledOption,o,!0),this.doInit(o)},doInit:function(r){var o=this.option;g.canvasSupported||(o.realtime=!1),this._setDefaultThrottle(r),t(this,r);var u=this.settledOption;a([["start","startValue"],["end","endValue"]],function(h,y){this._rangePropMode[y]==="value"&&(o[h[0]]=u[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(o,u,h,y){var b=this.dependentModels[o.axis][u],E=b.__dzAxisProxy||(b.__dzAxisProxy=new s(o.name,u,this,y));r[o.name+"_"+u]=E},this)},_resetTarget:function(){var r=this.option,o=this._judgeAutoMode();n(function(u){var h=u.axisIndex;r[h]=p.normalizeToArray(r[h])},this),o==="axisIndex"?this._autoSetAxisIndex():o==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var r=this.option,o=!1;n(function(h){r[h.axisIndex]!=null&&(o=!0)},this);var u=r.orient;if(u==null&&o)return"orient";if(!o)return u==null&&(r.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var r=!0,o=this.get("orient",!0),u=this.option,h=this.dependentModels;if(r){var y=o==="vertical"?"y":"x";h[y+"Axis"].length?(u[y+"AxisIndex"]=[0],r=!1):a(h.singleAxis,function(b){r&&b.get("orient",!0)===o&&(u.singleAxisIndex=[b.componentIndex],r=!1)})}r&&n(function(b){if(!r)return;var E=[],v=this.dependentModels[b.axis];if(v.length&&!E.length)for(var w=0,O=v.length;w<O;w++)v[w].get("type")==="category"&&E.push(w);u[b.axisIndex]=E,E.length&&(r=!1)},this),r&&this.ecModel.eachSeries(function(b){this._isSeriesHasAllAxesTypeOf(b,"value")&&n(function(E){var v=u[E.axisIndex],w=b.get(E.axisIndex),O=b.get(E.axisId),T=b.ecModel.queryComponents({mainType:E.axis,index:w,id:O})[0];w=T.componentIndex,m.indexOf(v,w)<0&&v.push(w)})},this)},_autoSetOrient:function(){var r;this.eachTargetAxis(function(o){!r&&(r=o.name)},this),this.option.orient=r==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(r,o){var u=!0;return n(function(h){var y=r.get(h.axisIndex),b=this.dependentModels[h.axis][y];(!b||b.get("type")!==o)&&(u=!1)},this),u},_setDefaultThrottle:function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var o=this.ecModel.option;this.option.throttle=o.animation&&o.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var r;return n(function(o){if(r==null){var u=this.get(o.axisIndex);u.length&&(r=this.dependentModels[o.axis][u[0]])}},this),r},eachTargetAxis:function(r,o){var u=this.ecModel;n(function(h){a(this.get(h.axisIndex),function(y){r.call(o,h,y,this,u)},this)},this)},getAxisProxy:function(r,o){return this._axisProxies[r+"_"+o]},getAxisModel:function(r,o){var u=this.getAxisProxy(r,o);return u&&u.getAxisModel()},setRawRange:function(r){var o=this.option,u=this.settledOption;a([["start","startValue"],["end","endValue"]],function(h){(r[h[0]]!=null||r[h[1]]!=null)&&(o[h[0]]=u[h[0]]=r[h[0]],o[h[1]]=u[h[1]]=r[h[1]])},this),t(this,r)},setCalculatedRange:function(r){var o=this.option;a(["start","startValue","end","endValue"],function(u){o[u]=r[u]})},getPercentRange:function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},getValueRange:function(r,o){if(r==null&&o==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(r,o).getDataValueWindow()},findRepresentativeAxisProxy:function(r){if(r)return r.__dzAxisProxy;var o=this._axisProxies;for(var u in o)if(o.hasOwnProperty(u)&&o[u].hostedBy(this))return o[u];for(var u in o)if(o.hasOwnProperty(u)&&!o[u].hostedBy(this))return o[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(r){var o={};return a(["start","end","startValue","endValue","throttle"],function(u){r.hasOwnProperty(u)&&(o[u]=r[u])}),o}function t(r,o){var u=r._rangePropMode,h=r.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(y,b){var E=o[y[0]]!=null,v=o[y[1]]!=null;E&&!v?u[b]="percent":!E&&v?u[b]="value":h?u[b]=h[b]:E&&(u[b]="percent")})}var l=i;R.exports=l},OnYD:function(R,N,e){},"Oy/b":function(R,N,e){(function(f,x){R.exports=x()})(typeof self!="undefined"?self:this,function(){return function(A){var f={};function x(m){if(f[m])return f[m].exports;var g=f[m]={i:m,l:!1,exports:{}};return A[m].call(g.exports,g,g.exports,x),g.l=!0,g.exports}return x.m=A,x.c=f,x.d=function(m,g,p){x.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:p})},x.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},x.t=function(m,g){if(g&1&&(m=x(m)),g&8)return m;if(g&4&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(x.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),g&2&&typeof m!="string")for(var c in m)x.d(p,c,function(s){return m[s]}.bind(null,c));return p},x.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return x.d(g,"a",g),g},x.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},x.p="",x(x.s=1)}([function(A,f,x){},function(A,f,x){"use strict";x.r(f);var m=x(0),g=function(){function Vt(re,ve,Se){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=re,this.start=ve,this.end=Se}return Vt.range=function(ve,Se){return Se?!ve||!ve.loc||!Se.loc||ve.loc.lexer!==Se.loc.lexer?null:new Vt(ve.loc.lexer,ve.loc.start,Se.loc.end):ve&&ve.loc},Vt}(),p=function(){function Vt(ve,Se){this.text=void 0,this.loc=void 0,this.text=ve,this.loc=Se}var re=Vt.prototype;return re.range=function(Se,We){return new Vt(We,g.range(this,Se))},Vt}(),c=function Vt(re,ve){this.position=void 0;var Se="KaTeX parse error: "+re,We,xt=ve&&ve.loc;if(xt&&xt.start<=xt.end){var Qt=xt.lexer.input;We=xt.start;var Or=xt.end;We===Qt.length?Se+=" at end of input: ":Se+=" at position "+(We+1)+": ";var Ur=Qt.slice(We,Or).replace(/[^]/g,"$&\u0332"),on;We>15?on="\u2026"+Qt.slice(We-15,We):on=Qt.slice(0,We);var Dn;Or+15<Qt.length?Dn=Qt.slice(Or,Or+15)+"\u2026":Dn=Qt.slice(Or),Se+=on+Ur+Dn}var Hn=new Error(Se);return Hn.name="ParseError",Hn.__proto__=Vt.prototype,Hn.position=We,Hn};c.prototype.__proto__=Error.prototype;var s=c,a=function(re,ve){return re.indexOf(ve)!==-1},n=function(re,ve){return re===void 0?ve:re},i=/([A-Z])/g,d=function(re){return re.replace(i,"-$1").toLowerCase()},t={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function r(Vt){return String(Vt).replace(l,function(re){return t[re]})}var o=function Vt(re){return re.type==="ordgroup"||re.type==="color"?re.body.length===1?Vt(re.body[0]):re:re.type==="font"?Vt(re.body):re},u=function(re){var ve=o(re);return ve.type==="mathord"||ve.type==="textord"||ve.type==="atom"},h=function(re){if(!re)throw new Error("Expected non-null, but got "+String(re));return re},y=function(re){var ve=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(re);return ve!=null?ve[1]:"_relative"},b={contains:a,deflt:n,escape:r,hyphenate:d,getBaseElem:o,isCharacterBox:u,protocolFromUrl:y},E=function(){function Vt(ve){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,ve=ve||{},this.displayMode=b.deflt(ve.displayMode,!1),this.output=b.deflt(ve.output,"htmlAndMathml"),this.leqno=b.deflt(ve.leqno,!1),this.fleqn=b.deflt(ve.fleqn,!1),this.throwOnError=b.deflt(ve.throwOnError,!0),this.errorColor=b.deflt(ve.errorColor,"#cc0000"),this.macros=ve.macros||{},this.minRuleThickness=Math.max(0,b.deflt(ve.minRuleThickness,0)),this.colorIsTextColor=b.deflt(ve.colorIsTextColor,!1),this.strict=b.deflt(ve.strict,"warn"),this.trust=b.deflt(ve.trust,!1),this.maxSize=Math.max(0,b.deflt(ve.maxSize,Infinity)),this.maxExpand=Math.max(0,b.deflt(ve.maxExpand,1e3))}var re=Vt.prototype;return re.reportNonstrict=function(Se,We,xt){var Qt=this.strict;if(typeof Qt=="function"&&(Qt=Qt(Se,We,xt)),!Qt||Qt==="ignore")return;if(Qt===!0||Qt==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Se+"]"),xt);Qt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Se+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Qt+"': "+We+" ["+Se+"]"))},re.useStrictBehavior=function(Se,We,xt){var Qt=this.strict;if(typeof Qt=="function")try{Qt=Qt(Se,We,xt)}catch(Or){Qt="error"}return!Qt||Qt==="ignore"?!1:Qt===!0||Qt==="error"?!0:Qt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Se+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Qt+"': "+We+" ["+Se+"]")),!1)},re.isTrusted=function(Se){Se.url&&!Se.protocol&&(Se.protocol=b.protocolFromUrl(Se.url));var We=typeof this.trust=="function"?this.trust(Se):this.trust;return Boolean(We)},Vt}(),v=function(){function Vt(ve,Se,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ve,this.size=Se,this.cramped=We}var re=Vt.prototype;return re.sup=function(){return F[B[this.id]]},re.sub=function(){return F[j[this.id]]},re.fracNum=function(){return F[z[this.id]]},re.fracDen=function(){return F[M[this.id]]},re.cramp=function(){return F[U[this.id]]},re.text=function(){return F[P[this.id]]},re.isTight=function(){return this.size>=2},Vt}(),w=0,O=1,T=2,S=3,C=4,_=5,I=6,k=7,F=[new v(w,0,!1),new v(O,0,!0),new v(T,1,!1),new v(S,1,!0),new v(C,2,!1),new v(_,2,!0),new v(I,3,!1),new v(k,3,!0)],B=[C,_,C,_,I,k,I,k],j=[_,_,_,_,k,k,k,k],z=[T,S,C,_,I,k,I,k],M=[S,S,_,_,k,k,k,k],U=[O,O,S,S,_,_,k,k],P=[w,O,T,S,T,S,T,S],H={DISPLAY:F[w],TEXT:F[T],SCRIPT:F[C],SCRIPTSCRIPT:F[I]},W=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function X(Vt){for(var re=0;re<W.length;re++)for(var ve=W[re],Se=0;Se<ve.blocks.length;Se++){var We=ve.blocks[Se];if(Vt>=We[0]&&Vt<=We[1])return ve.name}return null}var K=[];W.forEach(function(Vt){return Vt.blocks.forEach(function(re){return K.push.apply(K,re)})});function $(Vt){for(var re=0;re<K.length;re+=2)if(Vt>=K[re]&&Vt<=K[re+1])return!0;return!1}var ie=80,be=function(re,ve){return"M95,"+(622+re+ve)+`
|
|
|
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`+re/2.075+" -"+re+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+re)+`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+re)+" "+ve+"h400000v"+(40+re)+"h-400000z"},te=function(re,ve){return"M263,"+(601+re+ve)+`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`+re/2.084+" -"+re+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+re)+`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+re)+" "+ve+"h400000v"+(40+re)+"h-400000z"},Te=function(re,ve){return"M983 "+(10+re+ve)+`
|
|
|
l`+re/3.13+" -"+re+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+re)+`
|
|
|
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+re)+" "+ve+"h400000v"+(40+re)+"h-400000z"},Ie=function(re,ve){return"M424,"+(2398+re+ve)+`
|
|
|
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`+re/4.223+" -"+re+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+re)+`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+re)+" "+ve+`
|
|
|
h400000v`+(40+re)+"h-400000z"},Fe=function(re,ve){return"M473,"+(2713+re+ve)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+re/5.298+" -"+re+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+re)+`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+re)+" "+ve+"h400000v"+(40+re)+"H1017.7z"},Qe=function(re,ve,Se){var We=Se-54-ve-re;return"M702 "+(re+ve)+"H400000"+(40+re)+`
|
|
|
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 `+ve+"H400000v"+(40+re)+"H742z"},fe=function(re,ve,Se){ve=1e3*ve;var We="";switch(re){case"sqrtMain":We=be(ve,ie);break;case"sqrtSize1":We=te(ve,ie);break;case"sqrtSize2":We=Te(ve,ie);break;case"sqrtSize3":We=Ie(ve,ie);break;case"sqrtSize4":We=Fe(ve,ie);break;case"sqrtTall":We=Qe(ve,ie,Se)}return We},He={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`},se=function(){function Vt(ve){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=ve,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var re=Vt.prototype;return re.hasClass=function(Se){return b.contains(this.classes,Se)},re.toNode=function(){for(var Se=document.createDocumentFragment(),We=0;We<this.children.length;We++)Se.appendChild(this.children[We].toNode());return Se},re.toMarkup=function(){for(var Se="",We=0;We<this.children.length;We++)Se+=this.children[We].toMarkup();return Se},re.toText=function(){var Se=function(xt){return xt.toText()};return this.children.map(Se).join("")},Vt}(),Ce=function(re){return re.filter(function(ve){return ve}).join(" ")},mt=function(re,ve,Se){if(this.classes=re||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Se||{},ve){ve.style.isTight()&&this.classes.push("mtight");var We=ve.getColor();We&&(this.style.color=We)}},Ne=function(re){var ve=document.createElement(re);ve.className=Ce(this.classes);for(var Se in this.style)this.style.hasOwnProperty(Se)&&(ve.style[Se]=this.style[Se]);for(var We in this.attributes)this.attributes.hasOwnProperty(We)&&ve.setAttribute(We,this.attributes[We]);for(var xt=0;xt<this.children.length;xt++)ve.appendChild(this.children[xt].toNode());return ve},ae=function(re){var ve="<"+re;this.classes.length&&(ve+=' class="'+b.escape(Ce(this.classes))+'"');var Se="";for(var We in this.style)this.style.hasOwnProperty(We)&&(Se+=b.hyphenate(We)+":"+this.style[We]+";");Se&&(ve+=' style="'+b.escape(Se)+'"');for(var xt in this.attributes)this.attributes.hasOwnProperty(xt)&&(ve+=" "+xt+'="'+b.escape(this.attributes[xt])+'"');ve+=">";for(var Qt=0;Qt<this.children.length;Qt++)ve+=this.children[Qt].toMarkup();return ve+="</"+re+">",ve},ce=function(){function Vt(ve,Se,We,xt){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,mt.call(this,ve,We,xt),this.children=Se||[]}var re=Vt.prototype;return re.setAttribute=function(Se,We){this.attributes[Se]=We},re.hasClass=function(Se){return b.contains(this.classes,Se)},re.toNode=function(){return Ne.call(this,"span")},re.toMarkup=function(){return ae.call(this,"span")},Vt}(),le=function(){function Vt(ve,Se,We,xt){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,mt.call(this,Se,xt),this.children=We||[],this.setAttribute("href",ve)}var re=Vt.prototype;return re.setAttribute=function(Se,We){this.attributes[Se]=We},re.hasClass=function(Se){return b.contains(this.classes,Se)},re.toNode=function(){return Ne.call(this,"a")},re.toMarkup=function(){return ae.call(this,"a")},Vt}(),je=function(){function Vt(ve,Se,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=Se,this.src=ve,this.classes=["mord"],this.style=We}var re=Vt.prototype;return re.hasClass=function(Se){return b.contains(this.classes,Se)},re.toNode=function(){var Se=document.createElement("img");Se.src=this.src,Se.alt=this.alt,Se.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Se.style[We]=this.style[We]);return Se},re.toMarkup=function(){var Se="<img src='"+this.src+" 'alt='"+this.alt+"' ",We="";for(var xt in this.style)this.style.hasOwnProperty(xt)&&(We+=b.hyphenate(xt)+":"+this.style[xt]+";");return We&&(Se+=' style="'+b.escape(We)+'"'),Se+="'/>",Se},Vt}(),Re={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ze=function(){function Vt(ve,Se,We,xt,Qt,Or,Ur,on){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=ve,this.height=Se||0,this.depth=We||0,this.italic=xt||0,this.skew=Qt||0,this.width=Or||0,this.classes=Ur||[],this.style=on||{},this.maxFontSize=0;var Dn=X(this.text.charCodeAt(0));Dn&&this.classes.push(Dn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Re[this.text])}var re=Vt.prototype;return re.hasClass=function(Se){return b.contains(this.classes,Se)},re.toNode=function(){var Se=document.createTextNode(this.text),We=null;this.italic>0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=Ce(this.classes));for(var xt in this.style)this.style.hasOwnProperty(xt)&&(We=We||document.createElement("span"),We.style[xt]=this.style[xt]);return We?(We.appendChild(Se),We):Se},re.toMarkup=function(){var Se=!1,We="<span";this.classes.length&&(Se=!0,We+=' class="',We+=b.escape(Ce(this.classes)),We+='"');var xt="";this.italic>0&&(xt+="margin-right:"+this.italic+"em;");for(var Qt in this.style)this.style.hasOwnProperty(Qt)&&(xt+=b.hyphenate(Qt)+":"+this.style[Qt]+";");xt&&(Se=!0,We+=' style="'+b.escape(xt)+'"');var Or=b.escape(this.text);return Se?(We+=">",We+=Or,We+="</span>",We):Or},Vt}(),De=function(){function Vt(ve,Se){this.children=void 0,this.attributes=void 0,this.children=ve||[],this.attributes=Se||{}}var re=Vt.prototype;return re.toNode=function(){var Se="http://www.w3.org/2000/svg",We=document.createElementNS(Se,"svg");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&We.setAttribute(xt,this.attributes[xt]);for(var Qt=0;Qt<this.children.length;Qt++)We.appendChild(this.children[Qt].toNode());return We},re.toMarkup=function(){var Se="<svg";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Se+=" "+We+"='"+this.attributes[We]+"'");Se+=">";for(var xt=0;xt<this.children.length;xt++)Se+=this.children[xt].toMarkup();return Se+="</svg>",Se},Vt}(),ne=function(){function Vt(ve,Se){this.pathName=void 0,this.alternate=void 0,this.pathName=ve,this.alternate=Se}var re=Vt.prototype;return re.toNode=function(){var Se="http://www.w3.org/2000/svg",We=document.createElementNS(Se,"path");return this.alternate?We.setAttribute("d",this.alternate):We.setAttribute("d",He[this.pathName]),We},re.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+He[this.pathName]+"'/>"},Vt}(),he=function(){function Vt(ve){this.attributes=void 0,this.attributes=ve||{}}var re=Vt.prototype;return re.toNode=function(){var Se="http://www.w3.org/2000/svg",We=document.createElementNS(Se,"line");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&We.setAttribute(xt,this.attributes[xt]);return We},re.toMarkup=function(){var Se="<line";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Se+=" "+We+"='"+this.attributes[We]+"'");return Se+="/>",Se},Vt}();function pe(Vt){if(Vt instanceof Ze)return Vt;throw new Error("Expected symbolNode but got "+String(Vt)+".")}function Xe(Vt){if(Vt instanceof ce)return Vt;throw new Error("Expected span<HtmlDomNode> but got "+String(Vt)+".")}var lt={"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]}},At={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Me={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Ht(Vt,re){lt[Vt]=re}function tt(Vt,re,ve){if(!lt[re])throw new Error("Font metrics not found for font: "+re+".");var Se=Vt.charCodeAt(0),We=lt[re][Se];if(!We&&Vt[0]in Me&&(Se=Me[Vt[0]].charCodeAt(0),We=lt[re][Se]),!We&&ve==="text"&&($(Se)&&(We=lt[re][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var Mt={};function jt(Vt){var re;if(Vt>=5?re=0:Vt>=3?re=1:re=2,!Mt[re]){var ve=Mt[re]={cssEmPerMu:At.quad[re]/18};for(var Se in At)At.hasOwnProperty(Se)&&(ve[Se]=At[Se][re])}return Mt[re]}var kt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Tt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}},Ue=Dt;function G(Vt,re,ve,Se,We,xt){Dt[Vt][We]={font:re,group:ve,replace:Se},xt&&Se&&(Dt[Vt][Se]=Dt[Vt][We])}var Y="math",Pe="text",Be="main",J="ams",St="accent-token",bt="bin",nt="close",Rt="inner",zt="mathord",Fr="op-token",Jt="open",ge="punct",ye="rel",Le="spacing",we="textord";G(Y,Be,ye,"\u2261","\\equiv",!0),G(Y,Be,ye,"\u227A","\\prec",!0),G(Y,Be,ye,"\u227B","\\succ",!0),G(Y,Be,ye,"\u223C","\\sim",!0),G(Y,Be,ye,"\u22A5","\\perp"),G(Y,Be,ye,"\u2AAF","\\preceq",!0),G(Y,Be,ye,"\u2AB0","\\succeq",!0),G(Y,Be,ye,"\u2243","\\simeq",!0),G(Y,Be,ye,"\u2223","\\mid",!0),G(Y,Be,ye,"\u226A","\\ll",!0),G(Y,Be,ye,"\u226B","\\gg",!0),G(Y,Be,ye,"\u224D","\\asymp",!0),G(Y,Be,ye,"\u2225","\\parallel"),G(Y,Be,ye,"\u22C8","\\bowtie",!0),G(Y,Be,ye,"\u2323","\\smile",!0),G(Y,Be,ye,"\u2291","\\sqsubseteq",!0),G(Y,Be,ye,"\u2292","\\sqsupseteq",!0),G(Y,Be,ye,"\u2250","\\doteq",!0),G(Y,Be,ye,"\u2322","\\frown",!0),G(Y,Be,ye,"\u220B","\\ni",!0),G(Y,Be,ye,"\u221D","\\propto",!0),G(Y,Be,ye,"\u22A2","\\vdash",!0),G(Y,Be,ye,"\u22A3","\\dashv",!0),G(Y,Be,ye,"\u220B","\\owns"),G(Y,Be,ge,".","\\ldotp"),G(Y,Be,ge,"\u22C5","\\cdotp"),G(Y,Be,we,"#","\\#"),G(Pe,Be,we,"#","\\#"),G(Y,Be,we,"&","\\&"),G(Pe,Be,we,"&","\\&"),G(Y,Be,we,"\u2135","\\aleph",!0),G(Y,Be,we,"\u2200","\\forall",!0),G(Y,Be,we,"\u210F","\\hbar",!0),G(Y,Be,we,"\u2203","\\exists",!0),G(Y,Be,we,"\u2207","\\nabla",!0),G(Y,Be,we,"\u266D","\\flat",!0),G(Y,Be,we,"\u2113","\\ell",!0),G(Y,Be,we,"\u266E","\\natural",!0),G(Y,Be,we,"\u2663","\\clubsuit",!0),G(Y,Be,we,"\u2118","\\wp",!0),G(Y,Be,we,"\u266F","\\sharp",!0),G(Y,Be,we,"\u2662","\\diamondsuit",!0),G(Y,Be,we,"\u211C","\\Re",!0),G(Y,Be,we,"\u2661","\\heartsuit",!0),G(Y,Be,we,"\u2111","\\Im",!0),G(Y,Be,we,"\u2660","\\spadesuit",!0),G(Pe,Be,we,"\xA7","\\S",!0),G(Pe,Be,we,"\xB6","\\P",!0),G(Y,Be,we,"\u2020","\\dag"),G(Pe,Be,we,"\u2020","\\dag"),G(Pe,Be,we,"\u2020","\\textdagger"),G(Y,Be,we,"\u2021","\\ddag"),G(Pe,Be,we,"\u2021","\\ddag"),G(Pe,Be,we,"\u2021","\\textdaggerdbl"),G(Y,Be,nt,"\u23B1","\\rmoustache",!0),G(Y,Be,Jt,"\u23B0","\\lmoustache",!0),G(Y,Be,nt,"\u27EF","\\rgroup",!0),G(Y,Be,Jt,"\u27EE","\\lgroup",!0),G(Y,Be,bt,"\u2213","\\mp",!0),G(Y,Be,bt,"\u2296","\\ominus",!0),G(Y,Be,bt,"\u228E","\\uplus",!0),G(Y,Be,bt,"\u2293","\\sqcap",!0),G(Y,Be,bt,"\u2217","\\ast"),G(Y,Be,bt,"\u2294","\\sqcup",!0),G(Y,Be,bt,"\u25EF","\\bigcirc"),G(Y,Be,bt,"\u2219","\\bullet"),G(Y,Be,bt,"\u2021","\\ddagger"),G(Y,Be,bt,"\u2240","\\wr",!0),G(Y,Be,bt,"\u2A3F","\\amalg"),G(Y,Be,bt,"&","\\And"),G(Y,Be,ye,"\u27F5","\\longleftarrow",!0),G(Y,Be,ye,"\u21D0","\\Leftarrow",!0),G(Y,Be,ye,"\u27F8","\\Longleftarrow",!0),G(Y,Be,ye,"\u27F6","\\longrightarrow",!0),G(Y,Be,ye,"\u21D2","\\Rightarrow",!0),G(Y,Be,ye,"\u27F9","\\Longrightarrow",!0),G(Y,Be,ye,"\u2194","\\leftrightarrow",!0),G(Y,Be,ye,"\u27F7","\\longleftrightarrow",!0),G(Y,Be,ye,"\u21D4","\\Leftrightarrow",!0),G(Y,Be,ye,"\u27FA","\\Longleftrightarrow",!0),G(Y,Be,ye,"\u21A6","\\mapsto",!0),G(Y,Be,ye,"\u27FC","\\longmapsto",!0),G(Y,Be,ye,"\u2197","\\nearrow",!0),G(Y,Be,ye,"\u21A9","\\hookleftarrow",!0),G(Y,Be,ye,"\u21AA","\\hookrightarrow",!0),G(Y,Be,ye,"\u2198","\\searrow",!0),G(Y,Be,ye,"\u21BC","\\leftharpoonup",!0),G(Y,Be,ye,"\u21C0","\\rightharpoonup",!0),G(Y,Be,ye,"\u2199","\\swarrow",!0),G(Y,Be,ye,"\u21BD","\\leftharpoondown",!0),G(Y,Be,ye,"\u21C1","\\rightharpoondown",!0),G(Y,Be,ye,"\u2196","\\nwarrow",!0),G(Y,Be,ye,"\u21CC","\\rightleftharpoons",!0),G(Y,J,ye,"\u226E","\\nless",!0),G(Y,J,ye,"\uE010","\\@nleqslant"),G(Y,J,ye,"\uE011","\\@nleqq"),G(Y,J,ye,"\u2A87","\\lneq",!0),G(Y,J,ye,"\u2268","\\lneqq",!0),G(Y,J,ye,"\uE00C","\\@lvertneqq"),G(Y,J,ye,"\u22E6","\\lnsim",!0),G(Y,J,ye,"\u2A89","\\lnapprox",!0),G(Y,J,ye,"\u2280","\\nprec",!0),G(Y,J,ye,"\u22E0","\\npreceq",!0),G(Y,J,ye,"\u22E8","\\precnsim",!0),G(Y,J,ye,"\u2AB9","\\precnapprox",!0),G(Y,J,ye,"\u2241","\\nsim",!0),G(Y,J,ye,"\uE006","\\@nshortmid"),G(Y,J,ye,"\u2224","\\nmid",!0),G(Y,J,ye,"\u22AC","\\nvdash",!0),G(Y,J,ye,"\u22AD","\\nvDash",!0),G(Y,J,ye,"\u22EA","\\ntriangleleft"),G(Y,J,ye,"\u22EC","\\ntrianglelefteq",!0),G(Y,J,ye,"\u228A","\\subsetneq",!0),G(Y,J,ye,"\uE01A","\\@varsubsetneq"),G(Y,J,ye,"\u2ACB","\\subsetneqq",!0),G(Y,J,ye,"\uE017","\\@varsubsetneqq"),G(Y,J,ye,"\u226F","\\ngtr",!0),G(Y,J,ye,"\uE00F","\\@ngeqslant"),G(Y,J,ye,"\uE00E","\\@ngeqq"),G(Y,J,ye,"\u2A88","\\gneq",!0),G(Y,J,ye,"\u2269","\\gneqq",!0),G(Y,J,ye,"\uE00D","\\@gvertneqq"),G(Y,J,ye,"\u22E7","\\gnsim",!0),G(Y,J,ye,"\u2A8A","\\gnapprox",!0),G(Y,J,ye,"\u2281","\\nsucc",!0),G(Y,J,ye,"\u22E1","\\nsucceq",!0),G(Y,J,ye,"\u22E9","\\succnsim",!0),G(Y,J,ye,"\u2ABA","\\succnapprox",!0),G(Y,J,ye,"\u2246","\\ncong",!0),G(Y,J,ye,"\uE007","\\@nshortparallel"),G(Y,J,ye,"\u2226","\\nparallel",!0),G(Y,J,ye,"\u22AF","\\nVDash",!0),G(Y,J,ye,"\u22EB","\\ntriangleright"),G(Y,J,ye,"\u22ED","\\ntrianglerighteq",!0),G(Y,J,ye,"\uE018","\\@nsupseteqq"),G(Y,J,ye,"\u228B","\\supsetneq",!0),G(Y,J,ye,"\uE01B","\\@varsupsetneq"),G(Y,J,ye,"\u2ACC","\\supsetneqq",!0),G(Y,J,ye,"\uE019","\\@varsupsetneqq"),G(Y,J,ye,"\u22AE","\\nVdash",!0),G(Y,J,ye,"\u2AB5","\\precneqq",!0),G(Y,J,ye,"\u2AB6","\\succneqq",!0),G(Y,J,ye,"\uE016","\\@nsubseteqq"),G(Y,J,bt,"\u22B4","\\unlhd"),G(Y,J,bt,"\u22B5","\\unrhd"),G(Y,J,ye,"\u219A","\\nleftarrow",!0),G(Y,J,ye,"\u219B","\\nrightarrow",!0),G(Y,J,ye,"\u21CD","\\nLeftarrow",!0),G(Y,J,ye,"\u21CF","\\nRightarrow",!0),G(Y,J,ye,"\u21AE","\\nleftrightarrow",!0),G(Y,J,ye,"\u21CE","\\nLeftrightarrow",!0),G(Y,J,ye,"\u25B3","\\vartriangle"),G(Y,J,we,"\u210F","\\hslash"),G(Y,J,we,"\u25BD","\\triangledown"),G(Y,J,we,"\u25CA","\\lozenge"),G(Y,J,we,"\u24C8","\\circledS"),G(Y,J,we,"\xAE","\\circledR"),G(Pe,J,we,"\xAE","\\circledR"),G(Y,J,we,"\u2221","\\measuredangle",!0),G(Y,J,we,"\u2204","\\nexists"),G(Y,J,we,"\u2127","\\mho"),G(Y,J,we,"\u2132","\\Finv",!0),G(Y,J,we,"\u2141","\\Game",!0),G(Y,J,we,"\u2035","\\backprime"),G(Y,J,we,"\u25B2","\\blacktriangle"),G(Y,J,we,"\u25BC","\\blacktriangledown"),G(Y,J,we,"\u25A0","\\blacksquare"),G(Y,J,we,"\u29EB","\\blacklozenge"),G(Y,J,we,"\u2605","\\bigstar"),G(Y,J,we,"\u2222","\\sphericalangle",!0),G(Y,J,we,"\u2201","\\complement",!0),G(Y,J,we,"\xF0","\\eth",!0),G(Y,J,we,"\u2571","\\diagup"),G(Y,J,we,"\u2572","\\diagdown"),G(Y,J,we,"\u25A1","\\square"),G(Y,J,we,"\u25A1","\\Box"),G(Y,J,we,"\u25CA","\\Diamond"),G(Y,J,we,"\xA5","\\yen",!0),G(Pe,J,we,"\xA5","\\yen",!0),G(Y,J,we,"\u2713","\\checkmark",!0),G(Pe,J,we,"\u2713","\\checkmark"),G(Y,J,we,"\u2136","\\beth",!0),G(Y,J,we,"\u2138","\\daleth",!0),G(Y,J,we,"\u2137","\\gimel",!0),G(Y,J,we,"\u03DD","\\digamma",!0),G(Y,J,we,"\u03F0","\\varkappa"),G(Y,J,Jt,"\u250C","\\ulcorner",!0),G(Y,J,nt,"\u2510","\\urcorner",!0),G(Y,J,Jt,"\u2514","\\llcorner",!0),G(Y,J,nt,"\u2518","\\lrcorner",!0),G(Y,J,ye,"\u2266","\\leqq",!0),G(Y,J,ye,"\u2A7D","\\leqslant",!0),G(Y,J,ye,"\u2A95","\\eqslantless",!0),G(Y,J,ye,"\u2272","\\lesssim",!0),G(Y,J,ye,"\u2A85","\\lessapprox",!0),G(Y,J,ye,"\u224A","\\approxeq",!0),G(Y,J,bt,"\u22D6","\\lessdot"),G(Y,J,ye,"\u22D8","\\lll",!0),G(Y,J,ye,"\u2276","\\lessgtr",!0),G(Y,J,ye,"\u22DA","\\lesseqgtr",!0),G(Y,J,ye,"\u2A8B","\\lesseqqgtr",!0),G(Y,J,ye,"\u2251","\\doteqdot"),G(Y,J,ye,"\u2253","\\risingdotseq",!0),G(Y,J,ye,"\u2252","\\fallingdotseq",!0),G(Y,J,ye,"\u223D","\\backsim",!0),G(Y,J,ye,"\u22CD","\\backsimeq",!0),G(Y,J,ye,"\u2AC5","\\subseteqq",!0),G(Y,J,ye,"\u22D0","\\Subset",!0),G(Y,J,ye,"\u228F","\\sqsubset",!0),G(Y,J,ye,"\u227C","\\preccurlyeq",!0),G(Y,J,ye,"\u22DE","\\curlyeqprec",!0),G(Y,J,ye,"\u227E","\\precsim",!0),G(Y,J,ye,"\u2AB7","\\precapprox",!0),G(Y,J,ye,"\u22B2","\\vartriangleleft"),G(Y,J,ye,"\u22B4","\\trianglelefteq"),G(Y,J,ye,"\u22A8","\\vDash",!0),G(Y,J,ye,"\u22AA","\\Vvdash",!0),G(Y,J,ye,"\u2323","\\smallsmile"),G(Y,J,ye,"\u2322","\\smallfrown"),G(Y,J,ye,"\u224F","\\bumpeq",!0),G(Y,J,ye,"\u224E","\\Bumpeq",!0),G(Y,J,ye,"\u2267","\\geqq",!0),G(Y,J,ye,"\u2A7E","\\geqslant",!0),G(Y,J,ye,"\u2A96","\\eqslantgtr",!0),G(Y,J,ye,"\u2273","\\gtrsim",!0),G(Y,J,ye,"\u2A86","\\gtrapprox",!0),G(Y,J,bt,"\u22D7","\\gtrdot"),G(Y,J,ye,"\u22D9","\\ggg",!0),G(Y,J,ye,"\u2277","\\gtrless",!0),G(Y,J,ye,"\u22DB","\\gtreqless",!0),G(Y,J,ye,"\u2A8C","\\gtreqqless",!0),G(Y,J,ye,"\u2256","\\eqcirc",!0),G(Y,J,ye,"\u2257","\\circeq",!0),G(Y,J,ye,"\u225C","\\triangleq",!0),G(Y,J,ye,"\u223C","\\thicksim"),G(Y,J,ye,"\u2248","\\thickapprox"),G(Y,J,ye,"\u2AC6","\\supseteqq",!0),G(Y,J,ye,"\u22D1","\\Supset",!0),G(Y,J,ye,"\u2290","\\sqsupset",!0),G(Y,J,ye,"\u227D","\\succcurlyeq",!0),G(Y,J,ye,"\u22DF","\\curlyeqsucc",!0),G(Y,J,ye,"\u227F","\\succsim",!0),G(Y,J,ye,"\u2AB8","\\succapprox",!0),G(Y,J,ye,"\u22B3","\\vartriangleright"),G(Y,J,ye,"\u22B5","\\trianglerighteq"),G(Y,J,ye,"\u22A9","\\Vdash",!0),G(Y,J,ye,"\u2223","\\shortmid"),G(Y,J,ye,"\u2225","\\shortparallel"),G(Y,J,ye,"\u226C","\\between",!0),G(Y,J,ye,"\u22D4","\\pitchfork",!0),G(Y,J,ye,"\u221D","\\varpropto"),G(Y,J,ye,"\u25C0","\\blacktriangleleft"),G(Y,J,ye,"\u2234","\\therefore",!0),G(Y,J,ye,"\u220D","\\backepsilon"),G(Y,J,ye,"\u25B6","\\blacktriangleright"),G(Y,J,ye,"\u2235","\\because",!0),G(Y,J,ye,"\u22D8","\\llless"),G(Y,J,ye,"\u22D9","\\gggtr"),G(Y,J,bt,"\u22B2","\\lhd"),G(Y,J,bt,"\u22B3","\\rhd"),G(Y,J,ye,"\u2242","\\eqsim",!0),G(Y,Be,ye,"\u22C8","\\Join"),G(Y,J,ye,"\u2251","\\Doteq",!0),G(Y,J,bt,"\u2214","\\dotplus",!0),G(Y,J,bt,"\u2216","\\smallsetminus"),G(Y,J,bt,"\u22D2","\\Cap",!0),G(Y,J,bt,"\u22D3","\\Cup",!0),G(Y,J,bt,"\u2A5E","\\doublebarwedge",!0),G(Y,J,bt,"\u229F","\\boxminus",!0),G(Y,J,bt,"\u229E","\\boxplus",!0),G(Y,J,bt,"\u22C7","\\divideontimes",!0),G(Y,J,bt,"\u22C9","\\ltimes",!0),G(Y,J,bt,"\u22CA","\\rtimes",!0),G(Y,J,bt,"\u22CB","\\leftthreetimes",!0),G(Y,J,bt,"\u22CC","\\rightthreetimes",!0),G(Y,J,bt,"\u22CF","\\curlywedge",!0),G(Y,J,bt,"\u22CE","\\curlyvee",!0),G(Y,J,bt,"\u229D","\\circleddash",!0),G(Y,J,bt,"\u229B","\\circledast",!0),G(Y,J,bt,"\u22C5","\\centerdot"),G(Y,J,bt,"\u22BA","\\intercal",!0),G(Y,J,bt,"\u22D2","\\doublecap"),G(Y,J,bt,"\u22D3","\\doublecup"),G(Y,J,bt,"\u22A0","\\boxtimes",!0),G(Y,J,ye,"\u21E2","\\dashrightarrow",!0),G(Y,J,ye,"\u21E0","\\dashleftarrow",!0),G(Y,J,ye,"\u21C7","\\leftleftarrows",!0),G(Y,J,ye,"\u21C6","\\leftrightarrows",!0),G(Y,J,ye,"\u21DA","\\Lleftarrow",!0),G(Y,J,ye,"\u219E","\\twoheadleftarrow",!0),G(Y,J,ye,"\u21A2","\\leftarrowtail",!0),G(Y,J,ye,"\u21AB","\\looparrowleft",!0),G(Y,J,ye,"\u21CB","\\leftrightharpoons",!0),G(Y,J,ye,"\u21B6","\\curvearrowleft",!0),G(Y,J,ye,"\u21BA","\\circlearrowleft",!0),G(Y,J,ye,"\u21B0","\\Lsh",!0),G(Y,J,ye,"\u21C8","\\upuparrows",!0),G(Y,J,ye,"\u21BF","\\upharpoonleft",!0),G(Y,J,ye,"\u21C3","\\downharpoonleft",!0),G(Y,J,ye,"\u22B8","\\multimap",!0),G(Y,J,ye,"\u21AD","\\leftrightsquigarrow",!0),G(Y,J,ye,"\u21C9","\\rightrightarrows",!0),G(Y,J,ye,"\u21C4","\\rightleftarrows",!0),G(Y,J,ye,"\u21A0","\\twoheadrightarrow",!0),G(Y,J,ye,"\u21A3","\\rightarrowtail",!0),G(Y,J,ye,"\u21AC","\\looparrowright",!0),G(Y,J,ye,"\u21B7","\\curvearrowright",!0),G(Y,J,ye,"\u21BB","\\circlearrowright",!0),G(Y,J,ye,"\u21B1","\\Rsh",!0),G(Y,J,ye,"\u21CA","\\downdownarrows",!0),G(Y,J,ye,"\u21BE","\\upharpoonright",!0),G(Y,J,ye,"\u21C2","\\downharpoonright",!0),G(Y,J,ye,"\u21DD","\\rightsquigarrow",!0),G(Y,J,ye,"\u21DD","\\leadsto"),G(Y,J,ye,"\u21DB","\\Rrightarrow",!0),G(Y,J,ye,"\u21BE","\\restriction"),G(Y,Be,we,"\u2018","`"),G(Y,Be,we,"$","\\$"),G(Pe,Be,we,"$","\\$"),G(Pe,Be,we,"$","\\textdollar"),G(Y,Be,we,"%","\\%"),G(Pe,Be,we,"%","\\%"),G(Y,Be,we,"_","\\_"),G(Pe,Be,we,"_","\\_"),G(Pe,Be,we,"_","\\textunderscore"),G(Y,Be,we,"\u2220","\\angle",!0),G(Y,Be,we,"\u221E","\\infty",!0),G(Y,Be,we,"\u2032","\\prime"),G(Y,Be,we,"\u25B3","\\triangle"),G(Y,Be,we,"\u0393","\\Gamma",!0),G(Y,Be,we,"\u0394","\\Delta",!0),G(Y,Be,we,"\u0398","\\Theta",!0),G(Y,Be,we,"\u039B","\\Lambda",!0),G(Y,Be,we,"\u039E","\\Xi",!0),G(Y,Be,we,"\u03A0","\\Pi",!0),G(Y,Be,we,"\u03A3","\\Sigma",!0),G(Y,Be,we,"\u03A5","\\Upsilon",!0),G(Y,Be,we,"\u03A6","\\Phi",!0),G(Y,Be,we,"\u03A8","\\Psi",!0),G(Y,Be,we,"\u03A9","\\Omega",!0),G(Y,Be,we,"A","\u0391"),G(Y,Be,we,"B","\u0392"),G(Y,Be,we,"E","\u0395"),G(Y,Be,we,"Z","\u0396"),G(Y,Be,we,"H","\u0397"),G(Y,Be,we,"I","\u0399"),G(Y,Be,we,"K","\u039A"),G(Y,Be,we,"M","\u039C"),G(Y,Be,we,"N","\u039D"),G(Y,Be,we,"O","\u039F"),G(Y,Be,we,"P","\u03A1"),G(Y,Be,we,"T","\u03A4"),G(Y,Be,we,"X","\u03A7"),G(Y,Be,we,"\xAC","\\neg",!0),G(Y,Be,we,"\xAC","\\lnot"),G(Y,Be,we,"\u22A4","\\top"),G(Y,Be,we,"\u22A5","\\bot"),G(Y,Be,we,"\u2205","\\emptyset"),G(Y,J,we,"\u2205","\\varnothing"),G(Y,Be,zt,"\u03B1","\\alpha",!0),G(Y,Be,zt,"\u03B2","\\beta",!0),G(Y,Be,zt,"\u03B3","\\gamma",!0),G(Y,Be,zt,"\u03B4","\\delta",!0),G(Y,Be,zt,"\u03F5","\\epsilon",!0),G(Y,Be,zt,"\u03B6","\\zeta",!0),G(Y,Be,zt,"\u03B7","\\eta",!0),G(Y,Be,zt,"\u03B8","\\theta",!0),G(Y,Be,zt,"\u03B9","\\iota",!0),G(Y,Be,zt,"\u03BA","\\kappa",!0),G(Y,Be,zt,"\u03BB","\\lambda",!0),G(Y,Be,zt,"\u03BC","\\mu",!0),G(Y,Be,zt,"\u03BD","\\nu",!0),G(Y,Be,zt,"\u03BE","\\xi",!0),G(Y,Be,zt,"\u03BF","\\omicron",!0),G(Y,Be,zt,"\u03C0","\\pi",!0),G(Y,Be,zt,"\u03C1","\\rho",!0),G(Y,Be,zt,"\u03C3","\\sigma",!0),G(Y,Be,zt,"\u03C4","\\tau",!0),G(Y,Be,zt,"\u03C5","\\upsilon",!0),G(Y,Be,zt,"\u03D5","\\phi",!0),G(Y,Be,zt,"\u03C7","\\chi",!0),G(Y,Be,zt,"\u03C8","\\psi",!0),G(Y,Be,zt,"\u03C9","\\omega",!0),G(Y,Be,zt,"\u03B5","\\varepsilon",!0),G(Y,Be,zt,"\u03D1","\\vartheta",!0),G(Y,Be,zt,"\u03D6","\\varpi",!0),G(Y,Be,zt,"\u03F1","\\varrho",!0),G(Y,Be,zt,"\u03C2","\\varsigma",!0),G(Y,Be,zt,"\u03C6","\\varphi",!0),G(Y,Be,bt,"\u2217","*"),G(Y,Be,bt,"+","+"),G(Y,Be,bt,"\u2212","-"),G(Y,Be,bt,"\u22C5","\\cdot",!0),G(Y,Be,bt,"\u2218","\\circ"),G(Y,Be,bt,"\xF7","\\div",!0),G(Y,Be,bt,"\xB1","\\pm",!0),G(Y,Be,bt,"\xD7","\\times",!0),G(Y,Be,bt,"\u2229","\\cap",!0),G(Y,Be,bt,"\u222A","\\cup",!0),G(Y,Be,bt,"\u2216","\\setminus"),G(Y,Be,bt,"\u2227","\\land"),G(Y,Be,bt,"\u2228","\\lor"),G(Y,Be,bt,"\u2227","\\wedge",!0),G(Y,Be,bt,"\u2228","\\vee",!0),G(Y,Be,we,"\u221A","\\surd"),G(Y,Be,Jt,"(","("),G(Y,Be,Jt,"[","["),G(Y,Be,Jt,"\u27E8","\\langle",!0),G(Y,Be,Jt,"\u2223","\\lvert"),G(Y,Be,Jt,"\u2225","\\lVert"),G(Y,Be,nt,")",")"),G(Y,Be,nt,"]","]"),G(Y,Be,nt,"?","?"),G(Y,Be,nt,"!","!"),G(Y,Be,nt,"\u27E9","\\rangle",!0),G(Y,Be,nt,"\u2223","\\rvert"),G(Y,Be,nt,"\u2225","\\rVert"),G(Y,Be,ye,"=","="),G(Y,Be,ye,"<","<"),G(Y,Be,ye,">",">"),G(Y,Be,ye,":",":"),G(Y,Be,ye,"\u2248","\\approx",!0),G(Y,Be,ye,"\u2245","\\cong",!0),G(Y,Be,ye,"\u2265","\\ge"),G(Y,Be,ye,"\u2265","\\geq",!0),G(Y,Be,ye,"\u2190","\\gets"),G(Y,Be,ye,">","\\gt"),G(Y,Be,ye,"\u2208","\\in",!0),G(Y,Be,ye,"\uE020","\\@not"),G(Y,Be,ye,"\u2282","\\subset",!0),G(Y,Be,ye,"\u2283","\\supset",!0),G(Y,Be,ye,"\u2286","\\subseteq",!0),G(Y,Be,ye,"\u2287","\\supseteq",!0),G(Y,J,ye,"\u2288","\\nsubseteq",!0),G(Y,J,ye,"\u2289","\\nsupseteq",!0),G(Y,Be,ye,"\u22A8","\\models"),G(Y,Be,ye,"\u2190","\\leftarrow",!0),G(Y,Be,ye,"\u2264","\\le"),G(Y,Be,ye,"\u2264","\\leq",!0),G(Y,Be,ye,"<","\\lt"),G(Y,Be,ye,"\u2192","\\rightarrow",!0),G(Y,Be,ye,"\u2192","\\to"),G(Y,J,ye,"\u2271","\\ngeq",!0),G(Y,J,ye,"\u2270","\\nleq",!0),G(Y,Be,Le,"\xA0","\\ "),G(Y,Be,Le,"\xA0","~"),G(Y,Be,Le,"\xA0","\\space"),G(Y,Be,Le,"\xA0","\\nobreakspace"),G(Pe,Be,Le,"\xA0","\\ "),G(Pe,Be,Le,"\xA0","~"),G(Pe,Be,Le,"\xA0","\\space"),G(Pe,Be,Le,"\xA0","\\nobreakspace"),G(Y,Be,Le,null,"\\nobreak"),G(Y,Be,Le,null,"\\allowbreak"),G(Y,Be,ge,",",","),G(Y,Be,ge,";",";"),G(Y,J,bt,"\u22BC","\\barwedge",!0),G(Y,J,bt,"\u22BB","\\veebar",!0),G(Y,Be,bt,"\u2299","\\odot",!0),G(Y,Be,bt,"\u2295","\\oplus",!0),G(Y,Be,bt,"\u2297","\\otimes",!0),G(Y,Be,we,"\u2202","\\partial",!0),G(Y,Be,bt,"\u2298","\\oslash",!0),G(Y,J,bt,"\u229A","\\circledcirc",!0),G(Y,J,bt,"\u22A1","\\boxdot",!0),G(Y,Be,bt,"\u25B3","\\bigtriangleup"),G(Y,Be,bt,"\u25BD","\\bigtriangledown"),G(Y,Be,bt,"\u2020","\\dagger"),G(Y,Be,bt,"\u22C4","\\diamond"),G(Y,Be,bt,"\u22C6","\\star"),G(Y,Be,bt,"\u25C3","\\triangleleft"),G(Y,Be,bt,"\u25B9","\\triangleright"),G(Y,Be,Jt,"{","\\{"),G(Pe,Be,we,"{","\\{"),G(Pe,Be,we,"{","\\textbraceleft"),G(Y,Be,nt,"}","\\}"),G(Pe,Be,we,"}","\\}"),G(Pe,Be,we,"}","\\textbraceright"),G(Y,Be,Jt,"{","\\lbrace"),G(Y,Be,nt,"}","\\rbrace"),G(Y,Be,Jt,"[","\\lbrack"),G(Pe,Be,we,"[","\\lbrack"),G(Y,Be,nt,"]","\\rbrack"),G(Pe,Be,we,"]","\\rbrack"),G(Y,Be,Jt,"(","\\lparen"),G(Y,Be,nt,")","\\rparen"),G(Pe,Be,we,"<","\\textless"),G(Pe,Be,we,">","\\textgreater"),G(Y,Be,Jt,"\u230A","\\lfloor",!0),G(Y,Be,nt,"\u230B","\\rfloor",!0),G(Y,Be,Jt,"\u2308","\\lceil",!0),G(Y,Be,nt,"\u2309","\\rceil",!0),G(Y,Be,we,"\\","\\backslash"),G(Y,Be,we,"\u2223","|"),G(Y,Be,we,"\u2223","\\vert"),G(Pe,Be,we,"|","\\textbar"),G(Y,Be,we,"\u2225","\\|"),G(Y,Be,we,"\u2225","\\Vert"),G(Pe,Be,we,"\u2225","\\textbardbl"),G(Pe,Be,we,"~","\\textasciitilde"),G(Pe,Be,we,"\\","\\textbackslash"),G(Pe,Be,we,"^","\\textasciicircum"),G(Y,Be,ye,"\u2191","\\uparrow",!0),G(Y,Be,ye,"\u21D1","\\Uparrow",!0),G(Y,Be,ye,"\u2193","\\downarrow",!0),G(Y,Be,ye,"\u21D3","\\Downarrow",!0),G(Y,Be,ye,"\u2195","\\updownarrow",!0),G(Y,Be,ye,"\u21D5","\\Updownarrow",!0),G(Y,Be,Fr,"\u2210","\\coprod"),G(Y,Be,Fr,"\u22C1","\\bigvee"),G(Y,Be,Fr,"\u22C0","\\bigwedge"),G(Y,Be,Fr,"\u2A04","\\biguplus"),G(Y,Be,Fr,"\u22C2","\\bigcap"),G(Y,Be,Fr,"\u22C3","\\bigcup"),G(Y,Be,Fr,"\u222B","\\int"),G(Y,Be,Fr,"\u222B","\\intop"),G(Y,Be,Fr,"\u222C","\\iint"),G(Y,Be,Fr,"\u222D","\\iiint"),G(Y,Be,Fr,"\u220F","\\prod"),G(Y,Be,Fr,"\u2211","\\sum"),G(Y,Be,Fr,"\u2A02","\\bigotimes"),G(Y,Be,Fr,"\u2A01","\\bigoplus"),G(Y,Be,Fr,"\u2A00","\\bigodot"),G(Y,Be,Fr,"\u222E","\\oint"),G(Y,Be,Fr,"\u222F","\\oiint"),G(Y,Be,Fr,"\u2230","\\oiiint"),G(Y,Be,Fr,"\u2A06","\\bigsqcup"),G(Y,Be,Fr,"\u222B","\\smallint"),G(Pe,Be,Rt,"\u2026","\\textellipsis"),G(Y,Be,Rt,"\u2026","\\mathellipsis"),G(Pe,Be,Rt,"\u2026","\\ldots",!0),G(Y,Be,Rt,"\u2026","\\ldots",!0),G(Y,Be,Rt,"\u22EF","\\@cdots",!0),G(Y,Be,Rt,"\u22F1","\\ddots",!0),G(Y,Be,we,"\u22EE","\\varvdots"),G(Y,Be,St,"\u02CA","\\acute"),G(Y,Be,St,"\u02CB","\\grave"),G(Y,Be,St,"\xA8","\\ddot"),G(Y,Be,St,"~","\\tilde"),G(Y,Be,St,"\u02C9","\\bar"),G(Y,Be,St,"\u02D8","\\breve"),G(Y,Be,St,"\u02C7","\\check"),G(Y,Be,St,"^","\\hat"),G(Y,Be,St,"\u20D7","\\vec"),G(Y,Be,St,"\u02D9","\\dot"),G(Y,Be,St,"\u02DA","\\mathring"),G(Y,Be,zt,"\u0131","\\imath",!0),G(Y,Be,zt,"\u0237","\\jmath",!0),G(Pe,Be,we,"\u0131","\\i",!0),G(Pe,Be,we,"\u0237","\\j",!0),G(Pe,Be,we,"\xDF","\\ss",!0),G(Pe,Be,we,"\xE6","\\ae",!0),G(Pe,Be,we,"\xE6","\\ae",!0),G(Pe,Be,we,"\u0153","\\oe",!0),G(Pe,Be,we,"\xF8","\\o",!0),G(Pe,Be,we,"\xC6","\\AE",!0),G(Pe,Be,we,"\u0152","\\OE",!0),G(Pe,Be,we,"\xD8","\\O",!0),G(Pe,Be,St,"\u02CA","\\'"),G(Pe,Be,St,"\u02CB","\\`"),G(Pe,Be,St,"\u02C6","\\^"),G(Pe,Be,St,"\u02DC","\\~"),G(Pe,Be,St,"\u02C9","\\="),G(Pe,Be,St,"\u02D8","\\u"),G(Pe,Be,St,"\u02D9","\\."),G(Pe,Be,St,"\u02DA","\\r"),G(Pe,Be,St,"\u02C7","\\v"),G(Pe,Be,St,"\xA8",'\\"'),G(Pe,Be,St,"\u02DD","\\H"),G(Pe,Be,St,"\u25EF","\\textcircled");var Ke={"--":!0,"---":!0,"``":!0,"''":!0};G(Pe,Be,we,"\u2013","--"),G(Pe,Be,we,"\u2013","\\textendash"),G(Pe,Be,we,"\u2014","---"),G(Pe,Be,we,"\u2014","\\textemdash"),G(Pe,Be,we,"\u2018","`"),G(Pe,Be,we,"\u2018","\\textquoteleft"),G(Pe,Be,we,"\u2019","'"),G(Pe,Be,we,"\u2019","\\textquoteright"),G(Pe,Be,we,"\u201C","``"),G(Pe,Be,we,"\u201C","\\textquotedblleft"),G(Pe,Be,we,"\u201D","''"),G(Pe,Be,we,"\u201D","\\textquotedblright"),G(Y,Be,we,"\xB0","\\degree",!0),G(Pe,Be,we,"\xB0","\\degree"),G(Pe,Be,we,"\xB0","\\textdegree",!0),G(Y,Be,zt,"\xA3","\\pounds"),G(Y,Be,zt,"\xA3","\\mathsterling",!0),G(Pe,Be,zt,"\xA3","\\pounds"),G(Pe,Be,zt,"\xA3","\\textsterling",!0),G(Y,J,we,"\u2720","\\maltese"),G(Pe,J,we,"\u2720","\\maltese"),G(Pe,Be,Le,"\xA0","\\ "),G(Pe,Be,Le,"\xA0"," "),G(Pe,Be,Le,"\xA0","~");for(var Je='0123456789/@."',ut=0;ut<Je.length;ut++){var vt=Je.charAt(ut);G(Y,Be,we,vt,vt)}for(var _t='0123456789!@*()-=+[]<>|";:?/.,',Ut=0;Ut<_t.length;Ut++){var Bt=_t.charAt(Ut);G(Pe,Be,we,Bt,Bt)}for(var dr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Oe=0;Oe<dr.length;Oe++){var xe=dr.charAt(Oe);G(Y,Be,zt,xe,xe),G(Pe,Be,we,xe,xe)}G(Y,J,we,"C","\u2102"),G(Pe,J,we,"C","\u2102"),G(Y,J,we,"H","\u210D"),G(Pe,J,we,"H","\u210D"),G(Y,J,we,"N","\u2115"),G(Pe,J,we,"N","\u2115"),G(Y,J,we,"P","\u2119"),G(Pe,J,we,"P","\u2119"),G(Y,J,we,"Q","\u211A"),G(Pe,J,we,"Q","\u211A"),G(Y,J,we,"R","\u211D"),G(Pe,J,we,"R","\u211D"),G(Y,J,we,"Z","\u2124"),G(Pe,J,we,"Z","\u2124"),G(Y,Be,zt,"h","\u210E"),G(Pe,Be,zt,"h","\u210E");for(var V="",q=0;q<dr.length;q++){var ue=dr.charAt(q);V=String.fromCharCode(55349,56320+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56372+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56424+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56580+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56736+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56788+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56840+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56944+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),q<26&&(V=String.fromCharCode(55349,56632+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V),V=String.fromCharCode(55349,56476+q),G(Y,Be,zt,ue,V),G(Pe,Be,we,ue,V))}V=String.fromCharCode(55349,56668),G(Y,Be,zt,"k",V),G(Pe,Be,we,"k",V);for(var me=0;me<10;me++){var Ee=me.toString();V=String.fromCharCode(55349,57294+me),G(Y,Be,zt,Ee,V),G(Pe,Be,we,Ee,V),V=String.fromCharCode(55349,57314+me),G(Y,Be,zt,Ee,V),G(Pe,Be,we,Ee,V),V=String.fromCharCode(55349,57324+me),G(Y,Be,zt,Ee,V),G(Pe,Be,we,Ee,V),V=String.fromCharCode(55349,57334+me),G(Y,Be,zt,Ee,V),G(Pe,Be,we,Ee,V)}for(var Ge="\xC7\xD0\xDE\xE7\xFE",dt=0;dt<Ge.length;dt++){var Kt=Ge.charAt(dt);G(Y,Be,zt,Kt,Kt),G(Pe,Be,we,Kt,Kt)}G(Pe,Be,we,"\xF0","\xF0"),G(Pe,Be,we,"\u2013","\u2013"),G(Pe,Be,we,"\u2014","\u2014"),G(Pe,Be,we,"\u2018","\u2018"),G(Pe,Be,we,"\u2019","\u2019"),G(Pe,Be,we,"\u201C","\u201C"),G(Pe,Be,we,"\u201D","\u201D");var tr=[["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"]],wt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],It=function(re,ve){var Se=re.charCodeAt(0),We=re.charCodeAt(1),xt=(Se-55296)*1024+(We-56320)+65536,Qt=ve==="math"?0:1;if(119808<=xt&&xt<120484){var Or=Math.floor((xt-119808)/26);return[tr[Or][2],tr[Or][Qt]]}else if(120782<=xt&&xt<=120831){var Ur=Math.floor((xt-120782)/10);return[wt[Ur][2],wt[Ur][Qt]]}else{if(xt===120485||xt===120486)return[tr[0][2],tr[0][Qt]];if(120486<xt&&xt<120782)return["",""];throw new s("Unsupported character: "+re)}},Lt=[[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]],Nt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],$e=function(re,ve){return ve.size<2?re:Lt[re-1][ve.size-1]},ot=function(){function Vt(ve){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=ve.style,this.color=ve.color,this.size=ve.size||Vt.BASESIZE,this.textSize=ve.textSize||this.size,this.phantom=!!ve.phantom,this.font=ve.font||"",this.fontFamily=ve.fontFamily||"",this.fontWeight=ve.fontWeight||"",this.fontShape=ve.fontShape||"",this.sizeMultiplier=Nt[this.size-1],this.maxSize=ve.maxSize,this.minRuleThickness=ve.minRuleThickness,this._fontMetrics=void 0}var re=Vt.prototype;return re.extend=function(Se){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 xt in Se)Se.hasOwnProperty(xt)&&(We[xt]=Se[xt]);return new Vt(We)},re.havingStyle=function(Se){return this.style===Se?this:this.extend({style:Se,size:$e(this.textSize,Se)})},re.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},re.havingSize=function(Se){return this.size===Se&&this.textSize===Se?this:this.extend({style:this.style.text(),size:Se,textSize:Se,sizeMultiplier:Nt[Se-1]})},re.havingBaseStyle=function(Se){Se=Se||this.style.text();var We=$e(Vt.BASESIZE,Se);return this.size===We&&this.textSize===Vt.BASESIZE&&this.style===Se?this:this.extend({style:Se,size:We})},re.havingBaseSizing=function(){var Se;switch(this.style.id){case 4:case 5:Se=3;break;case 6:case 7:Se=1;break;default:Se=6}return this.extend({style:this.style.text(),size:Se})},re.withColor=function(Se){return this.extend({color:Se})},re.withPhantom=function(){return this.extend({phantom:!0})},re.withFont=function(Se){return this.extend({font:Se})},re.withTextFontFamily=function(Se){return this.extend({fontFamily:Se,font:""})},re.withTextFontWeight=function(Se){return this.extend({fontWeight:Se,font:""})},re.withTextFontShape=function(Se){return this.extend({fontShape:Se,font:""})},re.sizingClasses=function(Se){return Se.size!==this.size?["sizing","reset-size"+Se.size,"size"+this.size]:[]},re.baseSizingClasses=function(){return this.size!==Vt.BASESIZE?["sizing","reset-size"+this.size,"size"+Vt.BASESIZE]:[]},re.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=jt(this.size)),this._fontMetrics},re.getColor=function(){return this.phantom?"transparent":this.color},Vt}();ot.BASESIZE=6;var ft=ot,ze={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},Ye={ex:!0,em:!0,mu:!0},qe=function(re){return typeof re!="string"&&(re=re.unit),re in ze||re in Ye||re==="ex"},rt=function(re,ve){var Se;if(re.unit in ze)Se=ze[re.unit]/ve.fontMetrics().ptPerEm/ve.sizeMultiplier;else if(re.unit==="mu")Se=ve.fontMetrics().cssEmPerMu;else{var We;if(ve.style.isTight()?We=ve.havingStyle(ve.style.text()):We=ve,re.unit==="ex")Se=We.fontMetrics().xHeight;else if(re.unit==="em")Se=We.fontMetrics().quad;else throw new s("Invalid unit: '"+re.unit+"'");We!==ve&&(Se*=We.sizeMultiplier/ve.sizeMultiplier)}return Math.min(re.number*Se,ve.maxSize)},ct=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],st=function(re,ve,Se){return Ue[Se][re]&&Ue[Se][re].replace&&(re=Ue[Se][re].replace),{value:re,metrics:tt(re,ve,Se)}},et=function(re,ve,Se,We,xt){var Qt=st(re,ve,Se),Or=Qt.metrics;re=Qt.value;var Ur;if(Or){var on=Or.italic;(Se==="text"||We&&We.font==="mathit")&&(on=0),Ur=new Ze(re,Or.height,Or.depth,on,Or.skew,Or.width,xt)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+re+"' in style '"+ve+"' and mode '"+Se+"'")),Ur=new Ze(re,0,0,0,0,0,xt);if(We){Ur.maxFontSize=We.sizeMultiplier,We.style.isTight()&&Ur.classes.push("mtight");var Dn=We.getColor();Dn&&(Ur.style.color=Dn)}return Ur},Ft=function(re,ve,Se,We){return We===void 0&&(We=[]),Se.font==="boldsymbol"&&st(re,"Main-Bold",ve).metrics?et(re,"Main-Bold",ve,Se,We.concat(["mathbf"])):re==="\\"||Ue[ve][re].font==="main"?et(re,"Main-Regular",ve,Se,We):et(re,"AMS-Regular",ve,Se,We.concat(["amsrm"]))},Ct=function(re,ve,Se,We){return/[0-9]/.test(re.charAt(0))||b.contains(ct,re)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(re,ve,Se,We){return b.contains(ct,re)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(re.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(re,ve,Se,We){return st(re,"Math-BoldItalic",ve).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_r=function(re,ve,Se){var We=re.mode,xt=re.text,Qt=["mord"],Or=We==="math"||We==="text"&&ve.font,Ur=Or?ve.font:ve.fontFamily;if(xt.charCodeAt(0)===55349){var on=It(xt,We),Dn=on[0],Hn=on[1];return et(xt,Dn,We,ve,Qt.concat(Hn))}else if(Ur){var jn,ri;if(Ur==="boldsymbol"||Ur==="mathnormal"){var wi=Ur==="boldsymbol"?Xt(xt,We,ve,Qt):ir(xt,We,ve,Qt);jn=wi.fontName,ri=[wi.fontClass]}else b.contains(ct,xt)?(jn="Main-Italic",ri=["mathit"]):Or?(jn=En[Ur].fontName,ri=[Ur]):(jn=fn(Ur,ve.fontWeight,ve.fontShape),ri=[Ur,ve.fontWeight,ve.fontShape]);if(st(xt,jn,We).metrics)return et(xt,jn,We,ve,Qt.concat(ri));if(Ke.hasOwnProperty(xt)&&jn.substr(0,10)==="Typewriter"){for(var Gi=[],xa=0;xa<xt.length;xa++)Gi.push(et(xt[xa],jn,We,ve,Qt.concat(ri)));return nn(Gi)}}if(Se==="mathord"){var no=Ct(xt,We,ve,Qt);return et(xt,no.fontName,We,ve,Qt.concat([no.fontClass]))}else if(Se==="textord"){var uo=Ue[We][xt]&&Ue[We][xt].font;if(uo==="ams"){var Ja=fn("amsrm",ve.fontWeight,ve.fontShape);return et(xt,Ja,We,ve,Qt.concat("amsrm",ve.fontWeight,ve.fontShape))}else if(uo==="main"||!uo){var Go=fn("textrm",ve.fontWeight,ve.fontShape);return et(xt,Go,We,ve,Qt.concat(ve.fontWeight,ve.fontShape))}else{var _o=fn(uo,ve.fontWeight,ve.fontShape);return et(xt,_o,We,ve,Qt.concat(_o,ve.fontWeight,ve.fontShape))}}else throw new Error("unexpected type: "+Se+" in makeOrd")},Br=function(re,ve){if(Ce(re.classes)!==Ce(ve.classes)||re.skew!==ve.skew||re.maxFontSize!==ve.maxFontSize)return!1;for(var Se in re.style)if(re.style.hasOwnProperty(Se)&&re.style[Se]!==ve.style[Se])return!1;for(var We in ve.style)if(ve.style.hasOwnProperty(We)&&re.style[We]!==ve.style[We])return!1;return!0},Gr=function(re){for(var ve=0;ve<re.length-1;ve++){var Se=re[ve],We=re[ve+1];Se instanceof Ze&&We instanceof Ze&&Br(Se,We)&&(Se.text+=We.text,Se.height=Math.max(Se.height,We.height),Se.depth=Math.max(Se.depth,We.depth),Se.italic=We.italic,re.splice(ve+1,1),ve--)}return re},un=function(re){for(var ve=0,Se=0,We=0,xt=0;xt<re.children.length;xt++){var Qt=re.children[xt];Qt.height>ve&&(ve=Qt.height),Qt.depth>Se&&(Se=Qt.depth),Qt.maxFontSize>We&&(We=Qt.maxFontSize)}re.height=ve,re.depth=Se,re.maxFontSize=We},mn=function(re,ve,Se,We){var xt=new ce(re,ve,Se,We);return un(xt),xt},_n=function(re,ve,Se,We){return new ce(re,ve,Se,We)},qr=function(re,ve,Se){var We=mn([re],[],ve);return We.height=Math.max(Se||ve.fontMetrics().defaultRuleThickness,ve.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},yn=function(re,ve,Se,We){var xt=new le(re,ve,Se,We);return un(xt),xt},nn=function(re){var ve=new se(re);return un(ve),ve},cr=function(re,ve){return re instanceof se?mn([],[re],ve):re},Pr=function(re){if(re.positionType==="individualShift"){for(var ve=re.children,Se=[ve[0]],We=-ve[0].shift-ve[0].elem.depth,xt=We,Qt=1;Qt<ve.length;Qt++){var Or=-ve[Qt].shift-xt-ve[Qt].elem.depth,Ur=Or-(ve[Qt-1].elem.height+ve[Qt-1].elem.depth);xt=xt+Or,Se.push({type:"kern",size:Ur}),Se.push(ve[Qt])}return{children:Se,depth:We}}var on;if(re.positionType==="top"){for(var Dn=re.positionData,Hn=0;Hn<re.children.length;Hn++){var jn=re.children[Hn];Dn-=jn.type==="kern"?jn.size:jn.elem.height+jn.elem.depth}on=Dn}else if(re.positionType==="bottom")on=-re.positionData;else{var ri=re.children[0];if(ri.type!=="elem")throw new Error('First child must have type "elem".');if(re.positionType==="shift")on=-ri.elem.depth-re.positionData;else if(re.positionType==="firstBaseline")on=-ri.elem.depth;else throw new Error("Invalid positionType "+re.positionType+".")}return{children:re.children,depth:on}},Ar=function(re,ve){for(var Se=Pr(re),We=Se.children,xt=Se.depth,Qt=0,Or=0;Or<We.length;Or++){var Ur=We[Or];if(Ur.type==="elem"){var on=Ur.elem;Qt=Math.max(Qt,on.maxFontSize,on.height)}}Qt+=2;var Dn=mn(["pstrut"],[]);Dn.style.height=Qt+"em";for(var Hn=[],jn=xt,ri=xt,wi=xt,Gi=0;Gi<We.length;Gi++){var xa=We[Gi];if(xa.type==="kern")wi+=xa.size;else{var no=xa.elem,uo=xa.wrapperClasses||[],Ja=xa.wrapperStyle||{},Go=mn(uo,[Dn,no],void 0,Ja);Go.style.top=-Qt-wi-no.depth+"em",xa.marginLeft&&(Go.style.marginLeft=xa.marginLeft),xa.marginRight&&(Go.style.marginRight=xa.marginRight),Hn.push(Go),wi+=no.height+no.depth}jn=Math.min(jn,wi),ri=Math.max(ri,wi)}var _o=mn(["vlist"],Hn);_o.style.height=ri+"em";var xo;if(jn<0){var Na=mn([],[]),Ha=mn(["vlist"],[Na]);Ha.style.height=-jn+"em";var ns=mn(["vlist-s"],[new Ze("\u200B")]);xo=[mn(["vlist-r"],[_o,ns]),mn(["vlist-r"],[Ha])]}else xo=[mn(["vlist-r"],[_o])];var ps=mn(["vlist-t"],xo);return xo.length===2&&ps.classes.push("vlist-t2"),ps.height=ri,ps.depth=-jn,ps},Mr=function(re,ve){var Se=mn(["mspace"],[],ve),We=rt(re,ve);return Se.style.marginRight=We+"em",Se},fn=function(re,ve,Se){var We="";switch(re){case"amsrm":We="AMS";break;case"textrm":We="Main";break;case"textsf":We="SansSerif";break;case"texttt":We="Typewriter";break;default:We=re}var xt;return ve==="textbf"&&Se==="textit"?xt="BoldItalic":ve==="textbf"?xt="Bold":ve==="textit"?xt="Italic":xt="Regular",We+"-"+xt},En={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"}},Rn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},oi=function(re,ve){var Se=Rn[re],We=Se[0],xt=Se[1],Qt=Se[2],Or=new ne(We),Ur=new De([Or],{width:xt+"em",height:Qt+"em",style:"width:"+xt+"em",viewBox:"0 0 "+1e3*xt+" "+1e3*Qt,preserveAspectRatio:"xMinYMin"}),on=_n(["overlay"],[Ur],ve);return on.height=Qt,on.style.height=Qt+"em",on.style.width=xt+"em",on},An={fontMap:En,makeSymbol:et,mathsym:Ft,makeSpan:mn,makeSvgSpan:_n,makeLineSpan:qr,makeAnchor:yn,makeFragment:nn,wrapFragment:cr,makeVList:Ar,makeOrd:_r,makeGlue:Mr,staticSvg:oi,svgData:Rn,tryCombineChars:Gr};function mi(Vt,re){var ve=ai(Vt,re);if(!ve)throw new Error("Expected node of type "+re+", but got "+(Vt?"node of type "+Vt.type:String(Vt)));return ve}function ai(Vt,re){return Vt&&Vt.type===re?Vt:null}function Xr(Vt,re){var ve=pn(Vt,re);if(!ve)throw new Error('Expected node of type "atom" and family "'+re+'", but got '+(Vt?Vt.type==="atom"?"atom of family "+Vt.family:"node of type "+Vt.type:String(Vt)));return ve}function pn(Vt,re){return Vt&&Vt.type==="atom"&&Vt.family===re?Vt:null}function Ln(Vt){var re=tn(Vt);if(!re)throw new Error("Expected node of symbol group type, but got "+(Vt?"node of type "+Vt.type:String(Vt)));return re}function tn(Vt){return Vt&&(Vt.type==="atom"||Tt.hasOwnProperty(Vt.type))?Vt:null}var $t={number:3,unit:"mu"},yr={number:4,unit:"mu"},kr={number:5,unit:"mu"},gr={mord:{mop:$t,mbin:yr,mrel:kr,minner:$t},mop:{mord:$t,mop:$t,mrel:kr,minner:$t},mbin:{mord:yr,mop:yr,mopen:yr,minner:yr},mrel:{mord:kr,mop:kr,mopen:kr,minner:kr},mopen:{},mclose:{mop:$t,mbin:yr,mrel:kr,minner:$t},mpunct:{mord:$t,mop:$t,mrel:kr,mopen:$t,mclose:$t,mpunct:$t,minner:$t},minner:{mord:$t,mop:$t,mbin:yr,mrel:kr,mopen:$t,mpunct:$t,minner:$t}},Kr={mord:{mop:$t},mop:{mord:$t,mop:$t},mbin:{},mrel:{},mopen:{},mclose:{mop:$t},mpunct:{},minner:{mop:$t}},sn={},Ir={},Rr={};function ar(Vt){for(var re=Vt.type,ve=Vt.names,Se=Vt.props,We=Vt.handler,xt=Vt.htmlBuilder,Qt=Vt.mathmlBuilder,Or={type:re,numArgs:Se.numArgs,argTypes:Se.argTypes,greediness:Se.greediness===void 0?1:Se.greediness,allowedInText:!!Se.allowedInText,allowedInMath:Se.allowedInMath===void 0?!0:Se.allowedInMath,numOptionalArgs:Se.numOptionalArgs||0,infix:!!Se.infix,handler:We},Ur=0;Ur<ve.length;++Ur)sn[ve[Ur]]=Or;re&&(xt&&(Ir[re]=xt),Qt&&(Rr[re]=Qt))}function Tr(Vt){var re=Vt.type,ve=Vt.htmlBuilder,Se=Vt.mathmlBuilder;ar({type:re,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ve,mathmlBuilder:Se})}var br=function(re){var ve=ai(re,"ordgroup");return ve?ve.body:[re]},fr=An.makeSpan,zr=["leftmost","mbin","mopen","mrel","mop","mpunct"],wn=["rightmost","mrel","mclose","mpunct"],On={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},Wn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Xn=function(re,ve,Se,We){We===void 0&&(We=[null,null]);for(var xt=[],Qt=0;Qt<re.length;Qt++){var Or=ki(re[Qt],ve);if(Or instanceof se){var Ur=Or.children;xt.push.apply(xt,Ur)}else xt.push(Or)}if(!Se)return xt;var on=ve;if(re.length===1){var Dn=ai(re[0],"sizing")||ai(re[0],"styling");Dn&&(Dn.type==="sizing"?on=ve.havingSize(Dn.size):Dn.type==="styling"&&(on=ve.havingStyle(On[Dn.style])))}var Hn=fr([We[0]||"leftmost"],[],ve),jn=fr([We[1]||"rightmost"],[],ve);return ii(xt,function(ri,wi){var Gi=wi.classes[0],xa=ri.classes[0];Gi==="mbin"&&b.contains(wn,xa)?wi.classes[0]="mord":xa==="mbin"&&b.contains(zr,Gi)&&(ri.classes[0]="mord")},{node:Hn},jn),ii(xt,function(ri,wi){var Gi=gi(wi),xa=gi(ri),no=Gi&&xa?ri.hasClass("mtight")?Kr[Gi][xa]:gr[Gi][xa]:null;if(no)return An.makeGlue(no,on)},{node:Hn},jn),xt},ii=function Vt(re,ve,Se,We){We&&re.push(We);for(var xt=0;xt<re.length;xt++){var Qt=re[xt],Or=li(Qt);if(Or){Vt(Or.children,ve,Se);continue}if(Qt.classes[0]==="mspace")continue;var Ur=ve(Qt,Se.node);Ur&&(Se.insertAfter?Se.insertAfter(Ur):(re.unshift(Ur),xt++)),Se.node=Qt,Se.insertAfter=function(on){return function(Dn){re.splice(on+1,0,Dn),xt++}}(xt)}We&&re.pop()},li=function(re){return re instanceof se||re instanceof le?re:null},bi=function Vt(re,ve){var Se=li(re);if(Se){var We=Se.children;if(We.length){if(ve==="right")return Vt(We[We.length-1],"right");if(ve==="left")return Vt(We[0],"left")}}return re},gi=function(re,ve){return re?(ve&&(re=bi(re,ve)),Wn[re.classes[0]]||null):null},Ni=function(re,ve){var Se=["nulldelimiter"].concat(re.baseSizingClasses());return fr(ve.concat(Se))},ki=function(re,ve,Se){if(!re)return fr();if(Ir[re.type]){var We=Ir[re.type](re,ve);if(Se&&ve.size!==Se.size){We=fr(ve.sizingClasses(Se),[We],ve);var xt=ve.sizeMultiplier/Se.sizeMultiplier;We.height*=xt,We.depth*=xt}return We}else throw new s("Got group of unknown type: '"+re.type+"'")};function sa(Vt,re){var ve=fr(["base"],Vt,re),Se=fr(["strut"]);return Se.style.height=ve.height+ve.depth+"em",Se.style.verticalAlign=-ve.depth+"em",ve.children.unshift(Se),ve}function Wi(Vt,re){var ve=null;Vt.length===1&&Vt[0].type==="tag"&&(ve=Vt[0].tag,Vt=Vt[0].body);for(var Se=Xn(Vt,re,!0),We=[],xt=[],Qt=0;Qt<Se.length;Qt++)if(xt.push(Se[Qt]),Se[Qt].hasClass("mbin")||Se[Qt].hasClass("mrel")||Se[Qt].hasClass("allowbreak")){for(var Or=!1;Qt<Se.length-1&&Se[Qt+1].hasClass("mspace")&&!Se[Qt+1].hasClass("newline");)Qt++,xt.push(Se[Qt]),Se[Qt].hasClass("nobreak")&&(Or=!0);Or||(We.push(sa(xt,re)),xt=[])}else Se[Qt].hasClass("newline")&&(xt.pop(),xt.length>0&&(We.push(sa(xt,re)),xt=[]),We.push(Se[Qt]));xt.length>0&&We.push(sa(xt,re));var Ur;ve&&(Ur=sa(Xn(ve,re,!0)),Ur.classes=["tag"],We.push(Ur));var on=fr(["katex-html"],We);if(on.setAttribute("aria-hidden","true"),Ur){var Dn=Ur.children[0];Dn.style.height=on.height+on.depth+"em",Dn.style.verticalAlign=-on.depth+"em"}return on}function Ta(Vt){return new se(Vt)}var La=function(){function Vt(ve,Se){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ve,this.attributes={},this.children=Se||[]}var re=Vt.prototype;return re.setAttribute=function(Se,We){this.attributes[Se]=We},re.getAttribute=function(Se){return this.attributes[Se]},re.toNode=function(){var Se=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Se.setAttribute(We,this.attributes[We]);for(var xt=0;xt<this.children.length;xt++)Se.appendChild(this.children[xt].toNode());return Se},re.toMarkup=function(){var Se="<"+this.type;for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Se+=" "+We+'="',Se+=b.escape(this.attributes[We]),Se+='"');Se+=">";for(var xt=0;xt<this.children.length;xt++)Se+=this.children[xt].toMarkup();return Se+="</"+this.type+">",Se},re.toText=function(){return this.children.map(function(Se){return Se.toText()}).join("")},Vt}(),ta=function(){function Vt(ve){this.text=void 0,this.text=ve}var re=Vt.prototype;return re.toNode=function(){return document.createTextNode(this.text)},re.toMarkup=function(){return b.escape(this.toText())},re.toText=function(){return this.text},Vt}(),Ka=function(){function Vt(ve){this.width=void 0,this.character=void 0,this.width=ve,ve>=.05555&&ve<=.05556?this.character="\u200A":ve>=.1666&&ve<=.1667?this.character="\u2009":ve>=.2222&&ve<=.2223?this.character="\u2005":ve>=.2777&&ve<=.2778?this.character="\u2005\u200A":ve>=-.05556&&ve<=-.05555?this.character="\u200A\u2063":ve>=-.1667&&ve<=-.1666?this.character="\u2009\u2063":ve>=-.2223&&ve<=-.2222?this.character="\u205F\u2063":ve>=-.2778&&ve<=-.2777?this.character="\u2005\u2063":this.character=null}var re=Vt.prototype;return re.toNode=function(){if(this.character)return document.createTextNode(this.character);var Se=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Se.setAttribute("width",this.width+"em"),Se},re.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},re.toText=function(){return this.character?this.character:" "},Vt}(),ni={MathNode:La,TextNode:ta,SpaceNode:Ka,newDocumentFragment:Ta},zi=function(re,ve,Se){return Ue[ve][re]&&Ue[ve][re].replace&&re.charCodeAt(0)!==55349&&!(Ke.hasOwnProperty(re)&&Se&&(Se.fontFamily&&Se.fontFamily.substr(4,2)==="tt"||Se.font&&Se.font.substr(4,2)==="tt"))&&(re=Ue[ve][re].replace),new ni.TextNode(re)},Va=function(re){return re.length===1?re[0]:new ni.MathNode("mrow",re)},Za=function(re,ve){if(ve.fontFamily==="texttt")return"monospace";if(ve.fontFamily==="textsf")return ve.fontShape==="textit"&&ve.fontWeight==="textbf"?"sans-serif-bold-italic":ve.fontShape==="textit"?"sans-serif-italic":ve.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ve.fontShape==="textit"&&ve.fontWeight==="textbf")return"bold-italic";if(ve.fontShape==="textit")return"italic";if(ve.fontWeight==="textbf")return"bold";var Se=ve.font;if(!Se||Se==="mathnormal")return null;var We=re.mode;if(Se==="mathit")return"italic";if(Se==="boldsymbol")return"bold-italic";if(Se==="mathbf")return"bold";if(Se==="mathbb")return"double-struck";if(Se==="mathfrak")return"fraktur";if(Se==="mathscr"||Se==="mathcal")return"script";if(Se==="mathsf")return"sans-serif";if(Se==="mathtt")return"monospace";var xt=re.text;if(b.contains(["\\imath","\\jmath"],xt))return null;Ue[We][xt]&&Ue[We][xt].replace&&(xt=Ue[We][xt].replace);var Qt=An.fontMap[Se].fontName;return tt(xt,Qt,We)?An.fontMap[Se].variant:null},Oa=function(re,ve,Se){if(re.length===1){var We=xr(re[0],ve);return Se&&We instanceof La&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var xt=[],Qt,Or=0;Or<re.length;Or++){var Ur=xr(re[Or],ve);if(Ur instanceof La&&Qt instanceof La){if(Ur.type==="mtext"&&Qt.type==="mtext"&&Ur.getAttribute("mathvariant")===Qt.getAttribute("mathvariant")){var on;(on=Qt.children).push.apply(on,Ur.children);continue}else if(Ur.type==="mn"&&Qt.type==="mn"){var Dn;(Dn=Qt.children).push.apply(Dn,Ur.children);continue}else if(Ur.type==="mi"&&Ur.children.length===1&&Qt.type==="mn"){var Hn=Ur.children[0];if(Hn instanceof ta&&Hn.text==="."){var jn;(jn=Qt.children).push.apply(jn,Ur.children);continue}}else if(Qt.type==="mi"&&Qt.children.length===1){var ri=Qt.children[0];if(ri instanceof ta&&ri.text==="\u0338"&&(Ur.type==="mo"||Ur.type==="mi"||Ur.type==="mn")){var wi=Ur.children[0];wi instanceof ta&&wi.text.length>0&&(wi.text=wi.text.slice(0,1)+"\u0338"+wi.text.slice(1),xt.pop())}}}xt.push(Ur),Qt=Ur}return xt},ma=function(re,ve,Se){return Va(Oa(re,ve,Se))},xr=function(re,ve){if(!re)return new ni.MathNode("mrow");if(Rr[re.type]){var Se=Rr[re.type](re,ve);return Se}else throw new s("Got group of unknown type: '"+re.type+"'")};function nr(Vt,re,ve,Se){var We=Oa(Vt,ve),xt;We.length===1&&We[0]instanceof La&&b.contains(["mrow","mtable"],We[0].type)?xt=We[0]:xt=new ni.MathNode("mrow",We);var Qt=new ni.MathNode("annotation",[new ni.TextNode(re)]);Qt.setAttribute("encoding","application/x-tex");var Or=new ni.MathNode("semantics",[xt,Qt]),Ur=new ni.MathNode("math",[Or]);Ur.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var on=Se?"katex":"katex-mathml";return An.makeSpan([on],[Ur])}var ln=function(re){return new ft({style:re.displayMode?H.DISPLAY:H.TEXT,maxSize:re.maxSize,minRuleThickness:re.minRuleThickness})},er=function(re,ve){if(ve.displayMode){var Se=["katex-display"];ve.leqno&&Se.push("leqno"),ve.fleqn&&Se.push("fleqn"),re=An.makeSpan(Se,[re])}return re},hr=function(re,ve,Se){var We=ln(Se),xt;if(Se.output==="mathml")return nr(re,ve,We,!0);if(Se.output==="html"){var Qt=Wi(re,We);xt=An.makeSpan(["katex"],[Qt])}else{var Or=nr(re,ve,We,!1),Ur=Wi(re,We);xt=An.makeSpan(["katex"],[Or,Ur])}return er(xt,Se)},Dr=function(re,ve,Se){var We=ln(Se),xt=Wi(re,We),Qt=An.makeSpan(["katex"],[xt]);return er(Qt,Se)},Vr=hr,an={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"},Ot=function(re){var ve=new ni.MathNode("mo",[new ni.TextNode(an[re.substr(1)])]);return ve.setAttribute("stretchy","true"),ve},lr={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]},vr=function(re){return re.type==="ordgroup"?re.body.length:1},Cr=function(re,ve){function Se(){var Ur=4e5,on=re.label.substr(1);if(b.contains(["widehat","widecheck","widetilde","utilde"],on)){var Dn=re,Hn=vr(Dn.base),jn,ri,wi;if(Hn>5)on==="widehat"||on==="widecheck"?(jn=420,Ur=2364,wi=.42,ri=on+"4"):(jn=312,Ur=2340,wi=.34,ri="tilde4");else{var Gi=[1,1,2,2,3,3][Hn];on==="widehat"||on==="widecheck"?(Ur=[0,1062,2364,2364,2364][Gi],jn=[0,239,300,360,420][Gi],wi=[0,.24,.3,.3,.36,.42][Gi],ri=on+Gi):(Ur=[0,600,1033,2339,2340][Gi],jn=[0,260,286,306,312][Gi],wi=[0,.26,.286,.3,.306,.34][Gi],ri="tilde"+Gi)}var xa=new ne(ri),no=new De([xa],{width:"100%",height:wi+"em",viewBox:"0 0 "+Ur+" "+jn,preserveAspectRatio:"none"});return{span:An.makeSvgSpan([],[no],ve),minWidth:0,height:wi}}else{var uo=[],Ja=lr[on],Go=Ja[0],_o=Ja[1],xo=Ja[2],Na=xo/1e3,Ha=Go.length,ns,ps;if(Ha===1){var Wo=Ja[3];ns=["hide-tail"],ps=[Wo]}else if(Ha===2)ns=["halfarrow-left","halfarrow-right"],ps=["xMinYMin","xMaxYMin"];else if(Ha===3)ns=["brace-left","brace-center","brace-right"],ps=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ha+" children.");for(var Cs=0;Cs<Ha;Cs++){var Ts=new ne(Go[Cs]),Os=new De([Ts],{width:"400em",height:Na+"em",viewBox:"0 0 "+Ur+" "+xo,preserveAspectRatio:ps[Cs]+" slice"}),Mo=An.makeSvgSpan([ns[Cs]],[Os],ve);if(Ha===1)return{span:Mo,minWidth:_o,height:Na};Mo.style.height=Na+"em",uo.push(Mo)}return{span:An.makeSpan(["stretchy"],uo,ve),minWidth:_o,height:Na}}}var We=Se(),xt=We.span,Qt=We.minWidth,Or=We.height;return xt.height=Or,xt.style.height=Or+"em",Qt>0&&(xt.style.minWidth=Qt+"em"),xt},Hr=function(re,ve,Se,We){var xt,Qt=re.height+re.depth+2*Se;if(/fbox|color/.test(ve)){if(xt=An.makeSpan(["stretchy",ve],[],We),ve==="fbox"){var Or=We.color&&We.getColor();Or&&(xt.style.borderColor=Or)}}else{var Ur=[];/^[bx]cancel$/.test(ve)&&Ur.push(new he({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ve)&&Ur.push(new he({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var on=new De(Ur,{width:"100%",height:Qt+"em"});xt=An.makeSvgSpan([],[on],We)}return xt.height=Qt,xt.style.height=Qt+"em",xt},cn={encloseSpan:Hr,mathMLnode:Ot,svgSpan:Cr},Qr=function(re,ve){var Se,We,xt=ai(re,"supsub"),Qt;xt?(We=mi(xt.base,"accent"),Se=We.base,xt.base=Se,Qt=Xe(ki(xt,ve)),xt.base=We):(We=mi(re,"accent"),Se=We.base);var Or=ki(Se,ve.havingCrampedStyle()),Ur=We.isShifty&&b.isCharacterBox(Se),on=0;if(Ur){var Dn=b.getBaseElem(Se),Hn=ki(Dn,ve.havingCrampedStyle());on=pe(Hn).skew}var jn=Math.min(Or.height,ve.fontMetrics().xHeight),ri;if(We.isStretchy)ri=cn.svgSpan(We,ve),ri=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Or},{type:"elem",elem:ri,wrapperClasses:["svg-align"],wrapperStyle:on>0?{width:"calc(100% - "+2*on+"em)",marginLeft:2*on+"em"}:void 0}]},ve);else{var wi,Gi;We.label==="\\vec"?(wi=An.staticSvg("vec",ve),Gi=An.svgData.vec[1]):(wi=An.makeOrd({mode:We.mode,text:We.label},ve,"textord"),wi=pe(wi),wi.italic=0,Gi=wi.width),ri=An.makeSpan(["accent-body"],[wi]);var xa=We.label==="\\textcircled";xa&&(ri.classes.push("accent-full"),jn=Or.height);var no=on;xa||(no-=Gi/2),ri.style.left=no+"em",We.label==="\\textcircled"&&(ri.style.top=".2em"),ri=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Or},{type:"kern",size:-jn},{type:"elem",elem:ri}]},ve)}var uo=An.makeSpan(["mord","accent"],[ri],ve);return Qt?(Qt.children[0]=uo,Qt.height=Math.max(uo.height,Qt.height),Qt.classes[0]="mord",Qt):uo},gt=function(re,ve){var Se=re.isStretchy?cn.mathMLnode(re.label):new ni.MathNode("mo",[zi(re.label,re.mode)]),We=new ni.MathNode("mover",[xr(re.base,ve),Se]);return We.setAttribute("accent","true"),We},Gt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Vt){return"\\"+Vt}).join("|"));ar({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(re,ve){var Se=ve[0],We=!Gt.test(re.funcName),xt=!We||re.funcName==="\\widehat"||re.funcName==="\\widetilde"||re.funcName==="\\widecheck";return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:We,isShifty:xt,base:Se}},htmlBuilder:Qr,mathmlBuilder:gt}),ar({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(re,ve){var Se=ve[0];return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:!1,isShifty:!0,base:Se}},htmlBuilder:Qr,mathmlBuilder:gt}),ar({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];return{type:"accentUnder",mode:Se.mode,label:We,base:xt}},htmlBuilder:function(re,ve){var Se=ki(re.base,ve),We=cn.svgSpan(re,ve),xt=re.label==="\\utilde"?.12:0,Qt=An.makeVList({positionType:"bottom",positionData:We.height+xt,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:xt},{type:"elem",elem:Se}]},ve);return An.makeSpan(["mord","accentunder"],[Qt],ve)},mathmlBuilder:function(re,ve){var Se=cn.mathMLnode(re.label),We=new ni.MathNode("munder",[xr(re.base,ve),Se]);return We.setAttribute("accentunder","true"),We}});var Sr=function(re){var ve=new ni.MathNode("mpadded",re?[re]:[]);return ve.setAttribute("width","+0.6em"),ve.setAttribute("lspace","0.3em"),ve};ar({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(re,ve,Se){var We=re.parser,xt=re.funcName;return{type:"xArrow",mode:We.mode,label:xt,body:ve[0],below:Se[0]}},htmlBuilder:function(re,ve){var Se=ve.style,We=ve.havingStyle(Se.sup()),xt=An.wrapFragment(ki(re.body,We,ve),ve);xt.classes.push("x-arrow-pad");var Qt;re.below&&(We=ve.havingStyle(Se.sub()),Qt=An.wrapFragment(ki(re.below,We,ve),ve),Qt.classes.push("x-arrow-pad"));var Or=cn.svgSpan(re,ve),Ur=-ve.fontMetrics().axisHeight+.5*Or.height,on=-ve.fontMetrics().axisHeight-.5*Or.height-.111;(xt.depth>.25||re.label==="\\xleftequilibrium")&&(on-=xt.depth);var Dn;if(Qt){var Hn=-ve.fontMetrics().axisHeight+Qt.height+.5*Or.height+.111;Dn=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:on},{type:"elem",elem:Or,shift:Ur},{type:"elem",elem:Qt,shift:Hn}]},ve)}else Dn=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:on},{type:"elem",elem:Or,shift:Ur}]},ve);return Dn.children[0].children[0].children[1].classes.push("svg-align"),An.makeSpan(["mrel","x-arrow"],[Dn],ve)},mathmlBuilder:function(re,ve){var Se=cn.mathMLnode(re.label),We;if(re.body){var xt=Sr(xr(re.body,ve));if(re.below){var Qt=Sr(xr(re.below,ve));We=new ni.MathNode("munderover",[Se,Qt,xt])}else We=new ni.MathNode("mover",[Se,xt])}else if(re.below){var Or=Sr(xr(re.below,ve));We=new ni.MathNode("munder",[Se,Or])}else We=Sr(),We=new ni.MathNode("mover",[Se,We]);return We}}),ar({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){for(var Se=re.parser,We=mi(ve[0],"ordgroup"),xt=We.body,Qt="",Or=0;Or<xt.length;Or++){var Ur=mi(xt[Or],"textord");Qt+=Ur.text}var on=parseInt(Qt);if(isNaN(on))throw new s("\\@char has non-numeric argument "+Qt);return{type:"textord",mode:Se.mode,text:String.fromCharCode(on)}}});var Zr=function(re,ve){var Se=Xn(re.body,ve.withColor(re.color),!1);return An.makeFragment(Se)},en=function(re,ve){var Se=Oa(re.body,ve.withColor(re.color)),We=new ni.MathNode("mstyle",Se);return We.setAttribute("mathcolor",re.color),We};ar({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(re,ve){var Se=re.parser,We=mi(ve[0],"color-token").color,xt=ve[1];return{type:"color",mode:Se.mode,color:We,body:br(xt)}},htmlBuilder:Zr,mathmlBuilder:en}),ar({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(re,ve){var Se=re.parser,We=re.breakOnTokenText,xt=mi(ve[0],"color-token").color;Se.gullet.macros.set("\\current@color",xt);var Qt=Se.parseExpression(!0,We);return{type:"color",mode:Se.mode,color:xt,body:Qt}},htmlBuilder:Zr,mathmlBuilder:en}),ar({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ve,Se){var We=re.parser,xt=re.funcName,Qt=Se[0],Or=xt==="\\cr",Ur=!1;return Or||(We.settings.displayMode&&We.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ur=!1:Ur=!0),{type:"cr",mode:We.mode,newLine:Ur,newRow:Or,size:Qt&&mi(Qt,"size").value}},htmlBuilder:function(re,ve){if(re.newRow)throw new s("\\cr valid only within a tabular/array environment");var Se=An.makeSpan(["mspace"],[],ve);return re.newLine&&(Se.classes.push("newline"),re.size&&(Se.style.marginTop=rt(re.size,ve)+"em")),Se},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mspace");return re.newLine&&(Se.setAttribute("linebreak","newline"),re.size&&Se.setAttribute("height",rt(re.size,ve)+"em")),Se}});var xn=function(re,ve,Se){var We=Ue.math[re]&&Ue.math[re].replace,xt=tt(We||re,ve,Se);if(!xt)throw new Error("Unsupported symbol "+re+" and font size "+ve+".");return xt},kn=function(re,ve,Se,We){var xt=Se.havingBaseStyle(ve),Qt=An.makeSpan(We.concat(xt.sizingClasses(Se)),[re],Se),Or=xt.sizeMultiplier/Se.sizeMultiplier;return Qt.height*=Or,Qt.depth*=Or,Qt.maxFontSize=xt.sizeMultiplier,Qt},Zn=function(re,ve,Se){var We=ve.havingBaseStyle(Se),xt=(1-ve.sizeMultiplier/We.sizeMultiplier)*ve.fontMetrics().axisHeight;re.classes.push("delimcenter"),re.style.top=xt+"em",re.height-=xt,re.depth+=xt},ui=function(re,ve,Se,We,xt,Qt){var Or=An.makeSymbol(re,"Main-Regular",xt,We),Ur=kn(Or,ve,We,Qt);return Se&&Zn(Ur,We,ve),Ur},ti=function(re,ve,Se,We){return An.makeSymbol(re,"Size"+ve+"-Regular",Se,We)},Qn=function(re,ve,Se,We,xt,Qt){var Or=ti(re,ve,xt,We),Ur=kn(An.makeSpan(["delimsizing","size"+ve],[Or],We),H.TEXT,We,Qt);return Se&&Zn(Ur,We,H.TEXT),Ur},$n=function(re,ve,Se){var We;ve==="Size1-Regular"?We="delim-size1":We="delim-size4";var xt=An.makeSpan(["delimsizinginner",We],[An.makeSpan([],[An.makeSymbol(re,ve,Se)])]);return{type:"elem",elem:xt}},Si={type:"kern",size:-.005},Ci=function(re,ve,Se,We,xt,Qt){var Or,Ur,on,Dn;Or=on=Dn=re,Ur=null;var Hn="Size1-Regular";re==="\\uparrow"?on=Dn="\u23D0":re==="\\Uparrow"?on=Dn="\u2016":re==="\\downarrow"?Or=on="\u23D0":re==="\\Downarrow"?Or=on="\u2016":re==="\\updownarrow"?(Or="\\uparrow",on="\u23D0",Dn="\\downarrow"):re==="\\Updownarrow"?(Or="\\Uparrow",on="\u2016",Dn="\\Downarrow"):re==="["||re==="\\lbrack"?(Or="\u23A1",on="\u23A2",Dn="\u23A3",Hn="Size4-Regular"):re==="]"||re==="\\rbrack"?(Or="\u23A4",on="\u23A5",Dn="\u23A6",Hn="Size4-Regular"):re==="\\lfloor"||re==="\u230A"?(on=Or="\u23A2",Dn="\u23A3",Hn="Size4-Regular"):re==="\\lceil"||re==="\u2308"?(Or="\u23A1",on=Dn="\u23A2",Hn="Size4-Regular"):re==="\\rfloor"||re==="\u230B"?(on=Or="\u23A5",Dn="\u23A6",Hn="Size4-Regular"):re==="\\rceil"||re==="\u2309"?(Or="\u23A4",on=Dn="\u23A5",Hn="Size4-Regular"):re==="("||re==="\\lparen"?(Or="\u239B",on="\u239C",Dn="\u239D",Hn="Size4-Regular"):re===")"||re==="\\rparen"?(Or="\u239E",on="\u239F",Dn="\u23A0",Hn="Size4-Regular"):re==="\\{"||re==="\\lbrace"?(Or="\u23A7",Ur="\u23A8",Dn="\u23A9",on="\u23AA",Hn="Size4-Regular"):re==="\\}"||re==="\\rbrace"?(Or="\u23AB",Ur="\u23AC",Dn="\u23AD",on="\u23AA",Hn="Size4-Regular"):re==="\\lgroup"||re==="\u27EE"?(Or="\u23A7",Dn="\u23A9",on="\u23AA",Hn="Size4-Regular"):re==="\\rgroup"||re==="\u27EF"?(Or="\u23AB",Dn="\u23AD",on="\u23AA",Hn="Size4-Regular"):re==="\\lmoustache"||re==="\u23B0"?(Or="\u23A7",Dn="\u23AD",on="\u23AA",Hn="Size4-Regular"):(re==="\\rmoustache"||re==="\u23B1")&&(Or="\u23AB",Dn="\u23A9",on="\u23AA",Hn="Size4-Regular");var jn=xn(Or,Hn,xt),ri=jn.height+jn.depth,wi=xn(on,Hn,xt),Gi=wi.height+wi.depth,xa=xn(Dn,Hn,xt),no=xa.height+xa.depth,uo=0,Ja=1;if(Ur!==null){var Go=xn(Ur,Hn,xt);uo=Go.height+Go.depth,Ja=2}var _o=ri+no+uo,xo=Math.max(0,Math.ceil((ve-_o)/(Ja*Gi))),Na=_o+xo*Ja*Gi,Ha=We.fontMetrics().axisHeight;Se&&(Ha*=We.sizeMultiplier);var ns=Na/2-Ha,ps=(xo+1)*.005-Gi,Wo=[];if(Wo.push($n(Dn,Hn,xt)),Ur===null)for(var Cs=0;Cs<xo;Cs++)Wo.push(Si),Wo.push($n(on,Hn,xt));else{for(var Ts=0;Ts<xo;Ts++)Wo.push(Si),Wo.push($n(on,Hn,xt));Wo.push({type:"kern",size:ps}),Wo.push($n(on,Hn,xt)),Wo.push(Si),Wo.push($n(Ur,Hn,xt));for(var Os=0;Os<xo;Os++)Wo.push(Si),Wo.push($n(on,Hn,xt))}Wo.push({type:"kern",size:ps}),Wo.push($n(on,Hn,xt)),Wo.push(Si),Wo.push($n(Or,Hn,xt));var Mo=We.havingBaseStyle(H.TEXT),Ps=An.makeVList({positionType:"bottom",positionData:ns,children:Wo},Mo);return kn(An.makeSpan(["delimsizing","mult"],[Ps],Mo),H.TEXT,We,Qt)},vi=80,xi=.08,Ei=function(re,ve,Se,We,xt){var Qt=fe(re,We,Se),Or=new ne(re,Qt),Ur=new De([Or],{width:"400em",height:ve+"em",viewBox:"0 0 400000 "+Se,preserveAspectRatio:"xMinYMin slice"});return An.makeSvgSpan(["hide-tail"],[Ur],xt)},di=function(re,ve){var Se=ve.havingBaseSizing(),We=vo("\\surd",re*Se.sizeMultiplier,Aa,Se),xt=Se.sizeMultiplier,Qt=Math.max(0,ve.minRuleThickness-ve.fontMetrics().sqrtRuleThickness),Or,Ur=0,on=0,Dn=0,Hn;return We.type==="small"?(Dn=1e3+1e3*Qt+vi,re<1?xt=1:re<1.4&&(xt=.7),Ur=(1+Qt+xi)/xt,on=(1+Qt)/xt,Or=Ei("sqrtMain",Ur,Dn,Qt,ve),Or.style.minWidth="0.853em",Hn=.833/xt):We.type==="large"?(Dn=(1e3+vi)*Vi[We.size],on=(Vi[We.size]+Qt)/xt,Ur=(Vi[We.size]+Qt+xi)/xt,Or=Ei("sqrtSize"+We.size,Ur,Dn,Qt,ve),Or.style.minWidth="1.02em",Hn=1/xt):(Ur=re+Qt+xi,on=re+Qt,Dn=Math.floor(1e3*re+Qt)+vi,Or=Ei("sqrtTall",Ur,Dn,Qt,ve),Or.style.minWidth="0.742em",Hn=1.056),Or.height=on,Or.style.height=Ur+"em",{span:Or,advanceWidth:Hn,ruleWidth:(ve.fontMetrics().sqrtRuleThickness+Qt)*xt}},pi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],_i=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ri=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Vi=[0,1.2,1.8,2.4,3],Ii=function(re,ve,Se,We,xt){if(re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle"),b.contains(pi,re)||b.contains(Ri,re))return Qn(re,ve,!1,Se,We,xt);if(b.contains(_i,re))return Ci(re,Vi[ve],!1,Se,We,xt);throw new s("Illegal delimiter: '"+re+"'")},ba=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ga=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Aa=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ha=function(re){if(re.type==="small")return"Main-Regular";if(re.type==="large")return"Size"+re.size+"-Regular";if(re.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+re.type+"' here.")},vo=function(re,ve,Se,We){for(var xt=Math.min(2,3-We.style.size),Qt=xt;Qt<Se.length&&!(Se[Qt].type==="stack");Qt++){var Or=xn(re,ha(Se[Qt]),"math"),Ur=Or.height+Or.depth;if(Se[Qt].type==="small"){var on=We.havingBaseStyle(Se[Qt].style);Ur*=on.sizeMultiplier}if(Ur>ve)return Se[Qt]}return Se[Se.length-1]},la=function(re,ve,Se,We,xt,Qt){re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle");var Or;b.contains(Ri,re)?Or=ba:b.contains(pi,re)?Or=Aa:Or=ga;var Ur=vo(re,ve,Or,We);return Ur.type==="small"?ui(re,Ur.style,Se,We,xt,Qt):Ur.type==="large"?Qn(re,Ur.size,Se,We,xt,Qt):Ci(re,ve,Se,We,xt,Qt)},Ba=function(re,ve,Se,We,xt,Qt){var Or=We.fontMetrics().axisHeight*We.sizeMultiplier,Ur=901,on=5/We.fontMetrics().ptPerEm,Dn=Math.max(ve-Or,Se+Or),Hn=Math.max(Dn/500*Ur,2*Dn-on);return la(re,Hn,!0,We,xt,Qt)},pa={sqrtImage:di,sizedDelim:Ii,customSizedDelim:la,leftRightDelim:Ba},to={"\\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}},qa=["(","\\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 Yi(Vt,re){var ve=tn(Vt);if(ve&&b.contains(qa,ve.text))return ve;throw new s("Invalid delimiter: '"+(ve?ve.text:JSON.stringify(Vt))+"' after '"+re.funcName+"'",Vt)}ar({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(re,ve){var Se=Yi(ve[0],re);return{type:"delimsizing",mode:re.parser.mode,size:to[re.funcName].size,mclass:to[re.funcName].mclass,delim:Se.text}},htmlBuilder:function(re,ve){return re.delim==="."?An.makeSpan([re.mclass]):pa.sizedDelim(re.delim,re.size,ve,re.mode,[re.mclass])},mathmlBuilder:function(re){var ve=[];re.delim!=="."&&ve.push(zi(re.delim,re.mode));var Se=new ni.MathNode("mo",ve);return re.mclass==="mopen"||re.mclass==="mclose"?Se.setAttribute("fence","true"):Se.setAttribute("fence","false"),Se}});function oo(Vt){if(!Vt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ar({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser.gullet.macros.get("\\current@color");if(Se&&typeof Se!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:re.parser.mode,delim:Yi(ve[0],re).text,color:Se}}}),ar({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(re,ve){var Se=Yi(ve[0],re),We=re.parser;++We.leftrightDepth;var xt=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Qt=mi(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:xt,left:Se.text,right:Qt.delim,rightColor:Qt.color}},htmlBuilder:function(re,ve){oo(re);for(var Se=Xn(re.body,ve,!0,["mopen","mclose"]),We=0,xt=0,Qt=!1,Or=0;Or<Se.length;Or++)Se[Or].isMiddle?Qt=!0:(We=Math.max(Se[Or].height,We),xt=Math.max(Se[Or].depth,xt));We*=ve.sizeMultiplier,xt*=ve.sizeMultiplier;var Ur;if(re.left==="."?Ur=Ni(ve,["mopen"]):Ur=pa.leftRightDelim(re.left,We,xt,ve,re.mode,["mopen"]),Se.unshift(Ur),Qt)for(var on=1;on<Se.length;on++){var Dn=Se[on],Hn=Dn.isMiddle;Hn&&(Se[on]=pa.leftRightDelim(Hn.delim,We,xt,Hn.options,re.mode,[]))}var jn;if(re.right===".")jn=Ni(ve,["mclose"]);else{var ri=re.rightColor?ve.withColor(re.rightColor):ve;jn=pa.leftRightDelim(re.right,We,xt,ri,re.mode,["mclose"])}return Se.push(jn),An.makeSpan(["minner"],Se,ve)},mathmlBuilder:function(re,ve){oo(re);var Se=Oa(re.body,ve);if(re.left!=="."){var We=new ni.MathNode("mo",[zi(re.left,re.mode)]);We.setAttribute("fence","true"),Se.unshift(We)}if(re.right!=="."){var xt=new ni.MathNode("mo",[zi(re.right,re.mode)]);xt.setAttribute("fence","true"),re.rightColor&&xt.setAttribute("mathcolor",re.rightColor),Se.push(xt)}return Va(Se)}}),ar({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(re,ve){var Se=Yi(ve[0],re);if(!re.parser.leftrightDepth)throw new s("\\middle without preceding \\left",Se);return{type:"middle",mode:re.parser.mode,delim:Se.text}},htmlBuilder:function(re,ve){var Se;if(re.delim===".")Se=Ni(ve,[]);else{Se=pa.sizedDelim(re.delim,1,ve,re.mode,[]);var We={delim:re.delim,options:ve};Se.isMiddle=We}return Se},mathmlBuilder:function(re,ve){var Se=re.delim==="\\vert"||re.delim==="|"?zi("|","text"):zi(re.delim,re.mode),We=new ni.MathNode("mo",[Se]);return We.setAttribute("fence","true"),We.setAttribute("lspace","0.05em"),We.setAttribute("rspace","0.05em"),We}});var Ya=function(re,ve){var Se=An.wrapFragment(ki(re.body,ve),ve),We=re.label.substr(1),xt=ve.sizeMultiplier,Qt,Or=0,Ur=b.isCharacterBox(re.body);if(We==="sout")Qt=An.makeSpan(["stretchy","sout"]),Qt.height=ve.fontMetrics().defaultRuleThickness/xt,Or=-.5*ve.fontMetrics().xHeight;else{/cancel/.test(We)?Ur||Se.classes.push("cancel-pad"):Se.classes.push("boxpad");var on=0,Dn=0;/box/.test(We)?(Dn=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness),on=ve.fontMetrics().fboxsep+(We==="colorbox"?0:Dn)):on=Ur?.2:0,Qt=cn.encloseSpan(Se,We,on,ve),/fbox|boxed|fcolorbox/.test(We)&&(Qt.style.borderStyle="solid",Qt.style.borderWidth=Dn+"em"),Or=Se.depth+on,re.backgroundColor&&(Qt.style.backgroundColor=re.backgroundColor,re.borderColor&&(Qt.style.borderColor=re.borderColor))}var Hn;return re.backgroundColor?Hn=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Qt,shift:Or},{type:"elem",elem:Se,shift:0}]},ve):Hn=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Se,shift:0},{type:"elem",elem:Qt,shift:Or,wrapperClasses:/cancel/.test(We)?["svg-align"]:[]}]},ve),/cancel/.test(We)&&(Hn.height=Se.height,Hn.depth=Se.depth),/cancel/.test(We)&&!Ur?An.makeSpan(["mord","cancel-lap"],[Hn],ve):An.makeSpan(["mord"],[Hn],ve)},wa=function(re,ve){var Se=0,We=new ni.MathNode(re.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xr(re.body,ve)]);switch(re.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(Se=ve.fontMetrics().fboxsep*ve.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Se+"pt"),We.setAttribute("height","+"+2*Se+"pt"),We.setAttribute("lspace",Se+"pt"),We.setAttribute("voffset",Se+"pt"),re.label==="\\fcolorbox"){var xt=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness);We.setAttribute("style","border: "+xt+"em solid "+String(re.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return re.backgroundColor&&We.setAttribute("mathbackground",re.backgroundColor),We};ar({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(re,ve,Se){var We=re.parser,xt=re.funcName,Qt=mi(ve[0],"color-token").color,Or=ve[1];return{type:"enclose",mode:We.mode,label:xt,backgroundColor:Qt,body:Or}},htmlBuilder:Ya,mathmlBuilder:wa}),ar({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(re,ve,Se){var We=re.parser,xt=re.funcName,Qt=mi(ve[0],"color-token").color,Or=mi(ve[1],"color-token").color,Ur=ve[2];return{type:"enclose",mode:We.mode,label:xt,backgroundColor:Or,borderColor:Qt,body:Ur}},htmlBuilder:Ya,mathmlBuilder:wa}),ar({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(re,ve){var Se=re.parser;return{type:"enclose",mode:Se.mode,label:"\\fbox",body:ve[0]}}}),ar({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(re,ve,Se){var We=re.parser,xt=re.funcName,Qt=ve[0];return{type:"enclose",mode:We.mode,label:xt,body:Qt}},htmlBuilder:Ya,mathmlBuilder:wa});var $a={};function Fi(Vt){for(var re=Vt.type,ve=Vt.names,Se=Vt.props,We=Vt.handler,xt=Vt.htmlBuilder,Qt=Vt.mathmlBuilder,Or={type:re,numArgs:Se.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},Ur=0;Ur<ve.length;++Ur)$a[ve[Ur]]=Or;xt&&(Ir[re]=xt),Qt&&(Rr[re]=Qt)}function Sa(Vt){var re=[];Vt.consumeSpaces();for(var ve=Vt.fetch().text;ve==="\\hline"||ve==="\\hdashline";)Vt.consume(),re.push(ve==="\\hdashline"),Vt.consumeSpaces(),ve=Vt.fetch().text;return re}function Ea(Vt,re,ve){var Se=re.hskipBeforeAndAfter,We=re.addJot,xt=re.cols,Qt=re.arraystretch,Or=re.colSeparationType;if(Vt.gullet.beginGroup(),Vt.gullet.macros.set("\\\\","\\cr"),!Qt){var Ur=Vt.gullet.expandMacroAsText("\\arraystretch");if(Ur==null)Qt=1;else if(Qt=parseFloat(Ur),!Qt||Qt<0)throw new s("Invalid \\arraystretch: "+Ur)}Vt.gullet.beginGroup();var on=[],Dn=[on],Hn=[],jn=[];for(jn.push(Sa(Vt));;){var ri=Vt.parseExpression(!1,"\\cr");Vt.gullet.endGroup(),Vt.gullet.beginGroup(),ri={type:"ordgroup",mode:Vt.mode,body:ri},ve&&(ri={type:"styling",mode:Vt.mode,style:ve,body:[ri]}),on.push(ri);var wi=Vt.fetch().text;if(wi==="&")Vt.consume();else if(wi==="\\end"){on.length===1&&ri.type==="styling"&&ri.body[0].body.length===0&&Dn.pop(),jn.length<Dn.length+1&&jn.push([]);break}else if(wi==="\\cr"){var Gi=mi(Vt.parseFunction(),"cr");Hn.push(Gi.size),jn.push(Sa(Vt)),on=[],Dn.push(on)}else throw new s("Expected & or \\\\ or \\cr or \\end",Vt.nextToken)}return Vt.gullet.endGroup(),Vt.gullet.endGroup(),{type:"array",mode:Vt.mode,addJot:We,arraystretch:Qt,body:Dn,cols:xt,rowGaps:Hn,hskipBeforeAndAfter:Se,hLinesBeforeRow:jn,colSeparationType:Or}}function yo(Vt){return Vt.substr(0,1)==="d"?"display":"text"}var _a=function(re,ve){var Se,We,xt=re.body.length,Qt=re.hLinesBeforeRow,Or=0,Ur=new Array(xt),on=[],Dn=Math.max(ve.fontMetrics().arrayRuleWidth,ve.minRuleThickness),Hn=1/ve.fontMetrics().ptPerEm,jn=5*Hn;if(re.colSeparationType&&re.colSeparationType==="small"){var ri=ve.havingStyle(H.SCRIPT).sizeMultiplier;jn=.2778*(ri/ve.sizeMultiplier)}var wi=12*Hn,Gi=3*Hn,xa=re.arraystretch*wi,no=.7*xa,uo=.3*xa,Ja=0;function Go(ss){for(var ys=0;ys<ss.length;++ys)ys>0&&(Ja+=.25),on.push({pos:Ja,isDashed:ss[ys]})}for(Go(Qt[0]),Se=0;Se<re.body.length;++Se){var _o=re.body[Se],xo=no,Na=uo;Or<_o.length&&(Or=_o.length);var Ha=new Array(_o.length);for(We=0;We<_o.length;++We){var ns=ki(_o[We],ve);Na<ns.depth&&(Na=ns.depth),xo<ns.height&&(xo=ns.height),Ha[We]=ns}var ps=re.rowGaps[Se],Wo=0;ps&&(Wo=rt(ps,ve),Wo>0&&(Wo+=uo,Na<Wo&&(Na=Wo),Wo=0)),re.addJot&&(Na+=Gi),Ha.height=xo,Ha.depth=Na,Ja+=xo,Ha.pos=Ja,Ja+=Na+Wo,Ur[Se]=Ha,Go(Qt[Se+1])}var Cs=Ja/2+ve.fontMetrics().axisHeight,Ts=re.cols||[],Os=[],Mo,Ps;for(We=0,Ps=0;We<Or||Ps<Ts.length;++We,++Ps){for(var ms=Ts[Ps]||{},wl=!0;ms.type==="separator";){if(wl||(Mo=An.makeSpan(["arraycolsep"],[]),Mo.style.width=ve.fontMetrics().doubleRuleSep+"em",Os.push(Mo)),ms.separator==="|"||ms.separator===":"){var El=ms.separator==="|"?"solid":"dashed",Qs=An.makeSpan(["vertical-separator"],[],ve);Qs.style.height=Ja+"em",Qs.style.borderRightWidth=Dn+"em",Qs.style.borderRightStyle=El,Qs.style.margin="0 -"+Dn/2+"em",Qs.style.verticalAlign=-(Ja-Cs)+"em",Os.push(Qs)}else throw new s("Invalid separator type: "+ms.separator);Ps++,ms=Ts[Ps]||{},wl=!1}if(We>=Or)continue;var os=void 0;(We>0||re.hskipBeforeAndAfter)&&(os=b.deflt(ms.pregap,jn),os!==0&&(Mo=An.makeSpan(["arraycolsep"],[]),Mo.style.width=os+"em",Os.push(Mo)));var Qi=[];for(Se=0;Se<xt;++Se){var nl=Ur[Se],sl=nl[We];if(!sl)continue;var po=nl.pos-Cs;sl.depth=nl.depth,sl.height=nl.height,Qi.push({type:"elem",elem:sl,shift:po})}Qi=An.makeVList({positionType:"individualShift",children:Qi},ve),Qi=An.makeSpan(["col-align-"+(ms.align||"c")],[Qi]),Os.push(Qi),(We<Or-1||re.hskipBeforeAndAfter)&&(os=b.deflt(ms.postgap,jn),os!==0&&(Mo=An.makeSpan(["arraycolsep"],[]),Mo.style.width=os+"em",Os.push(Mo)))}if(Ur=An.makeSpan(["mtable"],Os),on.length>0){for(var Ca=An.makeLineSpan("hline",ve,Dn),Eo=An.makeLineSpan("hdashline",ve,Dn),ko=[{type:"elem",elem:Ur,shift:0}];on.length>0;){var Ko=on.pop(),Ao=Ko.pos-Cs;Ko.isDashed?ko.push({type:"elem",elem:Eo,shift:Ao}):ko.push({type:"elem",elem:Ca,shift:Ao})}Ur=An.makeVList({positionType:"individualShift",children:ko},ve)}return An.makeSpan(["mord"],[Ur],ve)},Hi={c:"center ",l:"left ",r:"right "},Xa=function(re,ve){var Se=new ni.MathNode("mtable",re.body.map(function(Ja){return new ni.MathNode("mtr",Ja.map(function(Go){return new ni.MathNode("mtd",[xr(Go,ve)])}))})),We=re.arraystretch===.5?.1:.16+re.arraystretch-1+(re.addJot?.09:0);Se.setAttribute("rowspacing",We+"em");var xt="",Qt="";if(re.cols){var Or=re.cols,Ur="",on=!1,Dn=0,Hn=Or.length;Or[0].type==="separator"&&(xt+="top ",Dn=1),Or[Or.length-1].type==="separator"&&(xt+="bottom ",Hn-=1);for(var jn=Dn;jn<Hn;jn++)Or[jn].type==="align"?(Qt+=Hi[Or[jn].align],on&&(Ur+="none "),on=!0):Or[jn].type==="separator"&&(on&&(Ur+=Or[jn].separator==="|"?"solid ":"dashed ",on=!1));Se.setAttribute("columnalign",Qt.trim()),/[sd]/.test(Ur)&&Se.setAttribute("columnlines",Ur.trim())}if(re.colSeparationType==="align"){for(var ri=re.cols||[],wi="",Gi=1;Gi<ri.length;Gi++)wi+=Gi%2?"0em ":"1em ";Se.setAttribute("columnspacing",wi.trim())}else re.colSeparationType==="alignat"?Se.setAttribute("columnspacing","0em"):re.colSeparationType==="small"?Se.setAttribute("columnspacing","0.2778em"):Se.setAttribute("columnspacing","1em");var xa="",no=re.hLinesBeforeRow;xt+=no[0].length>0?"left ":"",xt+=no[no.length-1].length>0?"right ":"";for(var uo=1;uo<no.length-1;uo++)xa+=no[uo].length===0?"none ":no[uo][0]?"dashed ":"solid ";return/[sd]/.test(xa)&&Se.setAttribute("rowlines",xa.trim()),xt!==""&&(Se=new ni.MathNode("menclose",[Se]),Se.setAttribute("notation",xt.trim())),re.arraystretch&&re.arraystretch<1&&(Se=new ni.MathNode("mstyle",[Se]),Se.setAttribute("scriptlevel","1")),Se},Da=function(re,ve){var Se=[],We=Ea(re.parser,{cols:Se,addJot:!0},"display"),xt,Qt=0,Or={type:"ordgroup",mode:re.mode,body:[]},Ur=ai(ve[0],"ordgroup");if(Ur){for(var on="",Dn=0;Dn<Ur.body.length;Dn++){var Hn=mi(Ur.body[Dn],"textord");on+=Hn.text}xt=Number(on),Qt=xt*2}var jn=!Qt;We.body.forEach(function(xa){for(var no=1;no<xa.length;no+=2){var uo=mi(xa[no],"styling"),Ja=mi(uo.body[0],"ordgroup");Ja.body.unshift(Or)}if(jn)Qt<xa.length&&(Qt=xa.length);else{var Go=xa.length/2;if(xt<Go)throw new s("Too many math in a row: "+("expected "+xt+", but got "+Go),xa[0])}});for(var ri=0;ri<Qt;++ri){var wi="r",Gi=0;ri%2===1?wi="l":ri>0&&jn&&(Gi=1),Se[ri]={type:"align",align:wi,pregap:Gi,postgap:0}}return We.colSeparationType=jn?"align":"alignat",We};Fi({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(re,ve){var Se=tn(ve[0]),We=Se?[ve[0]]:mi(ve[0],"ordgroup").body,xt=We.map(function(Or){var Ur=Ln(Or),on=Ur.text;if("lcr".indexOf(on)!==-1)return{type:"align",align:on};if(on==="|")return{type:"separator",separator:"|"};if(on===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+on,Or)}),Qt={cols:xt,hskipBeforeAndAfter:!0};return Ea(re.parser,Qt,yo(re.envName))},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(re){var ve={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[re.envName],Se={hskipBeforeAndAfter:!1},We=Ea(re.parser,Se,yo(re.envName));return ve?{type:"leftright",mode:re.mode,body:[We],left:ve[0],right:ve[1],rightColor:void 0}:We},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(re){var ve={arraystretch:.5},Se=Ea(re.parser,ve,"script");return Se.colSeparationType="small",Se},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["subarray"],props:{numArgs:1},handler:function(re,ve){var Se=tn(ve[0]),We=Se?[ve[0]]:mi(ve[0],"ordgroup").body,xt=We.map(function(Or){var Ur=Ln(Or),on=Ur.text;if("lc".indexOf(on)!==-1)return{type:"align",align:on};throw new s("Unknown column alignment: "+on,Or)});if(xt.length>1)throw new s("{subarray} can contain only one column");var Qt={cols:xt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Qt=Ea(re.parser,Qt,"script"),Qt.body[0].length>1)throw new s("{subarray} can contain only one column");return Qt},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(re){var ve={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Se=Ea(re.parser,ve,yo(re.envName));return{type:"leftright",mode:re.mode,body:[Se],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["aligned"],props:{numArgs:0},handler:Da,htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["gathered"],props:{numArgs:0},handler:function(re){var ve={cols:[{type:"align",align:"c"}],addJot:!0};return Ea(re.parser,ve,"display")},htmlBuilder:_a,mathmlBuilder:Xa}),Fi({type:"array",names:["alignedat"],props:{numArgs:1},handler:Da,htmlBuilder:_a,mathmlBuilder:Xa}),ar({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(re,ve){throw new s(re.funcName+" valid only within array environment")}});var va=$a,Di=va;ar({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];if(xt.type!=="ordgroup")throw new s("Invalid environment name",xt);for(var Qt="",Or=0;Or<xt.body.length;++Or)Qt+=mi(xt.body[Or],"textord").text;if(We==="\\begin"){if(!Di.hasOwnProperty(Qt))throw new s("No such environment: "+Qt,xt);var Ur=Di[Qt],on=Se.parseArguments("\\begin{"+Qt+"}",Ur),Dn=on.args,Hn=on.optArgs,jn={mode:Se.mode,envName:Qt,parser:Se},ri=Ur.handler(jn,Dn,Hn);Se.expect("\\end",!1);var wi=Se.nextToken,Gi=mi(Se.parseFunction(),"environment");if(Gi.name!==Qt)throw new s("Mismatch: \\begin{"+Qt+"} matched by \\end{"+Gi.name+"}",wi);return ri}return{type:"environment",mode:Se.mode,name:Qt,nameGroup:xt}}});var at=An.makeSpan;function qt(Vt,re){var ve=Xn(Vt.body,re,!0);return at([Vt.mclass],ve,re)}function pr(Vt,re){var ve,Se=Oa(Vt.body,re);return Vt.mclass==="minner"?ni.newDocumentFragment(Se):(Vt.mclass==="mord"?Vt.isCharacterBox?(ve=Se[0],ve.type="mi"):ve=new ni.MathNode("mi",Se):(Vt.isCharacterBox?(ve=Se[0],ve.type="mo"):ve=new ni.MathNode("mo",Se),Vt.mclass==="mbin"?(ve.attributes.lspace="0.22em",ve.attributes.rspace="0.22em"):Vt.mclass==="mpunct"?(ve.attributes.lspace="0em",ve.attributes.rspace="0.17em"):(Vt.mclass==="mopen"||Vt.mclass==="mclose")&&(ve.attributes.lspace="0em",ve.attributes.rspace="0em")),ve)}ar({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];return{type:"mclass",mode:Se.mode,mclass:"m"+We.substr(5),body:br(xt),isCharacterBox:b.isCharacterBox(xt)}},htmlBuilder:qt,mathmlBuilder:pr});var ur=function(re){var ve=re.type==="ordgroup"&&re.body.length?re.body[0]:re;return ve.type==="atom"&&(ve.family==="bin"||ve.family==="rel")?"m"+ve.family:"mord"};ar({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(re,ve){var Se=re.parser;return{type:"mclass",mode:Se.mode,mclass:ur(ve[0]),body:[ve[1]],isCharacterBox:b.isCharacterBox(ve[1])}}}),ar({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[1],Qt=ve[0],Or;We!=="\\stackrel"?Or=ur(xt):Or="mrel";var Ur={type:"op",mode:xt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:We!=="\\stackrel",body:br(xt)},on={type:"supsub",mode:Qt.mode,base:Ur,sup:We==="\\underset"?null:Qt,sub:We==="\\underset"?Qt:null};return{type:"mclass",mode:Se.mode,mclass:Or,body:[on],isCharacterBox:b.isCharacterBox(on)}},htmlBuilder:qt,mathmlBuilder:pr});var $r=function(re,ve){var Se=re.font,We=ve.withFont(Se);return ki(re.body,We)},Er=function(re,ve){var Se=re.font,We=ve.withFont(Se);return xr(re.body,We)},sr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ar({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0],Qt=We;return Qt in sr&&(Qt=sr[Qt]),{type:"font",mode:Se.mode,font:Qt.slice(1),body:xt}},htmlBuilder:$r,mathmlBuilder:Er}),ar({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(re,ve){var Se=re.parser,We=ve[0],xt=b.isCharacterBox(We);return{type:"mclass",mode:Se.mode,mclass:ur(We),body:[{type:"font",mode:Se.mode,font:"boldsymbol",body:We}],isCharacterBox:xt}}}),ar({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=re.breakOnTokenText,Qt=Se.mode,Or=Se.parseExpression(!0,xt),Ur="math"+We.slice(1);return{type:"font",mode:Qt,font:Ur,body:{type:"ordgroup",mode:Se.mode,body:Or}}},htmlBuilder:$r,mathmlBuilder:Er});var dn=function(re,ve){var Se=ve;return re==="display"?Se=Se.id>=H.SCRIPT.id?Se.text():H.DISPLAY:re==="text"&&Se.size===H.DISPLAY.size?Se=H.TEXT:re==="script"?Se=H.SCRIPT:re==="scriptscript"&&(Se=H.SCRIPTSCRIPT),Se},wr=function(re,ve){var Se=dn(re.size,ve.style),We=Se.fracNum(),xt=Se.fracDen(),Qt;Qt=ve.havingStyle(We);var Or=ki(re.numer,Qt,ve);if(re.continued){var Ur=8.5/ve.fontMetrics().ptPerEm,on=3.5/ve.fontMetrics().ptPerEm;Or.height=Or.height<Ur?Ur:Or.height,Or.depth=Or.depth<on?on:Or.depth}Qt=ve.havingStyle(xt);var Dn=ki(re.denom,Qt,ve),Hn,jn,ri;re.hasBarLine?(re.barSize?(jn=rt(re.barSize,ve),Hn=An.makeLineSpan("frac-line",ve,jn)):Hn=An.makeLineSpan("frac-line",ve),jn=Hn.height,ri=Hn.height):(Hn=null,jn=0,ri=ve.fontMetrics().defaultRuleThickness);var wi,Gi,xa;Se.size===H.DISPLAY.size||re.size==="display"?(wi=ve.fontMetrics().num1,jn>0?Gi=3*ri:Gi=7*ri,xa=ve.fontMetrics().denom1):(jn>0?(wi=ve.fontMetrics().num2,Gi=ri):(wi=ve.fontMetrics().num3,Gi=3*ri),xa=ve.fontMetrics().denom2);var no;if(Hn){var Ja=ve.fontMetrics().axisHeight;wi-Or.depth-(Ja+.5*jn)<Gi&&(wi+=Gi-(wi-Or.depth-(Ja+.5*jn))),Ja-.5*jn-(Dn.height-xa)<Gi&&(xa+=Gi-(Ja-.5*jn-(Dn.height-xa)));var Go=-(Ja-.5*jn);no=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dn,shift:xa},{type:"elem",elem:Hn,shift:Go},{type:"elem",elem:Or,shift:-wi}]},ve)}else{var uo=wi-Or.depth-(Dn.height-xa);uo<Gi&&(wi+=.5*(Gi-uo),xa+=.5*(Gi-uo)),no=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dn,shift:xa},{type:"elem",elem:Or,shift:-wi}]},ve)}Qt=ve.havingStyle(Se),no.height*=Qt.sizeMultiplier/ve.sizeMultiplier,no.depth*=Qt.sizeMultiplier/ve.sizeMultiplier;var _o;Se.size===H.DISPLAY.size?_o=ve.fontMetrics().delim1:_o=ve.fontMetrics().delim2;var xo,Na;return re.leftDelim==null?xo=Ni(ve,["mopen"]):xo=pa.customSizedDelim(re.leftDelim,_o,!0,ve.havingStyle(Se),re.mode,["mopen"]),re.continued?Na=An.makeSpan([]):re.rightDelim==null?Na=Ni(ve,["mclose"]):Na=pa.customSizedDelim(re.rightDelim,_o,!0,ve.havingStyle(Se),re.mode,["mclose"]),An.makeSpan(["mord"].concat(Qt.sizingClasses(ve)),[xo,An.makeSpan(["mfrac"],[no]),Na],ve)},rn=function(re,ve){var Se=new ni.MathNode("mfrac",[xr(re.numer,ve),xr(re.denom,ve)]);if(!re.hasBarLine)Se.setAttribute("linethickness","0px");else if(re.barSize){var We=rt(re.barSize,ve);Se.setAttribute("linethickness",We+"em")}var xt=dn(re.size,ve.style);if(xt.size!==ve.style.size){Se=new ni.MathNode("mstyle",[Se]);var Qt=xt.size===H.DISPLAY.size?"true":"false";Se.setAttribute("displaystyle",Qt),Se.setAttribute("scriptlevel","0")}if(re.leftDelim!=null||re.rightDelim!=null){var Or=[];if(re.leftDelim!=null){var Ur=new ni.MathNode("mo",[new ni.TextNode(re.leftDelim.replace("\\",""))]);Ur.setAttribute("fence","true"),Or.push(Ur)}if(Or.push(Se),re.rightDelim!=null){var on=new ni.MathNode("mo",[new ni.TextNode(re.rightDelim.replace("\\",""))]);on.setAttribute("fence","true"),Or.push(on)}return Va(Or)}return Se};ar({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0],Qt=ve[1],Or,Ur=null,on=null,Dn="auto";switch(We){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Or=!0;break;case"\\\\atopfrac":Or=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Or=!1,Ur="(",on=")";break;case"\\\\bracefrac":Or=!1,Ur="\\{",on="\\}";break;case"\\\\brackfrac":Or=!1,Ur="[",on="]";break;default:throw new Error("Unrecognized genfrac command")}switch(We){case"\\cfrac":case"\\dfrac":case"\\dbinom":Dn="display";break;case"\\tfrac":case"\\tbinom":Dn="text";break}return{type:"genfrac",mode:Se.mode,continued:We==="\\cfrac",numer:xt,denom:Qt,hasBarLine:Or,leftDelim:Ur,rightDelim:on,size:Dn,barSize:null}},htmlBuilder:wr,mathmlBuilder:rn}),ar({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(re){var ve=re.parser,Se=re.funcName,We=re.token,xt;switch(Se){case"\\over":xt="\\frac";break;case"\\choose":xt="\\binom";break;case"\\atop":xt="\\\\atopfrac";break;case"\\brace":xt="\\\\bracefrac";break;case"\\brack":xt="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ve.mode,replaceWith:xt,token:We}}});var Fn=["display","text","script","scriptscript"],Bn=function(re){var ve=null;return re.length>0&&(ve=re,ve=ve==="."?null:ve),ve};ar({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(re,ve){var Se=re.parser,We=ve[4],xt=ve[5],Qt=ai(ve[0],"atom");Qt&&(Qt=Xr(ve[0],"open"));var Or=Qt?Bn(Qt.text):null,Ur=ai(ve[1],"atom");Ur&&(Ur=Xr(ve[1],"close"));var on=Ur?Bn(Ur.text):null,Dn=mi(ve[2],"size"),Hn,jn=null;Dn.isBlank?Hn=!0:(jn=Dn.value,Hn=jn.number>0);var ri="auto",wi=ai(ve[3],"ordgroup");if(wi){if(wi.body.length>0){var Gi=mi(wi.body[0],"textord");ri=Fn[Number(Gi.text)]}}else wi=mi(ve[3],"textord"),ri=Fn[Number(wi.text)];return{type:"genfrac",mode:Se.mode,numer:We,denom:xt,continued:!1,hasBarLine:Hn,barSize:jn,leftDelim:Or,rightDelim:on,size:ri}},htmlBuilder:wr,mathmlBuilder:rn}),ar({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=re.token;return{type:"infix",mode:Se.mode,replaceWith:"\\\\abovefrac",size:mi(ve[0],"size").value,token:xt}}}),ar({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0],Qt=h(mi(ve[1],"infix").size),Or=ve[2],Ur=Qt.number>0;return{type:"genfrac",mode:Se.mode,numer:xt,denom:Or,continued:!1,hasBarLine:Ur,barSize:Qt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:wr,mathmlBuilder:rn});var Tn=function(re,ve){var Se=ve.style,We,xt,Qt=ai(re,"supsub");Qt?(We=Qt.sup?ki(Qt.sup,ve.havingStyle(Se.sup()),ve):ki(Qt.sub,ve.havingStyle(Se.sub()),ve),xt=mi(Qt.base,"horizBrace")):xt=mi(re,"horizBrace");var Or=ki(xt.base,ve.havingBaseStyle(H.DISPLAY)),Ur=cn.svgSpan(xt,ve),on;if(xt.isOver?(on=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Or},{type:"kern",size:.1},{type:"elem",elem:Ur}]},ve),on.children[0].children[0].children[1].classes.push("svg-align")):(on=An.makeVList({positionType:"bottom",positionData:Or.depth+.1+Ur.height,children:[{type:"elem",elem:Ur},{type:"kern",size:.1},{type:"elem",elem:Or}]},ve),on.children[0].children[0].children[0].classes.push("svg-align")),We){var Dn=An.makeSpan(["mord",xt.isOver?"mover":"munder"],[on],ve);xt.isOver?on=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dn},{type:"kern",size:.2},{type:"elem",elem:We}]},ve):on=An.makeVList({positionType:"bottom",positionData:Dn.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:Dn}]},ve)}return An.makeSpan(["mord",xt.isOver?"mover":"munder"],[on],ve)},Kn=function(re,ve){var Se=cn.mathMLnode(re.label);return new ni.MathNode(re.isOver?"mover":"munder",[xr(re.base,ve),Se])};ar({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=re.funcName;return{type:"horizBrace",mode:Se.mode,label:We,isOver:/^\\over/.test(We),base:ve[0]}},htmlBuilder:Tn,mathmlBuilder:Kn}),ar({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=ve[1],xt=mi(ve[0],"url").url;return Se.settings.isTrusted({command:"\\href",url:xt})?{type:"href",mode:Se.mode,href:xt,body:br(We)}:Se.formatUnsupportedCmd("\\href")},htmlBuilder:function(re,ve){var Se=Xn(re.body,ve,!1);return An.makeAnchor(re.href,[],Se,ve)},mathmlBuilder:function(re,ve){var Se=ma(re.body,ve);return Se instanceof La||(Se=new La("mrow",[Se])),Se.setAttribute("href",re.href),Se}}),ar({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=mi(ve[0],"url").url;if(!Se.settings.isTrusted({command:"\\url",url:We}))return Se.formatUnsupportedCmd("\\url");for(var xt=[],Qt=0;Qt<We.length;Qt++){var Or=We[Qt];Or==="~"&&(Or="\\textasciitilde"),xt.push({type:"textord",mode:"text",text:Or})}var Ur={type:"text",mode:Se.mode,font:"\\texttt",body:xt};return{type:"href",mode:Se.mode,href:We,body:br(Ur)}}}),ar({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(re,ve){var Se=re.parser;return{type:"htmlmathml",mode:Se.mode,html:br(ve[0]),mathml:br(ve[1])}},htmlBuilder:function(re,ve){var Se=Xn(re.html,ve,!1);return An.makeFragment(Se)},mathmlBuilder:function(re,ve){return ma(re.mathml,ve)}});var Mn=function(re){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(re))return{number:+re,unit:"bp"};var ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(re);if(!ve)throw new s("Invalid size: '"+re+"' in \\includegraphics");var Se={number:+(ve[1]+ve[2]),unit:ve[3]};if(!qe(Se))throw new s("Invalid unit: '"+Se.unit+"' in \\includegraphics.");return Se};ar({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(re,ve,Se){var We=re.parser,xt={number:0,unit:"em"},Qt={number:.9,unit:"em"},Or={number:0,unit:"em"},Ur="";if(Se[0])for(var on=mi(Se[0],"raw").string,Dn=on.split(","),Hn=0;Hn<Dn.length;Hn++){var jn=Dn[Hn].split("=");if(jn.length===2){var ri=jn[1].trim();switch(jn[0].trim()){case"alt":Ur=ri;break;case"width":xt=Mn(ri);break;case"height":Qt=Mn(ri);break;case"totalheight":Or=Mn(ri);break;default:throw new s("Invalid key: '"+jn[0]+"' in \\includegraphics.")}}}var wi=mi(ve[0],"url").url;return Ur===""&&(Ur=wi,Ur=Ur.replace(/^.*[\\/]/,""),Ur=Ur.substring(0,Ur.lastIndexOf("."))),We.settings.isTrusted({command:"\\includegraphics",url:wi})?{type:"includegraphics",mode:We.mode,alt:Ur,width:xt,height:Qt,totalheight:Or,src:wi}:We.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(re,ve){var Se=rt(re.height,ve),We=0;re.totalheight.number>0&&(We=rt(re.totalheight,ve)-Se,We=Number(We.toFixed(2)));var xt=0;re.width.number>0&&(xt=rt(re.width,ve));var Qt={height:Se+We+"em"};xt>0&&(Qt.width=xt+"em"),We>0&&(Qt.verticalAlign=-We+"em");var Or=new je(re.src,re.alt,Qt);return Or.height=Se,Or.depth=We,Or},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mglyph",[]);Se.setAttribute("alt",re.alt);var We=rt(re.height,ve),xt=0;if(re.totalheight.number>0&&(xt=rt(re.totalheight,ve)-We,xt=xt.toFixed(2),Se.setAttribute("valign","-"+xt+"em")),Se.setAttribute("height",We+xt+"em"),re.width.number>0){var Qt=rt(re.width,ve);Se.setAttribute("width",Qt+"em")}return Se.setAttribute("src",re.src),Se}}),ar({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=mi(ve[0],"size");if(Se.settings.strict){var Qt=We[1]==="m",Or=xt.value.unit==="mu";Qt?(Or||Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+xt.value.unit+" units")),Se.mode!=="math"&&Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):Or&&Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Se.mode,dimension:xt.value}},htmlBuilder:function(re,ve){return An.makeGlue(re.dimension,ve)},mathmlBuilder:function(re,ve){var Se=rt(re.dimension,ve);return new ni.SpaceNode(Se)}}),ar({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];return{type:"lap",mode:Se.mode,alignment:We.slice(5),body:xt}},htmlBuilder:function(re,ve){var Se;re.alignment==="clap"?(Se=An.makeSpan([],[ki(re.body,ve)]),Se=An.makeSpan(["inner"],[Se],ve)):Se=An.makeSpan(["inner"],[ki(re.body,ve)]);var We=An.makeSpan(["fix"],[]),xt=An.makeSpan([re.alignment],[Se,We],ve),Qt=An.makeSpan(["strut"]);return Qt.style.height=xt.height+xt.depth+"em",Qt.style.verticalAlign=-xt.depth+"em",xt.children.unshift(Qt),xt=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt}]},ve),An.makeSpan(["mord"],[xt],ve)},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mpadded",[xr(re.body,ve)]);if(re.alignment!=="rlap"){var We=re.alignment==="llap"?"-1":"-0.5";Se.setAttribute("lspace",We+"width")}return Se.setAttribute("width","0px"),Se}}),ar({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ve){var Se=re.funcName,We=re.parser,xt=We.mode;We.switchMode("math");var Qt=Se==="\\("?"\\)":"$",Or=We.parseExpression(!1,Qt);return We.expect(Qt),We.switchMode(xt),{type:"styling",mode:We.mode,style:"text",body:Or}}}),ar({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ve){throw new s("Mismatched "+re.funcName)}});var Un=function(re,ve){switch(ve.style.size){case H.DISPLAY.size:return re.display;case H.TEXT.size:return re.text;case H.SCRIPT.size:return re.script;case H.SCRIPTSCRIPT.size:return re.scriptscript;default:return re.text}};ar({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(re,ve){var Se=re.parser;return{type:"mathchoice",mode:Se.mode,display:br(ve[0]),text:br(ve[1]),script:br(ve[2]),scriptscript:br(ve[3])}},htmlBuilder:function(re,ve){var Se=Un(re,ve),We=Xn(Se,ve,!1);return An.makeFragment(We)},mathmlBuilder:function(re,ve){var Se=Un(re,ve);return ma(Se,ve)}});var Vn=function(re,ve,Se,We,xt,Qt,Or){re=An.makeSpan([],[re]);var Ur,on;if(ve){var Dn=ki(ve,We.havingStyle(xt.sup()),We);on={elem:Dn,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-Dn.depth)}}if(Se){var Hn=ki(Se,We.havingStyle(xt.sub()),We);Ur={elem:Hn,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-Hn.height)}}var jn;if(on&&Ur){var ri=We.fontMetrics().bigOpSpacing5+Ur.elem.height+Ur.elem.depth+Ur.kern+re.depth+Or;jn=An.makeVList({positionType:"bottom",positionData:ri,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ur.elem,marginLeft:-Qt+"em"},{type:"kern",size:Ur.kern},{type:"elem",elem:re},{type:"kern",size:on.kern},{type:"elem",elem:on.elem,marginLeft:Qt+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(Ur){var wi=re.height-Or;jn=An.makeVList({positionType:"top",positionData:wi,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ur.elem,marginLeft:-Qt+"em"},{type:"kern",size:Ur.kern},{type:"elem",elem:re}]},We)}else if(on){var Gi=re.depth+Or;jn=An.makeVList({positionType:"bottom",positionData:Gi,children:[{type:"elem",elem:re},{type:"kern",size:on.kern},{type:"elem",elem:on.elem,marginLeft:Qt+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return re;return An.makeSpan(["mop","op-limits"],[jn],We)},si=["\\smallint"],Jn=function(re,ve){var Se,We,xt=!1,Qt,Or=ai(re,"supsub");Or?(Se=Or.sup,We=Or.sub,Qt=mi(Or.base,"op"),xt=!0):Qt=mi(re,"op");var Ur=ve.style,on=!1;Ur.size===H.DISPLAY.size&&Qt.symbol&&!b.contains(si,Qt.name)&&(on=!0);var Dn;if(Qt.symbol){var Hn=on?"Size2-Regular":"Size1-Regular",jn="";if((Qt.name==="\\oiint"||Qt.name==="\\oiiint")&&(jn=Qt.name.substr(1),Qt.name=jn==="oiint"?"\\iint":"\\iiint"),Dn=An.makeSymbol(Qt.name,Hn,"math",ve,["mop","op-symbol",on?"large-op":"small-op"]),jn.length>0){var ri=Dn.italic,wi=An.staticSvg(jn+"Size"+(on?"2":"1"),ve);Dn=An.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dn,shift:0},{type:"elem",elem:wi,shift:on?.08:0}]},ve),Qt.name="\\"+jn,Dn.classes.unshift("mop"),Dn.italic=ri}}else if(Qt.body){var Gi=Xn(Qt.body,ve,!0);Gi.length===1&&Gi[0]instanceof Ze?(Dn=Gi[0],Dn.classes[0]="mop"):Dn=An.makeSpan(["mop"],An.tryCombineChars(Gi),ve)}else{for(var xa=[],no=1;no<Qt.name.length;no++)xa.push(An.mathsym(Qt.name[no],Qt.mode,ve));Dn=An.makeSpan(["mop"],xa,ve)}var uo=0,Ja=0;return(Dn instanceof Ze||Qt.name==="\\oiint"||Qt.name==="\\oiiint")&&!Qt.suppressBaseShift&&(uo=(Dn.height-Dn.depth)/2-ve.fontMetrics().axisHeight,Ja=Dn.italic),xt?Vn(Dn,Se,We,ve,Ur,Ja,uo):(uo&&(Dn.style.position="relative",Dn.style.top=uo+"em"),Dn)},Ai=function(re,ve){var Se;if(re.symbol)Se=new La("mo",[zi(re.name,re.mode)]),b.contains(si,re.name)&&Se.setAttribute("largeop","false");else if(re.body)Se=new La("mo",Oa(re.body,ve));else{Se=new La("mi",[new ta(re.name.slice(1))]);var We=new La("mo",[zi("\u2061","text")]);re.parentIsSupSub?Se=new La("mo",[Se,We]):Se=Ta([Se,We])}return Se},Ji={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ar({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(re,ve){var Se=re.parser,We=re.funcName,xt=We;return xt.length===1&&(xt=Ji[xt]),{type:"op",mode:Se.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:xt}},htmlBuilder:Jn,mathmlBuilder:Ai}),ar({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=ve[0];return{type:"op",mode:Se.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:br(We)}},htmlBuilder:Jn,mathmlBuilder:Ai});var Oi={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ar({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(re){var ve=re.parser,Se=re.funcName;return{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Se}},htmlBuilder:Jn,mathmlBuilder:Ai}),ar({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(re){var ve=re.parser,Se=re.funcName;return{type:"op",mode:ve.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Se}},htmlBuilder:Jn,mathmlBuilder:Ai}),ar({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(re){var ve=re.parser,Se=re.funcName,We=Se;return We.length===1&&(We=Oi[We]),{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:We}},htmlBuilder:Jn,mathmlBuilder:Ai});var Mi=function(re,ve){var Se,We,xt=!1,Qt,Or=ai(re,"supsub");Or?(Se=Or.sup,We=Or.sub,Qt=mi(Or.base,"operatorname"),xt=!0):Qt=mi(re,"operatorname");var Ur;if(Qt.body.length>0){for(var on=Qt.body.map(function(ri){var wi=ri.text;return typeof wi=="string"?{type:"textord",mode:ri.mode,text:wi}:ri}),Dn=Xn(on,ve.withFont("mathrm"),!0),Hn=0;Hn<Dn.length;Hn++){var jn=Dn[Hn];jn instanceof Ze&&(jn.text=jn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ur=An.makeSpan(["mop"],Dn,ve)}else Ur=An.makeSpan(["mop"],[],ve);return xt?Vn(Ur,Se,We,ve,ve.style,0,0):Ur},Li=function(re,ve){for(var Se=Oa(re.body,ve.withFont("mathrm")),We=!0,xt=0;xt<Se.length;xt++){var Qt=Se[xt];if(!(Qt instanceof ni.SpaceNode))if(Qt instanceof ni.MathNode)switch(Qt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Or=Qt.children[0];Qt.children.length===1&&Or instanceof ni.TextNode?Or.text=Or.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):We=!1;break}default:We=!1}else We=!1}if(We){var Ur=Se.map(function(Hn){return Hn.toText()}).join("");Se=[new ni.TextNode(Ur)]}var on=new ni.MathNode("mi",Se);on.setAttribute("mathvariant","normal");var Dn=new ni.MathNode("mo",[zi("\u2061","text")]);return re.parentIsSupSub?new ni.MathNode("mo",[on,Dn]):ni.newDocumentFragment([on,Dn])};ar({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];return{type:"operatorname",mode:Se.mode,body:br(xt),alwaysHandleSupSub:We==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Mi,mathmlBuilder:Li}),Tr({type:"ordgroup",htmlBuilder:function(re,ve){return re.semisimple?An.makeFragment(Xn(re.body,ve,!1)):An.makeSpan(["mord"],Xn(re.body,ve,!0),ve)},mathmlBuilder:function(re,ve){return ma(re.body,ve,!0)}}),ar({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(re,ve){var Se=re.parser,We=ve[0];return{type:"overline",mode:Se.mode,body:We}},htmlBuilder:function(re,ve){var Se=ki(re.body,ve.havingCrampedStyle()),We=An.makeLineSpan("overline-line",ve),xt=ve.fontMetrics().defaultRuleThickness,Qt=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se},{type:"kern",size:3*xt},{type:"elem",elem:We},{type:"kern",size:xt}]},ve);return An.makeSpan(["mord","overline"],[Qt],ve)},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mo",[new ni.TextNode("\u203E")]);Se.setAttribute("stretchy","true");var We=new ni.MathNode("mover",[xr(re.body,ve),Se]);return We.setAttribute("accent","true"),We}}),ar({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=ve[0];return{type:"phantom",mode:Se.mode,body:br(We)}},htmlBuilder:function(re,ve){var Se=Xn(re.body,ve.withPhantom(),!1);return An.makeFragment(Se)},mathmlBuilder:function(re,ve){var Se=Oa(re.body,ve);return new ni.MathNode("mphantom",Se)}}),ar({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=ve[0];return{type:"hphantom",mode:Se.mode,body:We}},htmlBuilder:function(re,ve){var Se=An.makeSpan([],[ki(re.body,ve.withPhantom())]);if(Se.height=0,Se.depth=0,Se.children)for(var We=0;We<Se.children.length;We++)Se.children[We].height=0,Se.children[We].depth=0;return Se=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se}]},ve),An.makeSpan(["mord"],[Se],ve)},mathmlBuilder:function(re,ve){var Se=Oa(br(re.body),ve),We=new ni.MathNode("mphantom",Se),xt=new ni.MathNode("mpadded",[We]);return xt.setAttribute("height","0px"),xt.setAttribute("depth","0px"),xt}}),ar({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=ve[0];return{type:"vphantom",mode:Se.mode,body:We}},htmlBuilder:function(re,ve){var Se=An.makeSpan(["inner"],[ki(re.body,ve.withPhantom())]),We=An.makeSpan(["fix"],[]);return An.makeSpan(["mord","rlap"],[Se,We],ve)},mathmlBuilder:function(re,ve){var Se=Oa(br(re.body),ve),We=new ni.MathNode("mphantom",Se),xt=new ni.MathNode("mpadded",[We]);return xt.setAttribute("width","0px"),xt}}),ar({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=mi(ve[0],"size").value,xt=ve[1];return{type:"raisebox",mode:Se.mode,dy:We,body:xt}},htmlBuilder:function(re,ve){var Se=ki(re.body,ve),We=rt(re.dy,ve);return An.makeVList({positionType:"shift",positionData:-We,children:[{type:"elem",elem:Se}]},ve)},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mpadded",[xr(re.body,ve)]),We=re.dy.number+re.dy.unit;return Se.setAttribute("voffset",We),Se}}),ar({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(re,ve,Se){var We=re.parser,xt=Se[0],Qt=mi(ve[0],"size"),Or=mi(ve[1],"size");return{type:"rule",mode:We.mode,shift:xt&&mi(xt,"size").value,width:Qt.value,height:Or.value}},htmlBuilder:function(re,ve){var Se=An.makeSpan(["mord","rule"],[],ve),We=rt(re.width,ve),xt=rt(re.height,ve),Qt=re.shift?rt(re.shift,ve):0;return Se.style.borderRightWidth=We+"em",Se.style.borderTopWidth=xt+"em",Se.style.bottom=Qt+"em",Se.width=We,Se.height=xt+Qt,Se.depth=-Qt,Se.maxFontSize=xt*1.125*ve.sizeMultiplier,Se},mathmlBuilder:function(re,ve){var Se=rt(re.width,ve),We=rt(re.height,ve),xt=re.shift?rt(re.shift,ve):0,Qt=ve.color&&ve.getColor()||"black",Or=new ni.MathNode("mspace");Or.setAttribute("mathbackground",Qt),Or.setAttribute("width",Se+"em"),Or.setAttribute("height",We+"em");var Ur=new ni.MathNode("mpadded",[Or]);return xt>=0?Ur.setAttribute("height","+"+xt+"em"):(Ur.setAttribute("height",xt+"em"),Ur.setAttribute("depth","+"+-xt+"em")),Ur.setAttribute("voffset",xt+"em"),Ur}});function Ki(Vt,re,ve){for(var Se=Xn(Vt,re,!1),We=re.sizeMultiplier/ve.sizeMultiplier,xt=0;xt<Se.length;xt++){var Qt=Se[xt].classes.indexOf("sizing");Qt<0?Array.prototype.push.apply(Se[xt].classes,re.sizingClasses(ve)):Se[xt].classes[Qt+1]==="reset-size"+re.size&&(Se[xt].classes[Qt+1]="reset-size"+ve.size),Se[xt].height*=We,Se[xt].depth*=We}return An.makeFragment(Se)}var so=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Pa=function(re,ve){var Se=ve.havingSize(re.size);return Ki(re.body,Se,ve)};ar({type:"sizing",names:so,props:{numArgs:0,allowedInText:!0},handler:function(re,ve){var Se=re.breakOnTokenText,We=re.funcName,xt=re.parser,Qt=xt.parseExpression(!1,Se);return{type:"sizing",mode:xt.mode,size:so.indexOf(We)+1,body:Qt}},htmlBuilder:Pa,mathmlBuilder:function(re,ve){var Se=ve.havingSize(re.size),We=Oa(re.body,Se),xt=new ni.MathNode("mstyle",We);return xt.setAttribute("mathsize",Se.sizeMultiplier+"em"),xt}}),ar({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(re,ve,Se){var We=re.parser,xt=!1,Qt=!1,Or=Se[0]&&mi(Se[0],"ordgroup");if(Or)for(var Ur="",on=0;on<Or.body.length;++on){var Dn=Or.body[on];if(Ur=Dn.text,Ur==="t")xt=!0;else if(Ur==="b")Qt=!0;else{xt=!1,Qt=!1;break}}else xt=!0,Qt=!0;var Hn=ve[0];return{type:"smash",mode:We.mode,body:Hn,smashHeight:xt,smashDepth:Qt}},htmlBuilder:function(re,ve){var Se=An.makeSpan([],[ki(re.body,ve)]);if(!re.smashHeight&&!re.smashDepth)return Se;if(re.smashHeight&&(Se.height=0,Se.children))for(var We=0;We<Se.children.length;We++)Se.children[We].height=0;if(re.smashDepth&&(Se.depth=0,Se.children))for(var xt=0;xt<Se.children.length;xt++)Se.children[xt].depth=0;var Qt=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se}]},ve);return An.makeSpan(["mord"],[Qt],ve)},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mpadded",[xr(re.body,ve)]);return re.smashHeight&&Se.setAttribute("height","0px"),re.smashDepth&&Se.setAttribute("depth","0px"),Se}}),ar({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(re,ve,Se){var We=re.parser,xt=Se[0],Qt=ve[0];return{type:"sqrt",mode:We.mode,body:Qt,index:xt}},htmlBuilder:function(re,ve){var Se=ki(re.body,ve.havingCrampedStyle());Se.height===0&&(Se.height=ve.fontMetrics().xHeight),Se=An.wrapFragment(Se,ve);var We=ve.fontMetrics(),xt=We.defaultRuleThickness,Qt=xt;ve.style.id<H.TEXT.id&&(Qt=ve.fontMetrics().xHeight);var Or=xt+Qt/4,Ur=Se.height+Se.depth+Or+xt,on=pa.sqrtImage(Ur,ve),Dn=on.span,Hn=on.ruleWidth,jn=on.advanceWidth,ri=Dn.height-Hn;ri>Se.height+Se.depth+Or&&(Or=(Or+ri-Se.height-Se.depth)/2);var wi=Dn.height-Se.height-Or-Hn;Se.style.paddingLeft=jn+"em";var Gi=An.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se,wrapperClasses:["svg-align"]},{type:"kern",size:-(Se.height+wi)},{type:"elem",elem:Dn},{type:"kern",size:Hn}]},ve);if(re.index){var xa=ve.havingStyle(H.SCRIPTSCRIPT),no=ki(re.index,xa,ve),uo=.6*(Gi.height-Gi.depth),Ja=An.makeVList({positionType:"shift",positionData:-uo,children:[{type:"elem",elem:no}]},ve),Go=An.makeSpan(["root"],[Ja]);return An.makeSpan(["mord","sqrt"],[Go,Gi],ve)}else return An.makeSpan(["mord","sqrt"],[Gi],ve)},mathmlBuilder:function(re,ve){var Se=re.body,We=re.index;return We?new ni.MathNode("mroot",[xr(Se,ve),xr(We,ve)]):new ni.MathNode("msqrt",[xr(Se,ve)])}});var Xi={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};ar({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(re,ve){var Se=re.breakOnTokenText,We=re.funcName,xt=re.parser,Qt=xt.parseExpression(!0,Se),Or=We.slice(1,We.length-5);return{type:"styling",mode:xt.mode,style:Or,body:Qt}},htmlBuilder:function(re,ve){var Se=Xi[re.style],We=ve.havingStyle(Se).withFont("");return Ki(re.body,We,ve)},mathmlBuilder:function(re,ve){var Se=Xi[re.style],We=ve.havingStyle(Se),xt=Oa(re.body,We),Qt=new ni.MathNode("mstyle",xt),Or={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ur=Or[re.style];return Qt.setAttribute("scriptlevel",Ur[0]),Qt.setAttribute("displaystyle",Ur[1]),Qt}});var yi=function(re,ve){var Se=re.base;if(Se)if(Se.type==="op"){var We=Se.limits&&(ve.style.size===H.DISPLAY.size||Se.alwaysHandleSupSub);return We?Jn:null}else if(Se.type==="operatorname"){var xt=Se.alwaysHandleSupSub&&(ve.style.size===H.DISPLAY.size||Se.limits);return xt?Mi:null}else{if(Se.type==="accent")return b.isCharacterBox(Se.base)?Qr:null;if(Se.type==="horizBrace"){var Qt=!re.sub;return Qt===Se.isOver?Tn:null}else return null}else return null};Tr({type:"supsub",htmlBuilder:function(re,ve){var Se=yi(re,ve);if(Se)return Se(re,ve);var We=re.base,xt=re.sup,Qt=re.sub,Or=ki(We,ve),Ur,on,Dn=ve.fontMetrics(),Hn=0,jn=0,ri=We&&b.isCharacterBox(We);if(xt){var wi=ve.havingStyle(ve.style.sup());Ur=ki(xt,wi,ve),ri||(Hn=Or.height-wi.fontMetrics().supDrop*wi.sizeMultiplier/ve.sizeMultiplier)}if(Qt){var Gi=ve.havingStyle(ve.style.sub());on=ki(Qt,Gi,ve),ri||(jn=Or.depth+Gi.fontMetrics().subDrop*Gi.sizeMultiplier/ve.sizeMultiplier)}var xa;ve.style===H.DISPLAY?xa=Dn.sup1:ve.style.cramped?xa=Dn.sup3:xa=Dn.sup2;var no=ve.sizeMultiplier,uo=.5/Dn.ptPerEm/no+"em",Ja=null;if(on){var Go=re.base&&re.base.type==="op"&&re.base.name&&(re.base.name==="\\oiint"||re.base.name==="\\oiiint");(Or instanceof Ze||Go)&&(Ja=-Or.italic+"em")}var _o;if(Ur&&on){Hn=Math.max(Hn,xa,Ur.depth+.25*Dn.xHeight),jn=Math.max(jn,Dn.sub2);var xo=Dn.defaultRuleThickness,Na=4*xo;if(Hn-Ur.depth-(on.height-jn)<Na){jn=Na-(Hn-Ur.depth)+on.height;var Ha=.8*Dn.xHeight-(Hn-Ur.depth);Ha>0&&(Hn+=Ha,jn-=Ha)}var ns=[{type:"elem",elem:on,shift:jn,marginRight:uo,marginLeft:Ja},{type:"elem",elem:Ur,shift:-Hn,marginRight:uo}];_o=An.makeVList({positionType:"individualShift",children:ns},ve)}else if(on){jn=Math.max(jn,Dn.sub1,on.height-.8*Dn.xHeight);var ps=[{type:"elem",elem:on,marginLeft:Ja,marginRight:uo}];_o=An.makeVList({positionType:"shift",positionData:jn,children:ps},ve)}else if(Ur)Hn=Math.max(Hn,xa,Ur.depth+.25*Dn.xHeight),_o=An.makeVList({positionType:"shift",positionData:-Hn,children:[{type:"elem",elem:Ur,marginRight:uo}]},ve);else throw new Error("supsub must have either sup or sub.");var Wo=gi(Or,"right")||"mord";return An.makeSpan([Wo],[Or,An.makeSpan(["msupsub"],[_o])],ve)},mathmlBuilder:function(re,ve){var Se=!1,We,xt,Qt=ai(re.base,"horizBrace");Qt&&(xt=!!re.sup,xt===Qt.isOver&&(Se=!0,We=Qt.isOver)),re.base&&(re.base.type==="op"||re.base.type==="operatorname")&&(re.base.parentIsSupSub=!0);var Or=[xr(re.base,ve)];re.sub&&Or.push(xr(re.sub,ve)),re.sup&&Or.push(xr(re.sup,ve));var Ur;if(Se)Ur=We?"mover":"munder";else if(re.sub)if(re.sup){var Hn=re.base;Hn&&Hn.type==="op"&&Hn.limits&&ve.style===H.DISPLAY||Hn&&Hn.type==="operatorname"&&Hn.alwaysHandleSupSub&&(ve.style===H.DISPLAY||Hn.limits)?Ur="munderover":Ur="msubsup"}else{var Dn=re.base;Dn&&Dn.type==="op"&&Dn.limits&&(ve.style===H.DISPLAY||Dn.alwaysHandleSupSub)||Dn&&Dn.type==="operatorname"&&Dn.alwaysHandleSupSub&&(Dn.limits||ve.style===H.DISPLAY)?Ur="munder":Ur="msub"}else{var on=re.base;on&&on.type==="op"&&on.limits&&(ve.style===H.DISPLAY||on.alwaysHandleSupSub)||on&&on.type==="operatorname"&&on.alwaysHandleSupSub&&(on.limits||ve.style===H.DISPLAY)?Ur="mover":Ur="msup"}var jn=new ni.MathNode(Ur,Or);return jn}}),Tr({type:"atom",htmlBuilder:function(re,ve){return An.mathsym(re.text,re.mode,ve,["m"+re.family])},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mo",[zi(re.text,re.mode)]);if(re.family==="bin"){var We=Za(re,ve);We==="bold-italic"&&Se.setAttribute("mathvariant",We)}else re.family==="punct"?Se.setAttribute("separator","true"):(re.family==="open"||re.family==="close")&&Se.setAttribute("stretchy","false");return Se}});var Bi={mi:"italic",mn:"normal",mtext:"normal"};Tr({type:"mathord",htmlBuilder:function(re,ve){return An.makeOrd(re,ve,"mathord")},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mi",[zi(re.text,re.mode,ve)]),We=Za(re,ve)||"italic";return We!==Bi[Se.type]&&Se.setAttribute("mathvariant",We),Se}}),Tr({type:"textord",htmlBuilder:function(re,ve){return An.makeOrd(re,ve,"textord")},mathmlBuilder:function(re,ve){var Se=zi(re.text,re.mode,ve),We=Za(re,ve)||"normal",xt;return re.mode==="text"?xt=new ni.MathNode("mtext",[Se]):/[0-9]/.test(re.text)?xt=new ni.MathNode("mn",[Se]):re.text==="\\prime"?xt=new ni.MathNode("mo",[Se]):xt=new ni.MathNode("mi",[Se]),We!==Bi[xt.type]&&xt.setAttribute("mathvariant",We),xt}});var Zi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Fa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Tr({type:"spacing",htmlBuilder:function(re,ve){if(Fa.hasOwnProperty(re.text)){var Se=Fa[re.text].className||"";if(re.mode==="text"){var We=An.makeOrd(re,ve,"textord");return We.classes.push(Se),We}else return An.makeSpan(["mspace",Se],[An.mathsym(re.text,re.mode,ve)],ve)}else{if(Zi.hasOwnProperty(re.text))return An.makeSpan(["mspace",Zi[re.text]],[],ve);throw new s('Unknown type of space "'+re.text+'"')}},mathmlBuilder:function(re,ve){var Se;if(Fa.hasOwnProperty(re.text))Se=new ni.MathNode("mtext",[new ni.TextNode("\xA0")]);else{if(Zi.hasOwnProperty(re.text))return new ni.MathNode("mspace");throw new s('Unknown type of space "'+re.text+'"')}return Se}});var ya=function(){var re=new ni.MathNode("mtd",[]);return re.setAttribute("width","50%"),re};Tr({type:"tag",mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mtable",[new ni.MathNode("mtr",[ya(),new ni.MathNode("mtd",[ma(re.body,ve)]),ya(),new ni.MathNode("mtd",[ma(re.tag,ve)])])]);return Se.setAttribute("width","100%"),Se}});var ja={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Wa={"\\textbf":"textbf","\\textmd":"textmd"},wo={"\\textit":"textit","\\textup":"textup"},Do=function(re,ve){var Se=re.font;return Se?ja[Se]?ve.withTextFontFamily(ja[Se]):Wa[Se]?ve.withTextFontWeight(Wa[Se]):ve.withTextFontShape(wo[Se]):ve};ar({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(re,ve){var Se=re.parser,We=re.funcName,xt=ve[0];return{type:"text",mode:Se.mode,body:br(xt),font:We}},htmlBuilder:function(re,ve){var Se=Do(re,ve),We=Xn(re.body,Se,!0);return An.makeSpan(["mord","text"],An.tryCombineChars(We),Se)},mathmlBuilder:function(re,ve){var Se=Do(re,ve);return ma(re.body,Se)}}),ar({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(re,ve){var Se=re.parser;return{type:"underline",mode:Se.mode,body:ve[0]}},htmlBuilder:function(re,ve){var Se=ki(re.body,ve),We=An.makeLineSpan("underline-line",ve),xt=ve.fontMetrics().defaultRuleThickness,Qt=An.makeVList({positionType:"top",positionData:Se.height,children:[{type:"kern",size:xt},{type:"elem",elem:We},{type:"kern",size:3*xt},{type:"elem",elem:Se}]},ve);return An.makeSpan(["mord","underline"],[Qt],ve)},mathmlBuilder:function(re,ve){var Se=new ni.MathNode("mo",[new ni.TextNode("\u203E")]);Se.setAttribute("stretchy","true");var We=new ni.MathNode("munder",[xr(re.body,ve),Se]);return We.setAttribute("accentunder","true"),We}}),ar({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(re,ve,Se){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(re,ve){for(var Se=es(re),We=[],xt=ve.havingStyle(ve.style.text()),Qt=0;Qt<Se.length;Qt++){var Or=Se[Qt];Or==="~"&&(Or="\\textasciitilde"),We.push(An.makeSymbol(Or,"Typewriter-Regular",re.mode,xt,["mord","texttt"]))}return An.makeSpan(["mord","text"].concat(xt.sizingClasses(ve)),An.tryCombineChars(We),xt)},mathmlBuilder:function(re,ve){var Se=new ni.TextNode(es(re)),We=new ni.MathNode("mtext",[Se]);return We.setAttribute("mathvariant","monospace"),We}});var es=function(re){return re.body.replace(/ /g,re.star?"\u2423":"\xA0")},To=sn,So=To,Ia=`[ \r
|
|
|
]`,Ua="\\\\[a-zA-Z@]+",aa="\\\\[^\uD800-\uDFFF]",lo=""+Ua+Ia+"*",Qo=new RegExp("^("+Ua+")"+Ia+"*$"),ro="[\u0300-\u036F]",us=new RegExp(ro+"+$"),co="("+Ia+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ro+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ro+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+lo)+("|"+aa+")"),go=function(){function Vt(ve,Se){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ve,this.settings=Se,this.tokenRegex=new RegExp(co,"g"),this.catcodes={"%":14}}var re=Vt.prototype;return re.setCatcode=function(Se,We){this.catcodes[Se]=We},re.lex=function(){var Se=this.input,We=this.tokenRegex.lastIndex;if(We===Se.length)return new p("EOF",new g(this,We,We));var xt=this.tokenRegex.exec(Se);if(xt===null||xt.index!==We)throw new s("Unexpected character: '"+Se[We]+"'",new p(Se[We],new g(this,We,We+1)));var Qt=xt[2]||" ";if(this.catcodes[Qt]===14){var Or=Se.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Or===-1?(this.tokenRegex.lastIndex=Se.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=Or+1,this.lex()}var Ur=Qt.match(Qo);return Ur&&(Qt=Ur[1]),new p(Qt,new g(this,We,this.tokenRegex.lastIndex))},Vt}(),$o=function(){function Vt(ve,Se){ve===void 0&&(ve={}),Se===void 0&&(Se={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Se,this.builtins=ve,this.undefStack=[]}var re=Vt.prototype;return re.beginGroup=function(){this.undefStack.push({})},re.endGroup=function(){if(this.undefStack.length===0)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Se=this.undefStack.pop();for(var We in Se)Se.hasOwnProperty(We)&&(Se[We]===void 0?delete this.current[We]:this.current[We]=Se[We])},re.has=function(Se){return this.current.hasOwnProperty(Se)||this.builtins.hasOwnProperty(Se)},re.get=function(Se){return this.current.hasOwnProperty(Se)?this.current[Se]:this.builtins[Se]},re.set=function(Se,We,xt){if(xt===void 0&&(xt=!1),xt){for(var Qt=0;Qt<this.undefStack.length;Qt++)delete this.undefStack[Qt][Se];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Se]=We)}else{var Or=this.undefStack[this.undefStack.length-1];Or&&!Or.hasOwnProperty(Se)&&(Or[Se]=this.current[Se])}this.current[Se]=We},Vt}(),Io={},Bo=Io;function Wr(Vt,re){Io[Vt]=re}Wr("\\@firstoftwo",function(Vt){var re=Vt.consumeArgs(2);return{tokens:re[0],numArgs:0}}),Wr("\\@secondoftwo",function(Vt){var re=Vt.consumeArgs(2);return{tokens:re[1],numArgs:0}}),Wr("\\@ifnextchar",function(Vt){var re=Vt.consumeArgs(3),ve=Vt.future();return re[0].length===1&&re[0][0].text===ve.text?{tokens:re[1],numArgs:0}:{tokens:re[2],numArgs:0}}),Wr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Wr("\\TextOrMath",function(Vt){var re=Vt.consumeArgs(2);return Vt.mode==="text"?{tokens:re[0],numArgs:0}:{tokens:re[1],numArgs:0}});var hi={"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};Wr("\\char",function(Vt){var re=Vt.popToken(),ve,Se="";if(re.text==="'")ve=8,re=Vt.popToken();else if(re.text==='"')ve=16,re=Vt.popToken();else if(re.text==="`")if(re=Vt.popToken(),re.text[0]==="\\")Se=re.text.charCodeAt(1);else{if(re.text==="EOF")throw new s("\\char` missing argument");Se=re.text.charCodeAt(0)}else ve=10;if(ve){if(Se=hi[re.text],Se==null||Se>=ve)throw new s("Invalid base-"+ve+" digit "+re.text);for(var We;(We=hi[Vt.future().text])!=null&&We<ve;)Se*=ve,Se+=We,Vt.popToken()}return"\\@char{"+Se+"}"});var Ds=function(re,ve){var Se=re.consumeArgs(1)[0];if(Se.length!==1)throw new s("\\gdef's first argument must be a macro name");var We=Se[0].text,xt=0;for(Se=re.consumeArgs(1)[0];Se.length===1&&Se[0].text==="#";){if(Se=re.consumeArgs(1)[0],Se.length!==1)throw new s('Invalid argument number length "'+Se.length+'"');if(!/^[1-9]$/.test(Se[0].text))throw new s('Invalid argument number "'+Se[0].text+'"');if(xt++,parseInt(Se[0].text)!==xt)throw new s('Argument number "'+Se[0].text+'" out of order');Se=re.consumeArgs(1)[0]}return re.macros.set(We,{tokens:Se,numArgs:xt},ve),""};Wr("\\gdef",function(Vt){return Ds(Vt,!0)}),Wr("\\def",function(Vt){return Ds(Vt,!1)}),Wr("\\global",function(Vt){var re=Vt.consumeArgs(1)[0];if(re.length!==1)throw new s("Invalid command after \\global");var ve=re[0].text;if(ve==="\\def")return Ds(Vt,!0);throw new s("Invalid command '"+ve+"' after \\global")});var ds=function(re,ve,Se){var We=re.consumeArgs(1)[0];if(We.length!==1)throw new s("\\newcommand's first argument must be a macro name");var xt=We[0].text,Qt=re.isDefined(xt);if(Qt&&!ve)throw new s("\\newcommand{"+xt+"} attempting to redefine "+(xt+"; use \\renewcommand"));if(!Qt&&!Se)throw new s("\\renewcommand{"+xt+"} when command "+xt+" does not yet exist; use \\newcommand");var Or=0;if(We=re.consumeArgs(1)[0],We.length===1&&We[0].text==="["){for(var Ur="",on=re.expandNextToken();on.text!=="]"&&on.text!=="EOF";)Ur+=on.text,on=re.expandNextToken();if(!Ur.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Ur);Or=parseInt(Ur),We=re.consumeArgs(1)[0]}return re.macros.set(xt,{tokens:We,numArgs:Or}),""};Wr("\\newcommand",function(Vt){return ds(Vt,!1,!0)}),Wr("\\renewcommand",function(Vt){return ds(Vt,!0,!1)}),Wr("\\providecommand",function(Vt){return ds(Vt,!0,!0)}),Wr("\\bgroup","{"),Wr("\\egroup","}"),Wr("\\lq","`"),Wr("\\rq","'"),Wr("\\aa","\\r a"),Wr("\\AA","\\r A"),Wr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Wr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Wr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Wr("\u212C","\\mathscr{B}"),Wr("\u2130","\\mathscr{E}"),Wr("\u2131","\\mathscr{F}"),Wr("\u210B","\\mathscr{H}"),Wr("\u2110","\\mathscr{I}"),Wr("\u2112","\\mathscr{L}"),Wr("\u2133","\\mathscr{M}"),Wr("\u211B","\\mathscr{R}"),Wr("\u212D","\\mathfrak{C}"),Wr("\u210C","\\mathfrak{H}"),Wr("\u2128","\\mathfrak{Z}"),Wr("\\Bbbk","\\Bbb{k}"),Wr("\xB7","\\cdotp"),Wr("\\llap","\\mathllap{\\textrm{#1}}"),Wr("\\rlap","\\mathrlap{\\textrm{#1}}"),Wr("\\clap","\\mathclap{\\textrm{#1}}"),Wr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Wr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Wr("\\ne","\\neq"),Wr("\u2260","\\neq"),Wr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Wr("\u2209","\\notin"),Wr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Wr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Wr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Wr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Wr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Wr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Wr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Wr("\u27C2","\\perp"),Wr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Wr("\u220C","\\notni"),Wr("\u231C","\\ulcorner"),Wr("\u231D","\\urcorner"),Wr("\u231E","\\llcorner"),Wr("\u231F","\\lrcorner"),Wr("\xA9","\\copyright"),Wr("\xAE","\\textregistered"),Wr("\uFE0F","\\textregistered"),Wr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Wr("\u22EE","\\vdots"),Wr("\\varGamma","\\mathit{\\Gamma}"),Wr("\\varDelta","\\mathit{\\Delta}"),Wr("\\varTheta","\\mathit{\\Theta}"),Wr("\\varLambda","\\mathit{\\Lambda}"),Wr("\\varXi","\\mathit{\\Xi}"),Wr("\\varPi","\\mathit{\\Pi}"),Wr("\\varSigma","\\mathit{\\Sigma}"),Wr("\\varUpsilon","\\mathit{\\Upsilon}"),Wr("\\varPhi","\\mathit{\\Phi}"),Wr("\\varPsi","\\mathit{\\Psi}"),Wr("\\varOmega","\\mathit{\\Omega}"),Wr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Wr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Wr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Wr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Wr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Wr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ts={",":"\\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"};Wr("\\dots",function(Vt){var re="\\dotso",ve=Vt.expandAfterFuture().text;return ve in ts?re=ts[ve]:ve.substr(0,4)==="\\not"?re="\\dotsb":ve in Ue.math&&(b.contains(["bin","rel"],Ue.math[ve].group)&&(re="\\dotsb")),re});var Ro={")":!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};Wr("\\dotso",function(Vt){var re=Vt.future().text;return re in Ro?"\\ldots\\,":"\\ldots"}),Wr("\\dotsc",function(Vt){var re=Vt.future().text;return re in Ro&&re!==","?"\\ldots\\,":"\\ldots"}),Wr("\\cdots",function(Vt){var re=Vt.future().text;return re in Ro?"\\@cdots\\,":"\\@cdots"}),Wr("\\dotsb","\\cdots"),Wr("\\dotsm","\\cdots"),Wr("\\dotsi","\\!\\cdots"),Wr("\\dotsx","\\ldots\\,"),Wr("\\DOTSI","\\relax"),Wr("\\DOTSB","\\relax"),Wr("\\DOTSX","\\relax"),Wr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Wr("\\,","\\tmspace+{3mu}{.1667em}"),Wr("\\thinspace","\\,"),Wr("\\>","\\mskip{4mu}"),Wr("\\:","\\tmspace+{4mu}{.2222em}"),Wr("\\medspace","\\:"),Wr("\\;","\\tmspace+{5mu}{.2777em}"),Wr("\\thickspace","\\;"),Wr("\\!","\\tmspace-{3mu}{.1667em}"),Wr("\\negthinspace","\\!"),Wr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Wr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Wr("\\enspace","\\kern.5em "),Wr("\\enskip","\\hskip.5em\\relax"),Wr("\\quad","\\hskip1em\\relax"),Wr("\\qquad","\\hskip2em\\relax"),Wr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Wr("\\tag@paren","\\tag@literal{({#1})}"),Wr("\\tag@literal",function(Vt){if(Vt.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Wr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Wr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Wr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Wr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Wr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Wr("\\\\","\\newline"),Wr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var is=lt["Main-Regular"]["T".charCodeAt(0)][1]-.7*lt["Main-Regular"]["A".charCodeAt(0)][1]+"em";Wr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+is+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Wr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+is+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Wr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Wr("\\@hspace","\\hskip #1\\relax"),Wr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Wr("\\ordinarycolon",":"),Wr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Wr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Wr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Wr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Wr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Wr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Wr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Wr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Wr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Wr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Wr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Wr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Wr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Wr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Wr("\u2237","\\dblcolon"),Wr("\u2239","\\eqcolon"),Wr("\u2254","\\coloneqq"),Wr("\u2255","\\eqqcolon"),Wr("\u2A74","\\Coloneqq"),Wr("\\ratio","\\vcentcolon"),Wr("\\coloncolon","\\dblcolon"),Wr("\\colonequals","\\coloneqq"),Wr("\\coloncolonequals","\\Coloneqq"),Wr("\\equalscolon","\\eqqcolon"),Wr("\\equalscoloncolon","\\Eqqcolon"),Wr("\\colonminus","\\coloneq"),Wr("\\coloncolonminus","\\Coloneq"),Wr("\\minuscolon","\\eqcolon"),Wr("\\minuscoloncolon","\\Eqcolon"),Wr("\\coloncolonapprox","\\Colonapprox"),Wr("\\coloncolonsim","\\Colonsim"),Wr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Wr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Wr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Wr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Wr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Wr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Wr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Wr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Wr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Wr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Wr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Wr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Wr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Wr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Wr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Wr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Wr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Wr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Wr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Wr("\u27E6","\\llbracket"),Wr("\u27E7","\\rrbracket"),Wr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Wr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Wr("\u2983","\\lBrace"),Wr("\u2984","\\rBrace"),Wr("\\darr","\\downarrow"),Wr("\\dArr","\\Downarrow"),Wr("\\Darr","\\Downarrow"),Wr("\\lang","\\langle"),Wr("\\rang","\\rangle"),Wr("\\uarr","\\uparrow"),Wr("\\uArr","\\Uparrow"),Wr("\\Uarr","\\Uparrow"),Wr("\\N","\\mathbb{N}"),Wr("\\R","\\mathbb{R}"),Wr("\\Z","\\mathbb{Z}"),Wr("\\alef","\\aleph"),Wr("\\alefsym","\\aleph"),Wr("\\Alpha","\\mathrm{A}"),Wr("\\Beta","\\mathrm{B}"),Wr("\\bull","\\bullet"),Wr("\\Chi","\\mathrm{X}"),Wr("\\clubs","\\clubsuit"),Wr("\\cnums","\\mathbb{C}"),Wr("\\Complex","\\mathbb{C}"),Wr("\\Dagger","\\ddagger"),Wr("\\diamonds","\\diamondsuit"),Wr("\\empty","\\emptyset"),Wr("\\Epsilon","\\mathrm{E}"),Wr("\\Eta","\\mathrm{H}"),Wr("\\exist","\\exists"),Wr("\\harr","\\leftrightarrow"),Wr("\\hArr","\\Leftrightarrow"),Wr("\\Harr","\\Leftrightarrow"),Wr("\\hearts","\\heartsuit"),Wr("\\image","\\Im"),Wr("\\infin","\\infty"),Wr("\\Iota","\\mathrm{I}"),Wr("\\isin","\\in"),Wr("\\Kappa","\\mathrm{K}"),Wr("\\larr","\\leftarrow"),Wr("\\lArr","\\Leftarrow"),Wr("\\Larr","\\Leftarrow"),Wr("\\lrarr","\\leftrightarrow"),Wr("\\lrArr","\\Leftrightarrow"),Wr("\\Lrarr","\\Leftrightarrow"),Wr("\\Mu","\\mathrm{M}"),Wr("\\natnums","\\mathbb{N}"),Wr("\\Nu","\\mathrm{N}"),Wr("\\Omicron","\\mathrm{O}"),Wr("\\plusmn","\\pm"),Wr("\\rarr","\\rightarrow"),Wr("\\rArr","\\Rightarrow"),Wr("\\Rarr","\\Rightarrow"),Wr("\\real","\\Re"),Wr("\\reals","\\mathbb{R}"),Wr("\\Reals","\\mathbb{R}"),Wr("\\Rho","\\mathrm{P}"),Wr("\\sdot","\\cdot"),Wr("\\sect","\\S"),Wr("\\spades","\\spadesuit"),Wr("\\sub","\\subset"),Wr("\\sube","\\subseteq"),Wr("\\supe","\\supseteq"),Wr("\\Tau","\\mathrm{T}"),Wr("\\thetasym","\\vartheta"),Wr("\\weierp","\\wp"),Wr("\\Zeta","\\mathrm{Z}"),Wr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Wr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Wr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Wr("\\blue","\\textcolor{##6495ed}{#1}"),Wr("\\orange","\\textcolor{##ffa500}{#1}"),Wr("\\pink","\\textcolor{##ff00af}{#1}"),Wr("\\red","\\textcolor{##df0030}{#1}"),Wr("\\green","\\textcolor{##28ae7b}{#1}"),Wr("\\gray","\\textcolor{gray}{#1}"),Wr("\\purple","\\textcolor{##9d38bd}{#1}"),Wr("\\blueA","\\textcolor{##ccfaff}{#1}"),Wr("\\blueB","\\textcolor{##80f6ff}{#1}"),Wr("\\blueC","\\textcolor{##63d9ea}{#1}"),Wr("\\blueD","\\textcolor{##11accd}{#1}"),Wr("\\blueE","\\textcolor{##0c7f99}{#1}"),Wr("\\tealA","\\textcolor{##94fff5}{#1}"),Wr("\\tealB","\\textcolor{##26edd5}{#1}"),Wr("\\tealC","\\textcolor{##01d1c1}{#1}"),Wr("\\tealD","\\textcolor{##01a995}{#1}"),Wr("\\tealE","\\textcolor{##208170}{#1}"),Wr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Wr("\\greenB","\\textcolor{##8af281}{#1}"),Wr("\\greenC","\\textcolor{##74cf70}{#1}"),Wr("\\greenD","\\textcolor{##1fab54}{#1}"),Wr("\\greenE","\\textcolor{##0d923f}{#1}"),Wr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Wr("\\goldB","\\textcolor{##ffbb71}{#1}"),Wr("\\goldC","\\textcolor{##ff9c39}{#1}"),Wr("\\goldD","\\textcolor{##e07d10}{#1}"),Wr("\\goldE","\\textcolor{##a75a05}{#1}"),Wr("\\redA","\\textcolor{##fca9a9}{#1}"),Wr("\\redB","\\textcolor{##ff8482}{#1}"),Wr("\\redC","\\textcolor{##f9685d}{#1}"),Wr("\\redD","\\textcolor{##e84d39}{#1}"),Wr("\\redE","\\textcolor{##bc2612}{#1}"),Wr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Wr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Wr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Wr("\\maroonD","\\textcolor{##ca337c}{#1}"),Wr("\\maroonE","\\textcolor{##9e034e}{#1}"),Wr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Wr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Wr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Wr("\\purpleD","\\textcolor{##7854ab}{#1}"),Wr("\\purpleE","\\textcolor{##543b78}{#1}"),Wr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Wr("\\mintB","\\textcolor{##edf2df}{#1}"),Wr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Wr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Wr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Wr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Wr("\\grayD","\\textcolor{##d6d8da}{#1}"),Wr("\\grayE","\\textcolor{##babec2}{#1}"),Wr("\\grayF","\\textcolor{##888d93}{#1}"),Wr("\\grayG","\\textcolor{##626569}{#1}"),Wr("\\grayH","\\textcolor{##3b3e40}{#1}"),Wr("\\grayI","\\textcolor{##21242c}{#1}"),Wr("\\kaBlue","\\textcolor{##314453}{#1}"),Wr("\\kaGreen","\\textcolor{##71B307}{#1}");var vs={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Yo=function(){function Vt(ve,Se,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=Se,this.expansionCount=0,this.feed(ve),this.macros=new $o(Bo,Se.macros),this.mode=We,this.stack=[]}var re=Vt.prototype;return re.feed=function(Se){this.lexer=new go(Se,this.settings)},re.switchMode=function(Se){this.mode=Se},re.beginGroup=function(){this.macros.beginGroup()},re.endGroup=function(){this.macros.endGroup()},re.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},re.popToken=function(){return this.future(),this.stack.pop()},re.pushToken=function(Se){this.stack.push(Se)},re.pushTokens=function(Se){var We;(We=this.stack).push.apply(We,Se)},re.consumeSpaces=function(){for(;;){var Se=this.future();if(Se.text===" ")this.stack.pop();else break}},re.consumeArgs=function(Se){for(var We=[],xt=0;xt<Se;++xt){this.consumeSpaces();var Qt=this.popToken();if(Qt.text==="{"){for(var Or=[],Ur=1;Ur!==0;){var on=this.popToken();if(Or.push(on),on.text==="{")++Ur;else if(on.text==="}")--Ur;else if(on.text==="EOF")throw new s("End of input in macro argument",Qt)}Or.pop(),Or.reverse(),We[xt]=Or}else{if(Qt.text==="EOF")throw new s("End of input expecting macro argument");We[xt]=[Qt]}}return We},re.expandOnce=function(){var Se=this.popToken(),We=Se.text,xt=this._getExpansion(We);if(xt==null)return this.pushToken(Se),Se;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");var Qt=xt.tokens;if(xt.numArgs){var Or=this.consumeArgs(xt.numArgs);Qt=Qt.slice();for(var Ur=Qt.length-1;Ur>=0;--Ur){var on=Qt[Ur];if(on.text==="#"){if(Ur===0)throw new s("Incomplete placeholder at end of macro body",on);if(on=Qt[--Ur],on.text==="#")Qt.splice(Ur+1,1);else if(/^[1-9]$/.test(on.text)){var Dn;(Dn=Qt).splice.apply(Dn,[Ur,2].concat(Or[+on.text-1]))}else throw new s("Not a valid argument number",on)}}}return this.pushTokens(Qt),Qt},re.expandAfterFuture=function(){return this.expandOnce(),this.future()},re.expandNextToken=function(){for(;;){var Se=this.expandOnce();if(Se instanceof p)if(Se.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},re.expandMacro=function(Se){if(!this.macros.get(Se))return;var We=[],xt=this.stack.length;for(this.pushToken(new p(Se));this.stack.length>xt;){var Qt=this.expandOnce();Qt instanceof p&&We.push(this.stack.pop())}return We},re.expandMacroAsText=function(Se){var We=this.expandMacro(Se);return We&&We.map(function(xt){return xt.text}).join("")},re._getExpansion=function(Se){var We=this.macros.get(Se);if(We==null)return We;var xt=typeof We=="function"?We(this):We;if(typeof xt=="string"){var Qt=0;if(xt.indexOf("#")!==-1)for(var Or=xt.replace(/##/g,"");Or.indexOf("#"+(Qt+1))!==-1;)++Qt;for(var Ur=new go(xt,this.settings),on=[],Dn=Ur.lex();Dn.text!=="EOF";)on.push(Dn),Dn=Ur.lex();on.reverse();var Hn={tokens:on,numArgs:Qt};return Hn}return xt},re.isDefined=function(Se){return this.macros.has(Se)||So.hasOwnProperty(Se)||Ue.math.hasOwnProperty(Se)||Ue.text.hasOwnProperty(Se)||vs.hasOwnProperty(Se)},Vt}(),Vo={"\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"},hs=function(){function Vt(ve,Se){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 Yo(ve,Se,this.mode),this.settings=Se,this.leftrightDepth=0}var re=Vt.prototype;return re.expect=function(Se,We){if(We===void 0&&(We=!0),this.fetch().text!==Se)throw new s("Expected '"+Se+"', got '"+this.fetch().text+"'",this.fetch());We&&this.consume()},re.consume=function(){this.nextToken=null},re.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},re.switchMode=function(Se){this.mode=Se,this.gullet.switchMode(Se)},re.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Se=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Se},re.parseExpression=function(Se,We){for(var xt=[];;){this.mode==="math"&&this.consumeSpaces();var Qt=this.fetch();if(Vt.endOfExpression.indexOf(Qt.text)!==-1)break;if(We&&Qt.text===We)break;if(Se&&So[Qt.text]&&So[Qt.text].infix)break;var Or=this.parseAtom(We);if(!Or)break;xt.push(Or)}return this.mode==="text"&&this.formLigatures(xt),this.handleInfixNodes(xt)},re.handleInfixNodes=function(Se){for(var We=-1,xt,Qt=0;Qt<Se.length;Qt++){var Or=ai(Se[Qt],"infix");if(Or){if(We!==-1)throw new s("only one infix operator per group",Or.token);We=Qt,xt=Or.replaceWith}}if(We!==-1&&xt){var Ur,on,Dn=Se.slice(0,We),Hn=Se.slice(We+1);Dn.length===1&&Dn[0].type==="ordgroup"?Ur=Dn[0]:Ur={type:"ordgroup",mode:this.mode,body:Dn},Hn.length===1&&Hn[0].type==="ordgroup"?on=Hn[0]:on={type:"ordgroup",mode:this.mode,body:Hn};var jn;return xt==="\\\\abovefrac"?jn=this.callFunction(xt,[Ur,Se[We],on],[]):jn=this.callFunction(xt,[Ur,on],[]),[jn]}else return Se},re.handleSupSubscript=function(Se){var We=this.fetch(),xt=We.text;this.consume();var Qt=this.parseGroup(Se,!1,Vt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Qt)throw new s("Expected group after '"+xt+"'",We);return Qt},re.formatUnsupportedCmd=function(Se){for(var We=[],xt=0;xt<Se.length;xt++)We.push({type:"textord",mode:"text",text:Se[xt]});var Qt={type:"text",mode:this.mode,body:We},Or={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Qt]};return Or},re.parseAtom=function(Se){var We=this.parseGroup("atom",!1,null,Se);if(this.mode==="text")return We;for(var xt,Qt;;){this.consumeSpaces();var Or=this.fetch();if(Or.text==="\\limits"||Or.text==="\\nolimits"){var Ur=ai(We,"op");if(Ur){var on=Or.text==="\\limits";Ur.limits=on,Ur.alwaysHandleSupSub=!0}else if(Ur=ai(We,"operatorname"),Ur&&Ur.alwaysHandleSupSub){var Dn=Or.text==="\\limits";Ur.limits=Dn}else throw new s("Limit controls must follow a math operator",Or);this.consume()}else if(Or.text==="^"){if(xt)throw new s("Double superscript",Or);xt=this.handleSupSubscript("superscript")}else if(Or.text==="_"){if(Qt)throw new s("Double subscript",Or);Qt=this.handleSupSubscript("subscript")}else if(Or.text==="'"){if(xt)throw new s("Double superscript",Or);var Hn={type:"textord",mode:this.mode,text:"\\prime"},jn=[Hn];for(this.consume();this.fetch().text==="'";)jn.push(Hn),this.consume();this.fetch().text==="^"&&jn.push(this.handleSupSubscript("superscript")),xt={type:"ordgroup",mode:this.mode,body:jn}}else break}return xt||Qt?{type:"supsub",mode:this.mode,base:We,sup:xt,sub:Qt}:We},re.parseFunction=function(Se,We,xt){var Qt=this.fetch(),Or=Qt.text,Ur=So[Or];if(!Ur)return null;if(this.consume(),xt!=null&&Ur.greediness<=xt)throw new s("Got function '"+Or+"' with no arguments"+(We?" as "+We:""),Qt);if(this.mode==="text"&&!Ur.allowedInText)throw new s("Can't use function '"+Or+"' in text mode",Qt);if(this.mode==="math"&&Ur.allowedInMath===!1)throw new s("Can't use function '"+Or+"' in math mode",Qt);var on=this.parseArguments(Or,Ur),Dn=on.args,Hn=on.optArgs;return this.callFunction(Or,Dn,Hn,Qt,Se)},re.callFunction=function(Se,We,xt,Qt,Or){var Ur={funcName:Se,parser:this,token:Qt,breakOnTokenText:Or},on=So[Se];if(on&&on.handler)return on.handler(Ur,We,xt);throw new s("No function handler for "+Se)},re.parseArguments=function(Se,We){var xt=We.numArgs+We.numOptionalArgs;if(xt===0)return{args:[],optArgs:[]};for(var Qt=We.greediness,Or=[],Ur=[],on=0;on<xt;on++){var Dn=We.argTypes&&We.argTypes[on],Hn=on<We.numOptionalArgs,jn=on>0&&!Hn||on===0&&!Hn&&this.mode==="math",ri=this.parseGroupOfType("argument to '"+Se+"'",Dn,Hn,Qt,jn);if(!ri){if(Hn){Ur.push(null);continue}throw new s("Expected group after '"+Se+"'",this.fetch())}(Hn?Ur:Or).push(ri)}return{args:Or,optArgs:Ur}},re.parseGroupOfType=function(Se,We,xt,Qt,Or){switch(We){case"color":return Or&&this.consumeSpaces(),this.parseColorGroup(xt);case"size":return Or&&this.consumeSpaces(),this.parseSizeGroup(xt);case"url":return this.parseUrlGroup(xt,Or);case"math":case"text":return this.parseGroup(Se,xt,Qt,void 0,We,Or);case"hbox":{var Ur=this.parseGroup(Se,xt,Qt,void 0,"text",Or);if(!Ur)return Ur;var on={type:"styling",mode:Ur.mode,body:[Ur],style:"text"};return on}case"raw":{if(Or&&this.consumeSpaces(),xt&&this.fetch().text==="{")return null;var Dn=this.parseStringGroup("raw",xt,!0);if(Dn)return{type:"raw",mode:"text",string:Dn.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Se,xt,Qt,void 0,void 0,Or);default:throw new s("Unknown group type as "+Se,this.fetch())}},re.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},re.parseStringGroup=function(Se,We,xt){var Qt=We?"[":"{",Or=We?"]":"}",Ur=this.fetch();if(Ur.text!==Qt){if(We)return null;if(xt&&Ur.text!=="EOF"&&/[^{}[\]]/.test(Ur.text))return this.consume(),Ur}var on=this.mode;this.mode="text",this.expect(Qt);for(var Dn="",Hn=this.fetch(),jn=0,ri=Hn,wi;(wi=this.fetch()).text!==Or||xt&&jn>0;){switch(wi.text){case"EOF":throw new s("Unexpected end of input in "+Se,Hn.range(ri,Dn));case Qt:jn++;break;case Or:jn--;break}ri=wi,Dn+=ri.text,this.consume()}return this.expect(Or),this.mode=on,Hn.range(ri,Dn)},re.parseRegexGroup=function(Se,We){var xt=this.mode;this.mode="text";for(var Qt=this.fetch(),Or=Qt,Ur="",on;(on=this.fetch()).text!=="EOF"&&Se.test(Ur+on.text);)Or=on,Ur+=Or.text,this.consume();if(Ur==="")throw new s("Invalid "+We+": '"+Qt.text+"'",Qt);return this.mode=xt,Qt.range(Or,Ur)},re.parseColorGroup=function(Se){var We=this.parseStringGroup("color",Se);if(!We)return null;var xt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!xt)throw new s("Invalid color: '"+We.text+"'",We);var Qt=xt[0];return/^[0-9a-f]{6}$/i.test(Qt)&&(Qt="#"+Qt),{type:"color-token",mode:this.mode,color:Qt}},re.parseSizeGroup=function(Se){var We,xt=!1;if(!Se&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Se),!We)return null;!Se&&We.text.length===0&&(We.text="0pt",xt=!0);var Qt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Qt)throw new s("Invalid size: '"+We.text+"'",We);var Or={number:+(Qt[1]+Qt[2]),unit:Qt[3]};if(!qe(Or))throw new s("Invalid unit: '"+Or.unit+"'",We);return{type:"size",mode:this.mode,value:Or,isBlank:xt}},re.parseUrlGroup=function(Se,We){this.gullet.lexer.setCatcode("%",13);var xt=this.parseStringGroup("url",Se,!0);if(this.gullet.lexer.setCatcode("%",14),!xt)return null;var Qt=xt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Qt}},re.parseGroup=function(Se,We,xt,Qt,Or,Ur){var on=this.mode;Or&&this.switchMode(Or),Ur&&this.consumeSpaces();var Dn=this.fetch(),Hn=Dn.text,jn;if(We?Hn==="[":Hn==="{"||Hn==="\\begingroup"){this.consume();var ri=Vt.endOfGroup[Hn];this.gullet.beginGroup();var wi=this.parseExpression(!1,ri),Gi=this.fetch();this.expect(ri),this.gullet.endGroup(),jn={type:"ordgroup",mode:this.mode,loc:g.range(Dn,Gi),body:wi,semisimple:Hn==="\\begingroup"||void 0}}else if(We)jn=null;else if(jn=this.parseFunction(Qt,Se,xt)||this.parseSymbol(),jn==null&&Hn[0]==="\\"&&!vs.hasOwnProperty(Hn)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+Hn,Dn);jn=this.formatUnsupportedCmd(Hn),this.consume()}return Or&&this.switchMode(on),jn},re.formLigatures=function(Se){for(var We=Se.length-1,xt=0;xt<We;++xt){var Qt=Se[xt],Or=Qt.text;Or==="-"&&Se[xt+1].text==="-"&&(xt+1<We&&Se[xt+2].text==="-"?(Se.splice(xt,3,{type:"textord",mode:"text",loc:g.range(Qt,Se[xt+2]),text:"---"}),We-=2):(Se.splice(xt,2,{type:"textord",mode:"text",loc:g.range(Qt,Se[xt+1]),text:"--"}),We-=1)),(Or==="'"||Or==="`")&&Se[xt+1].text===Or&&(Se.splice(xt,2,{type:"textord",mode:"text",loc:g.range(Qt,Se[xt+1]),text:Or+Or}),We-=1)}},re.parseSymbol=function(){var Se=this.fetch(),We=Se.text;if(/^\\verb[^a-zA-Z]/.test(We)){this.consume();var xt=We.slice(5),Qt=xt.charAt(0)==="*";if(Qt&&(xt=xt.slice(1)),xt.length<2||xt.charAt(0)!==xt.slice(-1))throw new s(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return xt=xt.slice(1,-1),{type:"verb",mode:"text",body:xt,star:Qt}}rs.hasOwnProperty(We[0])&&!Ue[this.mode][We[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+We[0]+'" used in math mode',Se),We=rs[We[0]]+We.substr(1));var Or=us.exec(We);Or&&(We=We.substring(0,Or.index),We==="i"?We="\u0131":We==="j"&&(We="\u0237"));var Ur;if(Ue[this.mode][We]){this.settings.strict&&this.mode==="math"&&Ge.indexOf(We)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Se);var on=Ue[this.mode][We].group,Dn=g.range(Se),Hn;if(kt.hasOwnProperty(on)){var jn=on;Hn={type:"atom",mode:this.mode,family:jn,loc:Dn,text:We}}else Hn={type:on,mode:this.mode,loc:Dn,text:We};Ur=Hn}else if(We.charCodeAt(0)>=128)this.settings.strict&&($(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Se):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Se)),Ur={type:"textord",mode:"text",loc:g.range(Se),text:We};else return null;if(this.consume(),Or)for(var ri=0;ri<Or[0].length;ri++){var wi=Or[0][ri];if(!Vo[wi])throw new s("Unknown accent ' "+wi+"'",Se);var Gi=Vo[wi][this.mode];if(!Gi)throw new s("Accent "+wi+" unsupported in "+this.mode+" mode",Se);Ur={type:"accent",mode:this.mode,loc:g.range(Se),label:Gi,isStretchy:!1,isShifty:!0,base:Ur}}return Ur},Vt}();hs.endOfExpression=["}","\\endgroup","\\end","\\right","&"],hs.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},hs.SUPSUB_GREEDINESS=1;var as=function(re,ve){if(!(typeof re=="string"||re instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Se=new hs(re,ve);delete Se.gullet.macros.current["\\df@tag"];var We=Se.parse();if(Se.gullet.macros.get("\\df@tag")){if(!ve.displayMode)throw new s("\\tag works only in display equations");Se.gullet.feed("\\df@tag"),We=[{type:"tag",mode:"text",body:We,tag:Se.parse()}]}return We},io=as,Ga=function(re,ve,Se){ve.textContent="";var We=Oo(re,Se).toNode();ve.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."),Ga=function(){throw new s("KaTeX doesn't work in quirks mode.")}));var Xo=function(re,ve){var Se=Oo(re,ve).toMarkup();return Se},Ho=function(re,ve){var Se=new E(ve);return io(re,Se)},Ra=function(re,ve,Se){if(Se.throwOnError||!(re instanceof s))throw re;var We=An.makeSpan(["katex-error"],[new Ze(ve)]);return We.setAttribute("title",re.toString()),We.setAttribute("style","color:"+Se.errorColor),We},Oo=function(re,ve){var Se=new E(ve);try{var We=io(re,Se);return hr(We,re,Se)}catch(xt){return Ra(xt,re,Se)}},xs=function(re,ve){var Se=new E(ve);try{var We=io(re,Se);return Dr(We,re,Se)}catch(xt){return Ra(xt,re,Se)}},Po={version:"0.11.1",render:Ga,renderToString:Xo,ParseError:s,__parse:Ho,__renderToDomTree:Oo,__renderToHTMLTree:xs,__setFontMetrics:Ht,__defineSymbol:G,__defineMacro:Wr,__domTree:{Span:ce,Anchor:le,SymbolNode:Ze,SvgNode:De,PathNode:ne,LineNode:he}},Zo=f.default=Po}]).default})},P2fV:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("Q9mQ"),m=e("+L6B"),g=e("sE09"),p=e.n(g)},P2ho:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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};N.default=A},P47w:function(R,N,e){var A=e("hydK"),f=A.createElement,x=e("IMiH"),m=e("mFDi"),g=e("Fofx"),p=e("6GrX"),c=e("pzxd"),s=e("dqUG"),a=x.CMD,n=Array.prototype.join,i="none",d=Math.round,t=Math.sin,l=Math.cos,r=Math.PI,o=Math.PI*2,u=180/r,h=1e-4;function y(X){return d(X*1e4)/1e4}function b(X){return X<h&&X>-h}function E(X,K){var $=K?X.textFill:X.fill;return $!=null&&$!==i}function v(X,K){var $=K?X.textStroke:X.stroke;return $!=null&&$!==i}function w(X,K){K&&O(X,"transform","matrix("+n.call(K,",")+")")}function O(X,K,$){(!$||$.type!=="linear"&&$.type!=="radial")&&X.setAttribute(K,$)}function T(X,K,$){X.setAttributeNS("http://www.w3.org/1999/xlink",K,$)}function S(X,K,$,ie){if(E(K,$)){var be=$?K.textFill:K.fill;be=be==="transparent"?i:be,O(X,"fill",be),O(X,"fill-opacity",K.fillOpacity!=null?K.fillOpacity*K.opacity:K.opacity)}else O(X,"fill",i);if(v(K,$)){var te=$?K.textStroke:K.stroke;te=te==="transparent"?i:te,O(X,"stroke",te);var Te=$?K.textStrokeWidth:K.lineWidth,Ie=!$&&K.strokeNoScale?ie.getLineScale():1;O(X,"stroke-width",Te/Ie),O(X,"paint-order",$?"stroke":"fill"),O(X,"stroke-opacity",K.strokeOpacity!=null?K.strokeOpacity:K.opacity);var Fe=K.lineDash;Fe?(O(X,"stroke-dasharray",K.lineDash.join(",")),O(X,"stroke-dashoffset",d(K.lineDashOffset||0))):O(X,"stroke-dasharray",""),K.lineCap&&O(X,"stroke-linecap",K.lineCap),K.lineJoin&&O(X,"stroke-linejoin",K.lineJoin),K.miterLimit&&O(X,"stroke-miterlimit",K.miterLimit)}else O(X,"stroke",i)}function C(X){for(var K=[],$=X.data,ie=X.len(),be=0;be<ie;){var te=$[be++],Te="",Ie=0;switch(te){case a.M:Te="M",Ie=2;break;case a.L:Te="L",Ie=2;break;case a.Q:Te="Q",Ie=4;break;case a.C:Te="C",Ie=6;break;case a.A:var Fe=$[be++],Qe=$[be++],fe=$[be++],He=$[be++],se=$[be++],Ce=$[be++],mt=$[be++],Ne=$[be++],ae=Math.abs(Ce),ce=b(ae-o)||(Ne?Ce>=o:-Ce>=o),le=Ce>0?Ce%o:Ce%o+o,je=!1;ce?je=!0:b(ae)?je=!1:je=le>=r===!!Ne;var Re=y(Fe+fe*l(se)),Ze=y(Qe+He*t(se));ce&&(Ne?Ce=o-1e-4:Ce=-o+1e-4,je=!0,be===9&&K.push("M",Re,Ze));var De=y(Fe+fe*l(se+Ce)),ne=y(Qe+He*t(se+Ce));K.push("A",y(fe),y(He),d(mt*u),+je,+Ne,De,ne);break;case a.Z:Te="Z";break;case a.R:var De=y($[be++]),ne=y($[be++]),he=y($[be++]),pe=y($[be++]);K.push("M",De,ne,"L",De+he,ne,"L",De+he,ne+pe,"L",De,ne+pe,"L",De,ne);break}Te&&K.push(Te);for(var Xe=0;Xe<Ie;Xe++)K.push(y($[be++]))}return K.join(" ")}var _={};_.brush=function(X){var K=X.style,$=X.__svgEl;$||($=f("path"),X.__svgEl=$),X.path||X.createPathProxy();var ie=X.path;if(X.__dirtyPath){ie.beginPath(),ie.subPixelOptimize=!1,X.buildPath(ie,X.shape),X.__dirtyPath=!1;var be=C(ie);be.indexOf("NaN")<0&&O($,"d",be)}S($,K,!1,X),w($,X.transform),K.text!=null?M(X,X.getBoundingRect()):W(X)};var I={};I.brush=function(X){var K=X.style,$=K.image;if($ instanceof HTMLImageElement){var ie=$.src;$=ie}if(!$)return;var be=K.x||0,te=K.y||0,Te=K.width,Ie=K.height,Fe=X.__svgEl;Fe||(Fe=f("image"),X.__svgEl=Fe),$!==X.__imageSrc&&(T(Fe,"href",$),X.__imageSrc=$),O(Fe,"width",Te),O(Fe,"height",Ie),O(Fe,"x",be),O(Fe,"y",te),w(Fe,X.transform),K.text!=null?M(X,X.getBoundingRect()):W(X)};var k={},F=new m,B={},j=[],z={left:"start",right:"end",center:"middle",middle:"middle"},M=function(K,$){var ie=K.style,be=K.transform,te=K instanceof s||ie.transformText;K.__dirty&&c.normalizeTextStyle(ie,!0);var Te=ie.text;if(Te!=null&&(Te+=""),!c.needDrawText(Te,ie))return;Te==null&&(Te=""),!te&&be&&(F.copy($),F.applyTransform(be),$=F);var Ie=K.__textSvgEl;Ie||(Ie=f("text"),K.__textSvgEl=Ie);var Fe=Ie.style,Qe=ie.font||p.DEFAULT_FONT,fe=Ie.__computedFont;Qe!==Ie.__styleFont&&(Fe.font=Ie.__styleFont=Qe,fe=Ie.__computedFont=Fe.font);var He=ie.textPadding,se=ie.textLineHeight,Ce=K.__textCotentBlock;(!Ce||K.__dirtyText)&&(Ce=K.__textCotentBlock=p.parsePlainText(Te,fe,He,se,ie.truncate));var mt=Ce.outerHeight,Ne=Ce.lineHeight;c.getBoxPosition(B,K,ie,$);var ae=B.baseX,ce=B.baseY,le=B.textAlign||"left",je=B.textVerticalAlign;U(Ie,te,be,ie,$,ae,ce);var Re=p.adjustTextY(ce,mt,je),Ze=ae,De=Re;He&&(Ze=P(ae,le,He),De+=He[0]),De+=Ne/2,S(Ie,ie,!0,K);var ne=Ce.canCacheByTextString,he=K.__tspanList||(K.__tspanList=[]),pe=he.length;if(ne&&K.__canCacheByTextString&&K.__text===Te){if(K.__dirtyText&&pe)for(var Xe=0;Xe<pe;++Xe)H(he[Xe],le,Ze,De+Xe*Ne)}else{K.__text=Te,K.__canCacheByTextString=ne;for(var lt=Ce.lines,At=lt.length,Xe=0;Xe<At;Xe++){var Me=he[Xe],Ht=lt[Xe];Me?Me.__zrText!==Ht&&(Me.innerHTML="",Me.appendChild(document.createTextNode(Ht))):(Me=he[Xe]=f("tspan"),Ie.appendChild(Me),Me.appendChild(document.createTextNode(Ht))),H(Me,le,Ze,De+Xe*Ne)}if(pe>At){for(;Xe<pe;Xe++)Ie.removeChild(he[Xe]);he.length=At}}};function U(X,K,$,ie,be,te,Te){g.identity(j),K&&$&&g.copy(j,$);var Ie=ie.textRotation;if(be&&Ie){var Fe=ie.textOrigin;Fe==="center"?(te=be.width/2+be.x,Te=be.height/2+be.y):Fe&&(te=Fe[0]+be.x,Te=Fe[1]+be.y),j[4]-=te,j[5]-=Te,g.rotate(j,j,Ie),j[4]+=te,j[5]+=Te}w(X,j)}function P(X,K,$){return K==="right"?X-$[1]:K==="center"?X+$[3]/2-$[1]/2:X+$[3]}function H(X,K,$,ie){O(X,"dominant-baseline","middle"),O(X,"text-anchor",z[K]),O(X,"x",$),O(X,"y",ie)}function W(X){X&&X.__textSvgEl&&(X.__textSvgEl.parentNode&&X.__textSvgEl.parentNode.removeChild(X.__textSvgEl),X.__textSvgEl=null,X.__tspanList=[],X.__text=null)}k.drawRectText=M,k.brush=function(X){var K=X.style;K.text!=null?M(X,!1):W(X)},N.path=_,N.image=I,N.text=k},P4Qj:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.removeSensor=N.getSensor=void 0;var A=m(e("chpo")),f=e("FxDU"),x=e("24YM");function m(s){return s&&s.__esModule?s:{default:s}}var g={},p=function(a){var n=a.getAttribute(x.SizeSensorId);if(n&&g[n])return g[n];var i=(0,A.default)();a.setAttribute(x.SizeSensorId,i);var d=(0,f.createSensor)(a);return g[i]=d,d};N.getSensor=p;var c=function(a){var n=a.element.getAttribute(x.SizeSensorId);a.element.removeAttribute(x.SizeSensorId),a.destroy(),n&&g[n]&&delete g[n]};N.removeSensor=c},P5Jw:function(R,N,e){"use strict";var A=e("rHrb"),f=A.CopyToClipboard;f.CopyToClipboard=f,R.exports=f},PArb:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("q1tI"),p=e.n(g),c=e("TSYQ"),s=e.n(c),a=e("H84U"),n=function(d,t){var l={};for(var r in d)Object.prototype.hasOwnProperty.call(d,r)&&t.indexOf(r)<0&&(l[r]=d[r]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(d);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(d,r[o])&&(l[r[o]]=d[r[o]]);return l},i=function(t){return g.createElement(a.a,null,function(l){var r,o=l.getPrefixCls,u=l.direction,h=t.prefixCls,y=t.type,b=y===void 0?"horizontal":y,E=t.orientation,v=E===void 0?"center":E,w=t.className,O=t.children,T=t.dashed,S=t.plain,C=n(t,["prefixCls","type","orientation","className","children","dashed","plain"]),_=o("divider",h),I=v.length>0?"-".concat(v):v,k=!!O,F=s()(w,_,"".concat(_,"-").concat(b),(r={},m()(r,"".concat(_,"-with-text"),k),m()(r,"".concat(_,"-with-text").concat(I),k),m()(r,"".concat(_,"-dashed"),!!T),m()(r,"".concat(_,"-plain"),!!S),m()(r,"".concat(_,"-rtl"),u==="rtl"),r));return g.createElement("div",f()({className:F},C,{role:"separator"}),O&&g.createElement("span",{className:"".concat(_,"-inner-text")},O))})};N.a=i},PD8m:function(R,N){R.exports={name:"memoryStorage",read:A,write:f,each:x,remove:m,clearAll:g};var e={};function A(p){return e[p]}function f(p,c){e[p]=c}function x(p){for(var c in e)e.hasOwnProperty(c)&&p(e[c],c)}function m(p){delete e[p]}function g(p){e={}}},PEeC:function(R,N,e){"use strict";e.d(N,"a",function(){return g}),e.d(N,"b",function(){return p});var A=e("RIqP"),f=e.n(A),x=e("xEkU"),m=e.n(x);function g(c){var s,a=function(d){return function(){s=null,c.apply(void 0,f()(d))}},n=function(){if(s==null){for(var d=arguments.length,t=new Array(d),l=0;l<d;l++)t[l]=arguments[l];s=m()(a(t))}};return n.cancel=function(){return m.a.cancel(s)},n}function p(){return function(c,s,a){var n=a.value,i=!1;return{configurable:!0,get:function(){if(i||this===c.prototype||this.hasOwnProperty(s))return n;var t=g(n.bind(this));return i=!0,Object.defineProperty(this,s,{value:t,configurable:!0,writable:!0}),i=!1,t}}}}},PKem:function(R,N,e){"use strict";e.d(N,"a",function(){return E});var A=e("RIqP"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("pVnL"),p=e.n(g),c=e("lwsE"),s=e.n(c),a=e("W8MJ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e.n(r),u=e("TSYQ"),h=e.n(u),y=e("H84U"),b=function(I,k){var F={};for(var B in I)Object.prototype.hasOwnProperty.call(I,B)&&k.indexOf(B)<0&&(F[B]=I[B]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,B=Object.getOwnPropertySymbols(I);j<B.length;j++)k.indexOf(B[j])<0&&Object.prototype.propertyIsEnumerable.call(I,B[j])&&(F[B[j]]=I[B[j]]);return F},E=r.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function v(I){var k=I.suffixCls,F=I.tagName,B=I.displayName;return function(j){var z;return z=function(M){d()(P,M);var U=l()(P);function P(){var H;return s()(this,P),H=U.apply(this,arguments),H.renderComponent=function(W){var X=W.getPrefixCls,K=H.props.prefixCls,$=X(k,K);return r.createElement(j,p()({prefixCls:$,tagName:F},H.props))},H}return n()(P,[{key:"render",value:function(){return r.createElement(y.a,null,this.renderComponent)}}]),P}(r.Component),z.displayName=B,z}}var w=function(k){var F=k.prefixCls,B=k.className,j=k.children,z=k.tagName,M=b(k,["prefixCls","className","children","tagName"]),U=h()(F,B);return r.createElement(z,p()({className:U},M),j)},O=function(I){d()(F,I);var k=l()(F);function F(){var B;return s()(this,F),B=k.apply(this,arguments),B.state={siders:[]},B.renderComponent=function(j){var z,M=j.direction,U=B.props,P=U.prefixCls,H=U.className,W=U.children,X=U.hasSider,K=U.tagName,$=b(U,["prefixCls","className","children","hasSider","tagName"]),ie=h()(P,(z={},m()(z,"".concat(P,"-has-sider"),typeof X=="boolean"?X:B.state.siders.length>0),m()(z,"".concat(P,"-rtl"),M==="rtl"),z),H);return r.createElement(E.Provider,{value:{siderHook:B.getSiderHook()}},r.createElement(K,p()({className:ie},$),W))},B}return n()(F,[{key:"getSiderHook",value:function(){var j=this;return{addSider:function(M){j.setState(function(U){return{siders:[].concat(f()(U.siders),[M])}})},removeSider:function(M){j.setState(function(U){return{siders:U.siders.filter(function(P){return P!==M})}})}}}},{key:"render",value:function(){return r.createElement(y.a,null,this.renderComponent)}}]),F}(r.Component),T=v({suffixCls:"layout",tagName:"section",displayName:"Layout"})(O),S=v({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(w),C=v({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(w),_=v({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(w);T.Header=S,T.Footer=C,T.Content=_,N.b=T},PNag:function(R,N,e){var A=e("bYtY"),f=e("SKnc"),x=e("YH21"),m=e("crZl"),g=e("IwbS"),p=e("OELB"),c=e("72pK"),s=e("y7Aq"),a=e("4NO4"),n=p.linearMap,i=A.each,d=Math.min,t=Math.max,l=12,r=6,o=m.extend({type:"visualMap.continuous",init:function(){o.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(O,T,S,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var O=this.visualMapModel,T=this.group;this._orient=O.get("orient"),this._useHandle=O.get("calculable"),this._resetInterval(),this._renderBar(T);var S=O.get("text");this._renderEndsText(T,S,0),this._renderEndsText(T,S,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(O,T,S){if(!T)return;var C=T[1-S];C=C!=null?C+"":"";var _=this.visualMapModel,I=_.get("textGap"),k=_.itemSize,F=this._shapes.barGroup,B=this._applyTransform([k[0]/2,S===0?-I:k[1]+I],F),j=this._applyTransform(S===0?"bottom":"top",F),z=this._orient,M=this.visualMapModel.textStyleModel;this.group.add(new g.Text({style:{x:B[0],y:B[1],textVerticalAlign:z==="horizontal"?"middle":j,textAlign:z==="horizontal"?j:"center",text:C,textFont:M.getFont(),textFill:M.getTextColor()}}))},_renderBar:function(O){var T=this.visualMapModel,S=this._shapes,C=T.itemSize,_=this._orient,I=this._useHandle,k=s.getItemAlign(T,this.api,C),F=S.barGroup=this._createBarGroup(k);F.add(S.outOfRange=u()),F.add(S.inRange=u(null,I?v(this._orient):null,A.bind(this._dragHandle,this,"all",!1),A.bind(this._dragHandle,this,"all",!0)));var B=T.textStyleModel.getTextRect("\u56FD"),j=t(B.width,B.height);I&&(S.handleThumbs=[],S.handleLabels=[],S.handleLabelPoints=[],this._createHandle(F,0,C,j,_,k),this._createHandle(F,1,C,j,_,k)),this._createIndicator(F,C,j,_),O.add(F)},_createHandle:function(O,T,S,C,_){var I=A.bind(this._dragHandle,this,T,!1),k=A.bind(this._dragHandle,this,T,!0),F=u(h(T,C),v(this._orient),I,k);F.position[0]=S[0],O.add(F);var B=this.visualMapModel.textStyleModel,j=new g.Text({draggable:!0,drift:I,onmousemove:function(U){x.stop(U.event)},ondragend:k,style:{x:0,y:0,text:"",textFont:B.getFont(),textFill:B.getTextColor()}});this.group.add(j);var z=[_==="horizontal"?C/2:C*1.5,_==="horizontal"?T===0?-(C*1.5):C*1.5:T===0?-C/2:C/2],M=this._shapes;M.handleThumbs[T]=F,M.handleLabelPoints[T]=z,M.handleLabels[T]=j},_createIndicator:function(O,T,S,C){var _=u([[0,0]],"move");_.position[0]=T[0],_.attr({invisible:!0,silent:!0}),O.add(_);var I=this.visualMapModel.textStyleModel,k=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:I.getFont(),textFill:I.getTextColor()}});this.group.add(k);var F=[C==="horizontal"?S/2:r+3,0],B=this._shapes;B.indicator=_,B.indicatorLabel=k,B.indicatorLabelPoint=F},_dragHandle:function(O,T,S,C){if(!this._useHandle)return;if(this._dragging=!T,!T){var _=this._applyTransform([S,C],this._shapes.barGroup,!0);this._updateInterval(O,_[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():E(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[O],!1)},_resetInterval:function(){var O=this.visualMapModel,T=this._dataInterval=O.getSelected(),S=O.getExtent(),C=[0,O.itemSize[1]];this._handleEnds=[n(T[0],S,C,!0),n(T[1],S,C,!0)]},_updateInterval:function(O,T){T=T||0;var S=this.visualMapModel,C=this._handleEnds,_=[0,S.itemSize[1]];c(T,C,_,O,0);var I=S.getExtent();this._dataInterval=[n(C[0],_,I,!0),n(C[1],_,I,!0)]},_updateView:function(O){var T=this.visualMapModel,S=T.getExtent(),C=this._shapes,_=[0,T.itemSize[1]],I=O?_:this._handleEnds,k=this._createBarVisual(this._dataInterval,S,I,"inRange"),F=this._createBarVisual(S,S,_,"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(I,k)},_createBarVisual:function(O,T,S,C){var _={forceState:C,convertOpacityToAlpha:!0},I=this._makeColorGradient(O,_),k=[this.getControllerVisual(O[0],"symbolSize",_),this.getControllerVisual(O[1],"symbolSize",_)],F=this._createBarPoints(S,k);return{barColor:new f(0,0,0,1,I),barPoints:F,handlesColor:[I[0].color,I[I.length-1].color]}},_makeColorGradient:function(O,T){var S=100,C=[],_=(O[1]-O[0])/S;C.push({color:this.getControllerVisual(O[0],"color",T),offset:0});for(var I=1;I<S;I++){var k=O[0]+_*I;if(k>O[1])break;C.push({color:this.getControllerVisual(k,"color",T),offset:I/S})}return C.push({color:this.getControllerVisual(O[1],"color",T),offset:1}),C},_createBarPoints:function(O,T){var S=this.visualMapModel.itemSize;return[[S[0]-T[0],O[0]],[S[0],O[0]],[S[0],O[1]],[S[0]-T[1],O[1]]]},_createBarGroup:function(O){var T=this._orient,S=this.visualMapModel.get("inverse");return new g.Group(T==="horizontal"&&!S?{scale:O==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&S?{scale:O==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!S?{scale:O==="left"?[1,-1]:[-1,-1]}:{scale:O==="left"?[1,1]:[-1,1]})},_updateHandle:function(O,T){if(!this._useHandle)return;var S=this._shapes,C=this.visualMapModel,_=S.handleThumbs,I=S.handleLabels;i([0,1],function(k){var F=_[k];F.setStyle("fill",T.handlesColor[k]),F.position[1]=O[k];var B=g.applyTransform(S.handleLabelPoints[k],g.getTransform(F,this.group));I[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",S.barGroup)})},this)},_showIndicator:function(O,T,S,C){var _=this.visualMapModel,I=_.getExtent(),k=_.itemSize,F=[0,k[1]],B=n(O,I,F,!0),j=this._shapes,z=j.indicator;if(!z)return;z.position[1]=B,z.attr("invisible",!1),z.setShape("points",y(!!S,C,B,k[1]));var M={convertOpacityToAlpha:!0},U=this.getControllerVisual(O,"color",M);z.setStyle("fill",U);var P=g.applyTransform(j.indicatorLabelPoint,g.getTransform(z,this.group)),H=j.indicatorLabel;H.attr("invisible",!1);var W=this._applyTransform("left",j.barGroup),X=this._orient;H.setStyle({text:(S||"")+_.formatValueText(T),textVerticalAlign:X==="horizontal"?W:"middle",textAlign:X==="horizontal"?"center":W,x:P[0],y:P[1]})},_enableHoverLinkToSeries:function(){var O=this;this._shapes.barGroup.on("mousemove",function(T){if(O._hovering=!0,!O._dragging){var S=O.visualMapModel.itemSize,C=O._applyTransform([T.offsetX,T.offsetY],O._shapes.barGroup,!0,!0);C[1]=d(t(0,C[1]),S[1]),O._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=S[0])}}).on("mouseout",function(){O._hovering=!1,!O._dragging&&O._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var O=this.api.getZr();this.visualMapModel.option.hoverLink?(O.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),O.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(O,T){var S=this.visualMapModel,C=S.itemSize;if(!S.option.hoverLink)return;var _=[0,C[1]],I=S.getExtent();O=d(t(_[0],O),_[1]);var k=b(S,I,_),F=[O-k,O+k],B=n(O,_,I,!0),j=[n(F[0],_,I,!0),n(F[1],_,I,!0)];F[0]<_[0]&&(j[0]=-Infinity),F[1]>_[1]&&(j[1]=Infinity),T&&(j[0]===-Infinity?this._showIndicator(B,j[1],"< ",k):j[1]===Infinity?this._showIndicator(B,j[0],"> ",k):this._showIndicator(B,B,"\u2248 ",k));var z=this._hoverLinkDataIndices,M=[];(T||E(S))&&(M=this._hoverLinkDataIndices=S.findTargetDataIndices(j));var U=a.compressBatches(z,M);this._dispatchHighDown("downplay",s.makeHighDownBatch(U[0],S)),this._dispatchHighDown("highlight",s.makeHighDownBatch(U[1],S))},_hoverLinkFromSeriesMouseOver:function(O){var T=O.target,S=this.visualMapModel;if(!T||T.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!S.isTargetSeries(C))return;var _=C.getData(T.dataType),I=_.get(S.getDataDimension(_),T.dataIndex,!0);isNaN(I)||this._showIndicator(I,I)},_hideIndicator:function(){var O=this._shapes;O.indicator&&O.indicator.attr("invisible",!0),O.indicatorLabel&&O.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var O=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(O,this.visualMapModel)),O.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var O=this.api.getZr();O.off("mouseover",this._hoverLinkFromSeriesMouseOver),O.off("mouseout",this._hideIndicator)},_applyTransform:function(O,T,S,C){var _=g.getTransform(T,C?null:this.group);return g[A.isArray(O)?"applyTransform":"transformDirection"](O,_,S)},_dispatchHighDown:function(O,T){T&&T.length&&this.api.dispatchAction({type:O,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(O,T,S,C){return new g.Polygon({shape:{points:O},draggable:!!S,cursor:T,drift:S,onmousemove:function(_){x.stop(_.event)},ondragend:C})}function h(O,T){return O===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function y(O,T,S,C){return O?[[0,-d(T,t(S,0))],[r,0],[0,d(T,t(C-S,0))]]:[[0,0],[5,-5],[5,5]]}function b(O,T,S){var C=l/2,_=O.get("hoverLinkDataSize");return _&&(C=n(_,T,S,!0)/2),C}function E(O){var T=O.get("hoverLinkOnHandle");return!!(T==null?O.get("realtime"):T)}function v(O){return O==="vertical"?"ns-resize":"ew-resize"}var w=o;R.exports=w},PQMj:function(R,N,e){},PSzr:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},ProS:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("aX58"),m=e("bYtY"),g=e("Qe9p"),p=e("ItGF"),c=e("BPZU"),s=e("H6uX"),a=e("fmMI"),n=e("hD7B"),i=e("IDmD"),d=e("ypgQ"),t=e("+wW9"),l=e("0V0F"),r=e("bLfw"),o=e("T4UG"),u=e("sS/r"),h=e("6Ic6"),y=e("IwbS"),b=e("4NO4"),E=e("iLNv"),v=E.throttle,w=e("/WM3"),O=e("uAnK"),T=e("mYwL"),S=e("af/B"),C=e("xTNl"),_=e("8hn6");e("A1Ka");var I=e("7DRL"),k=m.assert,F=m.each,B=m.isFunction,j=m.isObject,z=r.parseClassType,M="4.8.0",U={zrender:"4.3.1"},P=1,H=1e3,W=800,X=900,K=5e3,$=1e3,ie=1100,be=2e3,te=3e3,Te=3500,Ie=4e3,Fe=5e3,Qe={PROCESSOR:{FILTER:H,SERIES_FILTER:W,STATISTIC:K},VISUAL:{LAYOUT:$,PROGRESSIVE_LAYOUT:ie,GLOBAL:be,CHART:te,POST_CHART_LAYOUT:Te,COMPONENT:Ie,BRUSH:Fe}},fe="__flagInMainProcess",He="__optionUpdated",se=/^[a-zA-Z0-9_]+$/;function Ce(ze,Ye){return function(qe,rt,ct){if(!Ye&&this._disposed){jt(this.id);return}qe=qe&&qe.toLowerCase(),s.prototype[ze].call(this,qe,rt,ct)}}function mt(){s.call(this)}mt.prototype.on=Ce("on",!0),mt.prototype.off=Ce("off",!0),mt.prototype.one=Ce("one",!0),m.mixin(mt,s);function Ne(ze,Ye,qe){qe=qe||{},typeof Ye=="string"&&(Ye=nt[Ye]),this.id,this.group,this._dom=ze;var rt="canvas",ct=this._zr=x.init(ze,{renderer:qe.renderer||rt,devicePixelRatio:qe.devicePixelRatio,width:qe.width,height:qe.height});this._throttledZrFlush=v(m.bind(ct.flush,ct),17);var Ye=m.clone(Ye);Ye&&t(Ye,!0),this._theme=Ye,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new i;var st=this._api=Ue(this);function et(Ft,Ct){return Ft.__prio-Ct.__prio}c(bt,et),c(Be,et),this._scheduler=new S(this,st,Be,bt),s.call(this,this._ecEventProcessor=new G),this._messageCenter=new mt,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],ct.animation.on("frame",this._onframe,this),pe(ct,this),m.setAsPrimitive(this)}var ae=Ne.prototype;ae._onframe=function(){if(this._disposed)return;var ze=this._scheduler;if(this[He]){var Ye=this[He].silent;this[fe]=!0,je(this),le.update.call(this),this[fe]=!1,this[He]=!1,ne.call(this,Ye),he.call(this,Ye)}else if(ze.unfinished){var qe=P,rt=this._model,ct=this._api;ze.unfinished=!1;do{var st=+new Date;ze.performSeriesTasks(rt),ze.performDataProcessorTasks(rt),Ze(this,rt),ze.performVisualTasks(rt),Ht(this,this._model,ct,"remain"),qe-=+new Date-st}while(qe>0&&ze.unfinished);ze.unfinished||this._zr.flush()}},ae.getDom=function(){return this._dom},ae.getZr=function(){return this._zr},ae.setOption=function(ze,Ye,qe){if(this._disposed){jt(this.id);return}var rt;if(j(Ye)&&(qe=Ye.lazyUpdate,rt=Ye.silent,Ye=Ye.notMerge),this[fe]=!0,!this._model||Ye){var ct=new d(this._api),st=this._theme,et=this._model=new a;et.scheduler=this._scheduler,et.init(null,null,st,ct)}this._model.setOption(ze,J),qe?(this[He]={silent:rt},this[fe]=!1):(je(this),le.update.call(this),this._zr.flush(),this[He]=!1,this[fe]=!1,ne.call(this,rt),he.call(this,rt))},ae.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ae.getModel=function(){return this._model},ae.getOption=function(){return this._model&&this._model.getOption()},ae.getWidth=function(){return this._zr.getWidth()},ae.getHeight=function(){return this._zr.getHeight()},ae.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ae.getRenderedCanvas=function(ze){if(!p.canvasSupported)return;ze=ze||{},ze.pixelRatio=ze.pixelRatio||1,ze.backgroundColor=ze.backgroundColor||this._model.get("backgroundColor");var Ye=this._zr;return Ye.painter.getRenderedCanvas(ze)},ae.getSvgDataURL=function(){if(!p.svgSupported)return;var ze=this._zr,Ye=ze.storage.getDisplayList();return m.each(Ye,function(qe){qe.stopAnimation(!0)}),ze.painter.toDataURL()},ae.getDataURL=function(ze){if(this._disposed){jt(this.id);return}ze=ze||{};var Ye=ze.excludeComponents,qe=this._model,rt=[],ct=this;F(Ye,function(et){qe.eachComponent({mainType:et},function(Ft){var Ct=ct._componentsMap[Ft.__viewId];Ct.group.ignore||(rt.push(Ct),Ct.group.ignore=!0)})});var st=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ze).toDataURL("image/"+(ze&&ze.type||"png"));return F(rt,function(et){et.group.ignore=!1}),st},ae.getConnectedDataURL=function(ze){if(this._disposed){jt(this.id);return}if(!p.canvasSupported)return;var Ye=ze.type==="svg",qe=this.group,rt=Math.min,ct=Math.max,st=Infinity;if(Fr[qe]){var et=st,Ft=st,Ct=-st,ir=-st,Xt=[],_r=ze&&ze.pixelRatio||1;m.each(zt,function(qr,yn){if(qr.group===qe){var nn=Ye?qr.getZr().painter.getSvgDom().innerHTML:qr.getRenderedCanvas(m.clone(ze)),cr=qr.getDom().getBoundingClientRect();et=rt(cr.left,et),Ft=rt(cr.top,Ft),Ct=ct(cr.right,Ct),ir=ct(cr.bottom,ir),Xt.push({dom:nn,left:cr.left,top:cr.top})}}),et*=_r,Ft*=_r,Ct*=_r,ir*=_r;var Br=Ct-et,Gr=ir-Ft,un=m.createCanvas(),mn=x.init(un,{renderer:Ye?"svg":"canvas"});if(mn.resize({width:Br,height:Gr}),Ye){var _n="";return F(Xt,function(qr){var yn=qr.left-et,nn=qr.top-Ft;_n+='<g transform="translate('+yn+","+nn+')">'+qr.dom+"</g>"}),mn.painter.getSvgRoot().innerHTML=_n,ze.connectedBackgroundColor&&mn.painter.setBackgroundColor(ze.connectedBackgroundColor),mn.refreshImmediately(),mn.painter.toDataURL()}else return ze.connectedBackgroundColor&&mn.add(new y.Rect({shape:{x:0,y:0,width:Br,height:Gr},style:{fill:ze.connectedBackgroundColor}})),F(Xt,function(qr){var yn=new y.Image({style:{x:qr.left*_r-et,y:qr.top*_r-Ft,image:qr.dom}});mn.add(yn)}),mn.refreshImmediately(),un.toDataURL("image/"+(ze&&ze.type||"png"))}else return this.getDataURL(ze)},ae.convertToPixel=m.curry(ce,"convertToPixel"),ae.convertFromPixel=m.curry(ce,"convertFromPixel");function ce(ze,Ye,qe){if(this._disposed){jt(this.id);return}var rt=this._model,ct=this._coordSysMgr.getCoordinateSystems(),st;Ye=b.parseFinder(rt,Ye);for(var et=0;et<ct.length;et++){var Ft=ct[et];if(Ft[ze]&&(st=Ft[ze](rt,Ye,qe))!=null)return st}}ae.containPixel=function(ze,Ye){if(this._disposed){jt(this.id);return}var qe=this._model,rt;return ze=b.parseFinder(qe,ze),m.each(ze,function(ct,st){st.indexOf("Models")>=0&&m.each(ct,function(et){var Ft=et.coordinateSystem;if(Ft&&Ft.containPoint)rt|=!!Ft.containPoint(Ye);else if(st==="seriesModels"){var Ct=this._chartsMap[et.__viewId];Ct&&Ct.containPoint&&(rt|=Ct.containPoint(Ye,et))}},this)},this),!!rt},ae.getVisual=function(ze,Ye){var qe=this._model;ze=b.parseFinder(qe,ze,{defaultMainType:"series"});var rt=ze.seriesModel,ct=rt.getData(),st=ze.hasOwnProperty("dataIndexInside")?ze.dataIndexInside:ze.hasOwnProperty("dataIndex")?ct.indexOfRawIndex(ze.dataIndex):null;return st!=null?ct.getItemVisual(st,Ye):ct.getVisual(Ye)},ae.getViewOfComponentModel=function(ze){return this._componentsMap[ze.__viewId]},ae.getViewOfSeriesModel=function(ze){return this._chartsMap[ze.__viewId]};var le={prepareAndUpdate:function(ze){je(this),le.update.call(this,ze)},update:function(ze){var Ye=this._model,qe=this._api,rt=this._zr,ct=this._coordSysMgr,st=this._scheduler;if(!Ye)return;st.restoreData(Ye,ze),st.performSeriesTasks(Ye),ct.create(Ye,qe),st.performDataProcessorTasks(Ye,ze),Ze(this,Ye),ct.update(Ye,qe),lt(Ye),st.performVisualTasks(Ye,ze),At(this,Ye,qe,ze);var et=Ye.get("backgroundColor")||"transparent";if(p.canvasSupported)rt.setBackgroundColor(et);else{var Ft=g.parse(et);et=g.stringify(Ft,"rgb"),Ft[3]===0&&(et="transparent")}tt(Ye,qe)},updateTransform:function(ze){var Ye=this._model,qe=this,rt=this._api;if(!Ye)return;var ct=[];Ye.eachComponent(function(et,Ft){var Ct=qe.getViewOfComponentModel(Ft);if(Ct&&Ct.__alive)if(Ct.updateTransform){var ir=Ct.updateTransform(Ft,Ye,rt,ze);ir&&ir.update&&ct.push(Ct)}else ct.push(Ct)});var st=m.createHashMap();Ye.eachSeries(function(et){var Ft=qe._chartsMap[et.__viewId];if(Ft.updateTransform){var Ct=Ft.updateTransform(et,Ye,rt,ze);Ct&&Ct.update&&st.set(et.uid,1)}else st.set(et.uid,1)}),lt(Ye),this._scheduler.performVisualTasks(Ye,ze,{setDirty:!0,dirtyMap:st}),Ht(qe,Ye,rt,ze,st),tt(Ye,this._api)},updateView:function(ze){var Ye=this._model;if(!Ye)return;h.markUpdateMethod(ze,"updateView"),lt(Ye),this._scheduler.performVisualTasks(Ye,ze,{setDirty:!0}),At(this,this._model,this._api,ze),tt(Ye,this._api)},updateVisual:function(ze){le.update.call(this,ze)},updateLayout:function(ze){le.update.call(this,ze)}};function je(ze){var Ye=ze._model,qe=ze._scheduler;qe.restorePipelines(Ye),qe.prepareStageTasks(),Xe(ze,"component",Ye,qe),Xe(ze,"chart",Ye,qe),qe.plan()}function Re(ze,Ye,qe,rt,ct){var st=ze._model;if(!rt){F(ze._componentsViews.concat(ze._chartsViews),ir);return}var et={};et[rt+"Id"]=qe[rt+"Id"],et[rt+"Index"]=qe[rt+"Index"],et[rt+"Name"]=qe[rt+"Name"];var Ft={mainType:rt,query:et};ct&&(Ft.subType=ct);var Ct=qe.excludeSeriesId;Ct!=null&&(Ct=m.createHashMap(b.normalizeToArray(Ct))),st&&st.eachComponent(Ft,function(Xt){(!Ct||Ct.get(Xt.id)==null)&&ir(ze[rt==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},ze);function ir(Xt){Xt&&Xt.__alive&&Xt[Ye]&&Xt[Ye](Xt.__model,st,ze._api,qe)}}ae.resize=function(ze){if(this._disposed){jt(this.id);return}this._zr.resize(ze);var Ye=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Ye)return;var qe=Ye.resetOption("media"),rt=ze&&ze.silent;this[fe]=!0,qe&&je(this),le.update.call(this),this[fe]=!1,ne.call(this,rt),he.call(this,rt)};function Ze(ze,Ye){var qe=ze._chartsMap,rt=ze._scheduler;Ye.eachSeries(function(ct){rt.updateStreamModes(ct,qe[ct.__viewId])})}ae.showLoading=function(ze,Ye){if(this._disposed){jt(this.id);return}if(j(ze)&&(Ye=ze,ze=""),ze=ze||"default",this.hideLoading(),!Rt[ze])return;var qe=Rt[ze](this._api,Ye),rt=this._zr;this._loadingFX=qe,rt.add(qe)},ae.hideLoading=function(){if(this._disposed){jt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},ae.makeActionFromEvent=function(ze){var Ye=m.extend({},ze);return Ye.type=Pe[ze.type],Ye},ae.dispatchAction=function(ze,Ye){if(this._disposed){jt(this.id);return}if(j(Ye)||(Ye={silent:!!Ye}),!Y[ze.type])return;if(!this._model)return;if(this[fe]){this._pendingActions.push(ze);return}De.call(this,ze,Ye.silent),Ye.flush?this._zr.flush(!0):Ye.flush!==!1&&p.browser.weChat&&this._throttledZrFlush(),ne.call(this,Ye.silent),he.call(this,Ye.silent)};function De(ze,Ye){var qe=ze.type,rt=ze.escapeConnect,ct=Y[qe],st=ct.actionInfo,et=(st.update||"update").split(":"),Ft=et.pop();et=et[0]!=null&&z(et[0]),this[fe]=!0;var Ct=[ze],ir=!1;ze.batch&&(ir=!0,Ct=m.map(ze.batch,function(Gr){return Gr=m.defaults(m.extend({},Gr),ze),Gr.batch=null,Gr}));var Xt=[],_r,Br=qe==="highlight"||qe==="downplay";F(Ct,function(Gr){_r=ct.action(Gr,this._model,this._api),_r=_r||m.extend({},Gr),_r.type=st.event||_r.type,Xt.push(_r),Br?Re(this,Ft,Gr,"series"):et&&Re(this,Ft,Gr,et.main,et.sub)},this),Ft!=="none"&&!Br&&!et&&(this[He]?(je(this),le.update.call(this,ze),this[He]=!1):le[Ft].call(this,ze)),ir?_r={type:st.event||qe,escapeConnect:rt,batch:Xt}:_r=Xt[0],this[fe]=!1,!Ye&&this._messageCenter.trigger(_r.type,_r)}function ne(ze){for(var Ye=this._pendingActions;Ye.length;){var qe=Ye.shift();De.call(this,qe,ze)}}function he(ze){!ze&&this.trigger("updated")}function pe(ze,Ye){ze.on("rendered",function(){Ye.trigger("rendered"),ze.animation.isFinished()&&!Ye[He]&&!Ye._scheduler.unfinished&&!Ye._pendingActions.length&&Ye.trigger("finished")})}ae.appendData=function(ze){if(this._disposed){jt(this.id);return}var Ye=ze.seriesIndex,qe=this.getModel(),rt=qe.getSeriesByIndex(Ye);rt.appendData(ze),this._scheduler.unfinished=!0},ae.on=Ce("on",!1),ae.off=Ce("off",!1),ae.one=Ce("one",!1);function Xe(ze,Ye,qe,rt){for(var ct=Ye==="component",st=ct?ze._componentsViews:ze._chartsViews,et=ct?ze._componentsMap:ze._chartsMap,Ft=ze._zr,Ct=ze._api,ir=0;ir<st.length;ir++)st[ir].__alive=!1;ct?qe.eachComponent(function(Br,Gr){Br!=="series"&&Xt(Gr)}):qe.eachSeries(Xt);function Xt(Br){var Gr="_ec_"+Br.id+"_"+Br.type,un=et[Gr];if(!un){var mn=z(Br.type),_n=ct?u.getClass(mn.main,mn.sub):h.getClass(mn.sub);un=new _n,un.init(qe,Ct),et[Gr]=un,st.push(un),Ft.add(un.group)}Br.__viewId=un.__id=Gr,un.__alive=!0,un.__model=Br,un.group.__ecComponentInfo={mainType:Br.mainType,index:Br.componentIndex},!ct&&rt.prepareView(un,Br,qe,Ct)}for(var ir=0;ir<st.length;){var _r=st[ir];_r.__alive?ir++:(!ct&&_r.renderTask.dispose(),Ft.remove(_r.group),_r.dispose(qe,Ct),st.splice(ir,1),delete et[_r.__id],_r.__id=_r.group.__ecComponentInfo=null)}}function lt(ze){ze.clearColorPalette(),ze.eachSeries(function(Ye){Ye.clearColorPalette()})}function At(ze,Ye,qe,rt){Me(ze,Ye,qe,rt),F(ze._chartsViews,function(ct){ct.__alive=!1}),Ht(ze,Ye,qe,rt),F(ze._chartsViews,function(ct){ct.__alive||ct.remove(Ye,qe)})}function Me(ze,Ye,qe,rt,ct){F(ct||ze._componentsViews,function(st){var et=st.__model;st.render(et,Ye,qe,rt),Dt(et,st)})}function Ht(ze,Ye,qe,rt,ct){var st=ze._scheduler,et;Ye.eachSeries(function(Ft){var Ct=ze._chartsMap[Ft.__viewId];Ct.__alive=!0;var ir=Ct.renderTask;st.updatePayload(ir,rt),ct&&ct.get(Ft.uid)&&ir.dirty(),et|=ir.perform(st.getPerformArgs(ir)),Ct.group.silent=!!Ft.get("silent"),Dt(Ft,Ct),Tt(Ft,Ct)}),st.unfinished|=et,kt(ze,Ye),O(ze._zr.dom,Ye)}function tt(ze,Ye){F(St,function(qe){qe(ze,Ye)})}var Mt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];ae._initEvents=function(){F(Mt,function(ze){var Ye=function(qe){var rt=this.getModel(),ct=qe.target,st,et=ze==="globalout";if(et)st={};else if(ct&&ct.dataIndex!=null){var Ft=ct.dataModel||rt.getSeriesByIndex(ct.seriesIndex);st=Ft&&Ft.getDataParams(ct.dataIndex,ct.dataType,ct)||{}}else ct&&ct.eventData&&(st=m.extend({},ct.eventData));if(st){var Ct=st.componentType,ir=st.componentIndex;(Ct==="markLine"||Ct==="markPoint"||Ct==="markArea")&&(Ct="series",ir=st.seriesIndex);var Xt=Ct&&ir!=null&&rt.getComponent(Ct,ir),_r=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];st.event=qe,st.type=ze,this._ecEventProcessor.eventInfo={targetEl:ct,packedEvent:st,model:Xt,view:_r},this.trigger(ze,st)}};Ye.zrEventfulCallAtLast=!0,this._zr.on(ze,Ye,this)},this),F(Pe,function(ze,Ye){this._messageCenter.on(Ye,function(qe){this.trigger(Ye,qe)},this)},this)},ae.isDisposed=function(){return this._disposed},ae.clear=function(){if(this._disposed){jt(this.id);return}this.setOption({series:[]},!0)},ae.dispose=function(){if(this._disposed){jt(this.id);return}this._disposed=!0,b.setAttribute(this.getDom(),ye,"");var ze=this._api,Ye=this._model;F(this._componentsViews,function(qe){qe.dispose(Ye,ze)}),F(this._chartsViews,function(qe){qe.dispose(Ye,ze)}),this._zr.dispose(),delete zt[this.id]},m.mixin(Ne,s);function jt(ze){}function kt(ze,Ye){var qe=ze._zr,rt=qe.storage,ct=0;rt.traverse(function(st){ct++}),ct>Ye.get("hoverLayerThreshold")&&!p.node&&Ye.eachSeries(function(st){if(st.preventUsingHoverLayer)return;var et=ze._chartsMap[st.__viewId];et.__alive&&et.group.traverse(function(Ft){Ft.useHoverLayer=!0})})}function Tt(ze,Ye){var qe=ze.get("blendMode")||null;Ye.group.traverse(function(rt){rt.isGroup||rt.style.blend!==qe&&rt.setStyle("blend",qe),rt.eachPendingDisplayable&&rt.eachPendingDisplayable(function(ct){ct.setStyle("blend",qe)})})}function Dt(ze,Ye){var qe=ze.get("z"),rt=ze.get("zlevel");Ye.group.traverse(function(ct){ct.type!=="group"&&(qe!=null&&(ct.z=qe),rt!=null&&(ct.zlevel=rt))})}function Ue(ze){var Ye=ze._coordSysMgr;return m.extend(new n(ze),{getCoordinateSystems:m.bind(Ye.getCoordinateSystems,Ye),getComponentByElement:function(qe){for(;qe;){var rt=qe.__ecComponentInfo;if(rt!=null)return ze._model.getComponent(rt.mainType,rt.index);qe=qe.parent}}})}function G(){this.eventInfo}G.prototype={constructor:G,normalizeQuery:function(ze){var Ye={},qe={},rt={};if(m.isString(ze)){var ct=z(ze);Ye.mainType=ct.main||null,Ye.subType=ct.sub||null}else{var st=["Index","Name","Id"],et={name:1,dataIndex:1,dataType:1};m.each(ze,function(Ft,Ct){for(var ir=!1,Xt=0;Xt<st.length;Xt++){var _r=st[Xt],Br=Ct.lastIndexOf(_r);if(Br>0&&Br===Ct.length-_r.length){var Gr=Ct.slice(0,Br);Gr!=="data"&&(Ye.mainType=Gr,Ye[_r.toLowerCase()]=Ft,ir=!0)}}et.hasOwnProperty(Ct)&&(qe[Ct]=Ft,ir=!0),ir||(rt[Ct]=Ft)})}return{cptQuery:Ye,dataQuery:qe,otherQuery:rt}},filter:function(ze,Ye,qe){var rt=this.eventInfo;if(!rt)return!0;var ct=rt.targetEl,st=rt.packedEvent,et=rt.model,Ft=rt.view;if(!et||!Ft)return!0;var Ct=Ye.cptQuery,ir=Ye.dataQuery;return Xt(Ct,et,"mainType")&&Xt(Ct,et,"subType")&&Xt(Ct,et,"index","componentIndex")&&Xt(Ct,et,"name")&&Xt(Ct,et,"id")&&Xt(ir,st,"name")&&Xt(ir,st,"dataIndex")&&Xt(ir,st,"dataType")&&(!Ft.filterForExposedEvent||Ft.filterForExposedEvent(ze,Ye.otherQuery,ct,st));function Xt(_r,Br,Gr,un){return _r[Gr]==null||Br[un||Gr]===_r[Gr]}},afterTrigger:function(){this.eventInfo=null}};var Y={},Pe={},Be=[],J=[],St=[],bt=[],nt={},Rt={},zt={},Fr={},Jt=new Date-0,ge=new Date-0,ye="_echarts_instance_";function Le(ze){var Ye=0,qe=1,rt=2,ct="__connectUpdateStatus";function st(et,Ft){for(var Ct=0;Ct<et.length;Ct++){var ir=et[Ct];ir[ct]=Ft}}F(Pe,function(et,Ft){ze._messageCenter.on(Ft,function(Ct){if(Fr[ze.group]&&ze[ct]!==Ye){if(Ct&&Ct.escapeConnect)return;var ir=ze.makeActionFromEvent(Ct),Xt=[];F(zt,function(_r){_r!==ze&&_r.group===ze.group&&Xt.push(_r)}),st(Xt,Ye),F(Xt,function(_r){_r[ct]!==qe&&_r.dispatchAction(ir)}),st(Xt,rt)}})})}function we(ze,Ye,qe){var rt=_t(ze);if(rt)return rt;var ct=new Ne(ze,Ye,qe);return ct.id="ec_"+Jt++,zt[ct.id]=ct,b.setAttribute(ze,ye,ct.id),Le(ct),ct}function Ke(ze){if(m.isArray(ze)){var Ye=ze;ze=null,F(Ye,function(qe){qe.group!=null&&(ze=qe.group)}),ze=ze||"g_"+ge++,F(Ye,function(qe){qe.group=ze})}return Fr[ze]=!0,ze}function Je(ze){Fr[ze]=!1}var ut=Je;function vt(ze){typeof ze=="string"?ze=zt[ze]:ze instanceof Ne||(ze=_t(ze)),ze instanceof Ne&&!ze.isDisposed()&&ze.dispose()}function _t(ze){return zt[b.getAttribute(ze,ye)]}function Ut(ze){return zt[ze]}function Bt(ze,Ye){nt[ze]=Ye}function dr(ze){J.push(ze)}function Oe(ze,Ye){Ge(Be,ze,Ye,H)}function xe(ze){St.push(ze)}function V(ze,Ye,qe){typeof Ye=="function"&&(qe=Ye,Ye="");var rt=j(ze)?ze.type:[ze,ze={event:Ye}][0];ze.event=(ze.event||rt).toLowerCase(),Ye=ze.event,k(se.test(rt)&&se.test(Ye)),Y[rt]||(Y[rt]={action:qe,actionInfo:ze}),Pe[Ye]=rt}function q(ze,Ye){i.register(ze,Ye)}function ue(ze){var Ye=i.get(ze);if(Ye)return Ye.getDimensionsInfo?Ye.getDimensionsInfo():Ye.dimensions.slice()}function me(ze,Ye){Ge(bt,ze,Ye,$,"layout")}function Ee(ze,Ye){Ge(bt,ze,Ye,te,"visual")}function Ge(ze,Ye,qe,rt,ct){(B(Ye)||j(Ye))&&(qe=Ye,Ye=rt);var st=S.wrapStageHandler(qe,ct);return st.__prio=Ye,st.__raw=qe,ze.push(st),st}function dt(ze,Ye){Rt[ze]=Ye}function Kt(ze){return r.extend(ze)}function tr(ze){return u.extend(ze)}function wt(ze){return o.extend(ze)}function It(ze){return h.extend(ze)}function Lt(ze){m.$override("createCanvas",ze)}function Nt(ze,Ye,qe){I.registerMap(ze,Ye,qe)}function $e(ze){var Ye=I.retrieveMap(ze);return Ye&&Ye[0]&&{geoJson:Ye[0].geoJSON,specialAreas:Ye[0].specialAreas}}Ee(be,w),dr(t),Oe(X,l),dt("default",T),V({type:"highlight",event:"highlight",update:"highlight"},m.noop),V({type:"downplay",event:"downplay",update:"downplay"},m.noop),Bt("light",C),Bt("dark",_);var ot={};N.version=M,N.dependencies=U,N.PRIORITY=Qe,N.init=we,N.connect=Ke,N.disConnect=Je,N.disconnect=ut,N.dispose=vt,N.getInstanceByDom=_t,N.getInstanceById=Ut,N.registerTheme=Bt,N.registerPreprocessor=dr,N.registerProcessor=Oe,N.registerPostUpdate=xe,N.registerAction=V,N.registerCoordinateSystem=q,N.getCoordinateSystemDimensions=ue,N.registerLayout=me,N.registerVisual=Ee,N.registerLoading=dt,N.extendComponentModel=Kt,N.extendComponentView=tr,N.extendSeriesModel=wt,N.extendChartView=It,N.setCanvasCreator=Lt,N.registerMap=Nt,N.getMap=$e,N.dataTool=ot;var ft=e("txkQ");(function(){for(var ze in ft)ft.hasOwnProperty(ze)&&(N[ze]=ft[ze])})()},"Pv/L":function(R,N,e){"use strict";e.d(N,"a",function(){return g});var A=e("+kx5"),f=e("Y9hK"),x=e("Qw5x"),m=e("u6e6");function g(p){return Object(A.a)(p)||Object(f.a)(p)||Object(x.a)(p)||Object(m.a)()}},Pw59:function(R,N,e){"use strict";var A=e("q1tI"),f=e.n(A),x=Object(A.createContext)({});N.a=x},Q7if:function(R,N,e){var A=e("JEkh"),f=A.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});R.exports=f},Q9mQ:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("UADf"),m=e.n(x)},"QB+1":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},QBsz:function(R,N){var e=typeof Float32Array=="undefined"?Array:Float32Array;function A(S,C){var _=new e(2);return S==null&&(S=0),C==null&&(C=0),_[0]=S,_[1]=C,_}function f(S,C){return S[0]=C[0],S[1]=C[1],S}function x(S){var C=new e(2);return C[0]=S[0],C[1]=S[1],C}function m(S,C,_){return S[0]=C,S[1]=_,S}function g(S,C,_){return S[0]=C[0]+_[0],S[1]=C[1]+_[1],S}function p(S,C,_,I){return S[0]=C[0]+_[0]*I,S[1]=C[1]+_[1]*I,S}function c(S,C,_){return S[0]=C[0]-_[0],S[1]=C[1]-_[1],S}function s(S){return Math.sqrt(n(S))}var a=s;function n(S){return S[0]*S[0]+S[1]*S[1]}var i=n;function d(S,C,_){return S[0]=C[0]*_[0],S[1]=C[1]*_[1],S}function t(S,C,_){return S[0]=C[0]/_[0],S[1]=C[1]/_[1],S}function l(S,C){return S[0]*C[0]+S[1]*C[1]}function r(S,C,_){return S[0]=C[0]*_,S[1]=C[1]*_,S}function o(S,C){var _=s(C);return _===0?(S[0]=0,S[1]=0):(S[0]=C[0]/_,S[1]=C[1]/_),S}function u(S,C){return Math.sqrt((S[0]-C[0])*(S[0]-C[0])+(S[1]-C[1])*(S[1]-C[1]))}var h=u;function y(S,C){return(S[0]-C[0])*(S[0]-C[0])+(S[1]-C[1])*(S[1]-C[1])}var b=y;function E(S,C){return S[0]=-C[0],S[1]=-C[1],S}function v(S,C,_,I){return S[0]=C[0]+I*(_[0]-C[0]),S[1]=C[1]+I*(_[1]-C[1]),S}function w(S,C,_){var I=C[0],k=C[1];return S[0]=_[0]*I+_[2]*k+_[4],S[1]=_[1]*I+_[3]*k+_[5],S}function O(S,C,_){return S[0]=Math.min(C[0],_[0]),S[1]=Math.min(C[1],_[1]),S}function T(S,C,_){return S[0]=Math.max(C[0],_[0]),S[1]=Math.max(C[1],_[1]),S}N.create=A,N.copy=f,N.clone=x,N.set=m,N.add=g,N.scaleAndAdd=p,N.sub=c,N.len=s,N.length=a,N.lenSquare=n,N.lengthSquare=i,N.mul=d,N.div=t,N.dot=l,N.scale=r,N.normalize=o,N.distance=u,N.dist=h,N.distanceSquare=y,N.distSquare=b,N.negate=E,N.lerp=v,N.applyTransform=w,N.min=O,N.max=T},"QO+J":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var A=x(e("NohK")),f=e("24YM");function x(g){return g&&g.__esModule?g:{default:g}}var m=function(p){var c=void 0,s=[],a=function(){getComputedStyle(p).position==="static"&&(p.style.position="relative");var r=document.createElement("object");return r.onload=function(){r.contentDocument.defaultView.addEventListener("resize",n),n()},r.style.display="block",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.height="100%",r.style.width="100%",r.style.overflow="hidden",r.style.pointerEvents="none",r.style.zIndex="-1",r.style.opacity="0",r.setAttribute("class",f.SensorClassName),r.setAttribute("tabindex",f.SensorTabIndex),r.type="text/html",p.appendChild(r),r.data="about:blank",r},n=(0,A.default)(function(){s.forEach(function(l){l(p)})}),i=function(r){c||(c=a()),s.indexOf(r)===-1&&s.push(r)},d=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",n),c.parentNode.removeChild(c),c=void 0,s=[])},t=function(r){var o=s.indexOf(r);o!==-1&&s.splice(o,1),s.length===0&&c&&d()};return{element:p,bind:i,destroy:d,unbind:t}};N.createSensor=m},"QQZ/":function(R,N,e){var A=e("Sq3C"),f=e("Z1HP"),x=e("Sxd8"),m=e("dt0z");function g(p,c,s){p=m(p),c=x(c);var a=c?f(p):0;return c&&a<c?A(c-a,s)+p:p}R.exports=g},QUw5:function(R,N,e){var A=e("OlYY"),f=A.extend({type:"dataZoom.select"});R.exports=f},QV2g:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=A;function A(){for(var m,g=[],p=0;p<256;p++){m=p;for(var c=0;c<8;c++)m=m&1?3988292384^m>>>1:m>>>1;g[p]=m}return g}var f=A();function x(m,g,p,c){var s=f,a=c+p;m^=-1;for(var n=c;n<a;n++)m=m>>>8^s[(m^g[n])&255];return m^-1}},QbM5:function(R,N,e){},Qe9p:function(R,N,e){var A=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 x(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 g(C){return C<0?0:C>1?1:C}function p(C){return C.length&&C.charAt(C.length-1)==="%"?x(parseFloat(C)/100*255):x(parseInt(C,10))}function c(C){return C.length&&C.charAt(C.length-1)==="%"?g(parseFloat(C)/100):g(parseFloat(C))}function s(C,_,I){return I<0?I+=1:I>1&&(I-=1),I*6<1?C+(_-C)*I*6:I*2<1?_:I*3<2?C+(_-C)*(2/3-I)*6:C}function a(C,_,I){return C+(_-C)*I}function n(C,_,I,k,F){return C[0]=_,C[1]=I,C[2]=k,C[3]=F,C}function i(C,_){return C[0]=_[0],C[1]=_[1],C[2]=_[2],C[3]=_[3],C}var d=new A(20),t=null;function l(C,_){t&&i(t,_),t=d.put(C,t||_.slice())}function r(C,_){if(!C)return;_=_||[];var I=d.get(C);if(I)return i(_,I);C=C+"";var k=C.replace(/ /g,"").toLowerCase();if(k in f)return i(_,f[k]),l(C,_),_;if(k.charAt(0)==="#"){if(k.length===4){var F=parseInt(k.substr(1),16);if(!(F>=0&&F<=4095)){n(_,0,0,0,1);return}return n(_,(F&3840)>>4|(F&3840)>>8,F&240|(F&240)>>4,F&15|(F&15)<<4,1),l(C,_),_}else if(k.length===7){var F=parseInt(k.substr(1),16);if(!(F>=0&&F<=16777215)){n(_,0,0,0,1);return}return n(_,(F&16711680)>>16,(F&65280)>>8,F&255,1),l(C,_),_}return}var B=k.indexOf("("),j=k.indexOf(")");if(B!==-1&&j+1===k.length){var z=k.substr(0,B),M=k.substr(B+1,j-(B+1)).split(","),U=1;switch(z){case"rgba":if(M.length!==4){n(_,0,0,0,1);return}U=c(M.pop());case"rgb":if(M.length!==3){n(_,0,0,0,1);return}return n(_,p(M[0]),p(M[1]),p(M[2]),U),l(C,_),_;case"hsla":if(M.length!==4){n(_,0,0,0,1);return}return M[3]=c(M[3]),o(M,_),l(C,_),_;case"hsl":if(M.length!==3){n(_,0,0,0,1);return}return o(M,_),l(C,_),_;default:return}}n(_,0,0,0,1);return}function o(C,_){var I=(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,j=F*2-B;return _=_||[],n(_,x(s(j,B,I+1/3)*255),x(s(j,B,I)*255),x(s(j,B,I-1/3)*255),1),C.length===4&&(_[3]=C[3]),_}function u(C){if(!C)return;var _=C[0]/255,I=C[1]/255,k=C[2]/255,F=Math.min(_,I,k),B=Math.max(_,I,k),j=B-F,z=(B+F)/2,M,U;if(j===0)M=0,U=0;else{z<.5?U=j/(B+F):U=j/(2-B-F);var P=((B-_)/6+j/2)/j,H=((B-I)/6+j/2)/j,W=((B-k)/6+j/2)/j;_===B?M=W-H:I===B?M=1/3+P-W:k===B&&(M=2/3+H-P),M<0&&(M+=1),M>1&&(M-=1)}var X=[M*360,U,z];return C[3]!=null&&X.push(C[3]),X}function h(C,_){var I=r(C);if(I){for(var k=0;k<3;k++)_<0?I[k]=I[k]*(1-_)|0:I[k]=(255-I[k])*_+I[k]|0,I[k]>255?I[k]=255:C[k]<0&&(I[k]=0);return S(I,I.length===4?"rgba":"rgb")}}function y(C){var _=r(C);if(_)return((1<<24)+(_[0]<<16)+(_[1]<<8)+ +_[2]).toString(16).slice(1)}function b(C,_,I){if(!(_&&_.length)||!(C>=0&&C<=1))return;I=I||[];var k=C*(_.length-1),F=Math.floor(k),B=Math.ceil(k),j=_[F],z=_[B],M=k-F;return I[0]=x(a(j[0],z[0],M)),I[1]=x(a(j[1],z[1],M)),I[2]=x(a(j[2],z[2],M)),I[3]=g(a(j[3],z[3],M)),I}var E=b;function v(C,_,I){if(!(_&&_.length)||!(C>=0&&C<=1))return;var k=C*(_.length-1),F=Math.floor(k),B=Math.ceil(k),j=r(_[F]),z=r(_[B]),M=k-F,U=S([x(a(j[0],z[0],M)),x(a(j[1],z[1],M)),x(a(j[2],z[2],M)),g(a(j[3],z[3],M))],"rgba");return I?{color:U,leftIndex:F,rightIndex:B,value:k}:U}var w=v;function O(C,_,I,k){if(C=r(C),C)return C=u(C),_!=null&&(C[0]=m(_)),I!=null&&(C[1]=c(I)),k!=null&&(C[2]=c(k)),S(o(C),"rgba")}function T(C,_){if(C=r(C),C&&_!=null)return C[3]=g(_),S(C,"rgba")}function S(C,_){if(!C||!C.length)return;var I=C[0]+","+C[1]+","+C[2];return(_==="rgba"||_==="hsva"||_==="hsla")&&(I+=","+C[3]),_+"("+I+")"}N.parse=r,N.lift=h,N.toHex=y,N.fastLerp=b,N.fastMapToColor=E,N.lerp=v,N.mapToColor=w,N.modifyHSL=O,N.modifyAlpha=T,N.stringify=S},Qi1f:function(R,N,e){"use strict";e.d(N,"g",function(){return l}),e.d(N,"c",function(){return r}),e.d(N,"a",function(){return u}),e.d(N,"b",function(){return h}),e.d(N,"d",function(){return y}),e.d(N,"e",function(){return b}),e.d(N,"f",function(){return v});var A=e("VTBJ"),f=e("U8pU"),x=e("AJpP"),m=e("q1tI"),g=e.n(m),p=e("Kwbf"),c=e("MNnm"),s="rc-util-key";function a(w){if(w.attachTo)return w.attachTo;var O=document.querySelector("head");return O||document.body}function n(w){var O,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(c.a)())return null;var S=document.createElement("style");if((O=T.csp)===null||O===void 0?void 0:O.nonce){var C;S.nonce=(C=T.csp)===null||C===void 0?void 0:C.nonce}S.innerHTML=w;var _=a(T),I=_.firstChild;return T.prepend&&_.prepend?_.prepend(S):T.prepend&&I?_.insertBefore(S,I):_.appendChild(S),S}var i=new Map;function d(w,O){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=a(T);if(!i.has(S)){var C=n("",T),_=C.parentNode;i.set(S,_),_.removeChild(C)}var I=Array.from(i.get(S).children).find(function(z){return z.tagName==="STYLE"&&z[s]===O});if(I){var k,F;if(((k=T.csp)===null||k===void 0?void 0:k.nonce)&&I.nonce!==((F=T.csp)===null||F===void 0?void 0:F.nonce)){var B;I.nonce=(B=T.csp)===null||B===void 0?void 0:B.nonce}return I.innerHTML!==w&&(I.innerHTML=w),I}var j=n(w,T);return j[s]=O,j}var t=e("Pw59");function l(w,O){Object(p.a)(w,"[@ant-design/icons] ".concat(O))}function r(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 o(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(O,T){var S=w[T];switch(T){case"class":O.className=S,delete O.class;break;default:O[T]=S}return O},{})}function u(w,O,T){return T?g.a.createElement(w.tag,Object(A.a)(Object(A.a)({key:O},o(w.attrs)),T),(w.children||[]).map(function(S,C){return u(S,"".concat(O,"-").concat(w.tag,"-").concat(C))})):g.a.createElement(w.tag,Object(A.a)({key:O},o(w.attrs)),(w.children||[]).map(function(S,C){return u(S,"".concat(O,"-").concat(w.tag,"-").concat(C))}))}function h(w){return Object(x.generate)(w)[0]}function y(w){return w?Array.isArray(w)?w:[w]:[]}var b={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},E=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,v=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,T=Object(m.useContext)(t.a),S=T.csp;Object(m.useEffect)(function(){d(O,"@ant-design-icons",{prepend:!0,csp:S})},[])}},Qs3X:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},Qs9O:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},QuXc:function(R,N){var e=function(x){this.colorStops=x||[]};e.prototype={constructor:e,addColorStop:function(x,m){this.colorStops.push({offset:x,color:m})}};var A=e;R.exports=A},Qvb6:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("ItGF"),m=e("B9fm"),g=e("gvm7"),p=e("7aKB"),c=e("OELB"),s=e("IwbS"),a=e("Ez2D"),n=e("+TT/"),i=e("Qxkt"),d=e("F9bG"),t=e("aX7z"),l=e("/y7N"),r=e("4NO4"),o=r.getTooltipRenderMode,u=f.bind,h=f.each,y=c.parsePercent,b=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),E=A.extendComponentView({type:"tooltip",init:function(_,I){if(x.node)return;var k=_.getComponent("tooltip"),F=k.get("renderMode");this._renderMode=o(F);var B;this._renderMode==="html"?(B=new m(I.getDom(),I,{appendToBody:k.get("appendToBody",!0)}),this._newLine="<br/>"):(B=new g(I),this._newLine=`
|
|
|
`),this._tooltipContent=B},render:function(_,I,k){if(x.node)return;this.group.removeAll(),this._tooltipModel=_,this._ecModel=I,this._api=k,this._lastDataByCoordSys=null,this._alwaysShowContent=_.get("alwaysShowContent");var F=this._tooltipContent;F.update(),F.setEnterable(_.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var _=this._tooltipModel,I=_.get("triggerOn");d.register("itemTooltip",this._api,u(function(k,F,B){I!=="none"&&(I.indexOf(k)>=0?this._tryShow(F,B):k==="leave"&&this._hide(B))},this))},_keepShow:function(){var _=this._tooltipModel,I=this._ecModel,k=this._api;if(this._lastX!=null&&this._lastY!=null&&_.get("triggerOn")!=="none"){var F=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!k.isDisposed()&&F.manuallyShowTip(_,I,k,{x:F._lastX,y:F._lastY})})}},manuallyShowTip:function(_,I,k,F){if(F.from===this.uid||x.node)return;var B=w(F,k);this._ticket="";var j=F.dataByCoordSys;if(F.tooltip&&F.x!=null&&F.y!=null){var z=b;z.position=[F.x,F.y],z.update(),z.tooltip=F.tooltip,this._tryShow({offsetX:F.x,offsetY:F.y,target:z},B)}else if(j)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(_,I,k,F))return;var M=a(F,I),U=M.point[0],P=M.point[1];U!=null&&P!=null&&this._tryShow({offsetX:U,offsetY:P,position:F.position,target:M.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(_,I,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(w(F,k))},_manuallyAxisShowTip:function(_,I,k,F){var B=F.seriesIndex,j=F.dataIndex,z=I.getComponent("axisPointer").coordSysAxesInfo;if(B==null||j==null||z==null)return;var M=I.getSeriesByIndex(B);if(!M)return;var U=M.getData(),_=v([U.getItemModel(j),M,(M.coordinateSystem||{}).model,_]);return _.get("trigger")!=="axis"?void 0:(k.dispatchAction({type:"updateAxisPointer",seriesIndex:B,dataIndex:j,position:F.position}),!0)},_tryShow:function(_,I){var k=_.target,F=this._tooltipModel;if(!F)return;this._lastX=_.offsetX,this._lastY=_.offsetY;var B=_.dataByCoordSys;B&&B.length?this._showAxisTooltip(B,_):k&&k.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(_,k,I)):k&&k.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(_,k,I)):(this._lastDataByCoordSys=null,this._hide(I))},_showOrMove:function(_,I){var k=_.get("showDelay");I=f.bind(I,this),clearTimeout(this._showTimout),k>0?this._showTimout=setTimeout(I,k):I()},_showAxisTooltip:function(_,I){var k=this._ecModel,F=this._tooltipModel,B=[I.offsetX,I.offsetY],j=[],z=[],M=v([I.tooltipOption,F]),U=this._renderMode,P=this._newLine,H={};h(_,function(X){h(X.dataByAxis,function(K){var $=k.getComponent(K.axisDim+"Axis",K.axisIndex),ie=K.value,be=[];if(!$||ie==null)return;var te=l.getValueLabel(ie,$.axis,k,K.seriesDataIndices,K.valueLabelOpt);f.each(K.seriesDataIndices,function(Ie){var Fe=k.getSeriesByIndex(Ie.seriesIndex),Qe=Ie.dataIndexInside,fe=Fe&&Fe.getDataParams(Qe);if(fe.axisDim=K.axisDim,fe.axisIndex=K.axisIndex,fe.axisType=K.axisType,fe.axisId=K.axisId,fe.axisValue=t.getAxisRawValue($.axis,ie),fe.axisValueLabel=te,fe){z.push(fe);var He=Fe.formatTooltip(Qe,!0,null,U),se;if(f.isObject(He)){se=He.html;var Ce=He.markers;f.merge(H,Ce)}else se=He;be.push(se)}});var Te=te;U!=="html"?j.push(be.join(P)):j.push((Te?p.encodeHTML(Te)+P:"")+be.join(P))})},this),j.reverse(),j=j.join(this._newLine+this._newLine);var W=I.position;this._showOrMove(M,function(){this._updateContentNotChangedOnAxis(_)?this._updatePosition(M,W,B[0],B[1],this._tooltipContent,z):this._showTooltipContent(M,j,z,Math.random(),B[0],B[1],W,void 0,H)})},_showSeriesItemTooltip:function(_,I,k){var F=this._ecModel,B=I.seriesIndex,j=F.getSeriesByIndex(B),z=I.dataModel||j,M=I.dataIndex,U=I.dataType,P=z.getData(U),H=v([P.getItemModel(M),z,j&&(j.coordinateSystem||{}).model,this._tooltipModel]),W=H.get("trigger");if(W!=null&&W!=="item")return;var X=z.getDataParams(M,U),K=z.formatTooltip(M,!1,U,this._renderMode),$,ie;f.isObject(K)?($=K.html,ie=K.markers):($=K,ie=null);var be="item_"+z.name+"_"+M;this._showOrMove(H,function(){this._showTooltipContent(H,$,X,be,_.offsetX,_.offsetY,_.position,_.target,ie)}),k({type:"showTip",dataIndexInside:M,dataIndex:P.getRawIndex(M),seriesIndex:B,from:this.uid})},_showComponentItemTooltip:function(_,I,k){var F=I.tooltip;if(typeof F=="string"){var B=F;F={content:B,formatter:B}}var j=new i(F,this._tooltipModel,this._ecModel),z=j.get("content"),M=Math.random();this._showOrMove(j,function(){this._showTooltipContent(j,z,j.get("formatterParams")||{},M,_.offsetX,_.offsetY,_.position,I)}),k({type:"showTip",from:this.uid})},_showTooltipContent:function(_,I,k,F,B,j,z,M,U){if(this._ticket="",!_.get("showContent")||!_.get("show"))return;var P=this._tooltipContent,H=_.get("formatter");z=z||_.get("position");var W=I;if(H&&typeof H=="string")W=p.formatTpl(H,k,!0);else if(typeof H=="function"){var X=u(function(K,$){K===this._ticket&&(P.setContent($,U,_),this._updatePosition(_,z,B,j,P,k,M))},this);this._ticket=F,W=H(k,F,X)}P.setContent(W,U,_),P.show(_),this._updatePosition(_,z,B,j,P,k,M)},_updatePosition:function(_,I,k,F,B,j,z){var M=this._api.getWidth(),U=this._api.getHeight();I=I||_.get("position");var P=B.getSize(),H=_.get("align"),W=_.get("verticalAlign"),X=z&&z.getBoundingRect().clone();if(z&&X.applyTransform(z.transform),typeof I=="function"&&(I=I([k,F],j,B.el,X,{viewSize:[M,U],contentSize:P.slice()})),f.isArray(I))k=y(I[0],M),F=y(I[1],U);else if(f.isObject(I)){I.width=P[0],I.height=P[1];var K=n.getLayoutRect(I,{width:M,height:U});k=K.x,F=K.y,H=null,W=null}else if(typeof I=="string"&&z){var $=S(I,X,P);k=$[0],F=$[1]}else{var $=O(k,F,B,M,U,H?null:20,W?null:20);k=$[0],F=$[1]}if(H&&(k-=C(H)?P[0]/2:H==="right"?P[0]:0),W&&(F-=C(W)?P[1]/2:W==="bottom"?P[1]:0),_.get("confine")){var $=T(k,F,B,M,U);k=$[0],F=$[1]}B.moveTo(k,F)},_updateContentNotChangedOnAxis:function(_){var I=this._lastDataByCoordSys,k=!!I&&I.length===_.length;return k&&h(I,function(F,B){var j=F.dataByAxis||{},z=_[B]||{},M=z.dataByAxis||[];k&=j.length===M.length,k&&h(j,function(U,P){var H=M[P]||{},W=U.seriesDataIndices||[],X=H.seriesDataIndices||[];k&=U.value===H.value&&U.axisType===H.axisType&&U.axisId===H.axisId&&W.length===X.length,k&&h(W,function(K,$){var ie=X[$];k&=K.seriesIndex===ie.seriesIndex&&K.dataIndex===ie.dataIndex})})}),this._lastDataByCoordSys=_,!!k},_hide:function(_){this._lastDataByCoordSys=null,_({type:"hideTip",from:this.uid})},dispose:function(_,I){if(x.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",I)}});function v(_){for(var I=_.pop();_.length;){var k=_.pop();k&&(i.isInstance(k)&&(k=k.get("tooltip",!0)),typeof k=="string"&&(k={formatter:k}),I=new i(k,I,I.ecModel))}return I}function w(_,I){return _.dispatchAction||f.bind(I.dispatchAction,I)}function O(_,I,k,F,B,j,z){var M=k.getOuterSize(),U=M.width,P=M.height;return j!=null&&(_+U+j>F?_-=U+j:_+=j),z!=null&&(I+P+z>B?I-=P+z:I+=z),[_,I]}function T(_,I,k,F,B){var j=k.getOuterSize(),z=j.width,M=j.height;return _=Math.min(_+z,F)-z,I=Math.min(I+M,B)-M,_=Math.max(_,0),I=Math.max(I,0),[_,I]}function S(_,I,k){var F=k[0],B=k[1],j=5,z=0,M=0,U=I.width,P=I.height;switch(_){case"inside":z=I.x+U/2-F/2,M=I.y+P/2-B/2;break;case"top":z=I.x+U/2-F/2,M=I.y-B-j;break;case"bottom":z=I.x+U/2-F/2,M=I.y+P+j;break;case"left":z=I.x-F-j,M=I.y+P/2-B/2;break;case"right":z=I.x+U+j,M=I.y+P/2-B/2}return[z,M]}function C(_){return _==="center"||_==="middle"}R.exports=E},Qxkt:function(R,N,e){var A=e("bYtY"),f=e("ItGF"),x=e("4NO4"),m=x.makeInner,g=e("Yl7c"),p=g.enableClassExtend,c=g.enableClassCheck,s=e("OQFs"),a=e("m9t5"),n=e("/iHx"),i=e("VR9l"),d=A.mixin,t=m();function l(h,y,b){this.parentModel=y,this.ecModel=b,this.option=h}l.prototype={constructor:l,init:null,mergeOption:function(h){A.merge(this.option,h,!0)},get:function(h,y){return h==null?this.option:r(this.option,this.parsePath(h),!y&&o(this,h))},getShallow:function(h,y){var b=this.option,E=b==null?b:b[h],v=!y&&o(this,h);return E==null&&v&&(E=v.getShallow(h)),E},getModel:function(h,y){var b=h==null?this.option:r(this.option,h=this.parsePath(h)),E;return y=y||(E=o(this,h))&&E.getModel(h),new l(b,y,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(A.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){t(this).getParent=h},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function r(h,y,b){for(var E=0;E<y.length;E++){if(!y[E])continue;if(h=h&&typeof h=="object"?h[y[E]]:null,h==null)break}return h==null&&b&&(h=b.get(y)),h}function o(h,y){var b=t(h).getParent;return b?b.call(h,y):h.parentModel}p(l),c(l),d(l,s),d(l,a),d(l,n),d(l,i);var u=l;R.exports=u},QyFq:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},QzjZ:function(R,N,e){var A=e("S/Yl"),f=e("IDmD");function x(m,g){var p=[];return m.eachComponent("singleAxis",function(c,s){var a=new A(c,m,g);a.name="single_"+s,a.resize(c,g),c.coordinateSystem=a,p.push(a)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var s=m.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=s&&s.coordinateSystem}}),p}f.register("single",{create:x,dimensions:A.prototype.dimensions})},R4Th:function(R,N,e){var A=e("ProS"),f=e("9wZj"),x=e("yO87"),m=e("Fofx"),g=e("h8O9"),p=A.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(x)},render:function(c,s,a){var n=c.getData(),i=this._symbolDraw;i.updateData(n),this.group.add(i.group)},updateTransform:function(c,s,a){var n=c.getData();this.group.dirty();var i=g().reset(c);i.progress&&i.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(c){var s=c.coordinateSystem;s&&s.getRoamTransform&&(this.group.transform=m.clone(s.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,s){this._symbolDraw&&this._symbolDraw.remove(s)},dispose:function(){}});R.exports=p},R9oj:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("pwpV"),m=e.n(x)},RBEP:function(R,N,e){for(var A=e("ProS"),f=e("VaxA"),x=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],g=0;g<m.length;g++)A.registerAction({type:m[g],update:"updateView"},x);A.registerAction({type:"treemapRootToNode",update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"treemap",query:p},s);function s(a,n){var i=["treemapZoomToNode","treemapRootToNode"],d=f.retrieveTargetInfo(p,i,a);if(d){var t=a.getViewRoot();t&&(p.direction=f.aboveViewRoot(t,d.node)?"rollUp":"drillDown"),a.resetViewRoot(d.node)}}})},RCxd:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="ExclamationCircleOutlined";var c=N.a=f.forwardRef(p)},RDYZ:function(R,N,e){var A=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(g,p){if(this._initialized||(this._startTime=g+this._delay,this._initialized=!0),this._paused){this._pausedTime+=p;return}var c=(g-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var s=this.easing,a=typeof s=="string"?A[s]:s,n=typeof a=="function"?a(c):c;return this.fire("frame",n),c===1?this.loop?(this.restart(g),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(g){var p=(g-this._startTime-this._pausedTime)%this._life;this._startTime=g-p+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(g,p){g="on"+g,this[g]&&this[g](this._target,p)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var x=f;R.exports=x},RELg:function(R,N,e){var A=e("MFOe"),f=A.Global;R.exports={name:"oldIE-userDataStorage",write:c,read:s,each:a,remove:n,clearAll:i};var x="storejs",m=f.document,g=l(),p=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(r,o){if(p)return;var u=t(r);g(function(h){h.setAttribute(u,o),h.save(x)})}function s(r){if(p)return;var o=t(r),u=null;return g(function(h){u=h.getAttribute(o)}),u}function a(r){g(function(o){for(var u=o.XMLDocument.documentElement.attributes,h=u.length-1;h>=0;h--){var y=u[h];r(o.getAttribute(y.name),y.name)}})}function n(r){var o=t(r);g(function(u){u.removeAttribute(o),u.save(x)})}function i(){g(function(r){var o=r.XMLDocument.documentElement.attributes;r.load(x);for(var u=o.length-1;u>=0;u--)r.removeAttribute(o[u].name);r.save(x)})}var d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function t(r){return r.replace(/^\d/,"___$&").replace(d,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var r="script",o,u,h;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+r+">document.w=window</"+r+'><iframe src="/favicon.ico"></iframe>'),u.close(),o=u.w.frames[0].document,h=o.createElement("div")}catch(y){h=m.createElement("div"),o=m.body}return function(y){var b=[].slice.call(arguments,0);b.unshift(h),o.appendChild(h),h.addBehavior("#default#userData"),h.load(x),y.apply(this,b),o.removeChild(h);return}}},RPvy:function(R,N,e){var A=e("ProS"),f=e("VaxA"),x="sunburstRootToNode";A.registerAction({type:x,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},s);function s(a,n){var i=f.retrieveTargetInfo(p,[x],a);if(i){var d=a.getViewRoot();d&&(p.direction=f.aboveViewRoot(d,i.node)?"rollUp":"drillDown"),a.resetViewRoot(i.node)}}});var m="sunburstHighlight";A.registerAction({type:m,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},s);function s(a,n){var i=f.retrieveTargetInfo(p,[m],a);i&&(p.highlight=i.node)}});var g="sunburstUnhighlight";A.registerAction({type:g,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},s);function s(a,n){p.unhighlight=!0}})},RSch:function(R,N,e){var A=e("IwbS"),f=e("bYtY");function x(p,c,s){A.Group.call(this),this._createPolyline(p,c,s)}var m=x.prototype;m._createPolyline=function(p,c,s){var a=p.getItemLayout(c),n=new A.Polyline({shape:{points:a}});this.add(n),this._updateCommonStl(p,c,s)},m.updateData=function(p,c,s){var a=p.hostModel,n=this.childAt(0),i={shape:{points:p.getItemLayout(c)}};A.updateProps(n,i,a,c),this._updateCommonStl(p,c,s)},m._updateCommonStl=function(p,c,s){var a=this.childAt(0),n=p.getItemModel(c),i=p.getItemVisual(c,"color"),d=s&&s.lineStyle,t=s&&s.hoverLineStyle;(!s||p.hasItemOption)&&(d=n.getModel("lineStyle").getLineStyle(),t=n.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:i},d)),a.hoverStyle=t,A.setHoverStyle(this)},m.updateLayout=function(p,c){var s=this.childAt(0);s.setShape("points",p.getItemLayout(c))},f.inherits(x,A.Group);var g=x;R.exports=g},RXMa:function(R,N,e){var A=e("y+Vt"),f=A.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,g){var p=g.cx,c=g.cy,s=Math.PI*2;m.moveTo(p+g.r,c),m.arc(p,c,g.r,0,s,!1),m.moveTo(p+g.r0,c),m.arc(p,c,g.r0,0,s,!0)}});R.exports=f},RZPm:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("JgUQ")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="FileOutlined";var s=m.forwardRef(c);N.default=s},RlCK:function(R,N,e){var A=e("ProS"),f=e("bYtY");function x(m,g,p){var c={},s=m==="toggleSelected",a;return p.eachComponent("legend",function(n){s&&a!=null?n[a?"select":"unSelect"](g.name):m==="allSelect"||m==="inverseSelect"?n[m]():(n[m](g.name),a=n.isSelected(g.name));var i=n.getData();f.each(i,function(d){var t=d.get("name");if(t===`
|
|
|
`||t==="")return;var l=n.isSelected(t);c.hasOwnProperty(t)?c[t]=c[t]&&l:c[t]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:c}:{name:g.name,selected:c}}A.registerAction("legendToggleSelect","legendselectchanged",f.curry(x,"toggleSelected")),A.registerAction("legendAllSelect","legendselectall",f.curry(x,"allSelect")),A.registerAction("legendInverseSelect","legendinverseselect",f.curry(x,"inverseSelect")),A.registerAction("legendSelect","legendselected",f.curry(x,"select")),A.registerAction("legendUnSelect","legendunselected",f.curry(x,"unSelect"))},RotF:function(R,N,e){R.exports=e("LSTS")},Rx6q:function(R,N){function e(A){var f=A.getRect(),x=A.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:A.getCellWidth(),cellHeight:A.getCellHeight(),rangeInfo:{start:x.start,end:x.end,weeks:x.weeks,dayCount:x.allDay}},api:{coord:function(m,g){return A.dataToPoint(m,g)}}}}R.exports=e},"S/Yl":function(R,N,e){var A=e("Zvw2"),f=e("aX7z"),x=e("+TT/"),m=x.getLayoutRect,g=e("bYtY"),p=g.each;function c(a,n,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(a,n,i),this.model=a}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(a,n,i){var d=this.dimension,t=new A(d,f.createScaleByModel(a),[0,0],a.get("type"),a.get("position")),l=t.type==="category";t.onBand=l&&a.get("boundaryGap"),t.inverse=a.get("inverse"),t.orient=a.get("orient"),a.axis=t,t.model=a,t.coordinateSystem=this,this._axis=t},update:function(a,n){a.eachSeries(function(i){if(i.coordinateSystem===this){var d=i.getData();p(d.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(d,t)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(a,n){this._rect=m({left:a.get("left"),top:a.get("top"),right:a.get("right"),bottom:a.get("bottom"),width:a.get("width"),height:a.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var a=this._rect,n=this._axis,i=n.isHorizontal(),d=i?[0,a.width]:[0,a.height],t=n.reverse?1:0;n.setExtent(d[t],d[1-t]),this._updateAxisTransform(n,i?a.x:a.y)},_updateAxisTransform:function(a,n){var i=a.getExtent(),d=i[0]+i[1],t=a.isHorizontal();a.toGlobalCoord=t?function(l){return l+n}:function(l){return d-l+n},a.toLocalCoord=t?function(l){return l-n}:function(l){return d-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(a){var n=this.getRect(),i=this.getAxis(),d=i.orient;return d==="horizontal"?i.contain(i.toLocalCoord(a[0]))&&a[1]>=n.y&&a[1]<=n.y+n.height:i.contain(i.toLocalCoord(a[1]))&&a[0]>=n.y&&a[0]<=n.y+n.height},pointToData:function(a){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(a[n.orient==="horizontal"?0:1]))]},dataToPoint:function(a){var n=this.getAxis(),i=this.getRect(),d=[],t=n.orient==="horizontal"?0:1;return a instanceof Array&&(a=a[0]),d[t]=n.toGlobalCoord(n.dataToCoord(+a)),d[1-t]=t===0?i.y+i.height/2:i.x+i.width/2,d}};var s=c;R.exports=s},"SA+Z":function(R,N,e){var A=e("wTVA"),f=e("EbDI"),x=e("ZhPi"),m=e("wkBT");function g(p){return A(p)||f(p)||x(p)||m()}R.exports=g,R.exports.default=R.exports,R.exports.__esModule=!0},"SA4+":function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("IwbS"),g=e("zYTA"),p=e("bYtY");function c(i,d,t){var l=i[1]-i[0];d=p.map(d,function(u){return{interval:[(u.interval[0]-i[0])/l,(u.interval[1]-i[0])/l]}});var r=d.length,o=0;return function(u){for(var h=o;h<r;h++){var y=d[h].interval;if(y[0]<=u&&u<=y[1]){o=h;break}}if(h===r)for(var h=o-1;h>=0;h--){var y=d[h].interval;if(y[0]<=u&&u<=y[1]){o=h;break}}return h>=0&&h<r&&t[h]}}function s(i,d){var t=i[1]-i[0];return d=[(d[0]-i[0])/t,(d[1]-i[0])/t],function(l){return l>=d[0]&&l<=d[1]}}function a(i){var d=i.dimensions;return d[0]==="lng"&&d[1]==="lat"}var n=x.extendChartView({type:"heatmap",render:function(i,d,t){var l;d.eachComponent("visualMap",function(o){o.eachTargetSeries(function(u){u===i&&(l=o)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=i.coordinateSystem;r.type==="cartesian2d"||r.type==="calendar"?this._renderOnCartesianAndCalendar(i,t,0,i.getData().count()):a(r)&&this._renderOnGeo(r,i,l,t)},incrementalPrepareRender:function(i,d,t){this.group.removeAll()},incrementalRender:function(i,d,t,l){var r=d.coordinateSystem;r&&this._renderOnCartesianAndCalendar(d,l,i.start,i.end,!0)},_renderOnCartesianAndCalendar:function(i,d,t,l,r){var o=i.coordinateSystem,u,h;if(o.type==="cartesian2d"){var y=o.getAxis("x"),b=o.getAxis("y");u=y.getBandWidth(),h=b.getBandWidth()}for(var E=this.group,v=i.getData(),w="itemStyle",O="emphasis.itemStyle",T="label",S="emphasis.label",C=i.getModel(w).getItemStyle(["color"]),_=i.getModel(O).getItemStyle(),I=i.getModel(T),k=i.getModel(S),F=o.type,B=F==="cartesian2d"?[v.mapDimension("x"),v.mapDimension("y"),v.mapDimension("value")]:[v.mapDimension("time"),v.mapDimension("value")],j=t;j<l;j++){var z;if(F==="cartesian2d"){if(isNaN(v.get(B[2],j)))continue;var M=o.dataToPoint([v.get(B[0],j),v.get(B[1],j)]);z=new m.Rect({shape:{x:Math.floor(Math.round(M[0])-u/2),y:Math.floor(Math.round(M[1])-h/2),width:Math.ceil(u),height:Math.ceil(h)},style:{fill:v.getItemVisual(j,"color"),opacity:v.getItemVisual(j,"opacity")}})}else{if(isNaN(v.get(B[1],j)))continue;z=new m.Rect({z2:1,shape:o.dataToRect([v.get(B[0],j)]).contentShape,style:{fill:v.getItemVisual(j,"color"),opacity:v.getItemVisual(j,"opacity")}})}var U=v.getItemModel(j);v.hasItemOption&&(C=U.getModel(w).getItemStyle(["color"]),_=U.getModel(O).getItemStyle(),I=U.getModel(T),k=U.getModel(S));var P=i.getRawValue(j),H="-";P&&P[2]!=null&&(H=P[2]),m.setLabelStyle(C,_,I,k,{labelFetcher:i,labelDataIndex:j,defaultText:H,isRectText:!0}),z.setStyle(C),m.setHoverStyle(z,v.hasItemOption?_:p.extend({},_)),z.incremental=r,r&&(z.useHoverLayer=!0),E.add(z),v.setItemGraphicEl(j,z)}},_renderOnGeo:function(i,d,t,l){var r=t.targetVisuals.inRange,o=t.targetVisuals.outOfRange,u=d.getData(),h=this._hmLayer||this._hmLayer||new g;h.blurSize=d.get("blurSize"),h.pointSize=d.get("pointSize"),h.minOpacity=d.get("minOpacity"),h.maxOpacity=d.get("maxOpacity");var y=i.getViewRect().clone(),b=i.getRoamTransform();y.applyTransform(b);var E=Math.max(y.x,0),v=Math.max(y.y,0),w=Math.min(y.width+y.x,l.getWidth()),O=Math.min(y.height+y.y,l.getHeight()),T=w-E,S=O-v,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(C,function(B,j,z){var M=i.dataToPoint([B,j]);return M[0]-=E,M[1]-=v,M.push(z),M}),I=t.getExtent(),k=t.type==="visualMap.continuous"?s(I,t.option.range):c(I,t.getPieceList(),t.option.selected);h.update(_,T,S,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},k);var F=new m.Image({style:{width:T,height:S,x:E,y:v,image:h.canvas},silent:!0});this.group.add(F)},dispose:function(){}});R.exports=n},SA8n:function(R,N,e){var A=e("Sj9i"),f=e("QBsz"),x=e("U/Mo"),m=x.getSymbolSize,g=[],p=[],c=[],s=A.quadraticAt,a=f.distSquare,n=Math.abs;function i(t,l,r){for(var o=t[0],u=t[1],h=t[2],y=Infinity,b,E=r*r,v=.1,w=.1;w<=.9;w+=.1){g[0]=s(o[0],u[0],h[0],w),g[1]=s(o[1],u[1],h[1],w);var O=n(a(g,l)-E);O<y&&(y=O,b=w)}for(var T=0;T<32;T++){var S=b+v;p[0]=s(o[0],u[0],h[0],b),p[1]=s(o[1],u[1],h[1],b),c[0]=s(o[0],u[0],h[0],S),c[1]=s(o[1],u[1],h[1],S);var O=a(p,l)-E;if(n(O)<.01)break;var C=a(c,l)-E;v/=2,O<0?C>=0?b=b+v:b=b-v:C>=0?b=b-v:b=b+v}return b}function d(t,l){var r=[],o=A.quadraticSubdivide,u=[[],[],[]],h=[[],[]],y=[];l/=2,t.eachEdge(function(b,E){var v=b.getLayout(),w=b.getVisual("fromSymbol"),O=b.getVisual("toSymbol");v.__original||(v.__original=[f.clone(v[0]),f.clone(v[1])],v[2]&&v.__original.push(f.clone(v[2])));var T=v.__original;if(v[2]!=null){if(f.copy(u[0],T[0]),f.copy(u[1],T[2]),f.copy(u[2],T[1]),w&&w!=="none"){var S=m(b.node1),C=i(u,T[0],S*l);o(u[0][0],u[1][0],u[2][0],C,r),u[0][0]=r[3],u[1][0]=r[4],o(u[0][1],u[1][1],u[2][1],C,r),u[0][1]=r[3],u[1][1]=r[4]}if(O&&O!=="none"){var S=m(b.node2),C=i(u,T[1],S*l);o(u[0][0],u[1][0],u[2][0],C,r),u[1][0]=r[1],u[2][0]=r[2],o(u[0][1],u[1][1],u[2][1],C,r),u[1][1]=r[1],u[2][1]=r[2]}f.copy(v[0],u[0]),f.copy(v[1],u[2]),f.copy(v[2],u[1])}else{if(f.copy(h[0],T[0]),f.copy(h[1],T[1]),f.sub(y,h[1],h[0]),f.normalize(y,y),w&&w!=="none"){var S=m(b.node1);f.scaleAndAdd(h[0],h[0],y,S*l)}if(O&&O!=="none"){var S=m(b.node2);f.scaleAndAdd(h[1],h[1],y,-S*l)}f.copy(v[0],h[0]),f.copy(v[1],h[1])}})}R.exports=d},SJMd:function(R,N){/**
|
|
|
* @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,A,f,x=!1,m,g;window.PR_SHOULD_USE_CONTINUATION=!0;var p,c;(function(){var s=window,a=["break,continue,do,else,for,if,return,while"],n=[a,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],i=[n,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[i,"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"],t=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[i,"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"],r="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",o=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",h=[a,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],y=[a,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],b=[a,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],E=[d,l,t,o,u,h,y,b],v=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,w="str",O="kwd",T="com",S="typ",C="lit",_="pun",I="pln",k="tag",F="dec",B="src",j="atn",z="atv",M="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function P(Ne){for(var ae=0,ce=!1,le=!1,je=0,Re=Ne.length;je<Re;++je){var Ze=Ne[je];if(Ze.ignoreCase)le=!0;else if(/[a-z]/i.test(Ze.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ce=!0,le=!1;break}}var De={b:8,t:9,n:10,v:11,f:12,r:13};function ne(At){var Me=At.charCodeAt(0);if(Me!==92)return Me;var Ht=At.charAt(1);return Me=De[Ht],Me||("0"<=Ht&&Ht<="7"?parseInt(At.substring(1),8):Ht==="u"||Ht==="x"?parseInt(At.substring(2),16):At.charCodeAt(1))}function he(At){if(At<32)return(At<16?"\\x0":"\\x")+At.toString(16);var Me=String.fromCharCode(At);return Me==="\\"||Me==="-"||Me==="]"||Me==="^"?"\\"+Me:Me}function pe(At){var Me=At.substring(1,At.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")),Ht=[],tt=Me[0]==="^",Mt=["["];tt&&Mt.push("^");for(var jt=tt?1:0,kt=Me.length;jt<kt;++jt){var Tt=Me[jt];if(/\\[bdsw]/i.test(Tt))Mt.push(Tt);else{var Dt=ne(Tt),Ue;jt+2<kt&&Me[jt+1]==="-"?(Ue=ne(Me[jt+2]),jt+=2):Ue=Dt,Ht.push([Dt,Ue]),Ue<65||Dt>122||(Ue<65||Dt>90||Ht.push([Math.max(65,Dt)|32,Math.min(Ue,90)|32]),Ue<97||Dt>122||Ht.push([Math.max(97,Dt)&~32,Math.min(Ue,122)&~32]))}}Ht.sort(function(Be,J){return Be[0]-J[0]||J[1]-Be[1]});for(var G=[],Y=[],jt=0;jt<Ht.length;++jt){var Pe=Ht[jt];Pe[0]<=Y[1]+1?Y[1]=Math.max(Y[1],Pe[1]):G.push(Y=Pe)}for(var jt=0;jt<G.length;++jt){var Pe=G[jt];Mt.push(he(Pe[0])),Pe[1]>Pe[0]&&(Pe[1]+1>Pe[0]&&Mt.push("-"),Mt.push(he(Pe[1])))}return Mt.push("]"),Mt.join("")}function Xe(At){for(var Me=At.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")),Ht=Me.length,tt=[],Mt=0,jt=0;Mt<Ht;++Mt){var kt=Me[Mt];if(kt==="(")++jt;else if(kt.charAt(0)==="\\"){var Tt=+kt.substring(1);Tt&&(Tt<=jt?tt[Tt]=-1:Me[Mt]=he(Tt))}}for(var Mt=1;Mt<tt.length;++Mt)tt[Mt]===-1&&(tt[Mt]=++ae);for(var Mt=0,jt=0;Mt<Ht;++Mt){var kt=Me[Mt];if(kt==="(")++jt,tt[jt]||(Me[Mt]="(?:");else if(kt.charAt(0)==="\\"){var Tt=+kt.substring(1);Tt&&Tt<=jt&&(Me[Mt]="\\"+tt[Tt])}}for(var Mt=0;Mt<Ht;++Mt)Me[Mt]==="^"&&Me[Mt+1]!=="^"&&(Me[Mt]="");if(At.ignoreCase&&ce)for(var Mt=0;Mt<Ht;++Mt){var kt=Me[Mt],Dt=kt.charAt(0);kt.length>=2&&Dt==="["?Me[Mt]=pe(kt):Dt!=="\\"&&(Me[Mt]=kt.replace(/[a-zA-Z]/g,function(Y){var Pe=Y.charCodeAt(0);return"["+String.fromCharCode(Pe&~32,Pe|32)+"]"}))}return Me.join("")}for(var lt=[],je=0,Re=Ne.length;je<Re;++je){var Ze=Ne[je];if(Ze.global||Ze.multiline)throw new Error(""+Ze);lt.push("(?:"+Xe(Ze)+")")}return new RegExp(lt.join("|"),le?"gi":"g")}function H(Ne,ae){var ce=/(?:^|\s)nocode(?:\s|$)/,le=[],je=0,Re=[],Ze=0;function De(ne){var he=ne.nodeType;if(he==1){if(ce.test(ne.className))return;for(var pe=ne.firstChild;pe;pe=pe.nextSibling)De(pe);var Xe=ne.nodeName.toLowerCase();(Xe==="br"||Xe==="li")&&(le[Ze]=`
|
|
|
`,Re[Ze<<1]=je++,Re[Ze++<<1|1]=ne)}else if(he==3||he==4){var lt=ne.nodeValue;lt.length&&(ae?lt=lt.replace(/\r\n?/g,`
|
|
|
`):lt=lt.replace(/[ \t\r\n]+/g," "),le[Ze]=lt,Re[Ze<<1]=je,je+=lt.length,Re[Ze++<<1|1]=ne)}}return De(Ne),{sourceCode:le.join("").replace(/\n$/,""),spans:Re}}function W(Ne,ae,ce,le,je){if(!ce)return;var Re={sourceNode:Ne,pre:1,langExtension:null,numberLines:null,sourceCode:ce,spans:null,basePos:ae,decorations:null};le(Re),je.push.apply(je,Re.decorations)}var X=/\S/;function K(Ne){for(var ae=void 0,ce=Ne.firstChild;ce;ce=ce.nextSibling){var le=ce.nodeType;ae=le===1?ae?Ne:ce:le===3&&X.test(ce.nodeValue)?Ne:ae}return ae===Ne?void 0:ae}function $(Ne,ae){var ce={},le;(function(){for(var Ze=Ne.concat(ae),De=[],ne={},he=0,pe=Ze.length;he<pe;++he){var Xe=Ze[he],lt=Xe[3];if(lt)for(var At=lt.length;--At>=0;)ce[lt.charAt(At)]=Xe;var Me=Xe[1],Ht=""+Me;ne.hasOwnProperty(Ht)||(De.push(Me),ne[Ht]=null)}De.push(/[\0-\uffff]/),le=P(De)})();var je=ae.length,Re=function Ze(De){for(var ne=De.sourceCode,he=De.basePos,pe=De.sourceNode,Xe=[he,I],lt=0,At=ne.match(le)||[],Me={},Ht=0,tt=At.length;Ht<tt;++Ht){var Mt=At[Ht],jt=Me[Mt],kt=void 0,Tt;if(typeof jt=="string")Tt=!1;else{var Dt=ce[Mt.charAt(0)];if(Dt)kt=Mt.match(Dt[1]),jt=Dt[0];else{for(var Ue=0;Ue<je;++Ue)if(Dt=ae[Ue],kt=Mt.match(Dt[1]),kt){jt=Dt[0];break}kt||(jt=I)}Tt=jt.length>=5&&jt.substring(0,5)==="lang-",Tt&&!(kt&&typeof kt[1]=="string")&&(Tt=!1,jt=B),Tt||(Me[Mt]=jt)}var G=lt;if(lt+=Mt.length,!Tt)Xe.push(he+G,jt);else{var Y=kt[1],Pe=Mt.indexOf(Y),Be=Pe+Y.length;kt[2]&&(Be=Mt.length-kt[2].length,Pe=Be-Y.length);var J=jt.substring(5);W(pe,he+G,Mt.substring(0,Pe),Ze,Xe),W(pe,he+G+Pe,Y,Qe(J,Y),Xe),W(pe,he+G+Be,Mt.substring(Be),Ze,Xe)}}De.decorations=Xe};return Re}function ie(Ne){var ae=[],ce=[];Ne.tripleQuotedStrings?ae.push([w,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Ne.multiLineStrings?ae.push([w,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):ae.push([w,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Ne.verbatimStrings&&ce.push([w,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var le=Ne.hashComments;le&&(Ne.cStyleComments?(le>1?ae.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):ae.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ce.push([w,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):ae.push([T,/^#[^\r\n]*/,null,"#"])),Ne.cStyleComments&&(ce.push([T,/^\/\/[^\r\n]*/,null]),ce.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var je=Ne.regexLiterals;if(je){var Re=je>1?"":`
|
|
|
\r`,Ze=Re?".":"[\\S\\s]",De="/(?=[^/*"+Re+"])(?:[^/\\x5B\\x5C"+Re+"]|\\x5C"+Ze+"|\\x5B(?:[^\\x5C\\x5D"+Re+"]|\\x5C"+Ze+")*(?:\\x5D|$))+/";ce.push(["lang-regex",RegExp("^"+U+"("+De+")")])}var ne=Ne.types;ne&&ce.push([S,ne]);var he=(""+Ne.keywords).replace(/^ | $/g,"");he.length&&ce.push([O,new RegExp("^(?:"+he.replace(/[\s,]+/g,"|")+")\\b"),null]),ae.push([I,/^\s+/,null,` \r
|
|
|
\xA0`]);var pe="^.[^\\s\\w.$@'\"`/\\\\]*";return Ne.regexLiterals&&(pe+="(?!s*/)"),ce.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[I,/^[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"],[I,/^\\[\s\S]?/,null],[_,new RegExp(pe),null]),$(ae,ce)}var be=ie({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function te(Ne,ae,ce){for(var le=/(?:^|\s)nocode(?:\s|$)/,je=/\r\n?|\n/,Re=Ne.ownerDocument,Ze=Re.createElement("li");Ne.firstChild;)Ze.appendChild(Ne.firstChild);var De=[Ze];function ne(Me){var Ht=Me.nodeType;if(Ht==1&&!le.test(Me.className))if(Me.nodeName==="br")he(Me),Me.parentNode&&Me.parentNode.removeChild(Me);else for(var tt=Me.firstChild;tt;tt=tt.nextSibling)ne(tt);else if((Ht==3||Ht==4)&&ce){var Mt=Me.nodeValue,jt=Mt.match(je);if(jt){var kt=Mt.substring(0,jt.index);Me.nodeValue=kt;var Tt=Mt.substring(jt.index+jt[0].length);if(Tt){var Dt=Me.parentNode;Dt.insertBefore(Re.createTextNode(Tt),Me.nextSibling)}he(Me),kt||Me.parentNode.removeChild(Me)}}}function he(Me){for(;!Me.nextSibling;)if(Me=Me.parentNode,!Me)return;function Ht(jt,kt){var Tt=kt?jt.cloneNode(!1):jt,Dt=jt.parentNode;if(Dt){var Ue=Ht(Dt,1),G=jt.nextSibling;Ue.appendChild(Tt);for(var Y=G;Y;Y=G)G=Y.nextSibling,Ue.appendChild(Y)}return Tt}for(var tt=Ht(Me.nextSibling,0),Mt;(Mt=tt.parentNode)&&Mt.nodeType===1;)tt=Mt;De.push(tt)}for(var pe=0;pe<De.length;++pe)ne(De[pe]);ae===(ae|0)&&De[0].setAttribute("value",ae);var Xe=Re.createElement("ol");Xe.className="linenums";for(var lt=Math.max(0,ae-1|0)||0,pe=0,At=De.length;pe<At;++pe)Ze=De[pe],Ze.className="L"+(pe+lt)%10,Ze.firstChild||Ze.appendChild(Re.createTextNode("\xA0")),Xe.appendChild(Ze);Ne.appendChild(Xe)}function Te(Ne){var ae=/\bMSIE\s(\d+)/.exec(navigator.userAgent);ae=ae&&+ae[1]<=8;var ce=/\n/g,le=Ne.sourceCode,je=le.length,Re=0,Ze=Ne.spans,De=Ze.length,ne=0,he=Ne.decorations,pe=he.length,Xe=0;he[pe]=je;var lt,At;for(At=lt=0;At<pe;)he[At]!==he[At+2]?(he[lt++]=he[At++],he[lt++]=he[At++]):At+=2;for(pe=lt,At=lt=0;At<pe;){for(var Me=he[At],Ht=he[At+1],tt=At+2;tt+2<=pe&&he[tt+1]===Ht;)tt+=2;he[lt++]=Me,he[lt++]=Ht,At=tt}pe=he.length=lt;var Mt=Ne.sourceNode,jt="";Mt&&(jt=Mt.style.display,Mt.style.display="none");try{for(var kt=null;ne<De;){var Tt=Ze[ne],Dt=Ze[ne+2]||je,Ue=he[Xe+2]||je,tt=Math.min(Dt,Ue),G=Ze[ne+1],Y;if(G.nodeType!==1&&(Y=le.substring(Re,tt))){ae&&(Y=Y.replace(ce,"\r")),G.nodeValue=Y;var Pe=G.ownerDocument,Be=Pe.createElement("span");Be.className=he[Xe+1];var J=G.parentNode;J.replaceChild(Be,G),Be.appendChild(G),Re<Dt&&(Ze[ne+1]=G=Pe.createTextNode(le.substring(tt,Dt)),J.insertBefore(G,Be.nextSibling))}Re=tt,Re>=Dt&&(ne+=2),Re>=Ue&&(Xe+=2)}}finally{Mt&&(Mt.style.display=jt)}}var Ie={};function Fe(Ne,ae){for(var ce=ae.length;--ce>=0;){var le=ae[ce];Ie.hasOwnProperty(le)?s.console&&console.warn("cannot override language handler %s",le):Ie[le]=Ne}}function Qe(Ne,ae){return Ne&&Ie.hasOwnProperty(Ne)||(Ne=/^\s*</.test(ae)?"default-markup":"default-code"),Ie[Ne]}Fe(be,["default-code"]),Fe($([],[[I,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[_,/^(?:<[%?]|[%?]>)/],["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"]),Fe($([[I,/^[\s]+/,null,` \r
|
|
|
`],[z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[k,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[_,/^[=<>\/]+/],["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"]),Fe($([],[[z,/^[\s\S]+/]]),["uq.val"]),Fe(ie({keywords:d,hashComments:!0,cStyleComments:!0,types:v}),["c","cc","cpp","cxx","cyc","m"]),Fe(ie({keywords:"null,true,false"}),["json"]),Fe(ie({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:v}),["cs"]),Fe(ie({keywords:t,cStyleComments:!0}),["java"]),Fe(ie({keywords:b,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Fe(ie({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Fe(ie({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Fe(ie({keywords:y,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Fe(ie({keywords:o,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Fe(ie({keywords:r,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Fe($([],[[w,/^[\s\S]+/]]),["regex"]);function fe(Ne){var ae=Ne.langExtension;try{var ce=H(Ne.sourceNode,Ne.pre),le=ce.sourceCode;Ne.sourceCode=le,Ne.spans=ce.spans,Ne.basePos=0,Qe(ae,le)(Ne),Te(Ne)}catch(je){s.console&&console.log(je&&je.stack||je)}}function He(Ne,ae,ce){var le=ce||!1,je=ae||null,Re=document.createElement("div");Re.innerHTML="<pre>"+Ne+"</pre>",Re=Re.firstChild,le&&te(Re,le,!0);var Ze={langExtension:je,numberLines:le,sourceNode:Re,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return fe(Ze),Re.innerHTML}function se(Ne,ae){var ce=ae||document.body,le=ce.ownerDocument||document;function je(Tt){return ce.getElementsByTagName(Tt)}for(var Re=[je("pre"),je("code"),je("xmp")],Ze=[],De=0;De<Re.length;++De)for(var ne=0,he=Re[De].length;ne<he;++ne)Ze.push(Re[De][ne]);Re=null;var pe=Date;pe.now||(pe={now:function(){return+new Date}});var Xe=0,lt=/\blang(?:uage)?-([\w.]+)(?!\S)/,At=/\bprettyprint\b/,Me=/\bprettyprinted\b/,Ht=/pre|xmp/i,tt=/^code$/i,Mt=/^(?:pre|code|xmp)$/i,jt={};function kt(){for(var Tt=s.PR_SHOULD_USE_CONTINUATION?pe.now()+250:Infinity;Xe<Ze.length&&pe.now()<Tt;Xe++){for(var Dt=Ze[Xe],Ue=jt,G=Dt;G=G.previousSibling;){var Y=G.nodeType,Pe=(Y===7||Y===8)&&G.nodeValue;if(Pe?!/^\??prettify\b/.test(Pe):Y!==3||/\S/.test(G.nodeValue))break;if(Pe){Ue={},Pe.replace(/\b(\w+)=([\w:.%+-]+)/g,function(we,Ke,Je){Ue[Ke]=Je});break}}var Be=Dt.className;if((Ue!==jt||At.test(Be))&&!Me.test(Be)){for(var J=!1,St=Dt.parentNode;St;St=St.parentNode){var bt=St.tagName;if(Mt.test(bt)&&St.className&&At.test(St.className)){J=!0;break}}if(!J){Dt.className+=" prettyprinted";var nt=Ue.lang;if(!nt){nt=Be.match(lt);var Rt;!nt&&(Rt=K(Dt))&&tt.test(Rt.tagName)&&(nt=Rt.className.match(lt)),nt&&(nt=nt[1])}var zt;if(Ht.test(Dt.tagName))zt=1;else{var Fr=Dt.currentStyle,Jt=le.defaultView,ge=Fr?Fr.whiteSpace:Jt&&Jt.getComputedStyle?Jt.getComputedStyle(Dt,null).getPropertyValue("white-space"):0;zt=ge&&ge.substring(0,3)==="pre"}var ye=Ue.linenums;(ye=ye==="true"||+ye)||(ye=Be.match(/\blinenums\b(?::(\d+))?/),ye=ye?ye[1]&&ye[1].length?+ye[1]:!0:!1),ye&&te(Dt,ye,zt);var Le={langExtension:nt,sourceNode:Dt,numberLines:ye,pre:zt,sourceCode:null,basePos:null,spans:null,decorations:null};fe(Le)}}}Xe<Ze.length?s.setTimeout(kt,250):typeof Ne=="function"&&Ne()}kt()}var Ce=s.PR={createSimpleLexer:$,registerLangHandler:Fe,sourceDecorator:ie,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:z,PR_COMMENT:T,PR_DECLARATION:F,PR_KEYWORD:O,PR_LITERAL:C,PR_NOCODE:M,PR_PLAIN:I,PR_PUNCTUATION:_,PR_SOURCE:B,PR_STRING:w,PR_TAG:k,PR_TYPE:S,prettyPrintOne:x?s.prettyPrintOne=He:p=He,prettyPrint:c=x?s.prettyPrint=se:c=se},mt=s.define;typeof mt=="function"&&mt.amd&&mt("google-code-prettify",[],function(){return Ce})})()},SKnc:function(R,N,e){var A=e("bYtY"),f=e("QuXc"),x=function(p,c,s,a,n,i){this.x=p==null?0:p,this.y=c==null?0:c,this.x2=s==null?1:s,this.y2=a==null?0:a,this.type="linear",this.global=i||!1,f.call(this,n)};x.prototype={constructor:x},A.inherits(x,f);var m=x;R.exports=m},"SKx+":function(R,N,e){var A=e("ProS"),f=A.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}}}),x=f;R.exports=x},SMc4:function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("nkfE"),m=e("ICMv"),g=f.extend({type:"cartesian2dAxis",axis:null,init:function(){g.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){g.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){g.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function p(a,n){return n.type||(n.data?"category":"value")}A.merge(g.prototype,m);var c={offset:0};x("x",g,p,c),x("y",g,p,c);var s=g;R.exports=s},SRve:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},SUKs:function(R,N,e){var A=e("LPTA"),f=A.debugMode,x=function(){};f===1&&(x=console.error);var m=x;R.exports=m},SZEN:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.clientToElement=A;function A(f,x,m){var g=m.getBoundingClientRect(),p={x:0,y:0};return f<g.left?p.x=0:f>=g.right?p.x=g.width-1:p.x=f-g.left,x<g.top?p.y=0:x>=g.bottom?p.y=g.height-1:p.y=x-g.top,p}},Sdc0:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("q1tI"),p=e("rePB"),c=e("ODXe"),s=e("Ff2n"),a=e("TSYQ"),n=e.n(a),i=e("6cGi"),d=e("4IlW"),t=g.forwardRef(function(O,T){var S,C=O.prefixCls,_=C===void 0?"rc-switch":C,I=O.className,k=O.checked,F=O.defaultChecked,B=O.disabled,j=O.loadingIcon,z=O.checkedChildren,M=O.unCheckedChildren,U=O.onClick,P=O.onChange,H=O.onKeyDown,W=Object(s.a)(O,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),X=Object(i.a)(!1,{value:k,defaultValue:F}),K=Object(c.a)(X,2),$=K[0],ie=K[1];function be(Fe,Qe){var fe=$;return B||(fe=Fe,ie(fe),P==null||P(fe,Qe)),fe}function te(Fe){Fe.which===d.a.LEFT?be(!1,Fe):Fe.which===d.a.RIGHT&&be(!0,Fe),H==null||H(Fe)}function Te(Fe){var Qe=be(!$,Fe);U==null||U(Qe,Fe)}var Ie=n()(_,I,(S={},Object(p.a)(S,"".concat(_,"-checked"),$),Object(p.a)(S,"".concat(_,"-disabled"),B),S));return g.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":$,disabled:B,className:Ie,ref:T,onKeyDown:te,onClick:Te}),j,g.createElement("span",{className:"".concat(_,"-inner")},$?z:M))});t.displayName="Switch";var l=t,r=e("gZBC"),o=e.n(r),u=e("g0mS"),h=e("H84U"),y=e("3Nzz"),b=e("uaoM"),E=function(O,T){var S={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(S[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(S[C[_]]=O[C[_]]);return S},v=g.forwardRef(function(O,T){var S,C=O.prefixCls,_=O.size,I=O.loading,k=O.className,F=k===void 0?"":k,B=O.disabled,j=E(O,["prefixCls","size","loading","className","disabled"]);Object(b.a)("checked"in j||!("value"in j),"Switch","`value` is not a valid prop, do you mean `checked`?");var z=g.useContext(h.b),M=z.getPrefixCls,U=z.direction,P=g.useContext(y.b),H=M("switch",C),W=g.createElement("div",{className:"".concat(H,"-handle")},I&&g.createElement(o.a,{className:"".concat(H,"-loading-icon")})),X=n()(F,(S={},m()(S,"".concat(H,"-small"),(_||P)==="small"),m()(S,"".concat(H,"-loading"),I),m()(S,"".concat(H,"-rtl"),U==="rtl"),S));return g.createElement(u.a,{insertExtraNode:!0},g.createElement(l,f()({},j,{prefixCls:H,className:X,disabled:B||I,ref:T,loadingIcon:W})))});v.__ANT_SWITCH=!0,v.displayName="Switch";var w=N.a=v},SehX:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("2B6p"),m=x.updateCenterAndZoom;A.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(g,p){var c=g.componentType||"series";p.eachComponent({mainType:c,query:g},function(s){var a=s.coordinateSystem;if(a.type!=="geo")return;var n=m(a,g,s.get("scaleLimit"));s.setCenter&&s.setCenter(n.center),s.setZoom&&s.setZoom(n.zoom),c==="series"&&f.each(s.seriesGroup,function(i){i.setCenter(n.center),i.setZoom(n.zoom)})})})},SgGq:function(R,N,e){var A=e("bYtY"),f=e("H6uX"),x=e("YH21"),m=e("pP6R");function g(r){this.pointerChecker,this._zr=r,this._opt={};var o=A.bind,u=o(p,this),h=o(c,this),y=o(s,this),b=o(a,this),E=o(n,this);f.call(this),this.setPointerChecker=function(v){this.pointerChecker=v},this.enable=function(v,w){this.disable(),this._opt=A.defaults(A.clone(w)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),v==null&&(v=!0),(v===!0||v==="move"||v==="pan")&&(r.on("mousedown",u),r.on("mousemove",h),r.on("mouseup",y)),(v===!0||v==="scale"||v==="zoom")&&(r.on("mousewheel",b),r.on("pinch",E))},this.disable=function(){r.off("mousedown",u),r.off("mousemove",h),r.off("mouseup",y),r.off("mousewheel",b),r.off("pinch",E)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}A.mixin(g,f);function p(r){if(x.isMiddleOrRightButtonOnMouseUpDown(r)||r.target&&r.target.draggable)return;var o=r.offsetX,u=r.offsetY;this.pointerChecker&&this.pointerChecker(r,o,u)&&(this._x=o,this._y=u,this._dragging=!0)}function c(r){if(!this._dragging||!t("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var o=r.offsetX,u=r.offsetY,h=this._x,y=this._y,b=o-h,E=u-y;this._x=o,this._y=u,this._opt.preventDefaultMouseMove&&x.stop(r.event),d(this,"pan","moveOnMouseMove",r,{dx:b,dy:E,oldX:h,oldY:y,newX:o,newY:u})}function s(r){x.isMiddleOrRightButtonOnMouseUpDown(r)||(this._dragging=!1)}function a(r){var o=t("zoomOnMouseWheel",r,this._opt),u=t("moveOnMouseWheel",r,this._opt),h=r.wheelDelta,y=Math.abs(h),b=r.offsetX,E=r.offsetY;if(h===0||!o&&!u)return;if(o){var v=y>3?1.4:y>1?1.2:1.1,w=h>0?v:1/v;i(this,"zoom","zoomOnMouseWheel",r,{scale:w,originX:b,originY:E})}if(u){var O=Math.abs(h),T=(h>0?1:-1)*(O>3?.4:O>1?.15:.05);i(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:T,originX:b,originY:E})}}function n(r){if(m.isTaken(this._zr,"globalPan"))return;var o=r.pinchScale>1?1.1:1/1.1;i(this,"zoom",null,r,{scale:o,originX:r.pinchX,originY:r.pinchY})}function i(r,o,u,h,y){r.pointerChecker&&r.pointerChecker(h,y.originX,y.originY)&&(x.stop(h.event),d(r,o,u,h,y))}function d(r,o,u,h,y){y.isAvailableBehavior=A.bind(t,null,u,h),r.trigger(o,y)}function t(r,o,u){var h=u[r];return!r||h&&(!A.isString(h)||o.event[h+"Key"])}var l=g;R.exports=l},SgaC:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var s=p[c];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(g,s.key,s)}}function x(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){A(this,g),this._subrects=0}return x(g,[{key:"decodeRect",value:function(c,s,a,n,i,d,t){if(this._subrects===0){if(i.rQwait("RRE",4+4))return!1;this._subrects=i.rQshift32();var l=i.rQshiftBytes(4);d.fillRect(c,s,a,n,l)}for(;this._subrects>0;){if(i.rQwait("RRE",4+8))return!1;var r=i.rQshiftBytes(4),o=i.rQshift16(),u=i.rQshift16(),h=i.rQshift16(),y=i.rQshift16();d.fillRect(c+o,s+u,h,y,r),this._subrects--}return!0}}]),g}();N.default=m},Sj0X:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("XuBP")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="DownOutlined";var s=m.forwardRef(c);N.default=s},Sj9i:function(R,N,e){var A=e("QBsz"),f=A.create,x=A.distSquare,m=Math.pow,g=Math.sqrt,p=1e-8,c=1e-4,s=g(3),a=1/3,n=f(),i=f(),d=f();function t(C){return C>-p&&C<p}function l(C){return C>p||C<-p}function r(C,_,I,k,F){var B=1-F;return B*B*(B*C+3*F*_)+F*F*(F*k+3*B*I)}function o(C,_,I,k,F){var B=1-F;return 3*(((_-C)*B+2*(I-_)*F)*B+(k-I)*F*F)}function u(C,_,I,k,F,B){var j=k+3*(_-I)-C,z=3*(I-_*2+C),M=3*(_-C),U=C-F,P=z*z-3*j*M,H=z*M-9*j*U,W=M*M-3*z*U,X=0;if(t(P)&&t(H))if(t(z))B[0]=0;else{var K=-M/z;K>=0&&K<=1&&(B[X++]=K)}else{var $=H*H-4*P*W;if(t($)){var ie=H/P,K=-z/j+ie,be=-ie/2;K>=0&&K<=1&&(B[X++]=K),be>=0&&be<=1&&(B[X++]=be)}else if($>0){var te=g($),Te=P*z+1.5*j*(-H+te),Ie=P*z+1.5*j*(-H-te);Te<0?Te=-m(-Te,a):Te=m(Te,a),Ie<0?Ie=-m(-Ie,a):Ie=m(Ie,a);var K=(-z-(Te+Ie))/(3*j);K>=0&&K<=1&&(B[X++]=K)}else{var Fe=(2*P*z-3*j*H)/(2*g(P*P*P)),Qe=Math.acos(Fe)/3,fe=g(P),He=Math.cos(Qe),K=(-z-2*fe*He)/(3*j),be=(-z+fe*(He+s*Math.sin(Qe)))/(3*j),se=(-z+fe*(He-s*Math.sin(Qe)))/(3*j);K>=0&&K<=1&&(B[X++]=K),be>=0&&be<=1&&(B[X++]=be),se>=0&&se<=1&&(B[X++]=se)}}return X}function h(C,_,I,k,F){var B=6*I-12*_+6*C,j=9*_+3*k-3*C-9*I,z=3*_-3*C,M=0;if(t(j)){if(l(B)){var U=-z/B;U>=0&&U<=1&&(F[M++]=U)}}else{var P=B*B-4*j*z;if(t(P))F[0]=-B/(2*j);else if(P>0){var H=g(P),U=(-B+H)/(2*j),W=(-B-H)/(2*j);U>=0&&U<=1&&(F[M++]=U),W>=0&&W<=1&&(F[M++]=W)}}return M}function y(C,_,I,k,F,B){var j=(_-C)*F+C,z=(I-_)*F+_,M=(k-I)*F+I,U=(z-j)*F+j,P=(M-z)*F+z,H=(P-U)*F+U;B[0]=C,B[1]=j,B[2]=U,B[3]=H,B[4]=H,B[5]=P,B[6]=M,B[7]=k}function b(C,_,I,k,F,B,j,z,M,U,P){var H,W=.005,X=Infinity,K,$,ie,be;n[0]=M,n[1]=U;for(var te=0;te<1;te+=.05)i[0]=r(C,I,F,j,te),i[1]=r(_,k,B,z,te),ie=x(n,i),ie<X&&(H=te,X=ie);X=Infinity;for(var Te=0;Te<32&&!(W<c);Te++)K=H-W,$=H+W,i[0]=r(C,I,F,j,K),i[1]=r(_,k,B,z,K),ie=x(i,n),K>=0&&ie<X?(H=K,X=ie):(d[0]=r(C,I,F,j,$),d[1]=r(_,k,B,z,$),be=x(d,n),$<=1&&be<X?(H=$,X=be):W*=.5);return P&&(P[0]=r(C,I,F,j,H),P[1]=r(_,k,B,z,H)),g(X)}function E(C,_,I,k){var F=1-k;return F*(F*C+2*k*_)+k*k*I}function v(C,_,I,k){return 2*((1-k)*(_-C)+k*(I-_))}function w(C,_,I,k,F){var B=C-2*_+I,j=2*(_-C),z=C-k,M=0;if(t(B)){if(l(j)){var U=-z/j;U>=0&&U<=1&&(F[M++]=U)}}else{var P=j*j-4*B*z;if(t(P)){var U=-j/(2*B);U>=0&&U<=1&&(F[M++]=U)}else if(P>0){var H=g(P),U=(-j+H)/(2*B),W=(-j-H)/(2*B);U>=0&&U<=1&&(F[M++]=U),W>=0&&W<=1&&(F[M++]=W)}}return M}function O(C,_,I){var k=C+I-2*_;return k===0?.5:(C-_)/k}function T(C,_,I,k,F){var B=(_-C)*k+C,j=(I-_)*k+_,z=(j-B)*k+B;F[0]=C,F[1]=B,F[2]=z,F[3]=z,F[4]=j,F[5]=I}function S(C,_,I,k,F,B,j,z,M){var U,P=.005,H=Infinity;n[0]=j,n[1]=z;for(var W=0;W<1;W+=.05){i[0]=E(C,I,F,W),i[1]=E(_,k,B,W);var X=x(n,i);X<H&&(U=W,H=X)}H=Infinity;for(var K=0;K<32&&!(P<c);K++){var $=U-P,ie=U+P;i[0]=E(C,I,F,$),i[1]=E(_,k,B,$);var X=x(i,n);if($>=0&&X<H)U=$,H=X;else{d[0]=E(C,I,F,ie),d[1]=E(_,k,B,ie);var be=x(d,n);ie<=1&&be<H?(U=ie,H=be):P*=.5}}return M&&(M[0]=E(C,I,F,U),M[1]=E(_,k,B,U)),g(H)}N.cubicAt=r,N.cubicDerivativeAt=o,N.cubicRootAt=u,N.cubicExtrema=h,N.cubicSubdivide=y,N.cubicProjectPoint=b,N.quadraticAt=E,N.quadraticDerivativeAt=v,N.quadraticRootAt=w,N.quadraticExtremum=O,N.quadraticSubdivide=T,N.quadraticProjectPoint=S},Sp2Z:function(R,N,e){var A=e("3LNs"),f=e("/y7N"),x=e("AVZG"),m=e("Znkb"),g=A.extend({makeElOption:function(n,i,d,t,l){var r=d.axis,o=r.grid,u=t.get("type"),h=p(o,r).getOtherAxis(r).getGlobalExtent(),y=r.toGlobalCoord(r.dataToCoord(i,!0));if(u&&u!=="none"){var b=f.buildElStyle(t),E=c[u](r,y,h);E.style=b,n.graphicKey=E.type,n.pointer=E}var v=x.layout(o.model,d);f.buildCartesianSingleLabelElOption(i,n,v,d,t,l)},getHandleTransform:function(n,i,d){var t=x.layout(i.axis.grid.model,i,{labelInside:!1});return t.labelMargin=d.get("handle.margin"),{position:f.getTransformedPosition(i.axis,n,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(n,i,d,t){var l=d.axis,r=l.grid,o=l.getGlobalExtent(!0),u=p(r,l).getOtherAxis(l).getGlobalExtent(),h=l.dim==="x"?0:1,y=n.position;y[h]+=i[h],y[h]=Math.min(o[1],y[h]),y[h]=Math.max(o[0],y[h]);var b=(u[1]+u[0])/2,E=[b,b];E[h]=y[h];var v=[{verticalAlign:"middle"},{align:"center"}];return{position:y,rotation:n.rotation,cursorPoint:E,tooltipOption:v[h]}}});function p(n,i){var d={};return d[i.dim+"AxisIndex"]=i.index,n.getCartesian(d)}var c={line:function(n,i,d){var t=f.makeLineShape([i,d[0]],[i,d[1]],s(n));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(n,i,d){var t=Math.max(1,n.getBandWidth()),l=d[1]-d[0];return{type:"Rect",shape:f.makeRectShape([i-t/2,d[0]],[t,l],s(n))}}};function s(n){return n.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",g);var a=g;R.exports=a},Sq3C:function(R,N,e){var A=e("sKgW"),f=e("zoYe"),x=e("wy8a"),m=e("quyA"),g=e("Z1HP"),p=e("Em2t"),c=Math.ceil;function s(a,n){n=n===void 0?" ":f(n);var i=n.length;if(i<2)return i?A(n,a):n;var d=A(n,c(a/g(n)));return m(n)?x(p(d),0,a).join(""):d.slice(0,a)}R.exports=s},SqI9:function(R,N,e){var A=e("y+Vt"),f=e("iXp4"),x=A.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(A.prototype.brush),buildPath:function(g,p){var c=p.cx,s=p.cy,a=Math.max(p.r0||0,0),n=Math.max(p.r,0),i=p.startAngle,d=p.endAngle,t=p.clockwise,l=Math.cos(i),r=Math.sin(i);g.moveTo(l*a+c,r*a+s),g.lineTo(l*n+c,r*n+s),g.arc(c,s,n,i,d,!t),g.lineTo(Math.cos(d)*a+c,Math.sin(d)*a+s),a!==0&&g.arc(c,s,a,d,i,t),g.closePath()}});R.exports=x},SrGk:function(R,N,e){var A=e("hydK"),f=A.createElement,x=e("bYtY"),m=e("y+Vt"),g=e("Dagg"),p=e("dqUG"),c=e("P47w"),s=c.path,a=c.image,n=c.text,i="0",d="1";function t(r,o,u,h,y){this._zrId=r,this._svgRoot=o,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=h,this._domName=y||"_dom",this.nextId=0}t.prototype.createElement=f,t.prototype.getDefs=function(r){var o=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?r?(u=o.insertBefore(this.createElement("defs"),o.firstChild),u.contains||(u.contains=function(h){var y=u.children;if(!y)return!1;for(var b=y.length-1;b>=0;--b)if(y[b]===h)return!0;return!1}),u):null:u[0]},t.prototype.update=function(r,o){if(!r)return;var u=this.getDefs(!1);if(r[this._domName]&&u.contains(r[this._domName]))typeof o=="function"&&o(r);else{var h=this.add(r);h&&(r[this._domName]=h)}},t.prototype.addDom=function(r){var o=this.getDefs(!0);o.appendChild(r)},t.prototype.removeDom=function(r){var o=this.getDefs(!1);o&&r[this._domName]&&(o.removeChild(r[this._domName]),r[this._domName]=null)},t.prototype.getDoms=function(){var r=this.getDefs(!1);if(!r)return[];var o=[];return x.each(this._tagNames,function(u){var h=r.getElementsByTagName(u);o=o.concat([].slice.call(h))}),o},t.prototype.markAllUnused=function(){var r=this.getDoms(),o=this;x.each(r,function(u){u[o._markLabel]=i})},t.prototype.markUsed=function(r){r&&(r[this._markLabel]=d)},t.prototype.removeUnused=function(){var r=this.getDefs(!1);if(!r)return;var o=this.getDoms(),u=this;x.each(o,function(h){h[u._markLabel]!==d&&r.removeChild(h)})},t.prototype.getSvgProxy=function(r){return r instanceof m?s:r instanceof g?a:r instanceof p?n:s},t.prototype.getTextSvgElement=function(r){return r.__textSvgEl},t.prototype.getSvgElement=function(r){return r.__svgEl};var l=t;R.exports=l},Swgg:function(R,N,e){var A=e("fc+c"),f=A.extend({type:"dataZoom.select"});R.exports=f},Sxd8:function(R,N,e){var A=e("ZCgT");function f(x){var m=A(x),g=m%1;return m===m?g?m-g:m:0}R.exports=f},T1rO:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},T4UG:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("ItGF"),g=e("7aKB"),p=g.formatTime,c=g.encodeHTML,s=g.addCommas,a=g.getTooltipMarker,n=e("4NO4"),i=e("bLfw"),d=e("5Hur"),t=e("OKJ2"),l=e("+TT/"),r=l.getLayoutParams,o=l.mergeLayoutParam,u=e("9H2F"),h=u.createTask,y=e("D5nY"),b=y.prepareSource,E=y.getSource,v=e("KxfA"),w=v.retrieveRawValue,O=n.makeInner(),T=i.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(M,U,P,H){this.seriesIndex=this.componentIndex,this.dataTask=h({count:_,reset:I}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(M,P),b(this);var W=this.getInitialData(M,P);F(W,this),this.dataTask.context.data=W,O(this).dataBeforeProcessed=W,S(this)},mergeDefaultAndTheme:function(M,U){var P=this.layoutMode,H=P?r(M):{},W=this.subType;i.hasClass(W)&&(W+="Series"),x.merge(M,U.getTheme().get(this.subType)),x.merge(M,this.getDefaultOption()),n.defaultEmphasis(M,"label",["show"]),this.fillDataTextStyle(M.data),P&&o(M,H,P)},mergeOption:function(M,U){M=x.merge(this.option,M,!0),this.fillDataTextStyle(M.data);var P=this.layoutMode;P&&o(this.option,M,P),b(this);var H=this.getInitialData(M,U);F(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,O(this).dataBeforeProcessed=H,S(this)},fillDataTextStyle:function(M){if(M&&!x.isTypedArray(M))for(var U=["show"],P=0;P<M.length;P++)M[P]&&M[P].label&&n.defaultEmphasis(M[P],"label",U)},getInitialData:function(){},appendData:function(M){var U=this.getRawData();U.appendData(M.data)},getData:function(M){var U=j(this);if(U){var P=U.context.data;return M==null?P:P.getLinkedData(M)}else return O(this).data},setData:function(M){var U=j(this);if(U){var P=U.context;P.data!==M&&U.modifyOutputEnd&&U.setOutputEnd(M.count()),P.outputData=M,U!==this.dataTask&&(P.data=M)}O(this).data=M},getSource:function(){return E(this)},getRawData:function(){return O(this).dataBeforeProcessed},getBaseAxis:function(){var M=this.coordinateSystem;return M&&M.getBaseAxis&&M.getBaseAxis()},formatTooltip:function(M,U,P,H){var W=this;H=H||"html";var X=H==="html"?"<br/>":`
|
|
|
`,K=H==="richText",$={},ie=0;function be(Re){var Ze=x.reduce(Re,function(Xe,lt,At){var Me=Te.getDimensionInfo(At);return Xe|=Me&&Me.tooltip!==!1&&Me.displayName!=null},0),De=[];Ie.length?x.each(Ie,function(Xe){ne(w(Te,M,Xe),Xe)}):x.each(Re,ne);function ne(Xe,lt){var At=Te.getDimensionInfo(lt);if(!At||At.otherDims.tooltip===!1)return;var Me=At.type,Ht="sub"+W.seriesIndex+"at"+ie,tt=a({color:He,type:"subItem",renderMode:H,markerId:Ht}),Mt=typeof tt=="string"?tt:tt.content,jt=(Ze?Mt+c(At.displayName||"-")+": ":"")+c(Me==="ordinal"?Xe+"":Me==="time"?U?"":p("yyyy/MM/dd hh:mm:ss",Xe):s(Xe));jt&&De.push(jt),K&&($[Ht]=He,++ie)}var he=Ze?K?`
|
|
|
`:"<br/>":"",pe=he+De.join(he||", ");return{renderMode:H,content:pe,style:$}}function te(Re){return{renderMode:H,content:c(s(Re)),style:$}}var Te=this.getData(),Ie=Te.mapDimension("defaultedTooltip",!0),Fe=Ie.length,Qe=this.getRawValue(M),fe=x.isArray(Qe),He=Te.getItemVisual(M,"color");x.isObject(He)&&He.colorStops&&(He=(He.colorStops[0]||{}).color),He=He||"transparent";var se=Fe>1||fe&&!Fe?be(Qe):te(Fe?w(Te,M,Ie[0]):fe?Qe[0]:Qe),Ce=se.content,mt=W.seriesIndex+"at"+ie,Ne=a({color:He,type:"item",renderMode:H,markerId:mt});$[mt]=He,++ie;var ae=Te.getName(M),ce=this.name;n.isNameSpecified(this)||(ce=""),ce=ce?c(ce)+(U?": ":X):"";var le=typeof Ne=="string"?Ne:Ne.content,je=U?le+ce+Ce:ce+le+(ae?c(ae)+": "+Ce:Ce);return{html:je,markers:$}},isAnimationEnabled:function(){if(m.node)return!1;var M=this.getShallow("animation");return M&&(this.getData().count()>this.getShallow("animationThreshold")&&(M=!1)),M},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(M,U,P){var H=this.ecModel,W=d.getColorFromPalette.call(this,M,U,P);return W||(W=H.getColorFromPalette(M,U,P)),W},coordDimToDataDim:function(M){return this.getRawData().mapDimension(M,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});x.mixin(T,t),x.mixin(T,d);function S(M){var U=M.name;n.isNameSpecified(M)||(M.name=C(M)||U)}function C(M){var U=M.getRawData(),P=U.mapDimension("seriesName",!0),H=[];return x.each(P,function(W){var X=U.getDimensionInfo(W);X.displayName&&H.push(X.displayName)}),H.join(" ")}function _(M){return M.model.getRawData().count()}function I(M){var U=M.model;return U.setData(U.getRawData().cloneShallow()),k}function k(M,U){U.outputData&&M.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function F(M,U){x.each(M.CHANGABLE_METHODS,function(P){M.wrapMethod(P,x.curry(B,U))})}function B(M){var U=j(M);U&&U.setOutputEnd(this.count())}function j(M){var U=(M.ecModel||{}).scheduler,P=U&&U.getPipeline(M.uid);if(P){var H=P.currentTask;if(H){var W=H.agentStubMap;W&&(H=W.get(M.uid))}return H}}var z=T;R.exports=z},T6xi:function(R,N,e){var A=e("YgsL"),f=e("nCxF");function x(m,g,p){var c=g.points,s=g.smooth;if(c&&c.length>=2){if(s&&s!=="spline"){var a=f(c,s,p,g.smoothConstraint);m.moveTo(c[0][0],c[0][1]);for(var n=c.length,i=0;i<(p?n:n-1);i++){var d=a[i*2],t=a[i*2+1],l=c[(i+1)%n];m.bezierCurveTo(d[0],d[1],t[0],t[1],l[0],l[1])}}else{s==="spline"&&(c=A(c,p)),m.moveTo(c[0][0],c[0][1]);for(var i=1,r=c.length;i<r;i++)m.lineTo(c[i][0],c[i][1])}p&&m.closePath()}}N.buildPath=x},TIY9:function(R,N,e){var A=e("bYtY"),f=A.each,x=e("vafp"),m=e("4NO4"),g=m.makeInner,p=e("Mgri"),c=e("F5Ls"),s=e("a9QJ"),a=e("p/La"),n=g(),i={load:function(t,l,r){var o=n(l).parsed;if(o)return o;var u=l.specialAreas||{},h=l.geoJSON,y;try{y=h?x(h,r):[]}catch(b){throw new Error(`Invalid geoJson format
|
|
|
`+b.message)}return p(t,y),f(y,function(b){var E=b.name;c(t,b),s(t,b),a(t,b);var v=u[E];v&&b.transformTo(v.left,v.top,v.width,v.height)}),n(l).parsed={regions:y,boundingRect:d(y)}}};function d(t){for(var l,r=0;r<t.length;r++){var o=t[r].getBoundingRect();l=l||o.clone(),l.union(o)}return l}R.exports=i},TJmX:function(R,N,e){var A=e("zM3Q"),f=["itemStyle","borderColor"],x=["itemStyle","borderColor0"],m=["itemStyle","color"],g=["itemStyle","color0"],p={seriesType:"candlestick",plan:A(),performRawSeries:!0,reset:function(c,s){var a=c.getData();if(a.setVisual({legendSymbol:"roundRect",colorP:d(1,c),colorN:d(-1,c),borderColorP:t(1,c),borderColorN:t(-1,c)}),s.isSeriesFiltered(c))return;var n=c.pipelineContext.large;return!n&&{progress:i};function i(l,r){for(var o;(o=l.next())!=null;){var u=r.getItemModel(o),h=r.getItemLayout(o).sign;r.setItemVisual(o,{color:d(h,u),borderColor:t(h,u)})}}function d(l,r){return r.get(l>0?m:g)}function t(l,r){return r.get(l>0?f:x)}}};R.exports=p},TWL2:function(R,N,e){var A=e("IwbS"),f=e("bYtY"),x=e("6Ic6");function m(a,n){A.Group.call(this);var i=new A.Polygon,d=new A.Polyline,t=new A.Text;this.add(i),this.add(d),this.add(t),this.highDownOnUpdate=function(l,r){r==="emphasis"?(d.ignore=d.hoverIgnore,t.ignore=t.hoverIgnore):(d.ignore=d.normalIgnore,t.ignore=t.normalIgnore)},this.updateData(a,n,!0)}var g=m.prototype,p=["itemStyle","opacity"];g.updateData=function(a,n,i){var d=this.childAt(0),t=a.hostModel,l=a.getItemModel(n),r=a.getItemLayout(n),o=a.getItemModel(n).get(p);o=o==null?1:o,d.useStyle({}),i?(d.setShape({points:r.points}),d.setStyle({opacity:0}),A.initProps(d,{style:{opacity:o}},t,n)):A.updateProps(d,{style:{opacity:o},shape:{points:r.points}},t,n);var u=l.getModel("itemStyle"),h=a.getItemVisual(n,"color");d.setStyle(f.defaults({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),d.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(a,n),A.setHoverStyle(this)},g._updateLabel=function(a,n){var i=this.childAt(1),d=this.childAt(2),t=a.hostModel,l=a.getItemModel(n),r=a.getItemLayout(n),o=r.label,u=a.getItemVisual(n,"color");A.updateProps(i,{shape:{points:o.linePoints||o.linePoints}},t,n),A.updateProps(d,{style:{x:o.x,y:o.y}},t,n),d.attr({rotation:o.rotation,origin:[o.x,o.y],z2:10});var h=l.getModel("label"),y=l.getModel("emphasis.label"),b=l.getModel("labelLine"),E=l.getModel("emphasis.labelLine"),u=a.getItemVisual(n,"color");A.setLabelStyle(d.style,d.hoverStyle={},h,y,{labelFetcher:a.hostModel,labelDataIndex:n,defaultText:a.getName(n),autoColor:u,useInsideStyle:!!o.inside},{textAlign:o.textAlign,textVerticalAlign:o.verticalAlign}),d.ignore=d.normalIgnore=!h.get("show"),d.hoverIgnore=!y.get("show"),i.ignore=i.normalIgnore=!b.get("show"),i.hoverIgnore=!E.get("show"),i.setStyle({stroke:u}),i.setStyle(b.getModel("lineStyle").getLineStyle()),i.hoverStyle=E.getModel("lineStyle").getLineStyle()},f.inherits(m,A.Group);var c=x.extend({type:"funnel",render:function(a,n,i){var d=a.getData(),t=this._data,l=this.group;d.diff(t).add(function(r){var o=new m(d,r);d.setItemGraphicEl(r,o),l.add(o)}).update(function(r,o){var u=t.getItemGraphicEl(o);u.updateData(d,r),l.add(u),d.setItemGraphicEl(r,u)}).remove(function(r){var o=t.getItemGraphicEl(r);l.remove(o)}).execute(),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=c;R.exports=s},TYVI:function(R,N,e){var A=e("5GtS"),f=e("T4UG"),x=f.extend({type:"series.gauge",getInitialData:function(g,p){return A(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=x;R.exports=m},Tghj:function(R,N,e){(function(A){var f;typeof window!="undefined"?f=window.__DEV__:typeof A!="undefined"&&(f=A.__DEV__),typeof f=="undefined"&&(f=!0);var x=f;N.__DEV__=x}).call(this,e("yLpj"))},ThAp:function(R,N,e){var A=e("bYtY"),f=e("5GtS"),x=e("T4UG"),m=e("7aKB"),g=m.encodeHTML,p=m.addCommas,c=e("cCMj"),s=e("KxfA"),a=s.retrieveRawAttr,n=e("W4dC"),i=e("D5nY"),d=i.makeSeriesEncodeForNameBased,t=x.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(r){for(var o=f(this,{coordDimensions:["value"],encodeDefaulter:A.curry(d,this)}),u=o.mapDimension("value"),h=A.createHashMap(),y=[],b=[],E=0,v=o.count();E<v;E++){var w=o.getName(E);h.set(w,!0),y.push({name:w,value:o.get(u,E),selected:a(o,E,"selected")})}var O=n.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return A.each(O.regions,function(T){var S=T.name;h.get(S)||(y.push({name:S}),b.push(S))}),this.updateSelectedMap(y),o.appendValues([],b),o},getHostGeoModel:function(){var r=this.option.geoIndex;return r!=null?this.dependentModels.geo[r]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(r){var o=this.getData();return o.get(o.mapDimension("value"),r)},getRegionModel:function(r){var o=this.getData();return o.getItemModel(o.indexOfName(r))},formatTooltip:function(r){for(var o=this.getData(),u=p(this.getRawValue(r)),h=o.getName(r),y=this.seriesGroup,b=[],E=0;E<y.length;E++){var v=y[E].originalData.indexOfName(h),w=o.mapDimension("value");isNaN(y[E].originalData.get(w,v))||b.push(g(y[E].name))}return b.join(", ")+"<br />"+g(h+" : "+u)},getTooltipPosition:function(r){if(r!=null){var o=this.getData().getName(r),u=this.coordinateSystem,h=u.getRegion(o);return h&&u.dataToPoint(h.center)}},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},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"}});A.mixin(t,c);var l=t;R.exports=l},TkdX:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,g=4;function p(t,l,r){f.Group.call(this);var o=new f.Sector({z2:m});o.seriesIndex=l.seriesIndex;var u=new f.Text({z2:g,silent:t.getModel("label").get("silent")});this.add(o),this.add(u),this.updateData(!0,t,"normal",l,r);function h(){u.ignore=u.hoverIgnore}function y(){u.ignore=u.normalIgnore}this.on("emphasis",h).on("normal",y).on("mouseover",h).on("mouseout",y)}var c=p.prototype;c.updateData=function(t,l,r,o,u){this.node=l,l.piece=this,o=o||this._seriesModel,u=u||this._ecModel;var h=this.childAt(0);h.dataIndex=l.dataIndex;var y=l.getModel(),b=l.getLayout(),E=A.extend({},b);E.label=null;var v=a(l,o,u);d(l,o,v);var w=y.getModel("itemStyle").getItemStyle(),O;if(r==="normal")O=w;else{var T=y.getModel(r+".itemStyle").getItemStyle();O=A.merge(T,w)}O=A.defaults({lineJoin:"bevel",fill:O.fill||v},O),t?(h.setShape(E),h.shape.r=b.r0,f.updateProps(h,{shape:{r:b.r}},o,l.dataIndex),h.useStyle(O)):typeof O.fill=="object"&&O.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(f.updateProps(h,{shape:E},o),h.useStyle(O)):f.updateProps(h,{shape:E,style:O},o),this._updateLabel(o,v,r);var S=y.getShallow("cursor");if(S&&h.attr("cursor",S),t){var C=o.getShallow("highlightPolicy");this._initEvents(h,l,o,C)}this._seriesModel=o||this._seriesModel,this._ecModel=u||this._ecModel,f.setHoverStyle(this)},c.onEmphasis=function(t){var l=this;this.node.hostTree.root.eachNode(function(r){r.piece&&(l.node===r?r.piece.updateData(!1,r,"emphasis"):i(r,l.node,t)?r.piece.childAt(0).trigger("highlight"):t!==x.NONE&&r.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(t,l,r){var o=this.node.getModel(),u=o.getModel("label"),h=r==="normal"||r==="emphasis"?u:o.getModel(r+".label"),y=o.getModel("emphasis.label"),b=A.retrieve(t.getFormattedLabel(this.node.dataIndex,r,null,null,"label"),this.node.name);U("show")===!1&&(b="");var E=this.node.getLayout(),v=h.get("minAngle");v==null&&(v=u.get("minAngle")),v=v/180*Math.PI;var w=E.endAngle-E.startAngle;v!=null&&Math.abs(w)<v&&(b="");var O=this.childAt(1);f.setLabelStyle(O.style,O.hoverStyle||{},u,y,{defaultText:h.getShallow("show")?b:null,autoColor:l,useInsideStyle:!0});var T=(E.startAngle+E.endAngle)/2,S=Math.cos(T),C=Math.sin(T),_,I=U("position"),k=U("distance")||0,F=U("align");I==="outside"?(_=E.r+k,F=T>Math.PI/2?"right":"left"):!F||F==="center"?(_=(E.r+E.r0)/2,F="center"):F==="left"?(_=E.r0+k,T>Math.PI/2&&(F="right")):F==="right"&&(_=E.r-k,T>Math.PI/2&&(F="left")),O.attr("style",{text:b,textAlign:F,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var B=_*S+E.cx,j=_*C+E.cy;O.attr("position",[B,j]);var z=U("rotate"),M=0;z==="radial"?(M=-T,M<-Math.PI/2&&(M+=Math.PI)):z==="tangential"?(M=Math.PI/2-T,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):typeof z=="number"&&(M=z*Math.PI/180),O.attr("rotation",M);function U(P){var H=h.get(P);return H==null?u.get(P):H}},c._initEvents=function(t,l,r,o){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,h=function(){u.onEmphasis(o)},y=function(){u.onNormal()},b=function(){u.onDownplay()},E=function(){u.onHighlight()};r.isAnimationEnabled()&&t.on("mouseover",h).on("mouseout",y).on("emphasis",h).on("normal",y).on("downplay",b).on("highlight",E)},A.inherits(p,f.Group);var s=p;function a(t,l,r){var o=t.getVisual("color"),u=t.getVisual("visualMeta");(!u||u.length===0)&&(o=null);var h=t.getModel("itemStyle").get("color");if(h)return h;if(o)return o;if(t.depth===0)return r.option.color[0];var y=r.option.color.length;return h=r.option.color[n(t)%y],h}function n(t){for(var l=t;l.depth>1;)l=l.parentNode;var r=t.getAncestors()[0];return A.indexOf(r.children,l)}function i(t,l,r){return r===x.NONE?!1:r===x.SELF?t===l:r===x.ANCESTOR?t===l||t.isAncestorOf(l):t===l||t.isDescendantOf(l)}function d(t,l,r){var o=l.getData();o.setItemVisual(t.dataIndex,"color",r)}R.exports=s},Tp9H:function(R,N,e){var A=e("ItGF"),f=e("Kagy"),x=e("IUWy"),m=f.toolbox.saveAsImage;function g(s){this.model=s}g.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()},g.prototype.unusable=!A.canvasSupported;var p=g.prototype;p.onclick=function(s,a){var n=this.model,i=n.get("name")||s.get("title.0.text")||"echarts",d=a.getZr().painter.getType()==="svg",t=d?"svg":n.get("type",!0)||"png",l=a.getConnectedDataURL({type:t,backgroundColor:n.get("backgroundColor",!0)||s.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(typeof MouseEvent=="function"&&!A.browser.ie&&!A.browser.edge){var r=document.createElement("a");r.download=i+"."+t,r.target="_blank",r.href=l;var o=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(o)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(l.split(",")[1]),h=u.length,y=new Uint8Array(h);h--;)y[h]=u.charCodeAt(h);var b=new Blob([y]);window.navigator.msSaveOrOpenBlob(b,i+"."+t)}else{var E=n.get("lang"),v='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(E&&E[0]||"")+'" /></body>',w=window.open();w.document.write(v)}},x.register("saveAsImage",g);var c=g;R.exports=c},"U/Mo":function(R,N){function e(f){var x=f.coordinateSystem;if(x.type!=="view")return 1;var m=f.option.nodeScaleRatio,g=x.scale,p=g&&g[0]||1,c=x.getZoom(),s=(c-1)*m+1;return s/p}function A(f){var x=f.getVisual("symbolSize");return x instanceof Array&&(x=(x[0]+x[1])/2),+x}N.getNodeGlobalScale=e,N.getSymbolSize=A},UADf:function(R,N,e){},UOVi:function(R,N,e){var A=e("bYtY"),f=e("7aKB"),x=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function g(a){return A.indexOf(m,a)>=0}function p(a,n){a=a.slice();var i=A.map(a,f.capitalFirst);n=(n||[]).slice();var d=A.map(n,f.capitalFirst);return function(t,l){A.each(a,function(r,o){for(var u={name:r,capital:i[o]},h=0;h<n.length;h++)u[n[h]]=r+d[h];t.call(l,u)})}}var c=p(x,["axisIndex","axis","index","id"]);function s(a,n,i){return function(r){var o={nodes:[],records:{}};if(n(function(y){o.records[y.name]={}}),!r)return o;l(r,o);var u;do u=!1,a(h);while(u);function h(y){!d(y,o)&&t(y,o)&&(l(y,o),u=!0)}return o};function d(r,o){return A.indexOf(o.nodes,r)>=0}function t(r,o){var u=!1;return n(function(h){A.each(i(r,h)||[],function(y){o.records[h.name][y]&&(u=!0)})}),u}function l(r,o){o.nodes.push(r),n(function(u){A.each(i(r,u)||[],function(h){o.records[u.name][h]=!0})})}}N.isCoordSupported=g,N.createNameEach=p,N.eachAxisDim=c,N.createLinkedNodesFinder=s},Uc92:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},UnoB:function(R,N,e){var A=e("bYtY"),f=e("OELB");function x(p,c){p.eachSeriesByType("themeRiver",function(s){var a=s.getData(),n=s.coordinateSystem,i={},d=n.getRect();i.rect=d;var t=s.get("boundaryGap"),l=n.getAxis();if(i.boundaryGap=t,l.orient==="horizontal"){t[0]=f.parsePercent(t[0],d.height),t[1]=f.parsePercent(t[1],d.height);var r=d.height-t[0]-t[1];m(a,s,r)}else{t[0]=f.parsePercent(t[0],d.width),t[1]=f.parsePercent(t[1],d.width);var o=d.width-t[0]-t[1];m(a,s,o)}a.setLayout("layoutInfo",i)})}function m(p,c,s){if(!p.count())return;for(var a=c.coordinateSystem,n=c.getLayerSeries(),i=p.mapDimension("single"),d=p.mapDimension("value"),t=A.map(n,function(v){return A.map(v.indices,function(w){var O=a.dataToPoint(p.get(i,w));return O[1]=p.get(d,w),O})}),l=g(t),r=l.y0,o=s/l.max,u=n.length,h=n[0].indices.length,y,b=0;b<h;++b){y=r[b]*o,p.setItemLayout(n[0].indices[b],{layerIndex:0,x:t[0][b][0],y0:y,y:t[0][b][1]*o});for(var E=1;E<u;++E)y+=t[E-1][b][1]*o,p.setItemLayout(n[E].indices[b],{layerIndex:E,x:t[E][b][0],y0:y,y:t[E][b][1]*o})}}function g(p){for(var c=p.length,s=p[0].length,a=[],n=[],i=0,d,t={},l=0;l<s;++l){for(var r=0,d=0;r<c;++r)d+=p[r][l][1];d>i&&(i=d),a.push(d)}for(var o=0;o<s;++o)n[o]=(i-a[o])/2;i=0;for(var u=0;u<s;++u){var h=a[u]+n[u];h>i&&(i=h)}return t.y0=n,t.max=i,t}R.exports=x},Urep:function(R,N,e){},V7ic:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("digP")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="FileTwoTone";var s=m.forwardRef(c);N.default=s},VFCP:function(R,N,e){e("dBmv"),e("KamJ")},VPsl:function(R,N){function e(A){A.eachSeriesByType("map",function(f){var x=f.get("color"),m=f.getModel("itemStyle"),g=m.get("areaColor"),p=m.get("color")||x[f.seriesIndex%x.length];f.getData().setVisual({areaColor:g,color:p})})}R.exports=e},VR9l:function(R,N,e){var A=e("KCsZ"),f=A([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),x={getItemStyle:function(m,g){var p=f(this,m,g),c=this.getBorderLineDash();return c&&(p.lineDash=c),p},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};R.exports=x},VSLf:function(R,N,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.decodeUTF8=A,N.encodeUTF8=f;function A(x){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(x))}catch(g){if(g instanceof URIError&&m)return x;throw g}}function f(x){return unescape(encodeURIComponent(x))}},VXYp:function(R,N,e){var A=e("bYtY"),f=e("SgGq"),x=e("iLNv"),m="\0_ec_dataZoom_roams";function g(t,l){var r=s(t),o=l.dataZoomId,u=l.coordId;A.each(r,function(b,E){var v=b.dataZoomInfos;v[o]&&A.indexOf(l.allCoordIds,u)<0&&(delete v[o],b.count--)}),n(r);var h=r[u];h||(h=r[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=a(t,h),h.dispatchAction=A.curry(i,t)),!h.dataZoomInfos[o]&&h.count++,h.dataZoomInfos[o]=l;var y=d(h.dataZoomInfos);h.controller.enable(y.controlType,y.opt),h.controller.setPointerChecker(l.containsPoint),x.createOrUpdate(h,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function p(t,l){var r=s(t);A.each(r,function(o){o.controller.dispose();var u=o.dataZoomInfos;u[l]&&(delete u[l],o.count--)}),n(r)}function c(t){return t.type+"\0_"+t.id}function s(t){var l=t.getZr();return l[m]||(l[m]={})}function a(t,l){var r=new f(t.getZr());return A.each(["pan","zoom","scrollMove"],function(o){r.on(o,function(u){var h=[];A.each(l.dataZoomInfos,function(y){if(!u.isAvailableBehavior(y.dataZoomModel.option))return;var b=(y.getRange||{})[o],E=b&&b(l.controller,u);!y.dataZoomModel.get("disabled",!0)&&E&&h.push({dataZoomId:y.dataZoomId,start:E[0],end:E[1]})}),h.length&&l.dispatchAction(h)})}),r}function n(t){A.each(t,function(l,r){l.count||(l.controller.dispose(),delete t[r])})}function i(t,l){t.dispatchAction({type:"dataZoom",batch:l})}function d(t){var l,r="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return A.each(t,function(h){var y=h.dataZoomModel,b=y.get("disabled",!0)?!1:y.get("zoomLock",!0)?"move":!0;o[r+b]>o[r+l]&&(l=b),u&=y.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}N.register=g,N.unregister=p,N.generateCoordId=c},VaxA:function(R,N,e){var A=e("bYtY");function f(p,c,s){if(p&&A.indexOf(c,p.type)>=0){var a=s.getData().tree.root,n=p.targetNode;if(typeof n=="string"&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var i=p.targetNodeId;if(i!=null&&(n=a.getNodeById(i)))return{node:n}}}function x(p){for(var c=[];p;)p=p.parentNode,p&&c.push(p);return c.reverse()}function m(p,c){var s=x(p);return A.indexOf(s,c)>=0}function g(p,c){for(var s=[];p;){var a=p.dataIndex;s.push({name:p.name,dataIndex:a,value:c.getRawValue(a)}),p=p.parentNode}return s.reverse(),s}N.retrieveTargetInfo=f,N.getPathToRoot=x,N.aboveViewRoot=m,N.wrapTreePathInfo=g},Vi4m:function(R,N,e){var A=e("bYtY");function f(m){m!=null&&A.extend(this,m),this.otherDims={}}var x=f;R.exports=x},Vl3Y:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("J4zp"),m=e.n(x),g=e("lSNA"),p=e.n(g),c=e("q1tI"),s=e("TSYQ"),a=e.n(s),n=e("85Yc"),i=e("H84U"),d=e("BGR+"),t=c.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=c.createContext({updateItemErrors:function(){}}),r=function(St){var bt=Object(d.default)(St,["prefixCls"]);return c.createElement(n.FormProvider,bt)};function o(J){return typeof J=="object"&&J!=null&&J.nodeType===1}function u(J,St){return(!St||J!=="hidden")&&J!=="visible"&&J!=="clip"}function h(J,St){if(J.clientHeight<J.scrollHeight||J.clientWidth<J.scrollWidth){var bt=getComputedStyle(J,null);return u(bt.overflowY,St)||u(bt.overflowX,St)||function(nt){var Rt=function(zt){if(!zt.ownerDocument||!zt.ownerDocument.defaultView)return null;try{return zt.ownerDocument.defaultView.frameElement}catch(Fr){return null}}(nt);return!!Rt&&(Rt.clientHeight<nt.scrollHeight||Rt.clientWidth<nt.scrollWidth)}(J)}return!1}function y(J,St,bt,nt,Rt,zt,Fr,Jt){return zt<J&&Fr>St||zt>J&&Fr<St?0:zt<=J&&Jt<=bt||Fr>=St&&Jt>=bt?zt-J-nt:Fr>St&&Jt<bt||zt<J&&Jt>bt?Fr-St+Rt:0}var b=function(J,St){var bt=window,nt=St.scrollMode,Rt=St.block,zt=St.inline,Fr=St.boundary,Jt=St.skipOverflowHiddenElements,ge=typeof Fr=="function"?Fr:function(Ct){return Ct!==Fr};if(!o(J))throw new TypeError("Invalid target");for(var ye=document.scrollingElement||document.documentElement,Le=[],we=J;o(we)&&ge(we);){if((we=we.parentElement)===ye){Le.push(we);break}we!=null&&we===document.body&&h(we)&&!h(document.documentElement)||we!=null&&h(we,Jt)&&Le.push(we)}for(var Ke=bt.visualViewport?bt.visualViewport.width:innerWidth,Je=bt.visualViewport?bt.visualViewport.height:innerHeight,ut=window.scrollX||pageXOffset,vt=window.scrollY||pageYOffset,_t=J.getBoundingClientRect(),Ut=_t.height,Bt=_t.width,dr=_t.top,Oe=_t.right,xe=_t.bottom,V=_t.left,q=Rt==="start"||Rt==="nearest"?dr:Rt==="end"?xe:dr+Ut/2,ue=zt==="center"?V+Bt/2:zt==="end"?Oe:V,me=[],Ee=0;Ee<Le.length;Ee++){var Ge=Le[Ee],dt=Ge.getBoundingClientRect(),Kt=dt.height,tr=dt.width,wt=dt.top,It=dt.right,Lt=dt.bottom,Nt=dt.left;if(nt==="if-needed"&&dr>=0&&V>=0&&xe<=Je&&Oe<=Ke&&dr>=wt&&xe<=Lt&&V>=Nt&&Oe<=It)return me;var $e=getComputedStyle(Ge),ot=parseInt($e.borderLeftWidth,10),ft=parseInt($e.borderTopWidth,10),ze=parseInt($e.borderRightWidth,10),Ye=parseInt($e.borderBottomWidth,10),qe=0,rt=0,ct="offsetWidth"in Ge?Ge.offsetWidth-Ge.clientWidth-ot-ze:0,st="offsetHeight"in Ge?Ge.offsetHeight-Ge.clientHeight-ft-Ye:0;if(ye===Ge)qe=Rt==="start"?q:Rt==="end"?q-Je:Rt==="nearest"?y(vt,vt+Je,Je,ft,Ye,vt+q,vt+q+Ut,Ut):q-Je/2,rt=zt==="start"?ue:zt==="center"?ue-Ke/2:zt==="end"?ue-Ke:y(ut,ut+Ke,Ke,ot,ze,ut+ue,ut+ue+Bt,Bt),qe=Math.max(0,qe+vt),rt=Math.max(0,rt+ut);else{qe=Rt==="start"?q-wt-ft:Rt==="end"?q-Lt+Ye+st:Rt==="nearest"?y(wt,Lt,Kt,ft,Ye+st,q,q+Ut,Ut):q-(wt+Kt/2)+st/2,rt=zt==="start"?ue-Nt-ot:zt==="center"?ue-(Nt+tr/2)+ct/2:zt==="end"?ue-It+ze+ct:y(Nt,It,tr,ot,ze+ct,ue,ue+Bt,Bt);var et=Ge.scrollLeft,Ft=Ge.scrollTop;q+=Ft-(qe=Math.max(0,Math.min(Ft+qe,Ge.scrollHeight-Kt+st))),ue+=et-(rt=Math.max(0,Math.min(et+rt,Ge.scrollWidth-tr+ct)))}me.push({el:Ge,top:qe,left:rt})}return me};function E(J){return J===Object(J)&&Object.keys(J).length!==0}function v(J,St){St===void 0&&(St="auto");var bt="scrollBehavior"in document.body.style;J.forEach(function(nt){var Rt=nt.el,zt=nt.top,Fr=nt.left;Rt.scroll&&bt?Rt.scroll({top:zt,left:Fr,behavior:St}):(Rt.scrollTop=zt,Rt.scrollLeft=Fr)})}function w(J){return J===!1?{block:"end",inline:"nearest"}:E(J)?J:{block:"start",inline:"nearest"}}function O(J,St){var bt=!J.ownerDocument.documentElement.contains(J);if(E(St)&&typeof St.behavior=="function")return St.behavior(bt?[]:b(J,St));if(bt)return;var nt=w(St);return v(b(J,nt),nt.behavior)}var T=O;function S(J){return J===void 0||J===!1?[]:Array.isArray(J)?J:[J]}function C(J,St){if(!J.length)return;var bt=J.join("_");return St?"".concat(St,"_").concat(bt):bt}function _(J){var St=S(J);return St.join("_")}function I(J){var St=Object(n.useForm)(),bt=m()(St,1),nt=bt[0],Rt=Object(c.useRef)({}),zt=Object(c.useMemo)(function(){return J||f()(f()({},nt),{__INTERNAL__:{itemRef:function(Jt){return function(ge){var ye=_(Jt);ge?Rt.current[ye]=ge:delete Rt.current[ye]}}},scrollToField:function(Jt){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye=S(Jt),Le=C(ye,zt.__INTERNAL__.name),we=Le?document.getElementById(Le):null;we&&T(we,f()({scrollMode:"if-needed",block:"nearest"},ge))},getFieldInstance:function(Jt){var ge=_(Jt);return Rt.current[ge]}})},[J,nt]);return[zt]}var k=e("3Nzz"),F=function(J,St){var bt={};for(var nt in J)Object.prototype.hasOwnProperty.call(J,nt)&&St.indexOf(nt)<0&&(bt[nt]=J[nt]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,nt=Object.getOwnPropertySymbols(J);Rt<nt.length;Rt++)St.indexOf(nt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(J,nt[Rt])&&(bt[nt[Rt]]=J[nt[Rt]]);return bt},B=function(St,bt){var nt,Rt=c.useContext(k.b),zt=c.useContext(i.b),Fr=zt.getPrefixCls,Jt=zt.direction,ge=St.name,ye=St.prefixCls,Le=St.className,we=Le===void 0?"":Le,Ke=St.size,Je=Ke===void 0?Rt:Ke,ut=St.form,vt=St.colon,_t=St.labelAlign,Ut=St.labelCol,Bt=St.wrapperCol,dr=St.hideRequiredMark,Oe=St.layout,xe=Oe===void 0?"horizontal":Oe,V=St.scrollToFirstError,q=St.requiredMark,ue=St.onFinishFailed,me=F(St,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Ee=Object(c.useMemo)(function(){return q!==void 0?q:!dr},[dr,q]),Ge=Fr("form",ye),dt=a()(Ge,(nt={},p()(nt,"".concat(Ge,"-").concat(xe),!0),p()(nt,"".concat(Ge,"-hide-required-mark"),Ee===!1),p()(nt,"".concat(Ge,"-rtl"),Jt==="rtl"),p()(nt,"".concat(Ge,"-").concat(Je),Je),nt),we),Kt=I(ut),tr=m()(Kt,1),wt=tr[0],It=wt.__INTERNAL__;It.name=ge;var Lt=Object(c.useMemo)(function(){return{name:ge,labelAlign:_t,labelCol:Ut,wrapperCol:Bt,vertical:xe==="vertical",colon:vt,requiredMark:Ee,itemRef:It.itemRef}},[ge,_t,Ut,Bt,xe,vt,Ee]);c.useImperativeHandle(bt,function(){return wt});var Nt=function(ot){ue&&ue(ot),V&&ot.errorFields.length&&wt.scrollToField(ot.errorFields[0].name)};return c.createElement(k.a,{size:Je},c.createElement(t.Provider,{value:Lt},c.createElement(n.default,f()({id:ge},me,{onFinishFailed:Nt,form:wt,className:dt}))))},j=c.forwardRef(B),z=j,M=e("cDf5"),U=e.n(M),P=e("RIqP"),H=e.n(P),W=e("Y+p1"),X=e.n(W),K=e("KW7l"),$=e("c+Xe"),ie=e("qrJ5"),be=e("CWQg"),te=e("uaoM"),Te=e("/kpp"),Ie=e("YMnH"),Fe=e("ZvpZ"),Qe=function(St){var bt=St.prefixCls,nt=St.label,Rt=St.htmlFor,zt=St.labelCol,Fr=St.labelAlign,Jt=St.colon,ge=St.required,ye=St.requiredMark,Le=Object(Ie.b)("Form"),we=m()(Le,1),Ke=we[0];return nt?c.createElement(t.Consumer,{key:"label"},function(Je){var ut,vt=Je.vertical,_t=Je.labelAlign,Ut=Je.labelCol,Bt=Je.colon,dr,Oe=zt||Ut||{},xe=Fr||_t,V="".concat(bt,"-item-label"),q=a()(V,xe==="left"&&"".concat(V,"-left"),Oe.className),ue=nt,me=Jt===!0||Bt!==!1&&Jt!==!1,Ee=me&&!vt;Ee&&typeof nt=="string"&&nt.trim()!==""&&(ue=nt.replace(/[:|:]\s*$/,"")),ye==="optional"&&!ge&&(ue=c.createElement(c.Fragment,null,ue,c.createElement("span",{className:"".concat(bt,"-item-optional")},(Ke==null?void 0:Ke.optional)||((dr=Fe.a.Form)===null||dr===void 0?void 0:dr.optional))));var Ge=a()((ut={},p()(ut,"".concat(bt,"-item-required"),ge),p()(ut,"".concat(bt,"-item-required-mark-optional"),ye==="optional"),p()(ut,"".concat(bt,"-item-no-colon"),!me),ut));return c.createElement(Te.a,f()({},Oe,{className:q}),c.createElement("label",{htmlFor:Rt,className:Ge,title:typeof nt=="string"?nt:""},ue))}):null},fe=Qe,He=e("gZBC"),se=e.n(He),Ce=e("kbBi"),mt=e.n(Ce),Ne=e("J84W"),ae=e.n(Ne),ce=e("sKbD"),le=e.n(ce),je=e("YrtM"),Re=e("HTfv"),Ze=e("hkKa");function De(J,St,bt){var nt=c.useRef({errors:J,visible:!!J.length}),Rt=Object(Ze.a)(),zt=function(){var Jt=nt.current.visible,ge=!!J.length,ye=nt.current.errors;nt.current.errors=J,nt.current.visible=ge,Jt!==ge?St(ge):(ye.length!==J.length||ye.some(function(Le,we){return Le!==J[we]}))&&Rt()};return c.useEffect(function(){if(!bt){var Fr=setTimeout(zt,10);return function(){return clearTimeout(Fr)}}},[J]),bt&&zt(),[nt.current.visible,nt.current.errors]}var ne={success:ae.a,warning:le.a,error:mt.a,validating:se.a},he=function(St){var bt=St.prefixCls,nt=St.wrapperCol,Rt=St.children,zt=St.help,Fr=St.errors,Jt=St.onDomErrorVisibleChange,ge=St.hasFeedback,ye=St.validateStatus,Le=St.extra,we=Object(Ze.a)(),Ke="".concat(bt,"-item"),Je=c.useContext(t),ut=nt||Je.wrapperCol||{},vt=a()("".concat(Ke,"-control"),ut.className),_t=De(Fr,function(ue){ue&&Promise.resolve().then(function(){Jt(!0)}),we()},!!zt),Ut=m()(_t,2),Bt=Ut[0],dr=Ut[1];c.useEffect(function(){return function(){Jt(!1)}},[]);var Oe=Object(je.a)(function(){return dr},Bt,function(ue,me){return me}),xe=ye&&ne[ye],V=ge&&xe?c.createElement("span",{className:"".concat(Ke,"-children-icon")},c.createElement(xe,null)):null,q=f()({},Je);return delete q.labelCol,delete q.wrapperCol,c.createElement(t.Provider,{value:q},c.createElement(Te.a,f()({},ut,{className:vt}),c.createElement("div",{className:"".concat(Ke,"-control-input")},c.createElement("div",{className:"".concat(Ke,"-control-input-content")},Rt),V),c.createElement(Re.default,{motionDeadline:500,visible:Bt,motionName:"show-help",onLeaveEnd:function(){Jt(!1)},motionAppear:!0,removeOnLeave:!0},function(ue){var me=ue.className;return c.createElement("div",{className:a()("".concat(Ke,"-explain"),me),key:"help"},Oe.map(function(Ee,Ge){return c.createElement("div",{key:Ge,role:"alert"},Ee)}))}),Le&&c.createElement("div",{className:"".concat(Ke,"-extra")},Le)))},pe=he,Xe=e("0n0R"),lt=e("xEkU"),At=e.n(lt);function Me(J){var St=c.useState(J),bt=m()(St,2),nt=bt[0],Rt=bt[1],zt=Object(c.useRef)(null),Fr=Object(c.useRef)([]),Jt=Object(c.useRef)(!1);c.useEffect(function(){return function(){Jt.current=!0,At.a.cancel(zt.current)}},[]);function ge(ye){if(Jt.current)return;zt.current===null&&(Fr.current=[],zt.current=At()(function(){zt.current=null,Rt(function(Le){var we=Le;return Fr.current.forEach(function(Ke){we=Ke(we)}),we})})),Fr.current.push(ye)}return[nt,ge]}function Ht(){var J=c.useContext(t),St=J.itemRef,bt=c.useRef({});function nt(Rt,zt){var Fr=zt&&U()(zt)==="object"&&zt.ref,Jt=Rt.join("_");return(bt.current.name!==Jt||bt.current.originRef!==Fr)&&(bt.current.name=Jt,bt.current.originRef=Fr,bt.current.ref=Object($.a)(St(Rt),Fr)),bt.current.ref}return nt}var tt=function(J,St){var bt={};for(var nt in J)Object.prototype.hasOwnProperty.call(J,nt)&&St.indexOf(nt)<0&&(bt[nt]=J[nt]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,nt=Object.getOwnPropertySymbols(J);Rt<nt.length;Rt++)St.indexOf(nt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(J,nt[Rt])&&(bt[nt[Rt]]=J[nt[Rt]]);return bt},Mt=Object(be.a)("success","warning","error","validating",""),jt=c.memo(function(J){var St=J.children;return St},function(J,St){return J.value===St.value&&J.update===St.update});function kt(J){return J===null&&Object(te.a)(!1,"Form.Item","`null` is passed as `name` property"),!(J==null)}function Tt(J){var St=J.name,bt=J.fieldKey,nt=J.noStyle,Rt=J.dependencies,zt=J.prefixCls,Fr=J.style,Jt=J.className,ge=J.shouldUpdate,ye=J.hasFeedback,Le=J.help,we=J.rules,Ke=J.validateStatus,Je=J.children,ut=J.required,vt=J.label,_t=J.trigger,Ut=_t===void 0?"onChange":_t,Bt=J.validateTrigger,dr=J.hidden,Oe=tt(J,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),xe=c.useRef(!1),V=c.useContext(i.b),q=V.getPrefixCls,ue=c.useContext(t),me=ue.name,Ee=ue.requiredMark,Ge=c.useContext(l),dt=Ge.updateItemErrors,Kt=c.useState(!!Le),tr=m()(Kt,2),wt=tr[0],It=tr[1],Lt=c.useRef(Ke),Nt=Me({}),$e=m()(Nt,2),ot=$e[0],ft=$e[1],ze=c.useContext(K.b),Ye=ze.validateTrigger,qe=Bt!==void 0?Bt:Ye;function rt(Gr){xe.current||It(Gr)}var ct=kt(St),st=c.useRef([]);c.useEffect(function(){return function(){xe.current=!0,dt(st.current.join("__SPLIT__"),[])}},[]);var et=q("form",zt),Ft=nt?dt:function(Gr,un){ft(function(){var mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return X()(mn[Gr],un)?mn:f()(f()({},mn),p()({},Gr,un))})},Ct=Ht();function ir(Gr,un,mn,_n){var qr,yn;if(nt&&!dr)return Gr;var nn=[];Object.keys(ot).forEach(function(Mr){nn=[].concat(H()(nn),H()(ot[Mr]||[]))});var cr;Le!=null?cr=S(Le):(cr=mn?mn.errors:[],cr=[].concat(H()(cr),H()(nn)));var Pr="";Ke!==void 0?Pr=Ke:(mn==null?void 0:mn.validating)?Pr="validating":((yn=mn==null?void 0:mn.errors)===null||yn===void 0?void 0:yn.length)||nn.length?Pr="error":(mn==null?void 0:mn.touched)&&(Pr="success"),wt&&Le&&(Lt.current=Pr);var Ar=(qr={},p()(qr,"".concat(et,"-item"),!0),p()(qr,"".concat(et,"-item-with-help"),wt||Le),p()(qr,"".concat(Jt),!!Jt),p()(qr,"".concat(et,"-item-has-feedback"),Pr&&ye),p()(qr,"".concat(et,"-item-has-success"),Pr==="success"),p()(qr,"".concat(et,"-item-has-warning"),Pr==="warning"),p()(qr,"".concat(et,"-item-has-error"),Pr==="error"),p()(qr,"".concat(et,"-item-has-error-leave"),!Le&&wt&&Lt.current==="error"),p()(qr,"".concat(et,"-item-is-validating"),Pr==="validating"),p()(qr,"".concat(et,"-item-hidden"),dr),qr);return c.createElement(ie.a,f()({className:a()(Ar),style:Fr,key:"row"},Object(d.default)(Oe,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(fe,f()({htmlFor:un,required:_n,requiredMark:Ee},J,{prefixCls:et})),c.createElement(pe,f()({},J,mn,{errors:cr,prefixCls:et,onDomErrorVisibleChange:rt,validateStatus:Pr}),c.createElement(l.Provider,{value:{updateItemErrors:Ft}},Gr)))}var Xt=typeof Je=="function",_r=c.useRef(0);if(_r.current+=1,!ct&&!Xt&&!Rt)return ir(Je);var Br={};return typeof vt=="string"&&(Br.label=vt),c.createElement(n.Field,f()({},J,{messageVariables:Br,trigger:Ut,validateTrigger:qe,onReset:function(){rt(!1)}}),function(Gr,un,mn){var _n=un.errors,qr=S(St).length&&un?un.name:[],yn=C(qr,me);if(nt){if(st.current=H()(qr),bt){var nn=Array.isArray(bt)?bt:[bt];st.current=[].concat(H()(qr.slice(0,-1)),H()(nn))}dt(st.current.join("__SPLIT__"),_n)}var cr=ut!==void 0?ut:!!(we&&we.some(function(En){if(En&&U()(En)==="object"&&En.required)return!0;if(typeof En=="function"){var Rn=En(mn);return Rn&&Rn.required}return!1})),Pr=f()({},Gr),Ar=null;if(Object(te.a)(!(ge&&Rt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Je)&&ct)Object(te.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Ar=Je;else if(Xt&&(!(ge||Rt)||ct))Object(te.a)(!!(ge||Rt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(te.a)(!ct,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Rt&&!Xt&&!ct)Object(te.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Xe.b)(Je)){Object(te.a)(Je.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Mr=f()(f()({},Je.props),Pr);Mr.id||(Mr.id=yn),Object($.c)(Je)&&(Mr.ref=Ct(qr,Je));var fn=new Set([].concat(H()(S(Ut)),H()(S(qe))));fn.forEach(function(En){Mr[En]=function(){for(var Rn,oi,An,mi,ai,Xr=arguments.length,pn=new Array(Xr),Ln=0;Ln<Xr;Ln++)pn[Ln]=arguments[Ln];(An=Pr[En])===null||An===void 0||(Rn=An).call.apply(Rn,[Pr].concat(pn)),(ai=(mi=Je.props)[En])===null||ai===void 0||(oi=ai).call.apply(oi,[mi].concat(pn))}}),Ar=c.createElement(jt,{value:Pr[J.valuePropName||"value"],update:_r.current},Object(Xe.a)(Je,Mr))}else Xt&&(ge||Rt)&&!ct?Ar=Je(mn):(Object(te.a)(!qr.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Ar=Je);return ir(Ar,yn,un,cr)})}var Dt=Tt,Ue=function(J,St){var bt={};for(var nt in J)Object.prototype.hasOwnProperty.call(J,nt)&&St.indexOf(nt)<0&&(bt[nt]=J[nt]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,nt=Object.getOwnPropertySymbols(J);Rt<nt.length;Rt++)St.indexOf(nt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(J,nt[Rt])&&(bt[nt[Rt]]=J[nt[Rt]]);return bt},G=function(St){var bt=St.children,nt=Ue(St,["children"]);return Object(te.a)(!!nt.name,"Form.List","Miss `name` prop."),c.createElement(n.List,nt,function(Rt,zt){return bt(Rt.map(function(Fr){return f()(f()({},Fr),{fieldKey:Fr.key})}),zt)})},Y=G,Pe=z;Pe.Item=Dt,Pe.List=Y,Pe.useForm=I,Pe.Provider=r,Pe.create=function(){Object(te.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Be=N.a=Pe},VpOo:function(R,N){function e(A,f){var x=f.x,m=f.y,g=f.width,p=f.height,c=f.r,s,a,n,i;g<0&&(x=x+g,g=-g),p<0&&(m=m+p,p=-p),typeof c=="number"?s=a=n=i=c:c instanceof Array?c.length===1?s=a=n=i=c[0]:c.length===2?(s=n=c[0],a=i=c[1]):c.length===3?(s=c[0],a=i=c[1],n=c[2]):(s=c[0],a=c[1],n=c[2],i=c[3]):s=a=n=i=0;var d;s+a>g&&(d=s+a,s*=g/d,a*=g/d),n+i>g&&(d=n+i,n*=g/d,i*=g/d),a+n>p&&(d=a+n,a*=p/d,n*=p/d),s+i>p&&(d=s+i,s*=p/d,i*=p/d),A.moveTo(x+s,m),A.lineTo(x+g-a,m),a!==0&&A.arc(x+g-a,m+a,a,-Math.PI/2,0),A.lineTo(x+g,m+p-n),n!==0&&A.arc(x+g-n,m+p-n,n,0,Math.PI/2),A.lineTo(x+i,m+p),i!==0&&A.arc(x+i,m+p-i,i,Math.PI/2,Math.PI),A.lineTo(x,m+s),s!==0&&A.arc(x+s,m+s,s,Math.PI,Math.PI*1.5)}N.buildPath=e},"VrN/":function(R,N,e){(function(A,f){R.exports=f()})(this,function(){"use strict";var A=navigator.userAgent,f=navigator.platform,x=/gecko\/\d/i.test(A),m=/MSIE \d/.test(A),g=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(A),p=/Edge\/(\d+)/.exec(A),c=m||g||p,s=c&&(m?document.documentMode||6:+(p||g)[1]),a=!p&&/WebKit\//.test(A),n=a&&/Qt\/\d+\.\d+/.test(A),i=!p&&/Chrome\//.test(A),d=/Opera\//.test(A),t=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(A),r=/PhantomJS/.test(A),o=!p&&/AppleWebKit/.test(A)&&/Mobile\/\w+/.test(A),u=/Android/.test(A),h=o||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(A),y=o||/Mac/.test(f),b=/\bCrOS\b/.test(A),E=/win/i.test(f),v=d&&A.match(/Version\/(\d*\.\d*)/);v&&(v=Number(v[1])),v&&v>=15&&(d=!1,a=!0);var w=y&&(n||d&&(v==null||v<12.11)),O=x||c&&s>=9;function T(L){return new RegExp("(^|\\s)"+L+"(?:$|\\s)\\s*")}var S=function(D,Q){var Z=D.className,ee=T(Q).exec(Z);if(ee){var ke=Z.slice(ee.index+ee[0].length);D.className=Z.slice(0,ee.index)+(ke?ee[1]+ke:"")}};function C(L){for(var D=L.childNodes.length;D>0;--D)L.removeChild(L.firstChild);return L}function _(L,D){return C(L).appendChild(D)}function I(L,D,Q,Z){var ee=document.createElement(L);if(Q&&(ee.className=Q),Z&&(ee.style.cssText=Z),typeof D=="string")ee.appendChild(document.createTextNode(D));else if(D)for(var ke=0;ke<D.length;++ke)ee.appendChild(D[ke]);return ee}function k(L,D,Q,Z){var ee=I(L,D,Q,Z);return ee.setAttribute("role","presentation"),ee}var F;document.createRange?F=function(D,Q,Z,ee){var ke=document.createRange();return ke.setEnd(ee||D,Z),ke.setStart(D,Q),ke}:F=function(D,Q,Z){var ee=document.body.createTextRange();try{ee.moveToElementText(D.parentNode)}catch(ke){return ee}return ee.collapse(!0),ee.moveEnd("character",Z),ee.moveStart("character",Q),ee};function B(L,D){if(D.nodeType==3&&(D=D.parentNode),L.contains)return L.contains(D);do if(D.nodeType==11&&(D=D.host),D==L)return!0;while(D=D.parentNode)}function j(){var L;try{L=document.activeElement}catch(D){L=document.body||null}for(;L&&L.shadowRoot&&L.shadowRoot.activeElement;)L=L.shadowRoot.activeElement;return L}function z(L,D){var Q=L.className;T(D).test(Q)||(L.className+=(Q?" ":"")+D)}function M(L,D){for(var Q=L.split(" "),Z=0;Z<Q.length;Z++)Q[Z]&&!T(Q[Z]).test(D)&&(D+=" "+Q[Z]);return D}var U=function(D){D.select()};o?U=function(D){D.selectionStart=0,D.selectionEnd=D.value.length}:c&&(U=function(D){try{D.select()}catch(Q){}});function P(L){var D=Array.prototype.slice.call(arguments,1);return function(){return L.apply(null,D)}}function H(L,D,Q){D||(D={});for(var Z in L)L.hasOwnProperty(Z)&&(Q!==!1||!D.hasOwnProperty(Z))&&(D[Z]=L[Z]);return D}function W(L,D,Q,Z,ee){D==null&&(D=L.search(/[^\s\u00a0]/),D==-1&&(D=L.length));for(var ke=Z||0,yt=ee||0;;){var Pt=L.indexOf(" ",ke);if(Pt<0||Pt>=D)return yt+(D-ke);yt+=Pt-ke,yt+=Q-yt%Q,ke=Pt+1}}var X=function(){this.id=null,this.f=null,this.time=0,this.handler=P(this.onTimeout,this)};X.prototype.onTimeout=function(L){L.id=0,L.time<=+new Date?L.f():setTimeout(L.handler,L.time-+new Date)},X.prototype.set=function(L,D){this.f=D;var Q=+new Date+L;(!this.id||Q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,L),this.time=Q)};function K(L,D){for(var Q=0;Q<L.length;++Q)if(L[Q]==D)return Q;return-1}var $=50,ie={toString:function(){return"CodeMirror.Pass"}},be={scroll:!1},te={origin:"*mouse"},Te={origin:"+move"};function Ie(L,D,Q){for(var Z=0,ee=0;;){var ke=L.indexOf(" ",Z);ke==-1&&(ke=L.length);var yt=ke-Z;if(ke==L.length||ee+yt>=D)return Z+Math.min(yt,D-ee);if(ee+=ke-Z,ee+=Q-ee%Q,Z=ke+1,ee>=D)return Z}}var Fe=[""];function Qe(L){for(;Fe.length<=L;)Fe.push(fe(Fe)+" ");return Fe[L]}function fe(L){return L[L.length-1]}function He(L,D){for(var Q=[],Z=0;Z<L.length;Z++)Q[Z]=D(L[Z],Z);return Q}function se(L,D,Q){for(var Z=0,ee=Q(D);Z<L.length&&Q(L[Z])<=ee;)Z++;L.splice(Z,0,D)}function Ce(){}function mt(L,D){var Q;return Object.create?Q=Object.create(L):(Ce.prototype=L,Q=new Ce),D&&H(D,Q),Q}var Ne=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(L){return/\w/.test(L)||L>"\x80"&&(L.toUpperCase()!=L.toLowerCase()||Ne.test(L))}function ce(L,D){return D?D.source.indexOf("\\w")>-1&&ae(L)?!0:D.test(L):ae(L)}function le(L){for(var D in L)if(L.hasOwnProperty(D)&&L[D])return!1;return!0}var je=/[\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 Re(L){return L.charCodeAt(0)>=768&&je.test(L)}function Ze(L,D,Q){for(;(Q<0?D>0:D<L.length)&&Re(L.charAt(D));)D+=Q;return D}function De(L,D,Q){for(var Z=D>Q?-1:1;;){if(D==Q)return D;var ee=(D+Q)/2,ke=Z<0?Math.ceil(ee):Math.floor(ee);if(ke==D)return L(ke)?D:Q;L(ke)?Q=ke:D=ke+Z}}function ne(L,D,Q,Z){if(!L)return Z(D,Q,"ltr",0);for(var ee=!1,ke=0;ke<L.length;++ke){var yt=L[ke];(yt.from<Q&&yt.to>D||D==Q&&yt.to==D)&&(Z(Math.max(yt.from,D),Math.min(yt.to,Q),yt.level==1?"rtl":"ltr",ke),ee=!0)}ee||Z(D,Q,"ltr")}var he=null;function pe(L,D,Q){var Z;he=null;for(var ee=0;ee<L.length;++ee){var ke=L[ee];if(ke.from<D&&ke.to>D)return ee;ke.to==D&&(ke.from!=ke.to&&Q=="before"?Z=ee:he=ee),ke.from==D&&(ke.from!=ke.to&&Q!="before"?Z=ee:he=ee)}return Z!=null?Z:he}var Xe=function(){var L="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",D="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Q(rr){return rr<=247?L.charAt(rr):1424<=rr&&rr<=1524?"R":1536<=rr&&rr<=1785?D.charAt(rr-1536):1774<=rr&&rr<=2220?"r":8192<=rr&&rr<=8203?"w":rr==8204?"b":"L"}var Z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,ke=/[LRr]/,yt=/[Lb1n]/,Pt=/[1n]/;function Zt(rr,hn,Sn){this.level=rr,this.from=hn,this.to=Sn}return function(rr,hn){var Sn=hn=="ltr"?"L":"R";if(rr.length==0||hn=="ltr"&&!Z.test(rr))return!1;for(var Pn=rr.length,zn=[],ci=0;ci<Pn;++ci)zn.push(Q(rr.charCodeAt(ci)));for(var Ti=0,ji=Sn;Ti<Pn;++Ti){var Ui=zn[Ti];Ui=="m"?zn[Ti]=ji:ji=Ui}for(var ra=0,ia=Sn;ra<Pn;++ra){var fa=zn[ra];fa=="1"&&ia=="r"?zn[ra]="n":ke.test(fa)&&(ia=fa,fa=="r"&&(zn[ra]="R"))}for(var ao=1,Qa=zn[0];ao<Pn-1;++ao){var Fo=zn[ao];Fo=="+"&&Qa=="1"&&zn[ao+1]=="1"?zn[ao]="1":Fo==","&&Qa==zn[ao+1]&&(Qa=="1"||Qa=="n")&&(zn[ao]=Qa),Qa=Fo}for(var qo=0;qo<Pn;++qo){var ks=zn[qo];if(ks==",")zn[qo]="N";else if(ks=="%"){var As=void 0;for(As=qo+1;As<Pn&&zn[As]=="%";++As);for(var Zs=qo&&zn[qo-1]=="!"||As<Pn&&zn[As]=="1"?"1":"N",tl=qo;tl<As;++tl)zn[tl]=Zs;qo=As-1}}for(var Is=0,rl=Sn;Is<Pn;++Is){var Ks=zn[Is];rl=="L"&&Ks=="1"?zn[Is]="L":ke.test(Ks)&&(rl=Ks)}for(var Fs=0;Fs<Pn;++Fs)if(ee.test(zn[Fs])){var Ms=void 0;for(Ms=Fs+1;Ms<Pn&&ee.test(zn[Ms]);++Ms);for(var _s=(Fs?zn[Fs-1]:Sn)=="L",Vs=(Ms<Pn?zn[Ms]:Sn)=="L",Cu=_s==Vs?_s?"L":"R":Sn,Rl=Fs;Rl<Ms;++Rl)zn[Rl]=Cu;Fs=Ms-1}for(var Xs=[],ol,Bs=0;Bs<Pn;)if(yt.test(zn[Bs])){var ec=Bs;for(++Bs;Bs<Pn&&yt.test(zn[Bs]);++Bs);Xs.push(new Zt(0,ec,Bs))}else{var ca=Bs,vl=Xs.length,Ml=hn=="rtl"?1:0;for(++Bs;Bs<Pn&&zn[Bs]!="L";++Bs);for(var Ss=ca;Ss<Bs;)if(Pt.test(zn[Ss])){ca<Ss&&(Xs.splice(vl,0,new Zt(1,ca,Ss)),vl+=Ml);var Tu=Ss;for(++Ss;Ss<Bs&&Pt.test(zn[Ss]);++Ss);Xs.splice(vl,0,new Zt(2,Tu,Ss)),vl+=Ml,ca=Ss}else++Ss;ca<Bs&&Xs.splice(vl,0,new Zt(1,ca,Bs))}return hn=="ltr"&&(Xs[0].level==1&&(ol=rr.match(/^\s+/))&&(Xs[0].from=ol[0].length,Xs.unshift(new Zt(0,0,ol[0].length))),fe(Xs).level==1&&(ol=rr.match(/\s+$/))&&(fe(Xs).to-=ol[0].length,Xs.push(new Zt(0,Pn-ol[0].length,Pn)))),hn=="rtl"?Xs.reverse():Xs}}();function lt(L,D){var Q=L.order;return Q==null&&(Q=L.order=Xe(L.text,D)),Q}var At=[],Me=function(D,Q,Z){if(D.addEventListener)D.addEventListener(Q,Z,!1);else if(D.attachEvent)D.attachEvent("on"+Q,Z);else{var ee=D._handlers||(D._handlers={});ee[Q]=(ee[Q]||At).concat(Z)}};function Ht(L,D){return L._handlers&&L._handlers[D]||At}function tt(L,D,Q){if(L.removeEventListener)L.removeEventListener(D,Q,!1);else if(L.detachEvent)L.detachEvent("on"+D,Q);else{var Z=L._handlers,ee=Z&&Z[D];if(ee){var ke=K(ee,Q);ke>-1&&(Z[D]=ee.slice(0,ke).concat(ee.slice(ke+1)))}}}function Mt(L,D){var Q=Ht(L,D);if(!Q.length)return;for(var Z=Array.prototype.slice.call(arguments,2),ee=0;ee<Q.length;++ee)Q[ee].apply(null,Z)}function jt(L,D,Q){return typeof D=="string"&&(D={type:D,preventDefault:function(){this.defaultPrevented=!0}}),Mt(L,Q||D.type,L,D),Y(D)||D.codemirrorIgnore}function kt(L){var D=L._handlers&&L._handlers.cursorActivity;if(!D)return;for(var Q=L.curOp.cursorActivityHandlers||(L.curOp.cursorActivityHandlers=[]),Z=0;Z<D.length;++Z)K(Q,D[Z])==-1&&Q.push(D[Z])}function Tt(L,D){return Ht(L,D).length>0}function Dt(L){L.prototype.on=function(D,Q){Me(this,D,Q)},L.prototype.off=function(D,Q){tt(this,D,Q)}}function Ue(L){L.preventDefault?L.preventDefault():L.returnValue=!1}function G(L){L.stopPropagation?L.stopPropagation():L.cancelBubble=!0}function Y(L){return L.defaultPrevented!=null?L.defaultPrevented:L.returnValue==!1}function Pe(L){Ue(L),G(L)}function Be(L){return L.target||L.srcElement}function J(L){var D=L.which;return D==null&&(L.button&1?D=1:L.button&2?D=3:L.button&4&&(D=2)),y&&L.ctrlKey&&D==1&&(D=3),D}var St=function(){if(c&&s<9)return!1;var L=I("div");return"draggable"in L||"dragDrop"in L}(),bt;function nt(L){if(bt==null){var D=I("span","\u200B");_(L,I("span",[D,document.createTextNode("x")])),L.firstChild.offsetHeight!=0&&(bt=D.offsetWidth<=1&&D.offsetHeight>2&&!(c&&s<8))}var Q=bt?I("span","\u200B"):I("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Q.setAttribute("cm-text",""),Q}var Rt;function zt(L){if(Rt!=null)return Rt;var D=_(L,document.createTextNode("A\u062EA")),Q=F(D,0,1).getBoundingClientRect(),Z=F(D,1,2).getBoundingClientRect();return C(L),!Q||Q.left==Q.right?!1:Rt=Z.right-Q.right<3}var Fr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(L){for(var D=0,Q=[],Z=L.length;D<=Z;){var ee=L.indexOf(`
|
|
|
`,D);ee==-1&&(ee=L.length);var ke=L.slice(D,L.charAt(ee-1)=="\r"?ee-1:ee),yt=ke.indexOf("\r");yt!=-1?(Q.push(ke.slice(0,yt)),D+=yt+1):(Q.push(ke),D=ee+1)}return Q}:function(L){return L.split(/\r\n?|\n/)},Jt=window.getSelection?function(L){try{return L.selectionStart!=L.selectionEnd}catch(D){return!1}}:function(L){var D;try{D=L.ownerDocument.selection.createRange()}catch(Q){}return!D||D.parentElement()!=L?!1:D.compareEndPoints("StartToEnd",D)!=0},ge=function(){var L=I("div");return"oncopy"in L?!0:(L.setAttribute("oncopy","return;"),typeof L.oncopy=="function")}(),ye=null;function Le(L){if(ye!=null)return ye;var D=_(L,I("span","x")),Q=D.getBoundingClientRect(),Z=F(D,0,1).getBoundingClientRect();return ye=Math.abs(Q.left-Z.left)>1}var we={},Ke={};function Je(L,D){arguments.length>2&&(D.dependencies=Array.prototype.slice.call(arguments,2)),we[L]=D}function ut(L,D){Ke[L]=D}function vt(L){if(typeof L=="string"&&Ke.hasOwnProperty(L))L=Ke[L];else if(L&&typeof L.name=="string"&&Ke.hasOwnProperty(L.name)){var D=Ke[L.name];typeof D=="string"&&(D={name:D}),L=mt(D,L),L.name=D.name}else{if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(L))return vt("application/xml");if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(L))return vt("application/json")}return typeof L=="string"?{name:L}:L||{name:"null"}}function _t(L,D){D=vt(D);var Q=we[D.name];if(!Q)return _t(L,"text/plain");var Z=Q(L,D);if(Ut.hasOwnProperty(D.name)){var ee=Ut[D.name];for(var ke in ee){if(!ee.hasOwnProperty(ke))continue;Z.hasOwnProperty(ke)&&(Z["_"+ke]=Z[ke]),Z[ke]=ee[ke]}}if(Z.name=D.name,D.helperType&&(Z.helperType=D.helperType),D.modeProps)for(var yt in D.modeProps)Z[yt]=D.modeProps[yt];return Z}var Ut={};function Bt(L,D){var Q=Ut.hasOwnProperty(L)?Ut[L]:Ut[L]={};H(D,Q)}function dr(L,D){if(D===!0)return D;if(L.copyState)return L.copyState(D);var Q={};for(var Z in D){var ee=D[Z];ee instanceof Array&&(ee=ee.concat([])),Q[Z]=ee}return Q}function Oe(L,D){for(var Q;L.innerMode&&!(Q=L.innerMode(D),!Q||Q.mode==L);)D=Q.state,L=Q.mode;return Q||{mode:L,state:D}}function xe(L,D,Q){return L.startState?L.startState(D,Q):!0}var V=function(D,Q,Z){this.pos=this.start=0,this.string=D,this.tabSize=Q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Z};V.prototype.eol=function(){return this.pos>=this.string.length},V.prototype.sol=function(){return this.pos==this.lineStart},V.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},V.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},V.prototype.eat=function(L){var D=this.string.charAt(this.pos),Q;if(typeof L=="string"?Q=D==L:Q=D&&(L.test?L.test(D):L(D)),Q)return++this.pos,D},V.prototype.eatWhile=function(L){for(var D=this.pos;this.eat(L););return this.pos>D},V.prototype.eatSpace=function(){for(var L=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>L},V.prototype.skipToEnd=function(){this.pos=this.string.length},V.prototype.skipTo=function(L){var D=this.string.indexOf(L,this.pos);if(D>-1)return this.pos=D,!0},V.prototype.backUp=function(L){this.pos-=L},V.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},V.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},V.prototype.match=function(L,D,Q){if(typeof L=="string"){var Z=function(Pt){return Q?Pt.toLowerCase():Pt},ee=this.string.substr(this.pos,L.length);if(Z(ee)==Z(L))return D!==!1&&(this.pos+=L.length),!0}else{var ke=this.string.slice(this.pos).match(L);return ke&&ke.index>0?null:(ke&&D!==!1&&(this.pos+=ke[0].length),ke)}},V.prototype.current=function(){return this.string.slice(this.start,this.pos)},V.prototype.hideFirstChars=function(L,D){this.lineStart+=L;try{return D()}finally{this.lineStart-=L}},V.prototype.lookAhead=function(L){var D=this.lineOracle;return D&&D.lookAhead(L)},V.prototype.baseToken=function(){var L=this.lineOracle;return L&&L.baseToken(this.pos)};function q(L,D){if(D-=L.first,D<0||D>=L.size)throw new Error("There is no line "+(D+L.first)+" in the document.");for(var Q=L;!Q.lines;)for(var Z=0;;++Z){var ee=Q.children[Z],ke=ee.chunkSize();if(D<ke){Q=ee;break}D-=ke}return Q.lines[D]}function ue(L,D,Q){var Z=[],ee=D.line;return L.iter(D.line,Q.line+1,function(ke){var yt=ke.text;ee==Q.line&&(yt=yt.slice(0,Q.ch)),ee==D.line&&(yt=yt.slice(D.ch)),Z.push(yt),++ee}),Z}function me(L,D,Q){var Z=[];return L.iter(D,Q,function(ee){Z.push(ee.text)}),Z}function Ee(L,D){var Q=D-L.height;if(Q)for(var Z=L;Z;Z=Z.parent)Z.height+=Q}function Ge(L){if(L.parent==null)return null;for(var D=L.parent,Q=K(D.lines,L),Z=D.parent;Z;D=Z,Z=Z.parent)for(var ee=0;!(Z.children[ee]==D);++ee)Q+=Z.children[ee].chunkSize();return Q+D.first}function dt(L,D){var Q=L.first;e:do{for(var Z=0;Z<L.children.length;++Z){var ee=L.children[Z],ke=ee.height;if(D<ke){L=ee;continue e}D-=ke,Q+=ee.chunkSize()}return Q}while(!L.lines);for(var yt=0;yt<L.lines.length;++yt){var Pt=L.lines[yt],Zt=Pt.height;if(D<Zt)break;D-=Zt}return Q+yt}function Kt(L,D){return D>=L.first&&D<L.first+L.size}function tr(L,D){return String(L.lineNumberFormatter(D+L.firstLineNumber))}function wt(L,D,Q){if(Q===void 0&&(Q=null),!(this instanceof wt))return new wt(L,D,Q);this.line=L,this.ch=D,this.sticky=Q}function It(L,D){return L.line-D.line||L.ch-D.ch}function Lt(L,D){return L.sticky==D.sticky&&It(L,D)==0}function Nt(L){return wt(L.line,L.ch)}function $e(L,D){return It(L,D)<0?D:L}function ot(L,D){return It(L,D)<0?L:D}function ft(L,D){return Math.max(L.first,Math.min(D,L.first+L.size-1))}function ze(L,D){if(D.line<L.first)return wt(L.first,0);var Q=L.first+L.size-1;return D.line>Q?wt(Q,q(L,Q).text.length):Ye(D,q(L,D.line).text.length)}function Ye(L,D){var Q=L.ch;return Q==null||Q>D?wt(L.line,D):Q<0?wt(L.line,0):L}function qe(L,D){for(var Q=[],Z=0;Z<D.length;Z++)Q[Z]=ze(L,D[Z]);return Q}var rt=function(D,Q){this.state=D,this.lookAhead=Q},ct=function(D,Q,Z,ee){this.state=Q,this.doc=D,this.line=Z,this.maxLookAhead=ee||0,this.baseTokens=null,this.baseTokenPos=1};ct.prototype.lookAhead=function(L){var D=this.doc.getLine(this.line+L);return D!=null&&L>this.maxLookAhead&&(this.maxLookAhead=L),D},ct.prototype.baseToken=function(L){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=L;)this.baseTokenPos+=2;var D=this.baseTokens[this.baseTokenPos+1];return{type:D&&D.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-L}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(L,D,Q){return D instanceof rt?new ct(L,dr(L.mode,D.state),Q,D.lookAhead):new ct(L,dr(L.mode,D),Q)},ct.prototype.save=function(L){var D=L!==!1?dr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new rt(D,this.maxLookAhead):D};function st(L,D,Q,Z){var ee=[L.state.modeGen],ke={};un(L,D.text,L.doc.mode,Q,function(rr,hn){return ee.push(rr,hn)},ke,Z);for(var yt=Q.state,Pt=function(hn){Q.baseTokens=ee;var Sn=L.state.overlays[hn],Pn=1,zn=0;Q.state=!0,un(L,D.text,Sn.mode,Q,function(ci,Ti){for(var ji=Pn;zn<ci;){var Ui=ee[Pn];Ui>ci&&ee.splice(Pn,1,ci,ee[Pn+1],Ui),Pn+=2,zn=Math.min(ci,Ui)}if(!Ti)return;if(Sn.opaque)ee.splice(ji,Pn-ji,ci,"overlay "+Ti),Pn=ji+2;else for(;ji<Pn;ji+=2){var ra=ee[ji+1];ee[ji+1]=(ra?ra+" ":"")+"overlay "+Ti}},ke),Q.state=yt,Q.baseTokens=null,Q.baseTokenPos=1},Zt=0;Zt<L.state.overlays.length;++Zt)Pt(Zt);return{styles:ee,classes:ke.bgClass||ke.textClass?ke:null}}function et(L,D,Q){if(!D.styles||D.styles[0]!=L.state.modeGen){var Z=Ft(L,Ge(D)),ee=D.text.length>L.options.maxHighlightLength&&dr(L.doc.mode,Z.state),ke=st(L,D,Z);ee&&(Z.state=ee),D.stateAfter=Z.save(!ee),D.styles=ke.styles,ke.classes?D.styleClasses=ke.classes:D.styleClasses&&(D.styleClasses=null),Q===L.doc.highlightFrontier&&(L.doc.modeFrontier=Math.max(L.doc.modeFrontier,++L.doc.highlightFrontier))}return D.styles}function Ft(L,D,Q){var Z=L.doc,ee=L.display;if(!Z.mode.startState)return new ct(Z,!0,D);var ke=mn(L,D,Q),yt=ke>Z.first&&q(Z,ke-1).stateAfter,Pt=yt?ct.fromSaved(Z,yt,ke):new ct(Z,xe(Z.mode),ke);return Z.iter(ke,D,function(Zt){Ct(L,Zt.text,Pt);var rr=Pt.line;Zt.stateAfter=rr==D-1||rr%5==0||rr>=ee.viewFrom&&rr<ee.viewTo?Pt.save():null,Pt.nextLine()}),Q&&(Z.modeFrontier=Pt.line),Pt}function Ct(L,D,Q,Z){var ee=L.doc.mode,ke=new V(D,L.options.tabSize,Q);for(ke.start=ke.pos=Z||0,D==""&&ir(ee,Q.state);!ke.eol();)Xt(ee,ke,Q.state),ke.start=ke.pos}function ir(L,D){if(L.blankLine)return L.blankLine(D);if(!L.innerMode)return;var Q=Oe(L,D);if(Q.mode.blankLine)return Q.mode.blankLine(Q.state)}function Xt(L,D,Q,Z){for(var ee=0;ee<10;ee++){Z&&(Z[0]=Oe(L,Q).mode);var ke=L.token(D,Q);if(D.pos>D.start)return ke}throw new Error("Mode "+L.name+" failed to advance stream.")}var _r=function(D,Q,Z){this.start=D.start,this.end=D.pos,this.string=D.current(),this.type=Q||null,this.state=Z};function Br(L,D,Q,Z){var ee=L.doc,ke=ee.mode,yt;D=ze(ee,D);var Pt=q(ee,D.line),Zt=Ft(L,D.line,Q),rr=new V(Pt.text,L.options.tabSize,Zt),hn;for(Z&&(hn=[]);(Z||rr.pos<D.ch)&&!rr.eol();)rr.start=rr.pos,yt=Xt(ke,rr,Zt.state),Z&&hn.push(new _r(rr,yt,dr(ee.mode,Zt.state)));return Z?hn:new _r(rr,yt,Zt.state)}function Gr(L,D){if(L)for(;;){var Q=L.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Q)break;L=L.slice(0,Q.index)+L.slice(Q.index+Q[0].length);var Z=Q[1]?"bgClass":"textClass";D[Z]==null?D[Z]=Q[2]:new RegExp("(?:^|\\s)"+Q[2]+"(?:$|\\s)").test(D[Z])||(D[Z]+=" "+Q[2])}return L}function un(L,D,Q,Z,ee,ke,yt){var Pt=Q.flattenSpans;Pt==null&&(Pt=L.options.flattenSpans);var Zt=0,rr=null,hn=new V(D,L.options.tabSize,Z),Sn,Pn=L.options.addModeClass&&[null];for(D==""&&Gr(ir(Q,Z.state),ke);!hn.eol();){if(hn.pos>L.options.maxHighlightLength?(Pt=!1,yt&&Ct(L,D,Z,hn.pos),hn.pos=D.length,Sn=null):Sn=Gr(Xt(Q,hn,Z.state,Pn),ke),Pn){var zn=Pn[0].name;zn&&(Sn="m-"+(Sn?zn+" "+Sn:zn))}if(!Pt||rr!=Sn){for(;Zt<hn.start;)Zt=Math.min(hn.start,Zt+5e3),ee(Zt,rr);rr=Sn}hn.start=hn.pos}for(;Zt<hn.pos;){var ci=Math.min(hn.pos,Zt+5e3);ee(ci,rr),Zt=ci}}function mn(L,D,Q){for(var Z,ee,ke=L.doc,yt=Q?-1:D-(L.doc.mode.innerMode?1e3:100),Pt=D;Pt>yt;--Pt){if(Pt<=ke.first)return ke.first;var Zt=q(ke,Pt-1),rr=Zt.stateAfter;if(rr&&(!Q||Pt+(rr instanceof rt?rr.lookAhead:0)<=ke.modeFrontier))return Pt;var hn=W(Zt.text,null,L.options.tabSize);(ee==null||Z>hn)&&(ee=Pt-1,Z=hn)}return ee}function _n(L,D){if(L.modeFrontier=Math.min(L.modeFrontier,D),L.highlightFrontier<D-10)return;for(var Q=L.first,Z=D-1;Z>Q;Z--){var ee=q(L,Z).stateAfter;if(ee&&(!(ee instanceof rt)||Z+ee.lookAhead<D)){Q=Z+1;break}}L.highlightFrontier=Math.min(L.highlightFrontier,Q)}var qr=!1,yn=!1;function nn(){qr=!0}function cr(){yn=!0}function Pr(L,D,Q){this.marker=L,this.from=D,this.to=Q}function Ar(L,D){if(L)for(var Q=0;Q<L.length;++Q){var Z=L[Q];if(Z.marker==D)return Z}}function Mr(L,D){for(var Q,Z=0;Z<L.length;++Z)L[Z]!=D&&(Q||(Q=[])).push(L[Z]);return Q}function fn(L,D){L.markedSpans=L.markedSpans?L.markedSpans.concat([D]):[D],D.marker.attachLine(L)}function En(L,D,Q){var Z;if(L)for(var ee=0;ee<L.length;++ee){var ke=L[ee],yt=ke.marker,Pt=ke.from==null||(yt.inclusiveLeft?ke.from<=D:ke.from<D);if(Pt||ke.from==D&&yt.type=="bookmark"&&(!Q||!ke.marker.insertLeft)){var Zt=ke.to==null||(yt.inclusiveRight?ke.to>=D:ke.to>D);(Z||(Z=[])).push(new Pr(yt,ke.from,Zt?null:ke.to))}}return Z}function Rn(L,D,Q){var Z;if(L)for(var ee=0;ee<L.length;++ee){var ke=L[ee],yt=ke.marker,Pt=ke.to==null||(yt.inclusiveRight?ke.to>=D:ke.to>D);if(Pt||ke.from==D&&yt.type=="bookmark"&&(!Q||ke.marker.insertLeft)){var Zt=ke.from==null||(yt.inclusiveLeft?ke.from<=D:ke.from<D);(Z||(Z=[])).push(new Pr(yt,Zt?null:ke.from-D,ke.to==null?null:ke.to-D))}}return Z}function oi(L,D){if(D.full)return null;var Q=Kt(L,D.from.line)&&q(L,D.from.line).markedSpans,Z=Kt(L,D.to.line)&&q(L,D.to.line).markedSpans;if(!Q&&!Z)return null;var ee=D.from.ch,ke=D.to.ch,yt=It(D.from,D.to)==0,Pt=En(Q,ee,yt),Zt=Rn(Z,ke,yt),rr=D.text.length==1,hn=fe(D.text).length+(rr?ee:0);if(Pt)for(var Sn=0;Sn<Pt.length;++Sn){var Pn=Pt[Sn];if(Pn.to==null){var zn=Ar(Zt,Pn.marker);zn?rr&&(Pn.to=zn.to==null?null:zn.to+hn):Pn.to=ee}}if(Zt)for(var ci=0;ci<Zt.length;++ci){var Ti=Zt[ci];if(Ti.to!=null&&(Ti.to+=hn),Ti.from==null){var ji=Ar(Pt,Ti.marker);ji||(Ti.from=hn,rr&&(Pt||(Pt=[])).push(Ti))}else Ti.from+=hn,rr&&(Pt||(Pt=[])).push(Ti)}Pt&&(Pt=An(Pt)),Zt&&Zt!=Pt&&(Zt=An(Zt));var Ui=[Pt];if(!rr){var ra=D.text.length-2,ia;if(ra>0&&Pt)for(var fa=0;fa<Pt.length;++fa)Pt[fa].to==null&&(ia||(ia=[])).push(new Pr(Pt[fa].marker,null,null));for(var ao=0;ao<ra;++ao)Ui.push(ia);Ui.push(Zt)}return Ui}function An(L){for(var D=0;D<L.length;++D){var Q=L[D];Q.from!=null&&Q.from==Q.to&&Q.marker.clearWhenEmpty!==!1&&L.splice(D--,1)}return L.length?L:null}function mi(L,D,Q){var Z=null;if(L.iter(D.line,Q.line+1,function(zn){if(zn.markedSpans)for(var ci=0;ci<zn.markedSpans.length;++ci){var Ti=zn.markedSpans[ci].marker;Ti.readOnly&&(!Z||K(Z,Ti)==-1)&&(Z||(Z=[])).push(Ti)}}),!Z)return null;for(var ee=[{from:D,to:Q}],ke=0;ke<Z.length;++ke)for(var yt=Z[ke],Pt=yt.find(0),Zt=0;Zt<ee.length;++Zt){var rr=ee[Zt];if(It(rr.to,Pt.from)<0||It(rr.from,Pt.to)>0)continue;var hn=[Zt,1],Sn=It(rr.from,Pt.from),Pn=It(rr.to,Pt.to);(Sn<0||!yt.inclusiveLeft&&!Sn)&&hn.push({from:rr.from,to:Pt.from}),(Pn>0||!yt.inclusiveRight&&!Pn)&&hn.push({from:Pt.to,to:rr.to}),ee.splice.apply(ee,hn),Zt+=hn.length-3}return ee}function ai(L){var D=L.markedSpans;if(!D)return;for(var Q=0;Q<D.length;++Q)D[Q].marker.detachLine(L);L.markedSpans=null}function Xr(L,D){if(!D)return;for(var Q=0;Q<D.length;++Q)D[Q].marker.attachLine(L);L.markedSpans=D}function pn(L){return L.inclusiveLeft?-1:0}function Ln(L){return L.inclusiveRight?1:0}function tn(L,D){var Q=L.lines.length-D.lines.length;if(Q!=0)return Q;var Z=L.find(),ee=D.find(),ke=It(Z.from,ee.from)||pn(L)-pn(D);if(ke)return-ke;var yt=It(Z.to,ee.to)||Ln(L)-Ln(D);return yt||D.id-L.id}function $t(L,D){var Q=yn&&L.markedSpans,Z;if(Q)for(var ee=void 0,ke=0;ke<Q.length;++ke)ee=Q[ke],ee.marker.collapsed&&(D?ee.from:ee.to)==null&&(!Z||tn(Z,ee.marker)<0)&&(Z=ee.marker);return Z}function yr(L){return $t(L,!0)}function kr(L){return $t(L,!1)}function gr(L,D){var Q=yn&&L.markedSpans,Z;if(Q)for(var ee=0;ee<Q.length;++ee){var ke=Q[ee];ke.marker.collapsed&&(ke.from==null||ke.from<D)&&(ke.to==null||ke.to>D)&&(!Z||tn(Z,ke.marker)<0)&&(Z=ke.marker)}return Z}function Kr(L,D,Q,Z,ee){var ke=q(L,D),yt=yn&&ke.markedSpans;if(yt)for(var Pt=0;Pt<yt.length;++Pt){var Zt=yt[Pt];if(!Zt.marker.collapsed)continue;var rr=Zt.marker.find(0),hn=It(rr.from,Q)||pn(Zt.marker)-pn(ee),Sn=It(rr.to,Z)||Ln(Zt.marker)-Ln(ee);if(hn>=0&&Sn<=0||hn<=0&&Sn>=0)continue;if(hn<=0&&(Zt.marker.inclusiveRight&&ee.inclusiveLeft?It(rr.to,Q)>=0:It(rr.to,Q)>0)||hn>=0&&(Zt.marker.inclusiveRight&&ee.inclusiveLeft?It(rr.from,Z)<=0:It(rr.from,Z)<0))return!0}}function sn(L){for(var D;D=yr(L);)L=D.find(-1,!0).line;return L}function Ir(L){for(var D;D=kr(L);)L=D.find(1,!0).line;return L}function Rr(L){for(var D,Q;D=kr(L);)L=D.find(1,!0).line,(Q||(Q=[])).push(L);return Q}function ar(L,D){var Q=q(L,D),Z=sn(Q);return Q==Z?D:Ge(Z)}function Tr(L,D){if(D>L.lastLine())return D;var Q=q(L,D),Z;if(!br(L,Q))return D;for(;Z=kr(Q);)Q=Z.find(1,!0).line;return Ge(Q)+1}function br(L,D){var Q=yn&&D.markedSpans;if(Q)for(var Z=void 0,ee=0;ee<Q.length;++ee){if(Z=Q[ee],!Z.marker.collapsed)continue;if(Z.from==null)return!0;if(Z.marker.widgetNode)continue;if(Z.from==0&&Z.marker.inclusiveLeft&&fr(L,D,Z))return!0}}function fr(L,D,Q){if(Q.to==null){var Z=Q.marker.find(1,!0);return fr(L,Z.line,Ar(Z.line.markedSpans,Q.marker))}if(Q.marker.inclusiveRight&&Q.to==D.text.length)return!0;for(var ee=void 0,ke=0;ke<D.markedSpans.length;++ke)if(ee=D.markedSpans[ke],ee.marker.collapsed&&!ee.marker.widgetNode&&ee.from==Q.to&&(ee.to==null||ee.to!=Q.from)&&(ee.marker.inclusiveLeft||Q.marker.inclusiveRight)&&fr(L,D,ee))return!0}function zr(L){L=sn(L);for(var D=0,Q=L.parent,Z=0;Z<Q.lines.length;++Z){var ee=Q.lines[Z];if(ee==L)break;D+=ee.height}for(var ke=Q.parent;ke;Q=ke,ke=Q.parent)for(var yt=0;yt<ke.children.length;++yt){var Pt=ke.children[yt];if(Pt==Q)break;D+=Pt.height}return D}function wn(L){if(L.height==0)return 0;for(var D=L.text.length,Q,Z=L;Q=yr(Z);){var ee=Q.find(0,!0);Z=ee.from.line,D+=ee.from.ch-ee.to.ch}for(Z=L;Q=kr(Z);){var ke=Q.find(0,!0);D-=Z.text.length-ke.from.ch,Z=ke.to.line,D+=Z.text.length-ke.to.ch}return D}function On(L){var D=L.display,Q=L.doc;D.maxLine=q(Q,Q.first),D.maxLineLength=wn(D.maxLine),D.maxLineChanged=!0,Q.iter(function(Z){var ee=wn(Z);ee>D.maxLineLength&&(D.maxLineLength=ee,D.maxLine=Z)})}var Wn=function(D,Q,Z){this.text=D,Xr(this,Q),this.height=Z?Z(this):1};Wn.prototype.lineNo=function(){return Ge(this)},Dt(Wn);function Xn(L,D,Q,Z){L.text=D,L.stateAfter&&(L.stateAfter=null),L.styles&&(L.styles=null),L.order!=null&&(L.order=null),ai(L),Xr(L,Q);var ee=Z?Z(L):1;ee!=L.height&&Ee(L,ee)}function ii(L){L.parent=null,ai(L)}var li={},bi={};function gi(L,D){if(!L||/^\s*$/.test(L))return null;var Q=D.addModeClass?bi:li;return Q[L]||(Q[L]=L.replace(/\S+/g,"cm-$&"))}function Ni(L,D){var Q=k("span",null,null,a?"padding-right: .1px":null),Z={pre:k("pre",[Q],"CodeMirror-line"),content:Q,col:0,pos:0,cm:L,trailingSpace:!1,splitSpaces:L.getOption("lineWrapping")};D.measure={};for(var ee=0;ee<=(D.rest?D.rest.length:0);ee++){var ke=ee?D.rest[ee-1]:D.line,yt=void 0;Z.pos=0,Z.addToken=sa,zt(L.display.measure)&&(yt=lt(ke,L.doc.direction))&&(Z.addToken=Ta(Z.addToken,yt)),Z.map=[];var Pt=D!=L.display.externalMeasured&&Ge(ke);ta(ke,Z,et(L,ke,Pt)),ke.styleClasses&&(ke.styleClasses.bgClass&&(Z.bgClass=M(ke.styleClasses.bgClass,Z.bgClass||"")),ke.styleClasses.textClass&&(Z.textClass=M(ke.styleClasses.textClass,Z.textClass||""))),Z.map.length==0&&Z.map.push(0,0,Z.content.appendChild(nt(L.display.measure))),ee==0?(D.measure.map=Z.map,D.measure.cache={}):((D.measure.maps||(D.measure.maps=[])).push(Z.map),(D.measure.caches||(D.measure.caches=[])).push({}))}if(a){var Zt=Z.content.lastChild;(/\bcm-tab\b/.test(Zt.className)||Zt.querySelector&&Zt.querySelector(".cm-tab"))&&(Z.content.className="cm-tab-wrap-hack")}return Mt(L,"renderLine",L,D.line,Z.pre),Z.pre.className&&(Z.textClass=M(Z.pre.className,Z.textClass||"")),Z}function ki(L){var D=I("span","\u2022","cm-invalidchar");return D.title="\\u"+L.charCodeAt(0).toString(16),D.setAttribute("aria-label",D.title),D}function sa(L,D,Q,Z,ee,ke,yt){if(!D)return;var Pt=L.splitSpaces?Wi(D,L.trailingSpace):D,Zt=L.cm.state.specialChars,rr=!1,hn;if(!Zt.test(D))L.col+=D.length,hn=document.createTextNode(Pt),L.map.push(L.pos,L.pos+D.length,hn),c&&s<9&&(rr=!0),L.pos+=D.length;else{hn=document.createDocumentFragment();for(var Sn=0;;){Zt.lastIndex=Sn;var Pn=Zt.exec(D),zn=Pn?Pn.index-Sn:D.length-Sn;if(zn){var ci=document.createTextNode(Pt.slice(Sn,Sn+zn));c&&s<9?hn.appendChild(I("span",[ci])):hn.appendChild(ci),L.map.push(L.pos,L.pos+zn,ci),L.col+=zn,L.pos+=zn}if(!Pn)break;Sn+=zn+1;var Ti=void 0;if(Pn[0]==" "){var ji=L.cm.options.tabSize,Ui=ji-L.col%ji;Ti=hn.appendChild(I("span",Qe(Ui),"cm-tab")),Ti.setAttribute("role","presentation"),Ti.setAttribute("cm-text"," "),L.col+=Ui}else Pn[0]=="\r"||Pn[0]==`
|
|
|
`?(Ti=hn.appendChild(I("span",Pn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ti.setAttribute("cm-text",Pn[0]),L.col+=1):(Ti=L.cm.options.specialCharPlaceholder(Pn[0]),Ti.setAttribute("cm-text",Pn[0]),c&&s<9?hn.appendChild(I("span",[Ti])):hn.appendChild(Ti),L.col+=1);L.map.push(L.pos,L.pos+1,Ti),L.pos++}}if(L.trailingSpace=Pt.charCodeAt(D.length-1)==32,Q||Z||ee||rr||ke||yt){var ra=Q||"";Z&&(ra+=Z),ee&&(ra+=ee);var ia=I("span",[hn],ra,ke);if(yt)for(var fa in yt)yt.hasOwnProperty(fa)&&fa!="style"&&fa!="class"&&ia.setAttribute(fa,yt[fa]);return L.content.appendChild(ia)}L.content.appendChild(hn)}function Wi(L,D){if(L.length>1&&!/ /.test(L))return L;for(var Q=D,Z="",ee=0;ee<L.length;ee++){var ke=L.charAt(ee);ke==" "&&Q&&(ee==L.length-1||L.charCodeAt(ee+1)==32)&&(ke="\xA0"),Z+=ke,Q=ke==" "}return Z}function Ta(L,D){return function(Q,Z,ee,ke,yt,Pt,Zt){ee=ee?ee+" cm-force-border":"cm-force-border";for(var rr=Q.pos,hn=rr+Z.length;;){for(var Sn=void 0,Pn=0;Pn<D.length&&!(Sn=D[Pn],Sn.to>rr&&Sn.from<=rr);Pn++);if(Sn.to>=hn)return L(Q,Z,ee,ke,yt,Pt,Zt);L(Q,Z.slice(0,Sn.to-rr),ee,ke,null,Pt,Zt),ke=null,Z=Z.slice(Sn.to-rr),rr=Sn.to}}}function La(L,D,Q,Z){var ee=!Z&&Q.widgetNode;ee&&L.map.push(L.pos,L.pos+D,ee),!Z&&L.cm.display.input.needsContentAttribute&&(ee||(ee=L.content.appendChild(document.createElement("span"))),ee.setAttribute("cm-marker",Q.id)),ee&&(L.cm.display.input.setUneditable(ee),L.content.appendChild(ee)),L.pos+=D,L.trailingSpace=!1}function ta(L,D,Q){var Z=L.markedSpans,ee=L.text,ke=0;if(!Z){for(var yt=1;yt<Q.length;yt+=2)D.addToken(D,ee.slice(ke,ke=Q[yt]),gi(Q[yt+1],D.cm.options));return}for(var Pt=ee.length,Zt=0,rr=1,hn="",Sn,Pn,zn=0,ci,Ti,ji,Ui,ra;;){if(zn==Zt){ci=Ti=ji=Pn="",ra=null,Ui=null,zn=Infinity;for(var ia=[],fa=void 0,ao=0;ao<Z.length;++ao){var Qa=Z[ao],Fo=Qa.marker;if(Fo.type=="bookmark"&&Qa.from==Zt&&Fo.widgetNode)ia.push(Fo);else if(Qa.from<=Zt&&(Qa.to==null||Qa.to>Zt||Fo.collapsed&&Qa.to==Zt&&Qa.from==Zt)){if(Qa.to!=null&&Qa.to!=Zt&&zn>Qa.to&&(zn=Qa.to,Ti=""),Fo.className&&(ci+=" "+Fo.className),Fo.css&&(Pn=(Pn?Pn+";":"")+Fo.css),Fo.startStyle&&Qa.from==Zt&&(ji+=" "+Fo.startStyle),Fo.endStyle&&Qa.to==zn&&(fa||(fa=[])).push(Fo.endStyle,Qa.to),Fo.title&&((ra||(ra={})).title=Fo.title),Fo.attributes)for(var qo in Fo.attributes)(ra||(ra={}))[qo]=Fo.attributes[qo];Fo.collapsed&&(!Ui||tn(Ui.marker,Fo)<0)&&(Ui=Qa)}else Qa.from>Zt&&zn>Qa.from&&(zn=Qa.from)}if(fa)for(var ks=0;ks<fa.length;ks+=2)fa[ks+1]==zn&&(Ti+=" "+fa[ks]);if(!Ui||Ui.from==Zt)for(var As=0;As<ia.length;++As)La(D,0,ia[As]);if(Ui&&(Ui.from||0)==Zt){if(La(D,(Ui.to==null?Pt+1:Ui.to)-Zt,Ui.marker,Ui.from==null),Ui.to==null)return;Ui.to==Zt&&(Ui=!1)}}if(Zt>=Pt)break;for(var Zs=Math.min(Pt,zn);;){if(hn){var tl=Zt+hn.length;if(!Ui){var Is=tl>Zs?hn.slice(0,Zs-Zt):hn;D.addToken(D,Is,Sn?Sn+ci:ci,ji,Zt+Is.length==zn?Ti:"",Pn,ra)}if(tl>=Zs){hn=hn.slice(Zs-Zt),Zt=Zs;break}Zt=tl,ji=""}hn=ee.slice(ke,ke=Q[rr++]),Sn=gi(Q[rr++],D.cm.options)}}}function Ka(L,D,Q){this.line=D,this.rest=Rr(D),this.size=this.rest?Ge(fe(this.rest))-Q+1:1,this.node=this.text=null,this.hidden=br(L,D)}function ni(L,D,Q){for(var Z=[],ee,ke=D;ke<Q;ke=ee){var yt=new Ka(L.doc,q(L.doc,ke),ke);ee=ke+yt.size,Z.push(yt)}return Z}var zi=null;function Va(L){zi?zi.ops.push(L):L.ownsGroup=zi={ops:[L],delayedCallbacks:[]}}function Za(L){var D=L.delayedCallbacks,Q=0;do{for(;Q<D.length;Q++)D[Q].call(null);for(var Z=0;Z<L.ops.length;Z++){var ee=L.ops[Z];if(ee.cursorActivityHandlers)for(;ee.cursorActivityCalled<ee.cursorActivityHandlers.length;)ee.cursorActivityHandlers[ee.cursorActivityCalled++].call(null,ee.cm)}}while(Q<D.length)}function Oa(L,D){var Q=L.ownsGroup;if(!Q)return;try{Za(Q)}finally{zi=null,D(Q)}}var ma=null;function xr(L,D){var Q=Ht(L,D);if(!Q.length)return;var Z=Array.prototype.slice.call(arguments,2),ee;zi?ee=zi.delayedCallbacks:ma?ee=ma:(ee=ma=[],setTimeout(nr,0));for(var ke=function(Zt){ee.push(function(){return Q[Zt].apply(null,Z)})},yt=0;yt<Q.length;++yt)ke(yt)}function nr(){var L=ma;ma=null;for(var D=0;D<L.length;++D)L[D]()}function ln(L,D,Q,Z){for(var ee=0;ee<D.changes.length;ee++){var ke=D.changes[ee];ke=="text"?Vr(L,D):ke=="gutter"?Ot(L,D,Q,Z):ke=="class"?an(L,D):ke=="widget"&&lr(L,D,Z)}D.changes=null}function er(L){return L.node==L.text&&(L.node=I("div",null,null,"position: relative"),L.text.parentNode&&L.text.parentNode.replaceChild(L.node,L.text),L.node.appendChild(L.text),c&&s<8&&(L.node.style.zIndex=2)),L.node}function hr(L,D){var Q=D.bgClass?D.bgClass+" "+(D.line.bgClass||""):D.line.bgClass;if(Q&&(Q+=" CodeMirror-linebackground"),D.background)Q?D.background.className=Q:(D.background.parentNode.removeChild(D.background),D.background=null);else if(Q){var Z=er(D);D.background=Z.insertBefore(I("div",null,Q),Z.firstChild),L.display.input.setUneditable(D.background)}}function Dr(L,D){var Q=L.display.externalMeasured;return Q&&Q.line==D.line?(L.display.externalMeasured=null,D.measure=Q.measure,Q.built):Ni(L,D)}function Vr(L,D){var Q=D.text.className,Z=Dr(L,D);D.text==D.node&&(D.node=Z.pre),D.text.parentNode.replaceChild(Z.pre,D.text),D.text=Z.pre,Z.bgClass!=D.bgClass||Z.textClass!=D.textClass?(D.bgClass=Z.bgClass,D.textClass=Z.textClass,an(L,D)):Q&&(D.text.className=Q)}function an(L,D){hr(L,D),D.line.wrapClass?er(D).className=D.line.wrapClass:D.node!=D.text&&(D.node.className="");var Q=D.textClass?D.textClass+" "+(D.line.textClass||""):D.line.textClass;D.text.className=Q||""}function Ot(L,D,Q,Z){if(D.gutter&&(D.node.removeChild(D.gutter),D.gutter=null),D.gutterBackground&&(D.node.removeChild(D.gutterBackground),D.gutterBackground=null),D.line.gutterClass){var ee=er(D);D.gutterBackground=I("div",null,"CodeMirror-gutter-background "+D.line.gutterClass,"left: "+(L.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px; width: "+Z.gutterTotalWidth+"px"),L.display.input.setUneditable(D.gutterBackground),ee.insertBefore(D.gutterBackground,D.text)}var ke=D.line.gutterMarkers;if(L.options.lineNumbers||ke){var yt=er(D),Pt=D.gutter=I("div",null,"CodeMirror-gutter-wrapper","left: "+(L.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px");if(L.display.input.setUneditable(Pt),yt.insertBefore(Pt,D.text),D.line.gutterClass&&(Pt.className+=" "+D.line.gutterClass),L.options.lineNumbers&&(!ke||!ke["CodeMirror-linenumbers"])&&(D.lineNumber=Pt.appendChild(I("div",tr(L.options,Q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+L.display.lineNumInnerWidth+"px"))),ke)for(var Zt=0;Zt<L.display.gutterSpecs.length;++Zt){var rr=L.display.gutterSpecs[Zt].className,hn=ke.hasOwnProperty(rr)&&ke[rr];hn&&Pt.appendChild(I("div",[hn],"CodeMirror-gutter-elt","left: "+Z.gutterLeft[rr]+"px; width: "+Z.gutterWidth[rr]+"px"))}}}function lr(L,D,Q){D.alignable&&(D.alignable=null);for(var Z=T("CodeMirror-linewidget"),ee=D.node.firstChild,ke=void 0;ee;ee=ke)ke=ee.nextSibling,Z.test(ee.className)&&D.node.removeChild(ee);Cr(L,D,Q)}function vr(L,D,Q,Z){var ee=Dr(L,D);return D.text=D.node=ee.pre,ee.bgClass&&(D.bgClass=ee.bgClass),ee.textClass&&(D.textClass=ee.textClass),an(L,D),Ot(L,D,Q,Z),Cr(L,D,Z),D.node}function Cr(L,D,Q){if(Hr(L,D.line,D,Q,!0),D.rest)for(var Z=0;Z<D.rest.length;Z++)Hr(L,D.rest[Z],D,Q,!1)}function Hr(L,D,Q,Z,ee){if(!D.widgets)return;for(var ke=er(Q),yt=0,Pt=D.widgets;yt<Pt.length;++yt){var Zt=Pt[yt],rr=I("div",[Zt.node],"CodeMirror-linewidget"+(Zt.className?" "+Zt.className:""));Zt.handleMouseEvents||rr.setAttribute("cm-ignore-events","true"),cn(Zt,rr,Q,Z),L.display.input.setUneditable(rr),ee&&Zt.above?ke.insertBefore(rr,Q.gutter||Q.text):ke.appendChild(rr),xr(Zt,"redraw")}}function cn(L,D,Q,Z){if(L.noHScroll){(Q.alignable||(Q.alignable=[])).push(D);var ee=Z.wrapperWidth;D.style.left=Z.fixedPos+"px",L.coverGutter||(ee-=Z.gutterTotalWidth,D.style.paddingLeft=Z.gutterTotalWidth+"px"),D.style.width=ee+"px"}L.coverGutter&&(D.style.zIndex=5,D.style.position="relative",L.noHScroll||(D.style.marginLeft=-Z.gutterTotalWidth+"px"))}function Qr(L){if(L.height!=null)return L.height;var D=L.doc.cm;if(!D)return 0;if(!B(document.body,L.node)){var Q="position: relative;";L.coverGutter&&(Q+="margin-left: -"+D.display.gutters.offsetWidth+"px;"),L.noHScroll&&(Q+="width: "+D.display.wrapper.clientWidth+"px;"),_(D.display.measure,I("div",[L.node],null,Q))}return L.height=L.node.parentNode.offsetHeight}function gt(L,D){for(var Q=Be(D);Q!=L.wrapper;Q=Q.parentNode)if(!Q||Q.nodeType==1&&Q.getAttribute("cm-ignore-events")=="true"||Q.parentNode==L.sizer&&Q!=L.mover)return!0}function Gt(L){return L.lineSpace.offsetTop}function Sr(L){return L.mover.offsetHeight-L.lineSpace.offsetHeight}function Zr(L){if(L.cachedPaddingH)return L.cachedPaddingH;var D=_(L.measure,I("pre","x","CodeMirror-line-like")),Q=window.getComputedStyle?window.getComputedStyle(D):D.currentStyle,Z={left:parseInt(Q.paddingLeft),right:parseInt(Q.paddingRight)};return!isNaN(Z.left)&&!isNaN(Z.right)&&(L.cachedPaddingH=Z),Z}function en(L){return $-L.display.nativeBarWidth}function xn(L){return L.display.scroller.clientWidth-en(L)-L.display.barWidth}function kn(L){return L.display.scroller.clientHeight-en(L)-L.display.barHeight}function Zn(L,D,Q){var Z=L.options.lineWrapping,ee=Z&&xn(L);if(!D.measure.heights||Z&&D.measure.width!=ee){var ke=D.measure.heights=[];if(Z){D.measure.width=ee;for(var yt=D.text.firstChild.getClientRects(),Pt=0;Pt<yt.length-1;Pt++){var Zt=yt[Pt],rr=yt[Pt+1];Math.abs(Zt.bottom-rr.bottom)>2&&ke.push((Zt.bottom+rr.top)/2-Q.top)}}ke.push(Q.bottom-Q.top)}}function ui(L,D,Q){if(L.line==D)return{map:L.measure.map,cache:L.measure.cache};for(var Z=0;Z<L.rest.length;Z++)if(L.rest[Z]==D)return{map:L.measure.maps[Z],cache:L.measure.caches[Z]};for(var ee=0;ee<L.rest.length;ee++)if(Ge(L.rest[ee])>Q)return{map:L.measure.maps[ee],cache:L.measure.caches[ee],before:!0}}function ti(L,D){D=sn(D);var Q=Ge(D),Z=L.display.externalMeasured=new Ka(L.doc,D,Q);Z.lineN=Q;var ee=Z.built=Ni(L,Z);return Z.text=ee.pre,_(L.display.lineMeasure,ee.pre),Z}function Qn(L,D,Q,Z){return Ci(L,Si(L,D),Q,Z)}function $n(L,D){if(D>=L.display.viewFrom&&D<L.display.viewTo)return L.display.view[va(L,D)];var Q=L.display.externalMeasured;if(Q&&D>=Q.lineN&&D<Q.lineN+Q.size)return Q}function Si(L,D){var Q=Ge(D),Z=$n(L,Q);Z&&!Z.text?Z=null:Z&&Z.changes&&(ln(L,Z,Q,yo(L)),L.curOp.forceUpdate=!0),Z||(Z=ti(L,D));var ee=ui(Z,D,Q);return{line:D,view:Z,rect:null,map:ee.map,cache:ee.cache,before:ee.before,hasHeights:!1}}function Ci(L,D,Q,Z,ee){D.before&&(Q=-1);var ke=Q+(Z||""),yt;return D.cache.hasOwnProperty(ke)?yt=D.cache[ke]:(D.rect||(D.rect=D.view.text.getBoundingClientRect()),D.hasHeights||(Zn(L,D.view,D.rect),D.hasHeights=!0),yt=di(L,D,Q,Z),yt.bogus||(D.cache[ke]=yt)),{left:yt.left,right:yt.right,top:ee?yt.rtop:yt.top,bottom:ee?yt.rbottom:yt.bottom}}var vi={left:0,right:0,top:0,bottom:0};function xi(L,D,Q){for(var Z,ee,ke,yt,Pt,Zt,rr=0;rr<L.length;rr+=3)if(Pt=L[rr],Zt=L[rr+1],D<Pt?(ee=0,ke=1,yt="left"):D<Zt?(ee=D-Pt,ke=ee+1):(rr==L.length-3||D==Zt&&L[rr+3]>D)&&(ke=Zt-Pt,ee=ke-1,D>=Zt&&(yt="right")),ee!=null){if(Z=L[rr+2],Pt==Zt&&Q==(Z.insertLeft?"left":"right")&&(yt=Q),Q=="left"&&ee==0)for(;rr&&L[rr-2]==L[rr-3]&&L[rr-1].insertLeft;)Z=L[(rr-=3)+2],yt="left";if(Q=="right"&&ee==Zt-Pt)for(;rr<L.length-3&&L[rr+3]==L[rr+4]&&!L[rr+5].insertLeft;)Z=L[(rr+=3)+2],yt="right";break}return{node:Z,start:ee,end:ke,collapse:yt,coverStart:Pt,coverEnd:Zt}}function Ei(L,D){var Q=vi;if(D=="left")for(var Z=0;Z<L.length&&!((Q=L[Z]).left!=Q.right);Z++);else for(var ee=L.length-1;ee>=0&&!((Q=L[ee]).left!=Q.right);ee--);return Q}function di(L,D,Q,Z){var ee=xi(D.map,Q,Z),ke=ee.node,yt=ee.start,Pt=ee.end,Zt=ee.collapse,rr;if(ke.nodeType==3){for(var hn=0;hn<4;hn++){for(;yt&&Re(D.line.text.charAt(ee.coverStart+yt));)--yt;for(;ee.coverStart+Pt<ee.coverEnd&&Re(D.line.text.charAt(ee.coverStart+Pt));)++Pt;if(c&&s<9&&yt==0&&Pt==ee.coverEnd-ee.coverStart?rr=ke.parentNode.getBoundingClientRect():rr=Ei(F(ke,yt,Pt).getClientRects(),Z),rr.left||rr.right||yt==0)break;Pt=yt,yt=yt-1,Zt="right"}c&&s<11&&(rr=pi(L.display.measure,rr))}else{yt>0&&(Zt=Z="right");var Sn;L.options.lineWrapping&&(Sn=ke.getClientRects()).length>1?rr=Sn[Z=="right"?Sn.length-1:0]:rr=ke.getBoundingClientRect()}if(c&&s<9&&!yt&&(!rr||!rr.left&&!rr.right)){var Pn=ke.parentNode.getClientRects()[0];Pn?rr={left:Pn.left,right:Pn.left+Ea(L.display),top:Pn.top,bottom:Pn.bottom}:rr=vi}for(var zn=rr.top-D.rect.top,ci=rr.bottom-D.rect.top,Ti=(zn+ci)/2,ji=D.view.measure.heights,Ui=0;Ui<ji.length-1&&!(Ti<ji[Ui]);Ui++);var ra=Ui?ji[Ui-1]:0,ia=ji[Ui],fa={left:(Zt=="right"?rr.right:rr.left)-D.rect.left,right:(Zt=="left"?rr.left:rr.right)-D.rect.left,top:ra,bottom:ia};return!rr.left&&!rr.right&&(fa.bogus=!0),L.options.singleCursorHeightPerLine||(fa.rtop=zn,fa.rbottom=ci),fa}function pi(L,D){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Le(L))return D;var Q=screen.logicalXDPI/screen.deviceXDPI,Z=screen.logicalYDPI/screen.deviceYDPI;return{left:D.left*Q,right:D.right*Q,top:D.top*Z,bottom:D.bottom*Z}}function _i(L){if(L.measure&&(L.measure.cache={},L.measure.heights=null,L.rest))for(var D=0;D<L.rest.length;D++)L.measure.caches[D]={}}function Ri(L){L.display.externalMeasure=null,C(L.display.lineMeasure);for(var D=0;D<L.display.view.length;D++)_i(L.display.view[D])}function Vi(L){Ri(L),L.display.cachedCharWidth=L.display.cachedTextHeight=L.display.cachedPaddingH=null,L.options.lineWrapping||(L.display.maxLineChanged=!0),L.display.lineNumChars=null}function Ii(){return i&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ba(){return i&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ga(L){var D=0;if(L.widgets)for(var Q=0;Q<L.widgets.length;++Q)L.widgets[Q].above&&(D+=Qr(L.widgets[Q]));return D}function Aa(L,D,Q,Z,ee){if(!ee){var ke=ga(D);Q.top+=ke,Q.bottom+=ke}if(Z=="line")return Q;Z||(Z="local");var yt=zr(D);if(Z=="local"?yt+=Gt(L.display):yt-=L.display.viewOffset,Z=="page"||Z=="window"){var Pt=L.display.lineSpace.getBoundingClientRect();yt+=Pt.top+(Z=="window"?0:ba());var Zt=Pt.left+(Z=="window"?0:Ii());Q.left+=Zt,Q.right+=Zt}return Q.top+=yt,Q.bottom+=yt,Q}function ha(L,D,Q){if(Q=="div")return D;var Z=D.left,ee=D.top;if(Q=="page")Z-=Ii(),ee-=ba();else if(Q=="local"||!Q){var ke=L.display.sizer.getBoundingClientRect();Z+=ke.left,ee+=ke.top}var yt=L.display.lineSpace.getBoundingClientRect();return{left:Z-yt.left,top:ee-yt.top}}function vo(L,D,Q,Z,ee){return Z||(Z=q(L.doc,D.line)),Aa(L,Z,Qn(L,Z,D.ch,ee),Q)}function la(L,D,Q,Z,ee,ke){Z=Z||q(L.doc,D.line),ee||(ee=Si(L,Z));function yt(ci,Ti){var ji=Ci(L,ee,ci,Ti?"right":"left",ke);return Ti?ji.left=ji.right:ji.right=ji.left,Aa(L,Z,ji,Q)}var Pt=lt(Z,L.doc.direction),Zt=D.ch,rr=D.sticky;if(Zt>=Z.text.length?(Zt=Z.text.length,rr="before"):Zt<=0&&(Zt=0,rr="after"),!Pt)return yt(rr=="before"?Zt-1:Zt,rr=="before");function hn(ci,Ti,ji){var Ui=Pt[Ti],ra=Ui.level==1;return yt(ji?ci-1:ci,ra!=ji)}var Sn=pe(Pt,Zt,rr),Pn=he,zn=hn(Zt,Sn,rr=="before");return Pn!=null&&(zn.other=hn(Zt,Pn,rr!="before")),zn}function Ba(L,D){var Q=0;D=ze(L.doc,D),L.options.lineWrapping||(Q=Ea(L.display)*D.ch);var Z=q(L.doc,D.line),ee=zr(Z)+Gt(L.display);return{left:Q,right:Q,top:ee,bottom:ee+Z.height}}function pa(L,D,Q,Z,ee){var ke=wt(L,D,Q);return ke.xRel=ee,Z&&(ke.outside=Z),ke}function to(L,D,Q){var Z=L.doc;if(Q+=L.display.viewOffset,Q<0)return pa(Z.first,0,null,-1,-1);var ee=dt(Z,Q),ke=Z.first+Z.size-1;if(ee>ke)return pa(Z.first+Z.size-1,q(Z,ke).text.length,null,1,1);D<0&&(D=0);for(var yt=q(Z,ee);;){var Pt=Ya(L,yt,ee,D,Q),Zt=gr(yt,Pt.ch+(Pt.xRel>0||Pt.outside>0?1:0));if(!Zt)return Pt;var rr=Zt.find(1);if(rr.line==ee)return rr;yt=q(Z,ee=rr.line)}}function qa(L,D,Q,Z){Z-=ga(D);var ee=D.text.length,ke=De(function(yt){return Ci(L,Q,yt-1).bottom<=Z},ee,0);return ee=De(function(yt){return Ci(L,Q,yt).top>Z},ke,ee),{begin:ke,end:ee}}function Yi(L,D,Q,Z){Q||(Q=Si(L,D));var ee=Aa(L,D,Ci(L,Q,Z),"line").top;return qa(L,D,Q,ee)}function oo(L,D,Q,Z){return L.bottom<=Q?!1:L.top>Q?!0:(Z?L.left:L.right)>D}function Ya(L,D,Q,Z,ee){ee-=zr(D);var ke=Si(L,D),yt=ga(D),Pt=0,Zt=D.text.length,rr=!0,hn=lt(D,L.doc.direction);if(hn){var Sn=(L.options.lineWrapping?$a:wa)(L,D,Q,ke,hn,Z,ee);rr=Sn.level!=1,Pt=rr?Sn.from:Sn.to-1,Zt=rr?Sn.to:Sn.from-1}var Pn=null,zn=null,ci=De(function(ao){var Qa=Ci(L,ke,ao);return Qa.top+=yt,Qa.bottom+=yt,oo(Qa,Z,ee,!1)?(Qa.top<=ee&&Qa.left<=Z&&(Pn=ao,zn=Qa),!0):!1},Pt,Zt),Ti,ji,Ui=!1;if(zn){var ra=Z-zn.left<zn.right-Z,ia=ra==rr;ci=Pn+(ia?0:1),ji=ia?"after":"before",Ti=ra?zn.left:zn.right}else{!rr&&(ci==Zt||ci==Pt)&&ci++,ji=ci==0?"after":ci==D.text.length?"before":Ci(L,ke,ci-(rr?1:0)).bottom+yt<=ee==rr?"after":"before";var fa=la(L,wt(Q,ci,ji),"line",D,ke);Ti=fa.left,Ui=ee<fa.top?-1:ee>=fa.bottom?1:0}return ci=Ze(D.text,ci,1),pa(Q,ci,ji,Ui,Z-Ti)}function wa(L,D,Q,Z,ee,ke,yt){var Pt=De(function(Sn){var Pn=ee[Sn],zn=Pn.level!=1;return oo(la(L,wt(Q,zn?Pn.to:Pn.from,zn?"before":"after"),"line",D,Z),ke,yt,!0)},0,ee.length-1),Zt=ee[Pt];if(Pt>0){var rr=Zt.level!=1,hn=la(L,wt(Q,rr?Zt.from:Zt.to,rr?"after":"before"),"line",D,Z);oo(hn,ke,yt,!0)&&hn.top>yt&&(Zt=ee[Pt-1])}return Zt}function $a(L,D,Q,Z,ee,ke,yt){var Pt=qa(L,D,Z,yt),Zt=Pt.begin,rr=Pt.end;/\s/.test(D.text.charAt(rr-1))&&rr--;for(var hn=null,Sn=null,Pn=0;Pn<ee.length;Pn++){var zn=ee[Pn];if(zn.from>=rr||zn.to<=Zt)continue;var ci=zn.level!=1,Ti=Ci(L,Z,ci?Math.min(rr,zn.to)-1:Math.max(Zt,zn.from)).right,ji=Ti<ke?ke-Ti+1e9:Ti-ke;(!hn||Sn>ji)&&(hn=zn,Sn=ji)}return hn||(hn=ee[ee.length-1]),hn.from<Zt&&(hn={from:Zt,to:hn.to,level:hn.level}),hn.to>rr&&(hn={from:hn.from,to:rr,level:hn.level}),hn}var Fi;function Sa(L){if(L.cachedTextHeight!=null)return L.cachedTextHeight;if(Fi==null){Fi=I("pre",null,"CodeMirror-line-like");for(var D=0;D<49;++D)Fi.appendChild(document.createTextNode("x")),Fi.appendChild(I("br"));Fi.appendChild(document.createTextNode("x"))}_(L.measure,Fi);var Q=Fi.offsetHeight/50;return Q>3&&(L.cachedTextHeight=Q),C(L.measure),Q||1}function Ea(L){if(L.cachedCharWidth!=null)return L.cachedCharWidth;var D=I("span","xxxxxxxxxx"),Q=I("pre",[D],"CodeMirror-line-like");_(L.measure,Q);var Z=D.getBoundingClientRect(),ee=(Z.right-Z.left)/10;return ee>2&&(L.cachedCharWidth=ee),ee||10}function yo(L){for(var D=L.display,Q={},Z={},ee=D.gutters.clientLeft,ke=D.gutters.firstChild,yt=0;ke;ke=ke.nextSibling,++yt){var Pt=L.display.gutterSpecs[yt].className;Q[Pt]=ke.offsetLeft+ke.clientLeft+ee,Z[Pt]=ke.clientWidth}return{fixedPos:_a(D),gutterTotalWidth:D.gutters.offsetWidth,gutterLeft:Q,gutterWidth:Z,wrapperWidth:D.wrapper.clientWidth}}function _a(L){return L.scroller.getBoundingClientRect().left-L.sizer.getBoundingClientRect().left}function Hi(L){var D=Sa(L.display),Q=L.options.lineWrapping,Z=Q&&Math.max(5,L.display.scroller.clientWidth/Ea(L.display)-3);return function(ee){if(br(L.doc,ee))return 0;var ke=0;if(ee.widgets)for(var yt=0;yt<ee.widgets.length;yt++)ee.widgets[yt].height&&(ke+=ee.widgets[yt].height);return Q?ke+(Math.ceil(ee.text.length/Z)||1)*D:ke+D}}function Xa(L){var D=L.doc,Q=Hi(L);D.iter(function(Z){var ee=Q(Z);ee!=Z.height&&Ee(Z,ee)})}function Da(L,D,Q,Z){var ee=L.display;if(!Q&&Be(D).getAttribute("cm-not-content")=="true")return null;var ke,yt,Pt=ee.lineSpace.getBoundingClientRect();try{ke=D.clientX-Pt.left,yt=D.clientY-Pt.top}catch(Sn){return null}var Zt=to(L,ke,yt),rr;if(Z&&Zt.xRel>0&&(rr=q(L.doc,Zt.line).text).length==Zt.ch){var hn=W(rr,rr.length,L.options.tabSize)-rr.length;Zt=wt(Zt.line,Math.max(0,Math.round((ke-Zr(L.display).left)/Ea(L.display))-hn))}return Zt}function va(L,D){if(D>=L.display.viewTo)return null;if(D-=L.display.viewFrom,D<0)return null;for(var Q=L.display.view,Z=0;Z<Q.length;Z++)if(D-=Q[Z].size,D<0)return Z}function Di(L,D,Q,Z){D==null&&(D=L.doc.first),Q==null&&(Q=L.doc.first+L.doc.size),Z||(Z=0);var ee=L.display;if(Z&&Q<ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>D)&&(ee.updateLineNumbers=D),L.curOp.viewChanged=!0,D>=ee.viewTo)yn&&ar(L.doc,D)<ee.viewTo&&qt(L);else if(Q<=ee.viewFrom)yn&&Tr(L.doc,Q+Z)>ee.viewFrom?qt(L):(ee.viewFrom+=Z,ee.viewTo+=Z);else if(D<=ee.viewFrom&&Q>=ee.viewTo)qt(L);else if(D<=ee.viewFrom){var ke=pr(L,Q,Q+Z,1);ke?(ee.view=ee.view.slice(ke.index),ee.viewFrom=ke.lineN,ee.viewTo+=Z):qt(L)}else if(Q>=ee.viewTo){var yt=pr(L,D,D,-1);yt?(ee.view=ee.view.slice(0,yt.index),ee.viewTo=yt.lineN):qt(L)}else{var Pt=pr(L,D,D,-1),Zt=pr(L,Q,Q+Z,1);Pt&&Zt?(ee.view=ee.view.slice(0,Pt.index).concat(ni(L,Pt.lineN,Zt.lineN)).concat(ee.view.slice(Zt.index)),ee.viewTo+=Z):qt(L)}var rr=ee.externalMeasured;rr&&(Q<rr.lineN?rr.lineN+=Z:D<rr.lineN+rr.size&&(ee.externalMeasured=null))}function at(L,D,Q){L.curOp.viewChanged=!0;var Z=L.display,ee=L.display.externalMeasured;if(ee&&D>=ee.lineN&&D<ee.lineN+ee.size&&(Z.externalMeasured=null),D<Z.viewFrom||D>=Z.viewTo)return;var ke=Z.view[va(L,D)];if(ke.node==null)return;var yt=ke.changes||(ke.changes=[]);K(yt,Q)==-1&&yt.push(Q)}function qt(L){L.display.viewFrom=L.display.viewTo=L.doc.first,L.display.view=[],L.display.viewOffset=0}function pr(L,D,Q,Z){var ee=va(L,D),ke,yt=L.display.view;if(!yn||Q==L.doc.first+L.doc.size)return{index:ee,lineN:Q};for(var Pt=L.display.viewFrom,Zt=0;Zt<ee;Zt++)Pt+=yt[Zt].size;if(Pt!=D){if(Z>0){if(ee==yt.length-1)return null;ke=Pt+yt[ee].size-D,ee++}else ke=Pt-D;D+=ke,Q+=ke}for(;ar(L.doc,Q)!=Q;){if(ee==(Z<0?0:yt.length-1))return null;Q+=Z*yt[ee-(Z<0?1:0)].size,ee+=Z}return{index:ee,lineN:Q}}function ur(L,D,Q){var Z=L.display,ee=Z.view;ee.length==0||D>=Z.viewTo||Q<=Z.viewFrom?(Z.view=ni(L,D,Q),Z.viewFrom=D):(Z.viewFrom>D?Z.view=ni(L,D,Z.viewFrom).concat(Z.view):Z.viewFrom<D&&(Z.view=Z.view.slice(va(L,D))),Z.viewFrom=D,Z.viewTo<Q?Z.view=Z.view.concat(ni(L,Z.viewTo,Q)):Z.viewTo>Q&&(Z.view=Z.view.slice(0,va(L,Q)))),Z.viewTo=Q}function $r(L){for(var D=L.display.view,Q=0,Z=0;Z<D.length;Z++){var ee=D[Z];!ee.hidden&&(!ee.node||ee.changes)&&++Q}return Q}function Er(L){L.display.input.showSelection(L.display.input.prepareSelection())}function sr(L,D){D===void 0&&(D=!0);for(var Q=L.doc,Z={},ee=Z.cursors=document.createDocumentFragment(),ke=Z.selection=document.createDocumentFragment(),yt=0;yt<Q.sel.ranges.length;yt++){if(!D&&yt==Q.sel.primIndex)continue;var Pt=Q.sel.ranges[yt];if(Pt.from().line>=L.display.viewTo||Pt.to().line<L.display.viewFrom)continue;var Zt=Pt.empty();(Zt||L.options.showCursorWhenSelecting)&&dn(L,Pt.head,ee),Zt||rn(L,Pt,ke)}return Z}function dn(L,D,Q){var Z=la(L,D,"div",null,null,!L.options.singleCursorHeightPerLine),ee=Q.appendChild(I("div","\xA0","CodeMirror-cursor"));if(ee.style.left=Z.left+"px",ee.style.top=Z.top+"px",ee.style.height=Math.max(0,Z.bottom-Z.top)*L.options.cursorHeight+"px",Z.other){var ke=Q.appendChild(I("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ke.style.display="",ke.style.left=Z.other.left+"px",ke.style.top=Z.other.top+"px",ke.style.height=(Z.other.bottom-Z.other.top)*.85+"px"}}function wr(L,D){return L.top-D.top||L.left-D.left}function rn(L,D,Q){var Z=L.display,ee=L.doc,ke=document.createDocumentFragment(),yt=Zr(L.display),Pt=yt.left,Zt=Math.max(Z.sizerWidth,xn(L)-Z.sizer.offsetLeft)-yt.right,rr=ee.direction=="ltr";function hn(ia,fa,ao,Qa){fa<0&&(fa=0),fa=Math.round(fa),Qa=Math.round(Qa),ke.appendChild(I("div",null,"CodeMirror-selected","position: absolute; left: "+ia+`px;
|
|
|
top: `+fa+"px; width: "+(ao==null?Zt-ia:ao)+`px;
|
|
|
height: `+(Qa-fa)+"px"))}function Sn(ia,fa,ao){var Qa=q(ee,ia),Fo=Qa.text.length,qo,ks;function As(Is,rl){return vo(L,wt(ia,Is),"div",Qa,rl)}function Zs(Is,rl,Ks){var Fs=Yi(L,Qa,null,Is),Ms=rl=="ltr"==(Ks=="after")?"left":"right",_s=Ks=="after"?Fs.begin:Fs.end-(/\s/.test(Qa.text.charAt(Fs.end-1))?2:1);return As(_s,Ms)[Ms]}var tl=lt(Qa,ee.direction);return ne(tl,fa||0,ao==null?Fo:ao,function(Is,rl,Ks,Fs){var Ms=Ks=="ltr",_s=As(Is,Ms?"left":"right"),Vs=As(rl-1,Ms?"right":"left"),Cu=fa==null&&Is==0,Rl=ao==null&&rl==Fo,Xs=Fs==0,ol=!tl||Fs==tl.length-1;if(Vs.top-_s.top<=3){var Bs=(rr?Cu:Rl)&&Xs,ec=(rr?Rl:Cu)&&ol,ca=Bs?Pt:(Ms?_s:Vs).left,vl=ec?Zt:(Ms?Vs:_s).right;hn(ca,_s.top,vl-ca,_s.bottom)}else{var Ml,Ss,Tu,ls;Ms?(Ml=rr&&Cu&&Xs?Pt:_s.left,Ss=rr?Zt:Zs(Is,Ks,"before"),Tu=rr?Pt:Zs(rl,Ks,"after"),ls=rr&&Rl&&ol?Zt:Vs.right):(Ml=rr?Zs(Is,Ks,"before"):Pt,Ss=!rr&&Cu&&Xs?Zt:_s.right,Tu=!rr&&Rl&&ol?Pt:Vs.left,ls=rr?Zs(rl,Ks,"after"):Zt),hn(Ml,_s.top,Ss-Ml,_s.bottom),_s.bottom<Vs.top&&hn(Pt,_s.bottom,null,Vs.top),hn(Tu,Vs.top,ls-Tu,Vs.bottom)}(!qo||wr(_s,qo)<0)&&(qo=_s),wr(Vs,qo)<0&&(qo=Vs),(!ks||wr(_s,ks)<0)&&(ks=_s),wr(Vs,ks)<0&&(ks=Vs)}),{start:qo,end:ks}}var Pn=D.from(),zn=D.to();if(Pn.line==zn.line)Sn(Pn.line,Pn.ch,zn.ch);else{var ci=q(ee,Pn.line),Ti=q(ee,zn.line),ji=sn(ci)==sn(Ti),Ui=Sn(Pn.line,Pn.ch,ji?ci.text.length+1:null).end,ra=Sn(zn.line,ji?0:null,zn.ch).start;ji&&(Ui.top<ra.top-2?(hn(Ui.right,Ui.top,null,Ui.bottom),hn(Pt,ra.top,ra.left,ra.bottom)):hn(Ui.right,Ui.top,ra.left-Ui.right,Ui.bottom)),Ui.bottom<ra.top&&hn(Pt,Ui.bottom,null,ra.top)}Q.appendChild(ke)}function Fn(L){if(!L.state.focused)return;var D=L.display;clearInterval(D.blinker);var Q=!0;D.cursorDiv.style.visibility="",L.options.cursorBlinkRate>0?D.blinker=setInterval(function(){L.hasFocus()||Mn(L),D.cursorDiv.style.visibility=(Q=!Q)?"":"hidden"},L.options.cursorBlinkRate):L.options.cursorBlinkRate<0&&(D.cursorDiv.style.visibility="hidden")}function Bn(L){L.state.focused||(L.display.input.focus(),Kn(L))}function Tn(L){L.state.delayingBlurEvent=!0,setTimeout(function(){L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1,Mn(L))},100)}function Kn(L,D){if(L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1),L.options.readOnly=="nocursor")return;L.state.focused||(Mt(L,"focus",L,D),L.state.focused=!0,z(L.display.wrapper,"CodeMirror-focused"),!L.curOp&&L.display.selForContextMenu!=L.doc.sel&&(L.display.input.reset(),a&&setTimeout(function(){return L.display.input.reset(!0)},20)),L.display.input.receivedFocus()),Fn(L)}function Mn(L,D){if(L.state.delayingBlurEvent)return;L.state.focused&&(Mt(L,"blur",L,D),L.state.focused=!1,S(L.display.wrapper,"CodeMirror-focused")),clearInterval(L.display.blinker),setTimeout(function(){L.state.focused||(L.display.shift=!1)},150)}function Un(L){for(var D=L.display,Q=D.lineDiv.offsetTop,Z=0;Z<D.view.length;Z++){var ee=D.view[Z],ke=L.options.lineWrapping,yt=void 0,Pt=0;if(ee.hidden)continue;if(c&&s<8){var Zt=ee.node.offsetTop+ee.node.offsetHeight;yt=Zt-Q,Q=Zt}else{var rr=ee.node.getBoundingClientRect();yt=rr.bottom-rr.top,!ke&&ee.text.firstChild&&(Pt=ee.text.firstChild.getBoundingClientRect().right-rr.left-1)}var hn=ee.line.height-yt;if((hn>.005||hn<-.005)&&(Ee(ee.line,yt),Vn(ee.line),ee.rest))for(var Sn=0;Sn<ee.rest.length;Sn++)Vn(ee.rest[Sn]);if(Pt>L.display.sizerWidth){var Pn=Math.ceil(Pt/Ea(L.display));Pn>L.display.maxLineLength&&(L.display.maxLineLength=Pn,L.display.maxLine=ee.line,L.display.maxLineChanged=!0)}}}function Vn(L){if(L.widgets)for(var D=0;D<L.widgets.length;++D){var Q=L.widgets[D],Z=Q.node.parentNode;Z&&(Q.height=Z.offsetHeight)}}function si(L,D,Q){var Z=Q&&Q.top!=null?Math.max(0,Q.top):L.scroller.scrollTop;Z=Math.floor(Z-Gt(L));var ee=Q&&Q.bottom!=null?Q.bottom:Z+L.wrapper.clientHeight,ke=dt(D,Z),yt=dt(D,ee);if(Q&&Q.ensure){var Pt=Q.ensure.from.line,Zt=Q.ensure.to.line;Pt<ke?(ke=Pt,yt=dt(D,zr(q(D,Pt))+L.wrapper.clientHeight)):Math.min(Zt,D.lastLine())>=yt&&(ke=dt(D,zr(q(D,Zt))-L.wrapper.clientHeight),yt=Zt)}return{from:ke,to:Math.max(yt,ke+1)}}function Jn(L,D){if(jt(L,"scrollCursorIntoView"))return;var Q=L.display,Z=Q.sizer.getBoundingClientRect(),ee=null;if(D.top+Z.top<0?ee=!0:D.bottom+Z.top>(window.innerHeight||document.documentElement.clientHeight)&&(ee=!1),ee!=null&&!r){var ke=I("div","\u200B",null,`position: absolute;
|
|
|
top: `+(D.top-Q.viewOffset-Gt(L.display))+`px;
|
|
|
height: `+(D.bottom-D.top+en(L)+Q.barHeight)+`px;
|
|
|
left: `+D.left+"px; width: "+Math.max(2,D.right-D.left)+"px;");L.display.lineSpace.appendChild(ke),ke.scrollIntoView(ee),L.display.lineSpace.removeChild(ke)}}function Ai(L,D,Q,Z){Z==null&&(Z=0);var ee;!L.options.lineWrapping&&D==Q&&(D=D.ch?wt(D.line,D.sticky=="before"?D.ch-1:D.ch,"after"):D,Q=D.sticky=="before"?wt(D.line,D.ch+1,"before"):D);for(var ke=0;ke<5;ke++){var yt=!1,Pt=la(L,D),Zt=!Q||Q==D?Pt:la(L,Q);ee={left:Math.min(Pt.left,Zt.left),top:Math.min(Pt.top,Zt.top)-Z,right:Math.max(Pt.left,Zt.left),bottom:Math.max(Pt.bottom,Zt.bottom)+Z};var rr=Oi(L,ee),hn=L.doc.scrollTop,Sn=L.doc.scrollLeft;if(rr.scrollTop!=null&&(yi(L,rr.scrollTop),Math.abs(L.doc.scrollTop-hn)>1&&(yt=!0)),rr.scrollLeft!=null&&(Zi(L,rr.scrollLeft),Math.abs(L.doc.scrollLeft-Sn)>1&&(yt=!0)),!yt)break}return ee}function Ji(L,D){var Q=Oi(L,D);Q.scrollTop!=null&&yi(L,Q.scrollTop),Q.scrollLeft!=null&&Zi(L,Q.scrollLeft)}function Oi(L,D){var Q=L.display,Z=Sa(L.display);D.top<0&&(D.top=0);var ee=L.curOp&&L.curOp.scrollTop!=null?L.curOp.scrollTop:Q.scroller.scrollTop,ke=kn(L),yt={};D.bottom-D.top>ke&&(D.bottom=D.top+ke);var Pt=L.doc.height+Sr(Q),Zt=D.top<Z,rr=D.bottom>Pt-Z;if(D.top<ee)yt.scrollTop=Zt?0:D.top;else if(D.bottom>ee+ke){var hn=Math.min(D.top,(rr?Pt:D.bottom)-ke);hn!=ee&&(yt.scrollTop=hn)}var Sn=L.options.fixedGutter?0:Q.gutters.offsetWidth,Pn=L.curOp&&L.curOp.scrollLeft!=null?L.curOp.scrollLeft:Q.scroller.scrollLeft-Sn,zn=xn(L)-Q.gutters.offsetWidth,ci=D.right-D.left>zn;return ci&&(D.right=D.left+zn),D.left<10?yt.scrollLeft=0:D.left<Pn?yt.scrollLeft=Math.max(0,D.left+Sn-(ci?0:10)):D.right>zn+Pn-3&&(yt.scrollLeft=D.right+(ci?0:10)-zn),yt}function Mi(L,D){if(D==null)return;Pa(L),L.curOp.scrollTop=(L.curOp.scrollTop==null?L.doc.scrollTop:L.curOp.scrollTop)+D}function Li(L){Pa(L);var D=L.getCursor();L.curOp.scrollToPos={from:D,to:D,margin:L.options.cursorScrollMargin}}function Ki(L,D,Q){(D!=null||Q!=null)&&Pa(L),D!=null&&(L.curOp.scrollLeft=D),Q!=null&&(L.curOp.scrollTop=Q)}function so(L,D){Pa(L),L.curOp.scrollToPos=D}function Pa(L){var D=L.curOp.scrollToPos;if(D){L.curOp.scrollToPos=null;var Q=Ba(L,D.from),Z=Ba(L,D.to);Xi(L,Q,Z,D.margin)}}function Xi(L,D,Q,Z){var ee=Oi(L,{left:Math.min(D.left,Q.left),top:Math.min(D.top,Q.top)-Z,right:Math.max(D.right,Q.right),bottom:Math.max(D.bottom,Q.bottom)+Z});Ki(L,ee.scrollLeft,ee.scrollTop)}function yi(L,D){if(Math.abs(L.doc.scrollTop-D)<2)return;x||vs(L,{top:D}),Bi(L,D,!0),x&&vs(L),Bo(L,100)}function Bi(L,D,Q){if(D=Math.max(0,Math.min(L.display.scroller.scrollHeight-L.display.scroller.clientHeight,D)),L.display.scroller.scrollTop==D&&!Q)return;L.doc.scrollTop=D,L.display.scrollbars.setScrollTop(D),L.display.scroller.scrollTop!=D&&(L.display.scroller.scrollTop=D)}function Zi(L,D,Q,Z){if(D=Math.max(0,Math.min(D,L.display.scroller.scrollWidth-L.display.scroller.clientWidth)),(Q?D==L.doc.scrollLeft:Math.abs(L.doc.scrollLeft-D)<2)&&!Z)return;L.doc.scrollLeft=D,hs(L),L.display.scroller.scrollLeft!=D&&(L.display.scroller.scrollLeft=D),L.display.scrollbars.setScrollLeft(D)}function Fa(L){var D=L.display,Q=D.gutters.offsetWidth,Z=Math.round(L.doc.height+Sr(L.display));return{clientHeight:D.scroller.clientHeight,viewHeight:D.wrapper.clientHeight,scrollWidth:D.scroller.scrollWidth,clientWidth:D.scroller.clientWidth,viewWidth:D.wrapper.clientWidth,barLeft:L.options.fixedGutter?Q:0,docHeight:Z,scrollHeight:Z+en(L)+D.barHeight,nativeBarWidth:D.nativeBarWidth,gutterWidth:Q}}var ya=function(D,Q,Z){this.cm=Z;var ee=this.vert=I("div",[I("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ke=this.horiz=I("div",[I("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ee.tabIndex=ke.tabIndex=-1,D(ee),D(ke),Me(ee,"scroll",function(){ee.clientHeight&&Q(ee.scrollTop,"vertical")}),Me(ke,"scroll",function(){ke.clientWidth&&Q(ke.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ya.prototype.update=function(L){var D=L.scrollWidth>L.clientWidth+1,Q=L.scrollHeight>L.clientHeight+1,Z=L.nativeBarWidth;if(Q){this.vert.style.display="block",this.vert.style.bottom=D?Z+"px":"0";var ee=L.viewHeight-(D?Z:0);this.vert.firstChild.style.height=Math.max(0,L.scrollHeight-L.clientHeight+ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(D){this.horiz.style.display="block",this.horiz.style.right=Q?Z+"px":"0",this.horiz.style.left=L.barLeft+"px";var ke=L.viewWidth-L.barLeft-(Q?Z:0);this.horiz.firstChild.style.width=Math.max(0,L.scrollWidth-L.clientWidth+ke)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&L.clientHeight>0&&(Z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Q?Z:0,bottom:D?Z:0}},ya.prototype.setScrollLeft=function(L){this.horiz.scrollLeft!=L&&(this.horiz.scrollLeft=L),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ya.prototype.setScrollTop=function(L){this.vert.scrollTop!=L&&(this.vert.scrollTop=L),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ya.prototype.zeroWidthHack=function(){var L=y&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=L,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new X,this.disableVert=new X},ya.prototype.enableZeroWidthBar=function(L,D,Q){L.style.pointerEvents="auto";function Z(){var ee=L.getBoundingClientRect(),ke=Q=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);ke!=L?L.style.pointerEvents="none":D.set(1e3,Z)}D.set(1e3,Z)},ya.prototype.clear=function(){var L=this.horiz.parentNode;L.removeChild(this.horiz),L.removeChild(this.vert)};var ja=function(){};ja.prototype.update=function(){return{bottom:0,right:0}},ja.prototype.setScrollLeft=function(){},ja.prototype.setScrollTop=function(){},ja.prototype.clear=function(){};function Wa(L,D){D||(D=Fa(L));var Q=L.display.barWidth,Z=L.display.barHeight;wo(L,D);for(var ee=0;ee<4&&Q!=L.display.barWidth||Z!=L.display.barHeight;ee++)Q!=L.display.barWidth&&L.options.lineWrapping&&Un(L),wo(L,Fa(L)),Q=L.display.barWidth,Z=L.display.barHeight}function wo(L,D){var Q=L.display,Z=Q.scrollbars.update(D);Q.sizer.style.paddingRight=(Q.barWidth=Z.right)+"px",Q.sizer.style.paddingBottom=(Q.barHeight=Z.bottom)+"px",Q.heightForcer.style.borderBottom=Z.bottom+"px solid transparent",Z.right&&Z.bottom?(Q.scrollbarFiller.style.display="block",Q.scrollbarFiller.style.height=Z.bottom+"px",Q.scrollbarFiller.style.width=Z.right+"px"):Q.scrollbarFiller.style.display="",Z.bottom&&L.options.coverGutterNextToScrollbar&&L.options.fixedGutter?(Q.gutterFiller.style.display="block",Q.gutterFiller.style.height=Z.bottom+"px",Q.gutterFiller.style.width=D.gutterWidth+"px"):Q.gutterFiller.style.display=""}var Do={native:ya,null:ja};function es(L){L.display.scrollbars&&(L.display.scrollbars.clear(),L.display.scrollbars.addClass&&S(L.display.wrapper,L.display.scrollbars.addClass)),L.display.scrollbars=new Do[L.options.scrollbarStyle](function(D){L.display.wrapper.insertBefore(D,L.display.scrollbarFiller),Me(D,"mousedown",function(){L.state.focused&&setTimeout(function(){return L.display.input.focus()},0)}),D.setAttribute("cm-not-content","true")},function(D,Q){Q=="horizontal"?Zi(L,D):yi(L,D)},L),L.display.scrollbars.addClass&&z(L.display.wrapper,L.display.scrollbars.addClass)}var To=0;function So(L){L.curOp={cm:L,viewChanged:!1,startHeight:L.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++To},Va(L.curOp)}function Ia(L){var D=L.curOp;D&&Oa(D,function(Q){for(var Z=0;Z<Q.ops.length;Z++)Q.ops[Z].cm.curOp=null;Ua(Q)})}function Ua(L){for(var D=L.ops,Q=0;Q<D.length;Q++)aa(D[Q]);for(var Z=0;Z<D.length;Z++)lo(D[Z]);for(var ee=0;ee<D.length;ee++)Qo(D[ee]);for(var ke=0;ke<D.length;ke++)ro(D[ke]);for(var yt=0;yt<D.length;yt++)us(D[yt])}function aa(L){var D=L.cm,Q=D.display;Ds(D),L.updateMaxLine&&On(D),L.mustUpdate=L.viewChanged||L.forceUpdate||L.scrollTop!=null||L.scrollToPos&&(L.scrollToPos.from.line<Q.viewFrom||L.scrollToPos.to.line>=Q.viewTo)||Q.maxLineChanged&&D.options.lineWrapping,L.update=L.mustUpdate&&new hi(D,L.mustUpdate&&{top:L.scrollTop,ensure:L.scrollToPos},L.forceUpdate)}function lo(L){L.updatedDisplay=L.mustUpdate&&Ro(L.cm,L.update)}function Qo(L){var D=L.cm,Q=D.display;L.updatedDisplay&&Un(D),L.barMeasure=Fa(D),Q.maxLineChanged&&!D.options.lineWrapping&&(L.adjustWidthTo=Qn(D,Q.maxLine,Q.maxLine.text.length).left+3,D.display.sizerWidth=L.adjustWidthTo,L.barMeasure.scrollWidth=Math.max(Q.scroller.clientWidth,Q.sizer.offsetLeft+L.adjustWidthTo+en(D)+D.display.barWidth),L.maxScrollLeft=Math.max(0,Q.sizer.offsetLeft+L.adjustWidthTo-xn(D))),(L.updatedDisplay||L.selectionChanged)&&(L.preparedSelection=Q.input.prepareSelection())}function ro(L){var D=L.cm;L.adjustWidthTo!=null&&(D.display.sizer.style.minWidth=L.adjustWidthTo+"px",L.maxScrollLeft<D.doc.scrollLeft&&Zi(D,Math.min(D.display.scroller.scrollLeft,L.maxScrollLeft),!0),D.display.maxLineChanged=!1);var Q=L.focus&&L.focus==j();L.preparedSelection&&D.display.input.showSelection(L.preparedSelection,Q),(L.updatedDisplay||L.startHeight!=D.doc.height)&&Wa(D,L.barMeasure),L.updatedDisplay&&rs(D,L.barMeasure),L.selectionChanged&&Fn(D),D.state.focused&&L.updateInput&&D.display.input.reset(L.typing),Q&&Bn(L.cm)}function us(L){var D=L.cm,Q=D.display,Z=D.doc;if(L.updatedDisplay&&is(D,L.update),Q.wheelStartX!=null&&(L.scrollTop!=null||L.scrollLeft!=null||L.scrollToPos)&&(Q.wheelStartX=Q.wheelStartY=null),L.scrollTop!=null&&Bi(D,L.scrollTop,L.forceScroll),L.scrollLeft!=null&&Zi(D,L.scrollLeft,!0,!0),L.scrollToPos){var ee=Ai(D,ze(Z,L.scrollToPos.from),ze(Z,L.scrollToPos.to),L.scrollToPos.margin);Jn(D,ee)}var ke=L.maybeHiddenMarkers,yt=L.maybeUnhiddenMarkers;if(ke)for(var Pt=0;Pt<ke.length;++Pt)ke[Pt].lines.length||Mt(ke[Pt],"hide");if(yt)for(var Zt=0;Zt<yt.length;++Zt)yt[Zt].lines.length&&Mt(yt[Zt],"unhide");Q.wrapper.offsetHeight&&(Z.scrollTop=D.display.scroller.scrollTop),L.changeObjs&&Mt(D,"changes",D,L.changeObjs),L.update&&L.update.finish()}function co(L,D){if(L.curOp)return D();So(L);try{return D()}finally{Ia(L)}}function go(L,D){return function(){if(L.curOp)return D.apply(L,arguments);So(L);try{return D.apply(L,arguments)}finally{Ia(L)}}}function $o(L){return function(){if(this.curOp)return L.apply(this,arguments);So(this);try{return L.apply(this,arguments)}finally{Ia(this)}}}function Io(L){return function(){var D=this.cm;if(!D||D.curOp)return L.apply(this,arguments);So(D);try{return L.apply(this,arguments)}finally{Ia(D)}}}function Bo(L,D){L.doc.highlightFrontier<L.display.viewTo&&L.state.highlight.set(D,P(Wr,L))}function Wr(L){var D=L.doc;if(D.highlightFrontier>=L.display.viewTo)return;var Q=+new Date+L.options.workTime,Z=Ft(L,D.highlightFrontier),ee=[];D.iter(Z.line,Math.min(D.first+D.size,L.display.viewTo+500),function(ke){if(Z.line>=L.display.viewFrom){var yt=ke.styles,Pt=ke.text.length>L.options.maxHighlightLength?dr(D.mode,Z.state):null,Zt=st(L,ke,Z,!0);Pt&&(Z.state=Pt),ke.styles=Zt.styles;var rr=ke.styleClasses,hn=Zt.classes;hn?ke.styleClasses=hn:rr&&(ke.styleClasses=null);for(var Sn=!yt||yt.length!=ke.styles.length||rr!=hn&&(!rr||!hn||rr.bgClass!=hn.bgClass||rr.textClass!=hn.textClass),Pn=0;!Sn&&Pn<yt.length;++Pn)Sn=yt[Pn]!=ke.styles[Pn];Sn&&ee.push(Z.line),ke.stateAfter=Z.save(),Z.nextLine()}else ke.text.length<=L.options.maxHighlightLength&&Ct(L,ke.text,Z),ke.stateAfter=Z.line%5==0?Z.save():null,Z.nextLine();if(+new Date>Q)return Bo(L,L.options.workDelay),!0}),D.highlightFrontier=Z.line,D.modeFrontier=Math.max(D.modeFrontier,Z.line),ee.length&&co(L,function(){for(var ke=0;ke<ee.length;ke++)at(L,ee[ke],"text")})}var hi=function(D,Q,Z){var ee=D.display;this.viewport=Q,this.visible=si(ee,D.doc,Q),this.editorIsHidden=!ee.wrapper.offsetWidth,this.wrapperHeight=ee.wrapper.clientHeight,this.wrapperWidth=ee.wrapper.clientWidth,this.oldDisplayWidth=xn(D),this.force=Z,this.dims=yo(D),this.events=[]};hi.prototype.signal=function(L,D){Tt(L,D)&&this.events.push(arguments)},hi.prototype.finish=function(){for(var L=0;L<this.events.length;L++)Mt.apply(null,this.events[L])};function Ds(L){var D=L.display;!D.scrollbarsClipped&&D.scroller.offsetWidth&&(D.nativeBarWidth=D.scroller.offsetWidth-D.scroller.clientWidth,D.heightForcer.style.height=en(L)+"px",D.sizer.style.marginBottom=-D.nativeBarWidth+"px",D.sizer.style.borderRightWidth=en(L)+"px",D.scrollbarsClipped=!0)}function ds(L){if(L.hasFocus())return null;var D=j();if(!D||!B(L.display.lineDiv,D))return null;var Q={activeElt:D};if(window.getSelection){var Z=window.getSelection();Z.anchorNode&&Z.extend&&B(L.display.lineDiv,Z.anchorNode)&&(Q.anchorNode=Z.anchorNode,Q.anchorOffset=Z.anchorOffset,Q.focusNode=Z.focusNode,Q.focusOffset=Z.focusOffset)}return Q}function ts(L){if(!L||!L.activeElt||L.activeElt==j())return;if(L.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(L.activeElt.nodeName)&&L.anchorNode&&B(document.body,L.anchorNode)&&B(document.body,L.focusNode)){var D=window.getSelection(),Q=document.createRange();Q.setEnd(L.anchorNode,L.anchorOffset),Q.collapse(!1),D.removeAllRanges(),D.addRange(Q),D.extend(L.focusNode,L.focusOffset)}}function Ro(L,D){var Q=L.display,Z=L.doc;if(D.editorIsHidden)return qt(L),!1;if(!D.force&&D.visible.from>=Q.viewFrom&&D.visible.to<=Q.viewTo&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo)&&Q.renderedView==Q.view&&$r(L)==0)return!1;as(L)&&(qt(L),D.dims=yo(L));var ee=Z.first+Z.size,ke=Math.max(D.visible.from-L.options.viewportMargin,Z.first),yt=Math.min(ee,D.visible.to+L.options.viewportMargin);Q.viewFrom<ke&&ke-Q.viewFrom<20&&(ke=Math.max(Z.first,Q.viewFrom)),Q.viewTo>yt&&Q.viewTo-yt<20&&(yt=Math.min(ee,Q.viewTo)),yn&&(ke=ar(L.doc,ke),yt=Tr(L.doc,yt));var Pt=ke!=Q.viewFrom||yt!=Q.viewTo||Q.lastWrapHeight!=D.wrapperHeight||Q.lastWrapWidth!=D.wrapperWidth;ur(L,ke,yt),Q.viewOffset=zr(q(L.doc,Q.viewFrom)),L.display.mover.style.top=Q.viewOffset+"px";var Zt=$r(L);if(!Pt&&Zt==0&&!D.force&&Q.renderedView==Q.view&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo))return!1;var rr=ds(L);return Zt>4&&(Q.lineDiv.style.display="none"),Yo(L,Q.updateLineNumbers,D.dims),Zt>4&&(Q.lineDiv.style.display=""),Q.renderedView=Q.view,ts(rr),C(Q.cursorDiv),C(Q.selectionDiv),Q.gutters.style.height=Q.sizer.style.minHeight=0,Pt&&(Q.lastWrapHeight=D.wrapperHeight,Q.lastWrapWidth=D.wrapperWidth,Bo(L,400)),Q.updateLineNumbers=null,!0}function is(L,D){for(var Q=D.viewport,Z=!0;;Z=!1){if(!Z||!L.options.lineWrapping||D.oldDisplayWidth==xn(L)){if(Q&&Q.top!=null&&(Q={top:Math.min(L.doc.height+Sr(L.display)-kn(L),Q.top)}),D.visible=si(L.display,L.doc,Q),D.visible.from>=L.display.viewFrom&&D.visible.to<=L.display.viewTo)break}else Z&&(D.visible=si(L.display,L.doc,Q));if(!Ro(L,D))break;Un(L);var ee=Fa(L);Er(L),Wa(L,ee),rs(L,ee),D.force=!1}D.signal(L,"update",L),(L.display.viewFrom!=L.display.reportedViewFrom||L.display.viewTo!=L.display.reportedViewTo)&&(D.signal(L,"viewportChange",L,L.display.viewFrom,L.display.viewTo),L.display.reportedViewFrom=L.display.viewFrom,L.display.reportedViewTo=L.display.viewTo)}function vs(L,D){var Q=new hi(L,D);if(Ro(L,Q)){Un(L),is(L,Q);var Z=Fa(L);Er(L),Wa(L,Z),rs(L,Z),Q.finish()}}function Yo(L,D,Q){var Z=L.display,ee=L.options.lineNumbers,ke=Z.lineDiv,yt=ke.firstChild;function Pt(ci){var Ti=ci.nextSibling;return a&&y&&L.display.currentWheelTarget==ci?ci.style.display="none":ci.parentNode.removeChild(ci),Ti}for(var Zt=Z.view,rr=Z.viewFrom,hn=0;hn<Zt.length;hn++){var Sn=Zt[hn];if(!Sn.hidden)if(!Sn.node||Sn.node.parentNode!=ke){var Pn=vr(L,Sn,rr,Q);ke.insertBefore(Pn,yt)}else{for(;yt!=Sn.node;)yt=Pt(yt);var zn=ee&&D!=null&&D<=rr&&Sn.lineNumber;Sn.changes&&(K(Sn.changes,"gutter")>-1&&(zn=!1),ln(L,Sn,rr,Q)),zn&&(C(Sn.lineNumber),Sn.lineNumber.appendChild(document.createTextNode(tr(L.options,rr)))),yt=Sn.node.nextSibling}rr+=Sn.size}for(;yt;)yt=Pt(yt)}function Vo(L){var D=L.gutters.offsetWidth;L.sizer.style.marginLeft=D+"px"}function rs(L,D){L.display.sizer.style.minHeight=D.docHeight+"px",L.display.heightForcer.style.top=D.docHeight+"px",L.display.gutters.style.height=D.docHeight+L.display.barHeight+en(L)+"px"}function hs(L){var D=L.display,Q=D.view;if(!D.alignWidgets&&(!D.gutters.firstChild||!L.options.fixedGutter))return;for(var Z=_a(D)-D.scroller.scrollLeft+L.doc.scrollLeft,ee=D.gutters.offsetWidth,ke=Z+"px",yt=0;yt<Q.length;yt++)if(!Q[yt].hidden){L.options.fixedGutter&&(Q[yt].gutter&&(Q[yt].gutter.style.left=ke),Q[yt].gutterBackground&&(Q[yt].gutterBackground.style.left=ke));var Pt=Q[yt].alignable;if(Pt)for(var Zt=0;Zt<Pt.length;Zt++)Pt[Zt].style.left=ke}L.options.fixedGutter&&(D.gutters.style.left=Z+ee+"px")}function as(L){if(!L.options.lineNumbers)return!1;var D=L.doc,Q=tr(L.options,D.first+D.size-1),Z=L.display;if(Q.length!=Z.lineNumChars){var ee=Z.measure.appendChild(I("div",[I("div",Q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ke=ee.firstChild.offsetWidth,yt=ee.offsetWidth-ke;return Z.lineGutter.style.width="",Z.lineNumInnerWidth=Math.max(ke,Z.lineGutter.offsetWidth-yt)+1,Z.lineNumWidth=Z.lineNumInnerWidth+yt,Z.lineNumChars=Z.lineNumInnerWidth?Q.length:-1,Z.lineGutter.style.width=Z.lineNumWidth+"px",Vo(L.display),!0}return!1}function io(L,D){for(var Q=[],Z=!1,ee=0;ee<L.length;ee++){var ke=L[ee],yt=null;if(typeof ke!="string"&&(yt=ke.style,ke=ke.className),ke=="CodeMirror-linenumbers")if(D)Z=!0;else continue;Q.push({className:ke,style:yt})}return D&&!Z&&Q.push({className:"CodeMirror-linenumbers",style:null}),Q}function Ga(L){var D=L.gutters,Q=L.gutterSpecs;C(D),L.lineGutter=null;for(var Z=0;Z<Q.length;++Z){var ee=Q[Z],ke=ee.className,yt=ee.style,Pt=D.appendChild(I("div",null,"CodeMirror-gutter "+ke));yt&&(Pt.style.cssText=yt),ke=="CodeMirror-linenumbers"&&(L.lineGutter=Pt,Pt.style.width=(L.lineNumWidth||1)+"px")}D.style.display=Q.length?"":"none",Vo(L)}function Xo(L){Ga(L.display),Di(L),hs(L)}function Ho(L,D,Q,Z){var ee=this;this.input=Q,ee.scrollbarFiller=I("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=I("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=k("div",null,"CodeMirror-code"),ee.selectionDiv=I("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=I("div",null,"CodeMirror-cursors"),ee.measure=I("div",null,"CodeMirror-measure"),ee.lineMeasure=I("div",null,"CodeMirror-measure"),ee.lineSpace=k("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var ke=k("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=I("div",[ke],null,"position: relative"),ee.sizer=I("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=I("div",null,null,"position: absolute; height: "+$+"px; width: 1px;"),ee.gutters=I("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=I("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=I("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),c&&s<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!a&&!(x&&h)&&(ee.scroller.draggable=!0),L&&(L.appendChild?L.appendChild(ee.wrapper):L(ee.wrapper)),ee.viewFrom=ee.viewTo=D.first,ee.reportedViewFrom=ee.reportedViewTo=D.first,ee.view=[],ee.renderedView=null,ee.externalMeasured=null,ee.viewOffset=0,ee.lastWrapHeight=ee.lastWrapWidth=0,ee.updateLineNumbers=null,ee.nativeBarWidth=ee.barHeight=ee.barWidth=0,ee.scrollbarsClipped=!1,ee.lineNumWidth=ee.lineNumInnerWidth=ee.lineNumChars=null,ee.alignWidgets=!1,ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.maxLine=null,ee.maxLineLength=0,ee.maxLineChanged=!1,ee.wheelDX=ee.wheelDY=ee.wheelStartX=ee.wheelStartY=null,ee.shift=!1,ee.selForContextMenu=null,ee.activeTouch=null,ee.gutterSpecs=io(Z.gutters,Z.lineNumbers),Ga(ee),Q.init(ee)}var Ra=0,Oo=null;c?Oo=-.53:x?Oo=15:i?Oo=-.7:t&&(Oo=-1/3);function xs(L){var D=L.wheelDeltaX,Q=L.wheelDeltaY;return D==null&&L.detail&&L.axis==L.HORIZONTAL_AXIS&&(D=L.detail),Q==null&&L.detail&&L.axis==L.VERTICAL_AXIS?Q=L.detail:Q==null&&(Q=L.wheelDelta),{x:D,y:Q}}function Po(L){var D=xs(L);return D.x*=Oo,D.y*=Oo,D}function Zo(L,D){var Q=xs(D),Z=Q.x,ee=Q.y,ke=L.display,yt=ke.scroller,Pt=yt.scrollWidth>yt.clientWidth,Zt=yt.scrollHeight>yt.clientHeight;if(!(Z&&Pt||ee&&Zt))return;if(ee&&y&&a){e:for(var rr=D.target,hn=ke.view;rr!=yt;rr=rr.parentNode)for(var Sn=0;Sn<hn.length;Sn++)if(hn[Sn].node==rr){L.display.currentWheelTarget=rr;break e}}if(Z&&!x&&!d&&Oo!=null){ee&&Zt&&yi(L,Math.max(0,yt.scrollTop+ee*Oo)),Zi(L,Math.max(0,yt.scrollLeft+Z*Oo)),(!ee||ee&&Zt)&&Ue(D),ke.wheelStartX=null;return}if(ee&&Oo!=null){var Pn=ee*Oo,zn=L.doc.scrollTop,ci=zn+ke.wrapper.clientHeight;Pn<0?zn=Math.max(0,zn+Pn-50):ci=Math.min(L.doc.height,ci+Pn+50),vs(L,{top:zn,bottom:ci})}Ra<20&&(ke.wheelStartX==null?(ke.wheelStartX=yt.scrollLeft,ke.wheelStartY=yt.scrollTop,ke.wheelDX=Z,ke.wheelDY=ee,setTimeout(function(){if(ke.wheelStartX==null)return;var Ti=yt.scrollLeft-ke.wheelStartX,ji=yt.scrollTop-ke.wheelStartY,Ui=ji&&ke.wheelDY&&ji/ke.wheelDY||Ti&&ke.wheelDX&&Ti/ke.wheelDX;if(ke.wheelStartX=ke.wheelStartY=null,!Ui)return;Oo=(Oo*Ra+Ui)/(Ra+1),++Ra},200)):(ke.wheelDX+=Z,ke.wheelDY+=ee))}var Vt=function(D,Q){this.ranges=D,this.primIndex=Q};Vt.prototype.primary=function(){return this.ranges[this.primIndex]},Vt.prototype.equals=function(L){if(L==this)return!0;if(L.primIndex!=this.primIndex||L.ranges.length!=this.ranges.length)return!1;for(var D=0;D<this.ranges.length;D++){var Q=this.ranges[D],Z=L.ranges[D];if(!Lt(Q.anchor,Z.anchor)||!Lt(Q.head,Z.head))return!1}return!0},Vt.prototype.deepCopy=function(){for(var L=[],D=0;D<this.ranges.length;D++)L[D]=new re(Nt(this.ranges[D].anchor),Nt(this.ranges[D].head));return new Vt(L,this.primIndex)},Vt.prototype.somethingSelected=function(){for(var L=0;L<this.ranges.length;L++)if(!this.ranges[L].empty())return!0;return!1},Vt.prototype.contains=function(L,D){D||(D=L);for(var Q=0;Q<this.ranges.length;Q++){var Z=this.ranges[Q];if(It(D,Z.from())>=0&&It(L,Z.to())<=0)return Q}return-1};var re=function(D,Q){this.anchor=D,this.head=Q};re.prototype.from=function(){return ot(this.anchor,this.head)},re.prototype.to=function(){return $e(this.anchor,this.head)},re.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ve(L,D,Q){var Z=L&&L.options.selectionsMayTouch,ee=D[Q];D.sort(function(Pn,zn){return It(Pn.from(),zn.from())}),Q=K(D,ee);for(var ke=1;ke<D.length;ke++){var yt=D[ke],Pt=D[ke-1],Zt=It(Pt.to(),yt.from());if(Z&&!yt.empty()?Zt>0:Zt>=0){var rr=ot(Pt.from(),yt.from()),hn=$e(Pt.to(),yt.to()),Sn=Pt.empty()?yt.from()==yt.head:Pt.from()==Pt.head;ke<=Q&&--Q,D.splice(--ke,2,new re(Sn?hn:rr,Sn?rr:hn))}}return new Vt(D,Q)}function Se(L,D){return new Vt([new re(L,D||L)],0)}function We(L){return L.text?wt(L.from.line+L.text.length-1,fe(L.text).length+(L.text.length==1?L.from.ch:0)):L.to}function xt(L,D){if(It(L,D.from)<0)return L;if(It(L,D.to)<=0)return We(D);var Q=L.line+D.text.length-(D.to.line-D.from.line)-1,Z=L.ch;return L.line==D.to.line&&(Z+=We(D).ch-D.to.ch),wt(Q,Z)}function Qt(L,D){for(var Q=[],Z=0;Z<L.sel.ranges.length;Z++){var ee=L.sel.ranges[Z];Q.push(new re(xt(ee.anchor,D),xt(ee.head,D)))}return ve(L.cm,Q,L.sel.primIndex)}function Or(L,D,Q){return L.line==D.line?wt(Q.line,L.ch-D.ch+Q.ch):wt(Q.line+(L.line-D.line),L.ch)}function Ur(L,D,Q){for(var Z=[],ee=wt(L.first,0),ke=ee,yt=0;yt<D.length;yt++){var Pt=D[yt],Zt=Or(Pt.from,ee,ke),rr=Or(We(Pt),ee,ke);if(ee=Pt.to,ke=rr,Q=="around"){var hn=L.sel.ranges[yt],Sn=It(hn.head,hn.anchor)<0;Z[yt]=new re(Sn?rr:Zt,Sn?Zt:rr)}else Z[yt]=new re(Zt,Zt)}return new Vt(Z,L.sel.primIndex)}function on(L){L.doc.mode=_t(L.options,L.doc.modeOption),Dn(L)}function Dn(L){L.doc.iter(function(D){D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null)}),L.doc.modeFrontier=L.doc.highlightFrontier=L.doc.first,Bo(L,100),L.state.modeGen++,L.curOp&&Di(L)}function Hn(L,D){return D.from.ch==0&&D.to.ch==0&&fe(D.text)==""&&(!L.cm||L.cm.options.wholeLineUpdateBefore)}function jn(L,D,Q,Z){function ee(ra){return Q?Q[ra]:null}function ke(ra,ia,fa){Xn(ra,ia,fa,Z),xr(ra,"change",ra,D)}function yt(ra,ia){for(var fa=[],ao=ra;ao<ia;++ao)fa.push(new Wn(rr[ao],ee(ao),Z));return fa}var Pt=D.from,Zt=D.to,rr=D.text,hn=q(L,Pt.line),Sn=q(L,Zt.line),Pn=fe(rr),zn=ee(rr.length-1),ci=Zt.line-Pt.line;if(D.full)L.insert(0,yt(0,rr.length)),L.remove(rr.length,L.size-rr.length);else if(Hn(L,D)){var Ti=yt(0,rr.length-1);ke(Sn,Sn.text,zn),ci&&L.remove(Pt.line,ci),Ti.length&&L.insert(Pt.line,Ti)}else if(hn==Sn)if(rr.length==1)ke(hn,hn.text.slice(0,Pt.ch)+Pn+hn.text.slice(Zt.ch),zn);else{var ji=yt(1,rr.length-1);ji.push(new Wn(Pn+hn.text.slice(Zt.ch),zn,Z)),ke(hn,hn.text.slice(0,Pt.ch)+rr[0],ee(0)),L.insert(Pt.line+1,ji)}else if(rr.length==1)ke(hn,hn.text.slice(0,Pt.ch)+rr[0]+Sn.text.slice(Zt.ch),ee(0)),L.remove(Pt.line+1,ci);else{ke(hn,hn.text.slice(0,Pt.ch)+rr[0],ee(0)),ke(Sn,Pn+Sn.text.slice(Zt.ch),zn);var Ui=yt(1,rr.length-1);ci>1&&L.remove(Pt.line+1,ci-1),L.insert(Pt.line+1,Ui)}xr(L,"change",L,D)}function ri(L,D,Q){function Z(ee,ke,yt){if(ee.linked)for(var Pt=0;Pt<ee.linked.length;++Pt){var Zt=ee.linked[Pt];if(Zt.doc==ke)continue;var rr=yt&&Zt.sharedHist;if(Q&&!rr)continue;D(Zt.doc,rr),Z(Zt.doc,ee,rr)}}Z(L,null,!0)}function wi(L,D){if(D.cm)throw new Error("This document is already in use.");L.doc=D,D.cm=L,Xa(L),on(L),Gi(L),L.options.lineWrapping||On(L),L.options.mode=D.modeOption,Di(L)}function Gi(L){(L.doc.direction=="rtl"?z:S)(L.display.lineDiv,"CodeMirror-rtl")}function xa(L){co(L,function(){Gi(L),Di(L)})}function no(L){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=L||1}function uo(L,D){var Q={from:Nt(D.from),to:We(D),text:ue(L,D.from,D.to)};return ns(L,Q,D.from.line,D.to.line+1),ri(L,function(Z){return ns(Z,Q,D.from.line,D.to.line+1)},!0),Q}function Ja(L){for(;L.length;){var D=fe(L);if(D.ranges)L.pop();else break}}function Go(L,D){if(D)return Ja(L.done),fe(L.done);if(L.done.length&&!fe(L.done).ranges)return fe(L.done);if(L.done.length>1&&!L.done[L.done.length-2].ranges)return L.done.pop(),fe(L.done)}function _o(L,D,Q,Z){var ee=L.history;ee.undone.length=0;var ke=+new Date,yt,Pt;if((ee.lastOp==Z||ee.lastOrigin==D.origin&&D.origin&&(D.origin.charAt(0)=="+"&&ee.lastModTime>ke-(L.cm?L.cm.options.historyEventDelay:500)||D.origin.charAt(0)=="*"))&&(yt=Go(ee,ee.lastOp==Z)))Pt=fe(yt.changes),It(D.from,D.to)==0&&It(D.from,Pt.to)==0?Pt.to=We(D):yt.changes.push(uo(L,D));else{var Zt=fe(ee.done);for((!Zt||!Zt.ranges)&&Ha(L.sel,ee.done),yt={changes:[uo(L,D)],generation:ee.generation},ee.done.push(yt);ee.done.length>ee.undoDepth;)ee.done.shift(),ee.done[0].ranges||ee.done.shift()}ee.done.push(Q),ee.generation=++ee.maxGeneration,ee.lastModTime=ee.lastSelTime=ke,ee.lastOp=ee.lastSelOp=Z,ee.lastOrigin=ee.lastSelOrigin=D.origin,Pt||Mt(L,"historyAdded")}function xo(L,D,Q,Z){var ee=D.charAt(0);return ee=="*"||ee=="+"&&Q.ranges.length==Z.ranges.length&&Q.somethingSelected()==Z.somethingSelected()&&new Date-L.history.lastSelTime<=(L.cm?L.cm.options.historyEventDelay:500)}function Na(L,D,Q,Z){var ee=L.history,ke=Z&&Z.origin;Q==ee.lastSelOp||ke&&ee.lastSelOrigin==ke&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==ke||xo(L,ke,fe(ee.done),D))?ee.done[ee.done.length-1]=D:Ha(D,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=ke,ee.lastSelOp=Q,Z&&Z.clearRedo!==!1&&Ja(ee.undone)}function Ha(L,D){var Q=fe(D);Q&&Q.ranges&&Q.equals(L)||D.push(L)}function ns(L,D,Q,Z){var ee=D["spans_"+L.id],ke=0;L.iter(Math.max(L.first,Q),Math.min(L.first+L.size,Z),function(yt){yt.markedSpans&&((ee||(ee=D["spans_"+L.id]={}))[ke]=yt.markedSpans),++ke})}function ps(L){if(!L)return null;for(var D,Q=0;Q<L.length;++Q)L[Q].marker.explicitlyCleared?D||(D=L.slice(0,Q)):D&&D.push(L[Q]);return D?D.length?D:null:L}function Wo(L,D){var Q=D["spans_"+L.id];if(!Q)return null;for(var Z=[],ee=0;ee<D.text.length;++ee)Z.push(ps(Q[ee]));return Z}function Cs(L,D){var Q=Wo(L,D),Z=oi(L,D);if(!Q)return Z;if(!Z)return Q;for(var ee=0;ee<Q.length;++ee){var ke=Q[ee],yt=Z[ee];if(ke&&yt){e:for(var Pt=0;Pt<yt.length;++Pt){for(var Zt=yt[Pt],rr=0;rr<ke.length;++rr)if(ke[rr].marker==Zt.marker)continue e;ke.push(Zt)}}else yt&&(Q[ee]=yt)}return Q}function Ts(L,D,Q){for(var Z=[],ee=0;ee<L.length;++ee){var ke=L[ee];if(ke.ranges){Z.push(Q?Vt.prototype.deepCopy.call(ke):ke);continue}var yt=ke.changes,Pt=[];Z.push({changes:Pt});for(var Zt=0;Zt<yt.length;++Zt){var rr=yt[Zt],hn=void 0;if(Pt.push({from:rr.from,to:rr.to,text:rr.text}),D)for(var Sn in rr)(hn=Sn.match(/^spans_(\d+)$/))&&(K(D,Number(hn[1]))>-1&&(fe(Pt)[Sn]=rr[Sn],delete rr[Sn]))}}return Z}function Os(L,D,Q,Z){if(Z){var ee=L.anchor;if(Q){var ke=It(D,ee)<0;ke!=It(Q,ee)<0?(ee=D,D=Q):ke!=It(D,Q)<0&&(D=Q)}return new re(ee,D)}else return new re(Q||D,D)}function Mo(L,D,Q,Z,ee){ee==null&&(ee=L.cm&&(L.cm.display.shift||L.extend)),os(L,new Vt([Os(L.sel.primary(),D,Q,ee)],0),Z)}function Ps(L,D,Q){for(var Z=[],ee=L.cm&&(L.cm.display.shift||L.extend),ke=0;ke<L.sel.ranges.length;ke++)Z[ke]=Os(L.sel.ranges[ke],D[ke],null,ee);var yt=ve(L.cm,Z,L.sel.primIndex);os(L,yt,Q)}function ms(L,D,Q,Z){var ee=L.sel.ranges.slice(0);ee[D]=Q,os(L,ve(L.cm,ee,L.sel.primIndex),Z)}function wl(L,D,Q,Z){os(L,Se(D,Q),Z)}function El(L,D,Q){var Z={ranges:D.ranges,update:function(ke){this.ranges=[];for(var yt=0;yt<ke.length;yt++)this.ranges[yt]=new re(ze(L,ke[yt].anchor),ze(L,ke[yt].head))},origin:Q&&Q.origin};return Mt(L,"beforeSelectionChange",L,Z),L.cm&&Mt(L.cm,"beforeSelectionChange",L.cm,Z),Z.ranges!=D.ranges?ve(L.cm,Z.ranges,Z.ranges.length-1):D}function Qs(L,D,Q){var Z=L.history.done,ee=fe(Z);ee&&ee.ranges?(Z[Z.length-1]=D,Qi(L,D,Q)):os(L,D,Q)}function os(L,D,Q){Qi(L,D,Q),Na(L,L.sel,L.cm?L.cm.curOp.id:NaN,Q)}function Qi(L,D,Q){(Tt(L,"beforeSelectionChange")||L.cm&&Tt(L.cm,"beforeSelectionChange"))&&(D=El(L,D,Q));var Z=Q&&Q.bias||(It(D.primary().head,L.sel.primary().head)<0?-1:1);nl(L,po(L,D,Z,!0)),!(Q&&Q.scroll===!1)&&L.cm&&Li(L.cm)}function nl(L,D){if(D.equals(L.sel))return;L.sel=D,L.cm&&(L.cm.curOp.updateInput=1,L.cm.curOp.selectionChanged=!0,kt(L.cm)),xr(L,"cursorActivity",L)}function sl(L){nl(L,po(L,L.sel,null,!1))}function po(L,D,Q,Z){for(var ee,ke=0;ke<D.ranges.length;ke++){var yt=D.ranges[ke],Pt=D.ranges.length==L.sel.ranges.length&&L.sel.ranges[ke],Zt=Eo(L,yt.anchor,Pt&&Pt.anchor,Q,Z),rr=Eo(L,yt.head,Pt&&Pt.head,Q,Z);(ee||Zt!=yt.anchor||rr!=yt.head)&&(ee||(ee=D.ranges.slice(0,ke)),ee[ke]=new re(Zt,rr))}return ee?ve(L.cm,ee,D.primIndex):D}function Ca(L,D,Q,Z,ee){var ke=q(L,D.line);if(ke.markedSpans)for(var yt=0;yt<ke.markedSpans.length;++yt){var Pt=ke.markedSpans[yt],Zt=Pt.marker,rr="selectLeft"in Zt?!Zt.selectLeft:Zt.inclusiveLeft,hn="selectRight"in Zt?!Zt.selectRight:Zt.inclusiveRight;if((Pt.from==null||(rr?Pt.from<=D.ch:Pt.from<D.ch))&&(Pt.to==null||(hn?Pt.to>=D.ch:Pt.to>D.ch))){if(ee&&(Mt(Zt,"beforeCursorEnter"),Zt.explicitlyCleared))if(ke.markedSpans){--yt;continue}else break;if(!Zt.atomic)continue;if(Q){var Sn=Zt.find(Z<0?1:-1),Pn=void 0;if((Z<0?hn:rr)&&(Sn=ko(L,Sn,-Z,Sn&&Sn.line==D.line?ke:null)),Sn&&Sn.line==D.line&&(Pn=It(Sn,Q))&&(Z<0?Pn<0:Pn>0))return Ca(L,Sn,D,Z,ee)}var zn=Zt.find(Z<0?-1:1);return(Z<0?rr:hn)&&(zn=ko(L,zn,Z,zn.line==D.line?ke:null)),zn?Ca(L,zn,D,Z,ee):null}}return D}function Eo(L,D,Q,Z,ee){var ke=Z||1,yt=Ca(L,D,Q,ke,ee)||!ee&&Ca(L,D,Q,ke,!0)||Ca(L,D,Q,-ke,ee)||!ee&&Ca(L,D,Q,-ke,!0);return yt||(L.cantEdit=!0,wt(L.first,0))}function ko(L,D,Q,Z){return Q<0&&D.ch==0?D.line>L.first?ze(L,wt(D.line-1)):null:Q>0&&D.ch==(Z||q(L,D.line)).text.length?D.line<L.first+L.size-1?wt(D.line+1,0):null:new wt(D.line,D.ch+Q)}function Ko(L){L.setSelection(wt(L.firstLine(),0),wt(L.lastLine()),be)}function Ao(L,D,Q){var Z={canceled:!1,from:D.from,to:D.to,text:D.text,origin:D.origin,cancel:function(){return Z.canceled=!0}};return Q&&(Z.update=function(ee,ke,yt,Pt){ee&&(Z.from=ze(L,ee)),ke&&(Z.to=ze(L,ke)),yt&&(Z.text=yt),Pt!==void 0&&(Z.origin=Pt)}),Mt(L,"beforeChange",L,Z),L.cm&&Mt(L.cm,"beforeChange",L.cm,Z),Z.canceled?(L.cm&&(L.cm.curOp.updateInput=2),null):{from:Z.from,to:Z.to,text:Z.text,origin:Z.origin}}function ss(L,D,Q){if(L.cm){if(!L.cm.curOp)return go(L.cm,ss)(L,D,Q);if(L.cm.state.suppressEdits)return}if((Tt(L,"beforeChange")||L.cm&&Tt(L.cm,"beforeChange"))&&(D=Ao(L,D,!0),!D))return;var Z=qr&&!Q&&mi(L,D.from,D.to);if(Z)for(var ee=Z.length-1;ee>=0;--ee)ys(L,{from:Z[ee].from,to:Z[ee].to,text:ee?[""]:D.text,origin:D.origin});else ys(L,D)}function ys(L,D){if(D.text.length==1&&D.text[0]==""&&It(D.from,D.to)==0)return;var Q=Qt(L,D);_o(L,D,Q,L.cm?L.cm.curOp.id:NaN),Ws(L,D,Q,oi(L,D));var Z=[];ri(L,function(ee,ke){!ke&&K(Z,ee.history)==-1&&(Bl(ee.history,D),Z.push(ee.history)),Ws(ee,D,null,oi(ee,D))})}function Rs(L,D,Q){var Z=L.cm&&L.cm.state.suppressEdits;if(Z&&!Q)return;for(var ee=L.history,ke,yt=L.sel,Pt=D=="undo"?ee.done:ee.undone,Zt=D=="undo"?ee.undone:ee.done,rr=0;rr<Pt.length&&!(ke=Pt[rr],Q?ke.ranges&&!ke.equals(L.sel):!ke.ranges);rr++);if(rr==Pt.length)return;for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(ke=Pt.pop(),ke.ranges){if(Ha(ke,Zt),Q&&!ke.equals(L.sel)){os(L,ke,{clearRedo:!1});return}yt=ke}else if(Z){Pt.push(ke);return}else break;var hn=[];Ha(yt,Zt),Zt.push({changes:hn,generation:ee.generation}),ee.generation=ke.generation||++ee.maxGeneration;for(var Sn=Tt(L,"beforeChange")||L.cm&&Tt(L.cm,"beforeChange"),Pn=function(ji){var Ui=ke.changes[ji];if(Ui.origin=D,Sn&&!Ao(L,Ui,!1))return Pt.length=0,{};hn.push(uo(L,Ui));var ra=ji?Qt(L,Ui):fe(Pt);Ws(L,Ui,ra,Cs(L,Ui)),!ji&&L.cm&&L.cm.scrollIntoView({from:Ui.from,to:We(Ui)});var ia=[];ri(L,function(fa,ao){!ao&&K(ia,fa.history)==-1&&(Bl(fa.history,Ui),ia.push(fa.history)),Ws(fa,Ui,null,Cs(fa,Ui))})},zn=ke.changes.length-1;zn>=0;--zn){var ci=Pn(zn);if(ci)return ci.v}}function Us(L,D){if(D==0)return;if(L.first+=D,L.sel=new Vt(He(L.sel.ranges,function(ee){return new re(wt(ee.anchor.line+D,ee.anchor.ch),wt(ee.head.line+D,ee.head.ch))}),L.sel.primIndex),L.cm){Di(L.cm,L.first,L.first-D,D);for(var Q=L.cm.display,Z=Q.viewFrom;Z<Q.viewTo;Z++)at(L.cm,Z,"gutter")}}function Ws(L,D,Q,Z){if(L.cm&&!L.cm.curOp)return go(L.cm,Ws)(L,D,Q,Z);if(D.to.line<L.first){Us(L,D.text.length-1-(D.to.line-D.from.line));return}if(D.from.line>L.lastLine())return;if(D.from.line<L.first){var ee=D.text.length-1-(L.first-D.from.line);Us(L,ee),D={from:wt(L.first,0),to:wt(D.to.line+ee,D.to.ch),text:[fe(D.text)],origin:D.origin}}var ke=L.lastLine();D.to.line>ke&&(D={from:D.from,to:wt(ke,q(L,ke).text.length),text:[D.text[0]],origin:D.origin}),D.removed=ue(L,D.from,D.to),Q||(Q=Qt(L,D)),L.cm?hl(L.cm,D,Z):jn(L,D,Z),Qi(L,Q,be),L.cantEdit&&Eo(L,wt(L.firstLine(),0))&&(L.cantEdit=!1)}function hl(L,D,Q){var Z=L.doc,ee=L.display,ke=D.from,yt=D.to,Pt=!1,Zt=ke.line;L.options.lineWrapping||(Zt=Ge(sn(q(Z,ke.line))),Z.iter(Zt,yt.line+1,function(zn){if(zn==ee.maxLine)return Pt=!0,!0})),Z.sel.contains(D.from,D.to)>-1&&kt(L),jn(Z,D,Q,Hi(L)),L.options.lineWrapping||(Z.iter(Zt,ke.line+D.text.length,function(zn){var ci=wn(zn);ci>ee.maxLineLength&&(ee.maxLine=zn,ee.maxLineLength=ci,ee.maxLineChanged=!0,Pt=!1)}),Pt&&(L.curOp.updateMaxLine=!0)),_n(Z,ke.line),Bo(L,400);var rr=D.text.length-(yt.line-ke.line)-1;D.full?Di(L):ke.line==yt.line&&D.text.length==1&&!Hn(L.doc,D)?at(L,ke.line,"text"):Di(L,ke.line,yt.line+1,rr);var hn=Tt(L,"changes"),Sn=Tt(L,"change");if(Sn||hn){var Pn={from:ke,to:yt,text:D.text,removed:D.removed,origin:D.origin};Sn&&xr(L,"change",L,Pn),hn&&(L.curOp.changeObjs||(L.curOp.changeObjs=[])).push(Pn)}L.display.selForContextMenu=null}function ll(L,D,Q,Z,ee){var ke;Z||(Z=Q),It(Z,Q)<0&&(ke=[Z,Q],Q=ke[0],Z=ke[1]),typeof D=="string"&&(D=L.splitLines(D)),ss(L,{from:Q,to:Z,text:D,origin:ee})}function zl(L,D,Q,Z){Q<L.line?L.line+=Z:D<L.line&&(L.line=D,L.ch=0)}function pu(L,D,Q,Z){for(var ee=0;ee<L.length;++ee){var ke=L[ee],yt=!0;if(ke.ranges){ke.copied||(ke=L[ee]=ke.deepCopy(),ke.copied=!0);for(var Pt=0;Pt<ke.ranges.length;Pt++)zl(ke.ranges[Pt].anchor,D,Q,Z),zl(ke.ranges[Pt].head,D,Q,Z);continue}for(var Zt=0;Zt<ke.changes.length;++Zt){var rr=ke.changes[Zt];if(Q<rr.from.line)rr.from=wt(rr.from.line+Z,rr.from.ch),rr.to=wt(rr.to.line+Z,rr.to.ch);else if(D<=rr.to.line){yt=!1;break}}yt||(L.splice(0,ee+1),ee=0)}}function Bl(L,D){var Q=D.from.line,Z=D.to.line,ee=D.text.length-(Z-Q)-1;pu(L.done,Q,Z,ee),pu(L.undone,Q,Z,ee)}function Pl(L,D,Q,Z){var ee=D,ke=D;return typeof D=="number"?ke=q(L,ft(L,D)):ee=Ge(D),ee==null?null:(Z(ke,ee)&&L.cm&&at(L.cm,ee,Q),ke)}function ul(L){this.lines=L,this.parent=null;for(var D=0,Q=0;Q<L.length;++Q)L[Q].parent=this,D+=L[Q].height;this.height=D}ul.prototype={chunkSize:function(){return this.lines.length},removeInner:function(D,Q){for(var Z=D,ee=D+Q;Z<ee;++Z){var ke=this.lines[Z];this.height-=ke.height,ii(ke),xr(ke,"delete")}this.lines.splice(D,Q)},collapse:function(D){D.push.apply(D,this.lines)},insertInner:function(D,Q,Z){this.height+=Z,this.lines=this.lines.slice(0,D).concat(Q).concat(this.lines.slice(D));for(var ee=0;ee<Q.length;++ee)Q[ee].parent=this},iterN:function(D,Q,Z){for(var ee=D+Q;D<ee;++D)if(Z(this.lines[D]))return!0}};function Cl(L){this.children=L;for(var D=0,Q=0,Z=0;Z<L.length;++Z){var ee=L[Z];D+=ee.chunkSize(),Q+=ee.height,ee.parent=this}this.size=D,this.height=Q,this.parent=null}Cl.prototype={chunkSize:function(){return this.size},removeInner:function(D,Q){this.size-=Q;for(var Z=0;Z<this.children.length;++Z){var ee=this.children[Z],ke=ee.chunkSize();if(D<ke){var yt=Math.min(Q,ke-D),Pt=ee.height;if(ee.removeInner(D,yt),this.height-=Pt-ee.height,ke==yt&&(this.children.splice(Z--,1),ee.parent=null),(Q-=yt)==0)break;D=0}else D-=ke}if(this.size-Q<25&&(this.children.length>1||!(this.children[0]instanceof ul))){var Zt=[];this.collapse(Zt),this.children=[new ul(Zt)],this.children[0].parent=this}},collapse:function(D){for(var Q=0;Q<this.children.length;++Q)this.children[Q].collapse(D)},insertInner:function(D,Q,Z){this.size+=Q.length,this.height+=Z;for(var ee=0;ee<this.children.length;++ee){var ke=this.children[ee],yt=ke.chunkSize();if(D<=yt){if(ke.insertInner(D,Q,Z),ke.lines&&ke.lines.length>50){for(var Pt=ke.lines.length%25+25,Zt=Pt;Zt<ke.lines.length;){var rr=new ul(ke.lines.slice(Zt,Zt+=25));ke.height-=rr.height,this.children.splice(++ee,0,rr),rr.parent=this}ke.lines=ke.lines.slice(0,Pt),this.maybeSpill()}break}D-=yt}},maybeSpill:function(){if(this.children.length<=10)return;var D=this;do{var Q=D.children.splice(D.children.length-5,5),Z=new Cl(Q);if(D.parent){D.size-=Z.size,D.height-=Z.height;var ke=K(D.parent.children,D);D.parent.children.splice(ke+1,0,Z)}else{var ee=new Cl(D.children);ee.parent=D,D.children=[ee,Z],D=ee}Z.parent=D.parent}while(D.children.length>10);D.parent.maybeSpill()},iterN:function(D,Q,Z){for(var ee=0;ee<this.children.length;++ee){var ke=this.children[ee],yt=ke.chunkSize();if(D<yt){var Pt=Math.min(Q,yt-D);if(ke.iterN(D,Pt,Z))return!0;if((Q-=Pt)==0)break;D=0}else D-=yt}}};var Tl=function(D,Q,Z){if(Z)for(var ee in Z)Z.hasOwnProperty(ee)&&(this[ee]=Z[ee]);this.doc=D,this.node=Q};Tl.prototype.clear=function(){var L=this.doc.cm,D=this.line.widgets,Q=this.line,Z=Ge(Q);if(Z==null||!D)return;for(var ee=0;ee<D.length;++ee)D[ee]==this&&D.splice(ee--,1);D.length||(Q.widgets=null);var ke=Qr(this);Ee(Q,Math.max(0,Q.height-ke)),L&&(co(L,function(){Sl(L,Q,-ke),at(L,Z,"widget")}),xr(L,"lineWidgetCleared",L,this,Z))},Tl.prototype.changed=function(){var L=this,D=this.height,Q=this.doc.cm,Z=this.line;this.height=null;var ee=Qr(this)-D;if(!ee)return;br(this.doc,Z)||Ee(Z,Z.height+ee),Q&&co(Q,function(){Q.curOp.forceUpdate=!0,Sl(Q,Z,ee),xr(Q,"lineWidgetChanged",Q,L,Ge(Z))})},Dt(Tl);function Sl(L,D,Q){zr(D)<(L.curOp&&L.curOp.scrollTop||L.doc.scrollTop)&&Mi(L,Q)}function mu(L,D,Q,Z){var ee=new Tl(L,Q,Z),ke=L.cm;return ke&&ee.noHScroll&&(ke.display.alignWidgets=!0),Pl(L,D,"widget",function(yt){var Pt=yt.widgets||(yt.widgets=[]);if(ee.insertAt==null?Pt.push(ee):Pt.splice(Math.min(Pt.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=yt,ke&&!br(L,yt)){var Zt=zr(yt)<L.scrollTop;Ee(yt,yt.height+Qr(ee)),Zt&&Mi(ke,ee.height),ke.curOp.forceUpdate=!0}return!0}),ke&&xr(ke,"lineWidgetAdded",ke,ee,typeof D=="number"?D:Ge(D)),ee}var gu=0,js=function(D,Q){this.lines=[],this.type=Q,this.doc=D,this.id=++gu};js.prototype.clear=function(){if(this.explicitlyCleared)return;var L=this.doc.cm,D=L&&!L.curOp;if(D&&So(L),Tt(this,"clear")){var Q=this.find();Q&&xr(this,"clear",Q.from,Q.to)}for(var Z=null,ee=null,ke=0;ke<this.lines.length;++ke){var yt=this.lines[ke],Pt=Ar(yt.markedSpans,this);L&&!this.collapsed?at(L,Ge(yt),"text"):L&&(Pt.to!=null&&(ee=Ge(yt)),Pt.from!=null&&(Z=Ge(yt))),yt.markedSpans=Mr(yt.markedSpans,Pt),Pt.from==null&&this.collapsed&&!br(this.doc,yt)&&L&&Ee(yt,Sa(L.display))}if(L&&this.collapsed&&!L.options.lineWrapping)for(var Zt=0;Zt<this.lines.length;++Zt){var rr=sn(this.lines[Zt]),hn=wn(rr);hn>L.display.maxLineLength&&(L.display.maxLine=rr,L.display.maxLineLength=hn,L.display.maxLineChanged=!0)}Z!=null&&L&&this.collapsed&&Di(L,Z,ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,L&&sl(L.doc)),L&&xr(L,"markerCleared",L,this,Z,ee),D&&Ia(L),this.parent&&this.parent.clear()},js.prototype.find=function(L,D){L==null&&this.type=="bookmark"&&(L=1);for(var Q,Z,ee=0;ee<this.lines.length;++ee){var ke=this.lines[ee],yt=Ar(ke.markedSpans,this);if(yt.from!=null&&(Q=wt(D?ke:Ge(ke),yt.from),L==-1))return Q;if(yt.to!=null&&(Z=wt(D?ke:Ge(ke),yt.to),L==1))return Z}return Q&&{from:Q,to:Z}},js.prototype.changed=function(){var L=this,D=this.find(-1,!0),Q=this,Z=this.doc.cm;if(!D||!Z)return;co(Z,function(){var ee=D.line,ke=Ge(D.line),yt=$n(Z,ke);if(yt&&(_i(yt),Z.curOp.selectionChanged=Z.curOp.forceUpdate=!0),Z.curOp.updateMaxLine=!0,!br(Q.doc,ee)&&Q.height!=null){var Pt=Q.height;Q.height=null;var Zt=Qr(Q)-Pt;Zt&&Ee(ee,ee.height+Zt)}xr(Z,"markerChanged",Z,L)})},js.prototype.attachLine=function(L){if(!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(!D.maybeHiddenMarkers||K(D.maybeHiddenMarkers,this)==-1)&&(D.maybeUnhiddenMarkers||(D.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(L)},js.prototype.detachLine=function(L){if(this.lines.splice(K(this.lines,L),1),!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(D.maybeHiddenMarkers||(D.maybeHiddenMarkers=[])).push(this)}},Dt(js);function fl(L,D,Q,Z,ee){if(Z&&Z.shared)return Au(L,D,Q,Z,ee);if(L.cm&&!L.cm.curOp)return go(L.cm,fl)(L,D,Q,Z,ee);var ke=new js(L,ee),yt=It(D,Q);if(Z&&H(Z,ke,!1),yt>0||yt==0&&ke.clearWhenEmpty!==!1)return ke;if(ke.replacedWith&&(ke.collapsed=!0,ke.widgetNode=k("span",[ke.replacedWith],"CodeMirror-widget"),Z.handleMouseEvents||ke.widgetNode.setAttribute("cm-ignore-events","true"),Z.insertLeft&&(ke.widgetNode.insertLeft=!0)),ke.collapsed){if(Kr(L,D.line,D,Q,ke)||D.line!=Q.line&&Kr(L,Q.line,D,Q,ke))throw new Error("Inserting collapsed marker partially overlapping an existing one");cr()}ke.addToHistory&&_o(L,{from:D,to:Q,origin:"markText"},L.sel,NaN);var Pt=D.line,Zt=L.cm,rr;if(L.iter(Pt,Q.line+1,function(Sn){Zt&&ke.collapsed&&!Zt.options.lineWrapping&&sn(Sn)==Zt.display.maxLine&&(rr=!0),ke.collapsed&&Pt!=D.line&&Ee(Sn,0),fn(Sn,new Pr(ke,Pt==D.line?D.ch:null,Pt==Q.line?Q.ch:null)),++Pt}),ke.collapsed&&L.iter(D.line,Q.line+1,function(Sn){br(L,Sn)&&Ee(Sn,0)}),ke.clearOnEnter&&Me(ke,"beforeCursorEnter",function(){return ke.clear()}),ke.readOnly&&(nn(),(L.history.done.length||L.history.undone.length)&&L.clearHistory()),ke.collapsed&&(ke.id=++gu,ke.atomic=!0),Zt){if(rr&&(Zt.curOp.updateMaxLine=!0),ke.collapsed)Di(Zt,D.line,Q.line+1);else if(ke.className||ke.startStyle||ke.endStyle||ke.css||ke.attributes||ke.title)for(var hn=D.line;hn<=Q.line;hn++)at(Zt,hn,"text");ke.atomic&&sl(Zt.doc),xr(Zt,"markerAdded",Zt,ke)}return ke}var Ol=function(D,Q){this.markers=D,this.primary=Q;for(var Z=0;Z<D.length;++Z)D[Z].parent=this};Ol.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var L=0;L<this.markers.length;++L)this.markers[L].clear();xr(this,"clear")},Ol.prototype.find=function(L,D){return this.primary.find(L,D)},Dt(Ol);function Au(L,D,Q,Z,ee){Z=H(Z),Z.shared=!1;var ke=[fl(L,D,Q,Z,ee)],yt=ke[0],Pt=Z.widgetNode;return ri(L,function(Zt){Pt&&(Z.widgetNode=Pt.cloneNode(!0)),ke.push(fl(Zt,ze(Zt,D),ze(Zt,Q),Z,ee));for(var rr=0;rr<Zt.linked.length;++rr)if(Zt.linked[rr].isParent)return;yt=fe(ke)}),new Ol(ke,yt)}function vu(L){return L.findMarks(wt(L.first,0),L.clipPos(wt(L.lastLine())),function(D){return D.parent})}function nu(L,D){for(var Q=0;Q<D.length;Q++){var Z=D[Q],ee=Z.find(),ke=L.clipPos(ee.from),yt=L.clipPos(ee.to);if(It(ke,yt)){var Pt=fl(L,ke,yt,Z.primary,Z.primary.type);Z.markers.push(Pt),Pt.parent=Z}}}function yu(L){for(var D=function(ee){var ke=L[ee],yt=[ke.primary.doc];ri(ke.primary.doc,function(rr){return yt.push(rr)});for(var Pt=0;Pt<ke.markers.length;Pt++){var Zt=ke.markers[Pt];K(yt,Zt.doc)==-1&&(Zt.parent=null,ke.markers.splice(Pt--,1))}},Q=0;Q<L.length;Q++)D(Q)}var _l=0,Hs=function L(D,Q,Z,ee,ke){if(!(this instanceof L))return new L(D,Q,Z,ee,ke);Z==null&&(Z=0),Cl.call(this,[new ul([new Wn("",null)])]),this.first=Z,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Z;var yt=wt(Z,0);this.sel=Se(yt),this.history=new no(null),this.id=++_l,this.modeOption=Q,this.lineSep=ee,this.direction=ke=="rtl"?"rtl":"ltr",this.extend=!1,typeof D=="string"&&(D=this.splitLines(D)),jn(this,{from:yt,to:yt,text:D}),os(this,Se(yt),be)};Hs.prototype=mt(Cl.prototype,{constructor:Hs,iter:function(D,Q,Z){Z?this.iterN(D-this.first,Q-D,Z):this.iterN(this.first,this.first+this.size,D)},insert:function(D,Q){for(var Z=0,ee=0;ee<Q.length;++ee)Z+=Q[ee].height;this.insertInner(D-this.first,Q,Z)},remove:function(D,Q){this.removeInner(D-this.first,Q)},getValue:function(D){var Q=me(this,this.first,this.first+this.size);return D===!1?Q:Q.join(D||this.lineSeparator())},setValue:Io(function(L){var D=wt(this.first,0),Q=this.first+this.size-1;ss(this,{from:D,to:wt(Q,q(this,Q).text.length),text:this.splitLines(L),origin:"setValue",full:!0},!0),this.cm&&Ki(this.cm,0,0),os(this,Se(D),be)}),replaceRange:function(D,Q,Z,ee){Q=ze(this,Q),Z=Z?ze(this,Z):Q,ll(this,D,Q,Z,ee)},getRange:function(D,Q,Z){var ee=ue(this,ze(this,D),ze(this,Q));return Z===!1?ee:ee.join(Z||this.lineSeparator())},getLine:function(D){var Q=this.getLineHandle(D);return Q&&Q.text},getLineHandle:function(D){if(Kt(this,D))return q(this,D)},getLineNumber:function(D){return Ge(D)},getLineHandleVisualStart:function(D){return typeof D=="number"&&(D=q(this,D)),sn(D)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(D){return ze(this,D)},getCursor:function(D){var Q=this.sel.primary(),Z;return D==null||D=="head"?Z=Q.head:D=="anchor"?Z=Q.anchor:D=="end"||D=="to"||D===!1?Z=Q.to():Z=Q.from(),Z},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Io(function(L,D,Q){wl(this,ze(this,typeof L=="number"?wt(L,D||0):L),null,Q)}),setSelection:Io(function(L,D,Q){wl(this,ze(this,L),ze(this,D||L),Q)}),extendSelection:Io(function(L,D,Q){Mo(this,ze(this,L),D&&ze(this,D),Q)}),extendSelections:Io(function(L,D){Ps(this,qe(this,L),D)}),extendSelectionsBy:Io(function(L,D){var Q=He(this.sel.ranges,L);Ps(this,qe(this,Q),D)}),setSelections:Io(function(L,D,Q){if(!L.length)return;for(var Z=[],ee=0;ee<L.length;ee++)Z[ee]=new re(ze(this,L[ee].anchor),ze(this,L[ee].head));D==null&&(D=Math.min(L.length-1,this.sel.primIndex)),os(this,ve(this.cm,Z,D),Q)}),addSelection:Io(function(L,D,Q){var Z=this.sel.ranges.slice(0);Z.push(new re(ze(this,L),ze(this,D||L))),os(this,ve(this.cm,Z,Z.length-1),Q)}),getSelection:function(D){for(var Q=this.sel.ranges,Z,ee=0;ee<Q.length;ee++){var ke=ue(this,Q[ee].from(),Q[ee].to());Z=Z?Z.concat(ke):ke}return D===!1?Z:Z.join(D||this.lineSeparator())},getSelections:function(D){for(var Q=[],Z=this.sel.ranges,ee=0;ee<Z.length;ee++){var ke=ue(this,Z[ee].from(),Z[ee].to());D!==!1&&(ke=ke.join(D||this.lineSeparator())),Q[ee]=ke}return Q},replaceSelection:function(D,Q,Z){for(var ee=[],ke=0;ke<this.sel.ranges.length;ke++)ee[ke]=D;this.replaceSelections(ee,Q,Z||"+input")},replaceSelections:Io(function(L,D,Q){for(var Z=[],ee=this.sel,ke=0;ke<ee.ranges.length;ke++){var yt=ee.ranges[ke];Z[ke]={from:yt.from(),to:yt.to(),text:this.splitLines(L[ke]),origin:Q}}for(var Pt=D&&D!="end"&&Ur(this,Z,D),Zt=Z.length-1;Zt>=0;Zt--)ss(this,Z[Zt]);Pt?Qs(this,Pt):this.cm&&Li(this.cm)}),undo:Io(function(){Rs(this,"undo")}),redo:Io(function(){Rs(this,"redo")}),undoSelection:Io(function(){Rs(this,"undo",!0)}),redoSelection:Io(function(){Rs(this,"redo",!0)}),setExtending:function(D){this.extend=D},getExtending:function(){return this.extend},historySize:function(){for(var D=this.history,Q=0,Z=0,ee=0;ee<D.done.length;ee++)D.done[ee].ranges||++Q;for(var ke=0;ke<D.undone.length;ke++)D.undone[ke].ranges||++Z;return{undo:Q,redo:Z}},clearHistory:function(){var D=this;this.history=new no(this.history.maxGeneration),ri(this,function(Q){return Q.history=D.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(D){return D&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(D){return this.history.generation==(D||this.cleanGeneration)},getHistory:function(){return{done:Ts(this.history.done),undone:Ts(this.history.undone)}},setHistory:function(D){var Q=this.history=new no(this.history.maxGeneration);Q.done=Ts(D.done.slice(0),null,!0),Q.undone=Ts(D.undone.slice(0),null,!0)},setGutterMarker:Io(function(L,D,Q){return Pl(this,L,"gutter",function(Z){var ee=Z.gutterMarkers||(Z.gutterMarkers={});return ee[D]=Q,!Q&&le(ee)&&(Z.gutterMarkers=null),!0})}),clearGutter:Io(function(L){var D=this;this.iter(function(Q){Q.gutterMarkers&&Q.gutterMarkers[L]&&Pl(D,Q,"gutter",function(){return Q.gutterMarkers[L]=null,le(Q.gutterMarkers)&&(Q.gutterMarkers=null),!0})})}),lineInfo:function(D){var Q;if(typeof D=="number"){if(!Kt(this,D))return null;if(Q=D,D=q(this,D),!D)return null}else if(Q=Ge(D),Q==null)return null;return{line:Q,handle:D,text:D.text,gutterMarkers:D.gutterMarkers,textClass:D.textClass,bgClass:D.bgClass,wrapClass:D.wrapClass,widgets:D.widgets}},addLineClass:Io(function(L,D,Q){return Pl(this,L,D=="gutter"?"gutter":"class",function(Z){var ee=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass";if(!Z[ee])Z[ee]=Q;else{if(T(Q).test(Z[ee]))return!1;Z[ee]+=" "+Q}return!0})}),removeLineClass:Io(function(L,D,Q){return Pl(this,L,D=="gutter"?"gutter":"class",function(Z){var ee=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass",ke=Z[ee];if(ke)if(Q==null)Z[ee]=null;else{var yt=ke.match(T(Q));if(!yt)return!1;var Pt=yt.index+yt[0].length;Z[ee]=ke.slice(0,yt.index)+(!yt.index||Pt==ke.length?"":" ")+ke.slice(Pt)||null}else return!1;return!0})}),addLineWidget:Io(function(L,D,Q){return mu(this,L,D,Q)}),removeLineWidget:function(D){D.clear()},markText:function(D,Q,Z){return fl(this,ze(this,D),ze(this,Q),Z,Z&&Z.type||"range")},setBookmark:function(D,Q){var Z={replacedWith:Q&&(Q.nodeType==null?Q.widget:Q),insertLeft:Q&&Q.insertLeft,clearWhenEmpty:!1,shared:Q&&Q.shared,handleMouseEvents:Q&&Q.handleMouseEvents};return D=ze(this,D),fl(this,D,D,Z,"bookmark")},findMarksAt:function(D){D=ze(this,D);var Q=[],Z=q(this,D.line).markedSpans;if(Z)for(var ee=0;ee<Z.length;++ee){var ke=Z[ee];(ke.from==null||ke.from<=D.ch)&&(ke.to==null||ke.to>=D.ch)&&Q.push(ke.marker.parent||ke.marker)}return Q},findMarks:function(D,Q,Z){D=ze(this,D),Q=ze(this,Q);var ee=[],ke=D.line;return this.iter(D.line,Q.line+1,function(yt){var Pt=yt.markedSpans;if(Pt)for(var Zt=0;Zt<Pt.length;Zt++){var rr=Pt[Zt];!(rr.to!=null&&ke==D.line&&D.ch>=rr.to||rr.from==null&&ke!=D.line||rr.from!=null&&ke==Q.line&&rr.from>=Q.ch)&&(!Z||Z(rr.marker))&&ee.push(rr.marker.parent||rr.marker)}++ke}),ee},getAllMarks:function(){var D=[];return this.iter(function(Q){var Z=Q.markedSpans;if(Z)for(var ee=0;ee<Z.length;++ee)Z[ee].from!=null&&D.push(Z[ee].marker)}),D},posFromIndex:function(D){var Q,Z=this.first,ee=this.lineSeparator().length;return this.iter(function(ke){var yt=ke.text.length+ee;if(yt>D)return Q=D,!0;D-=yt,++Z}),ze(this,wt(Z,Q))},indexFromPos:function(D){D=ze(this,D);var Q=D.ch;if(D.line<this.first||D.ch<0)return 0;var Z=this.lineSeparator().length;return this.iter(this.first,D.line,function(ee){Q+=ee.text.length+Z}),Q},copy:function(D){var Q=new Hs(me(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,D&&(Q.history.undoDepth=this.history.undoDepth,Q.setHistory(this.getHistory())),Q},linkedDoc:function(D){D||(D={});var Q=this.first,Z=this.first+this.size;D.from!=null&&D.from>Q&&(Q=D.from),D.to!=null&&D.to<Z&&(Z=D.to);var ee=new Hs(me(this,Q,Z),D.mode||this.modeOption,Q,this.lineSep,this.direction);return D.sharedHist&&(ee.history=this.history),(this.linked||(this.linked=[])).push({doc:ee,sharedHist:D.sharedHist}),ee.linked=[{doc:this,isParent:!0,sharedHist:D.sharedHist}],nu(ee,vu(this)),ee},unlinkDoc:function(D){if(D instanceof gs&&(D=D.doc),this.linked)for(var Q=0;Q<this.linked.length;++Q){var Z=this.linked[Q];if(Z.doc!=D)continue;this.linked.splice(Q,1),D.unlinkDoc(this),yu(vu(this));break}if(D.history==this.history){var ee=[D.id];ri(D,function(ke){return ee.push(ke.id)},!0),D.history=new no(null),D.history.done=Ts(this.history.done,ee),D.history.undone=Ts(this.history.undone,ee)}},iterLinkedDocs:function(D){ri(this,D)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(D){return this.lineSep?D.split(this.lineSep):Fr(D)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Io(function(L){if(L!="rtl"&&(L="ltr"),L==this.direction)return;this.direction=L,this.iter(function(D){return D.order=null}),this.cm&&xa(this.cm)})}),Hs.prototype.eachLine=Hs.prototype.iter;var Vl=0;function iu(L){var D=this;if(Gl(D),jt(D,L)||gt(D.display,L))return;Ue(L),c&&(Vl=+new Date);var Q=Da(D,L,!0),Z=L.dataTransfer.files;if(!Q||D.isReadOnly())return;if(Z&&Z.length&&window.FileReader&&window.File)for(var ee=Z.length,ke=Array(ee),yt=0,Pt=function(){++yt==ee&&go(D,function(){Q=ze(D.doc,Q);var ci={from:Q,to:Q,text:D.doc.splitLines(ke.filter(function(Ti){return Ti!=null}).join(D.doc.lineSeparator())),origin:"paste"};ss(D.doc,ci),Qs(D.doc,Se(ze(D.doc,Q),ze(D.doc,We(ci))))})()},Zt=function(ci,Ti){if(D.options.allowDropFileTypes&&K(D.options.allowDropFileTypes,ci.type)==-1){Pt();return}var ji=new FileReader;ji.onerror=function(){return Pt()},ji.onload=function(){var Ui=ji.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ui)){Pt();return}ke[Ti]=Ui,Pt()},ji.readAsText(ci)},rr=0;rr<Z.length;rr++)Zt(Z[rr],rr);else{if(D.state.draggingText&&D.doc.sel.contains(Q)>-1){D.state.draggingText(L),setTimeout(function(){return D.display.input.focus()},20);return}try{var hn=L.dataTransfer.getData("Text");if(hn){var Sn;if(D.state.draggingText&&!D.state.draggingText.copy&&(Sn=D.listSelections()),Qi(D.doc,Se(Q,Q)),Sn)for(var Pn=0;Pn<Sn.length;++Pn)ll(D.doc,"",Sn[Pn].anchor,Sn[Pn].head,"drag");D.replaceSelection(hn,"around","paste"),D.display.input.focus()}}catch(zn){}}}function Xl(L,D){if(c&&(!L.state.draggingText||+new Date-Vl<100)){Pe(D);return}if(jt(L,D)||gt(L.display,D))return;if(D.dataTransfer.setData("Text",L.getSelection()),D.dataTransfer.effectAllowed="copyMove",D.dataTransfer.setDragImage&&!t){var Q=I("img",null,null,"position: fixed; left: 0; top: 0;");Q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(Q.width=Q.height=1,L.display.wrapper.appendChild(Q),Q._top=Q.offsetTop),D.dataTransfer.setDragImage(Q,0,0),d&&Q.parentNode.removeChild(Q)}}function bu(L,D){var Q=Da(L,D);if(!Q)return;var Z=document.createDocumentFragment();dn(L,Q,Z),L.display.dragCursor||(L.display.dragCursor=I("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),L.display.lineSpace.insertBefore(L.display.dragCursor,L.display.cursorDiv)),_(L.display.dragCursor,Z)}function Gl(L){L.display.dragCursor&&(L.display.lineSpace.removeChild(L.display.dragCursor),L.display.dragCursor=null)}function au(L){if(!document.getElementsByClassName)return;for(var D=document.getElementsByClassName("CodeMirror"),Q=[],Z=0;Z<D.length;Z++){var ee=D[Z].CodeMirror;ee&&Q.push(ee)}Q.length&&Q[0].operation(function(){for(var ke=0;ke<Q.length;ke++)L(Q[ke])})}var Ll=!1;function ou(){if(Ll)return;Ul(),Ll=!0}function Ul(){var L;Me(window,"resize",function(){L==null&&(L=setTimeout(function(){L=null,au(wu)},100))}),Me(window,"blur",function(){return au(Mn)})}function wu(L){var D=L.display;D.cachedCharWidth=D.cachedTextHeight=D.cachedPaddingH=null,D.scrollbarsClipped=!1,L.setSize()}for(var il={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"},Il=0;Il<10;Il++)il[Il+48]=il[Il+96]=String(Il);for(var xl=65;xl<=90;xl++)il[xl]=String.fromCharCode(xl);for(var Nl=1;Nl<=12;Nl++)il[Nl+111]=il[Nl+63235]="F"+Nl;var al={};al.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"},al.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"},al.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"},al.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"]},al.default=y?al.macDefault:al.pcDefault;function Nu(L){var D=L.split(/-(?!$)/);L=D[D.length-1];for(var Q,Z,ee,ke,yt=0;yt<D.length-1;yt++){var Pt=D[yt];if(/^(cmd|meta|m)$/i.test(Pt))ke=!0;else if(/^a(lt)?$/i.test(Pt))Q=!0;else if(/^(c|ctrl|control)$/i.test(Pt))Z=!0;else if(/^s(hift)?$/i.test(Pt))ee=!0;else throw new Error("Unrecognized modifier name: "+Pt)}return Q&&(L="Alt-"+L),Z&&(L="Ctrl-"+L),ke&&(L="Cmd-"+L),ee&&(L="Shift-"+L),L}function zs(L){var D={};for(var Q in L)if(L.hasOwnProperty(Q)){var Z=L[Q];if(/^(name|fallthrough|(de|at)tach)$/.test(Q))continue;if(Z=="..."){delete L[Q];continue}for(var ee=He(Q.split(" "),Nu),ke=0;ke<ee.length;ke++){var yt=void 0,Pt=void 0;ke==ee.length-1?(Pt=ee.join(" "),yt=Z):(Pt=ee.slice(0,ke+1).join(" "),yt="...");var Zt=D[Pt];if(!Zt)D[Pt]=yt;else if(Zt!=yt)throw new Error("Inconsistent bindings for "+Pt)}delete L[Q]}for(var rr in D)L[rr]=D[rr];return L}function $s(L,D,Q,Z){D=pl(D);var ee=D.call?D.call(L,Z):D[L];if(ee===!1)return"nothing";if(ee==="...")return"multi";if(ee!=null&&Q(ee))return"handled";if(D.fallthrough){if(Object.prototype.toString.call(D.fallthrough)!="[object Array]")return $s(L,D.fallthrough,Q,Z);for(var ke=0;ke<D.fallthrough.length;ke++){var yt=$s(L,D.fallthrough[ke],Q,Z);if(yt)return yt}}}function jl(L){var D=typeof L=="string"?L:il[L.keyCode];return D=="Ctrl"||D=="Alt"||D=="Shift"||D=="Mod"}function Su(L,D,Q){var Z=L;return D.altKey&&Z!="Alt"&&(L="Alt-"+L),(w?D.metaKey:D.ctrlKey)&&Z!="Ctrl"&&(L="Ctrl-"+L),(w?D.ctrlKey:D.metaKey)&&Z!="Mod"&&(L="Cmd-"+L),!Q&&D.shiftKey&&Z!="Shift"&&(L="Shift-"+L),L}function Ql(L,D){if(d&&L.keyCode==34&&L.char)return!1;var Q=il[L.keyCode];return Q==null||L.altGraphKey?!1:(L.keyCode==3&&L.code&&(Q=L.code),Su(Q,L,D))}function pl(L){return typeof L=="string"?al[L]:L}function Js(L,D){for(var Q=L.doc.sel.ranges,Z=[],ee=0;ee<Q.length;ee++){for(var ke=D(Q[ee]);Z.length&&It(ke.from,fe(Z).to)<=0;){var yt=Z.pop();if(It(yt.from,ke.from)<0){ke.from=yt.from;break}}Z.push(ke)}co(L,function(){for(var Pt=Z.length-1;Pt>=0;Pt--)ll(L.doc,"",Z[Pt].from,Z[Pt].to,"+delete");Li(L)})}function Yl(L,D,Q){var Z=Ze(L.text,D+Q,Q);return Z<0||Z>L.text.length?null:Z}function su(L,D,Q){var Z=Yl(L,D.ch,Q);return Z==null?null:new wt(D.line,Z,Q<0?"after":"before")}function lu(L,D,Q,Z,ee){if(L){D.doc.direction=="rtl"&&(ee=-ee);var ke=lt(Q,D.doc.direction);if(ke){var yt=ee<0?fe(ke):ke[0],Pt=ee<0==(yt.level==1),Zt=Pt?"after":"before",rr;if(yt.level>0||D.doc.direction=="rtl"){var hn=Si(D,Q);rr=ee<0?Q.text.length-1:0;var Sn=Ci(D,hn,rr).top;rr=De(function(Pn){return Ci(D,hn,Pn).top==Sn},ee<0==(yt.level==1)?yt.from:yt.to-1,rr),Zt=="before"&&(rr=Yl(Q,rr,1))}else rr=ee<0?yt.to:yt.from;return new wt(Z,rr,Zt)}}return new wt(Z,ee<0?Q.text.length:0,ee<0?"before":"after")}function uu(L,D,Q,Z){var ee=lt(D,L.doc.direction);if(!ee)return su(D,Q,Z);Q.ch>=D.text.length?(Q.ch=D.text.length,Q.sticky="before"):Q.ch<=0&&(Q.ch=0,Q.sticky="after");var ke=pe(ee,Q.ch,Q.sticky),yt=ee[ke];if(L.doc.direction=="ltr"&&yt.level%2==0&&(Z>0?yt.to>Q.ch:yt.from<Q.ch))return su(D,Q,Z);var Pt=function(ra,ia){return Yl(D,ra instanceof wt?ra.ch:ra,ia)},Zt,rr=function(ra){return L.options.lineWrapping?(Zt=Zt||Si(L,D),Yi(L,D,Zt,ra)):{begin:0,end:D.text.length}},hn=rr(Q.sticky=="before"?Pt(Q,-1):Q.ch);if(L.doc.direction=="rtl"||yt.level==1){var Sn=yt.level==1==Z<0,Pn=Pt(Q,Sn?1:-1);if(Pn!=null&&(Sn?Pn<=yt.to&&Pn<=hn.end:Pn>=yt.from&&Pn>=hn.begin)){var zn=Sn?"before":"after";return new wt(Q.line,Pn,zn)}}var ci=function(ra,ia,fa){for(var ao=function(As,Zs){return Zs?new wt(Q.line,Pt(As,1),"before"):new wt(Q.line,As,"after")};ra>=0&&ra<ee.length;ra+=ia){var Qa=ee[ra],Fo=ia>0==(Qa.level!=1),qo=Fo?fa.begin:Pt(fa.end,-1);if(Qa.from<=qo&&qo<Qa.to)return ao(qo,Fo);if(qo=Fo?Qa.from:Pt(Qa.to,-1),fa.begin<=qo&&qo<fa.end)return ao(qo,Fo)}},Ti=ci(ke+Z,Z,hn);if(Ti)return Ti;var ji=Z>0?hn.end:Pt(hn.begin,-1);return ji!=null&&!(Z>0&&ji==D.text.length)&&(Ti=ci(Z>0?0:ee.length-1,Z,rr(ji)),Ti)?Ti:null}var ml={selectAll:Ko,singleSelection:function(D){return D.setSelection(D.getCursor("anchor"),D.getCursor("head"),be)},killLine:function(D){return Js(D,function(Q){if(Q.empty()){var Z=q(D.doc,Q.head.line).text.length;return Q.head.ch==Z&&Q.head.line<D.lastLine()?{from:Q.head,to:wt(Q.head.line+1,0)}:{from:Q.head,to:wt(Q.head.line,Z)}}else return{from:Q.from(),to:Q.to()}})},deleteLine:function(D){return Js(D,function(Q){return{from:wt(Q.from().line,0),to:ze(D.doc,wt(Q.to().line+1,0))}})},delLineLeft:function(D){return Js(D,function(Q){return{from:wt(Q.from().line,0),to:Q.from()}})},delWrappedLineLeft:function(D){return Js(D,function(Q){var Z=D.charCoords(Q.head,"div").top+5,ee=D.coordsChar({left:0,top:Z},"div");return{from:ee,to:Q.from()}})},delWrappedLineRight:function(D){return Js(D,function(Q){var Z=D.charCoords(Q.head,"div").top+5,ee=D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:Z},"div");return{from:Q.from(),to:ee}})},undo:function(D){return D.undo()},redo:function(D){return D.redo()},undoSelection:function(D){return D.undoSelection()},redoSelection:function(D){return D.redoSelection()},goDocStart:function(D){return D.extendSelection(wt(D.firstLine(),0))},goDocEnd:function(D){return D.extendSelection(wt(D.lastLine()))},goLineStart:function(D){return D.extendSelectionsBy(function(Q){return Hl(D,Q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(D){return D.extendSelectionsBy(function(Q){return Kl(D,Q.head)},{origin:"+move",bias:1})},goLineEnd:function(D){return D.extendSelectionsBy(function(Q){return Dl(D,Q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(D){return D.extendSelectionsBy(function(Q){var Z=D.cursorCoords(Q.head,"div").top+5;return D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:Z},"div")},Te)},goLineLeft:function(D){return D.extendSelectionsBy(function(Q){var Z=D.cursorCoords(Q.head,"div").top+5;return D.coordsChar({left:0,top:Z},"div")},Te)},goLineLeftSmart:function(D){return D.extendSelectionsBy(function(Q){var Z=D.cursorCoords(Q.head,"div").top+5,ee=D.coordsChar({left:0,top:Z},"div");return ee.ch<D.getLine(ee.line).search(/\S/)?Kl(D,Q.head):ee},Te)},goLineUp:function(D){return D.moveV(-1,"line")},goLineDown:function(D){return D.moveV(1,"line")},goPageUp:function(D){return D.moveV(-1,"page")},goPageDown:function(D){return D.moveV(1,"page")},goCharLeft:function(D){return D.moveH(-1,"char")},goCharRight:function(D){return D.moveH(1,"char")},goColumnLeft:function(D){return D.moveH(-1,"column")},goColumnRight:function(D){return D.moveH(1,"column")},goWordLeft:function(D){return D.moveH(-1,"word")},goGroupRight:function(D){return D.moveH(1,"group")},goGroupLeft:function(D){return D.moveH(-1,"group")},goWordRight:function(D){return D.moveH(1,"word")},delCharBefore:function(D){return D.deleteH(-1,"codepoint")},delCharAfter:function(D){return D.deleteH(1,"char")},delWordBefore:function(D){return D.deleteH(-1,"word")},delWordAfter:function(D){return D.deleteH(1,"word")},delGroupBefore:function(D){return D.deleteH(-1,"group")},delGroupAfter:function(D){return D.deleteH(1,"group")},indentAuto:function(D){return D.indentSelection("smart")},indentMore:function(D){return D.indentSelection("add")},indentLess:function(D){return D.indentSelection("subtract")},insertTab:function(D){return D.replaceSelection(" ")},insertSoftTab:function(D){for(var Q=[],Z=D.listSelections(),ee=D.options.tabSize,ke=0;ke<Z.length;ke++){var yt=Z[ke].from(),Pt=W(D.getLine(yt.line),yt.ch,ee);Q.push(Qe(ee-Pt%ee))}D.replaceSelections(Q)},defaultTab:function(D){D.somethingSelected()?D.indentSelection("add"):D.execCommand("insertTab")},transposeChars:function(D){return co(D,function(){for(var Q=D.listSelections(),Z=[],ee=0;ee<Q.length;ee++){if(!Q[ee].empty())continue;var ke=Q[ee].head,yt=q(D.doc,ke.line).text;if(yt){if(ke.ch==yt.length&&(ke=new wt(ke.line,ke.ch-1)),ke.ch>0)ke=new wt(ke.line,ke.ch+1),D.replaceRange(yt.charAt(ke.ch-1)+yt.charAt(ke.ch-2),wt(ke.line,ke.ch-2),ke,"+transpose");else if(ke.line>D.doc.first){var Pt=q(D.doc,ke.line-1).text;Pt&&(ke=new wt(ke.line,1),D.replaceRange(yt.charAt(0)+D.doc.lineSeparator()+Pt.charAt(Pt.length-1),wt(ke.line-1,Pt.length-1),ke,"+transpose"))}}Z.push(new re(ke,ke))}D.setSelections(Z)})},newlineAndIndent:function(D){return co(D,function(){for(var Q=D.listSelections(),Z=Q.length-1;Z>=0;Z--)D.replaceRange(D.doc.lineSeparator(),Q[Z].anchor,Q[Z].head,"+input");Q=D.listSelections();for(var ee=0;ee<Q.length;ee++)D.indentLine(Q[ee].from().line,null,!0);Li(D)})},openLine:function(D){return D.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(D){return D.toggleOverwrite()}};function Hl(L,D){var Q=q(L.doc,D),Z=sn(Q);return Z!=Q&&(D=Ge(Z)),lu(!0,L,Z,D,1)}function Dl(L,D){var Q=q(L.doc,D),Z=Ir(Q);return Z!=Q&&(D=Ge(Z)),lu(!0,L,Q,D,-1)}function Kl(L,D){var Q=Hl(L,D.line),Z=q(L.doc,Q.line),ee=lt(Z,L.doc.direction);if(!ee||ee[0].level==0){var ke=Math.max(Q.ch,Z.text.search(/\S/)),yt=D.line==Q.line&&D.ch<=ke&&D.ch;return wt(Q.line,yt?0:ke,Q.sticky)}return Q}function Es(L,D,Q){if(typeof D=="string"&&(D=ml[D],!D))return!1;L.display.input.ensurePolled();var Z=L.display.shift,ee=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Q&&(L.display.shift=!1),ee=D(L)!=ie}finally{L.display.shift=Z,L.state.suppressEdits=!1}return ee}function Wl(L,D,Q){for(var Z=0;Z<L.state.keyMaps.length;Z++){var ee=$s(D,L.state.keyMaps[Z],Q,L);if(ee)return ee}return L.options.extraKeys&&$s(D,L.options.extraKeys,Q,L)||$s(D,L.options.keyMap,Q,L)}var Du=new X;function bo(L,D,Q,Z){var ee=L.state.keySeq;if(ee){if(jl(D))return"handled";if(/\'$/.test(D)?L.state.keySeq=null:Du.set(50,function(){L.state.keySeq==ee&&(L.state.keySeq=null,L.display.input.reset())}),ua(L,ee+" "+D,Q,Z))return!0}return ua(L,D,Q,Z)}function ua(L,D,Q,Z){var ee=Wl(L,D,Z);return ee=="multi"&&(L.state.keySeq=D),ee=="handled"&&xr(L,"keyHandled",L,D,Q),(ee=="handled"||ee=="multi")&&(Ue(Q),Fn(L)),!!ee}function eo(L,D){var Q=Ql(D,!0);return Q?D.shiftKey&&!L.state.keySeq?bo(L,"Shift-"+Q,D,function(Z){return Es(L,Z,!0)})||bo(L,Q,D,function(Z){if(typeof Z=="string"?/^go[A-Z]/.test(Z):Z.motion)return Es(L,Z)}):bo(L,Q,D,function(Z){return Es(L,Z)}):!1}function No(L,D,Q){return bo(L,"'"+Q+"'",D,function(Z){return Es(L,Z,!0)})}var bs=null;function gl(L){var D=this;if(L.target&&L.target!=D.display.input.getField())return;if(D.curOp.focus=j(),jt(D,L))return;c&&s<11&&L.keyCode==27&&(L.returnValue=!1);var Q=L.keyCode;D.display.shift=Q==16||L.shiftKey;var Z=eo(D,L);d&&(bs=Z?Q:null,!Z&&Q==88&&!ge&&(y?L.metaKey:L.ctrlKey)&&D.replaceSelection("",null,"cut")),x&&!y&&!Z&&Q==46&&L.shiftKey&&!L.ctrlKey&&document.execCommand&&document.execCommand("cut"),Q==18&&!/\bCodeMirror-crosshair\b/.test(D.display.lineDiv.className)&&cl(D)}function cl(L){var D=L.display.lineDiv;z(D,"CodeMirror-crosshair");function Q(Z){(Z.keyCode==18||!Z.altKey)&&(S(D,"CodeMirror-crosshair"),tt(document,"keyup",Q),tt(document,"mouseover",Q))}Me(document,"keyup",Q),Me(document,"mouseover",Q)}function Ys(L){L.keyCode==16&&(this.doc.sel.shift=!1),jt(this,L)}function el(L){var D=this;if(L.target&&L.target!=D.display.input.getField())return;if(gt(D.display,L)||jt(D,L)||L.ctrlKey&&!L.altKey||y&&L.metaKey)return;var Q=L.keyCode,Z=L.charCode;if(d&&Q==bs){bs=null,Ue(L);return}if(d&&(!L.which||L.which<10)&&eo(D,L))return;var ee=String.fromCharCode(Z==null?Q:Z);if(ee=="\b")return;if(No(D,L,ee))return;D.display.input.onKeyPress(L)}var dl=400,Al=function(D,Q,Z){this.time=D,this.pos=Q,this.button=Z};Al.prototype.compare=function(L,D,Q){return this.time+dl>L&&It(D,this.pos)==0&&Q==this.button};var Ls,Zl;function Ku(L,D){var Q=+new Date;return Zl&&Zl.compare(Q,L,D)?(Ls=Zl=null,"triple"):Ls&&Ls.compare(Q,L,D)?(Zl=new Al(Q,L,D),Ls=null,"double"):(Ls=new Al(Q,L,D),Zl=null,"single")}function cu(L){var D=this,Q=D.display;if(jt(D,L)||Q.activeTouch&&Q.input.supportsTouch())return;if(Q.input.ensurePolled(),Q.shift=L.shiftKey,gt(Q,L)){a||(Q.scroller.draggable=!1,setTimeout(function(){return Q.scroller.draggable=!0},100));return}if(du(D,L))return;var Z=Da(D,L),ee=J(L),ke=Z?Ku(Z,ee):"single";if(window.focus(),ee==1&&D.state.selectingText&&D.state.selectingText(L),Z&&Wu(D,ee,Z,ke,L))return;ee==1?Z?Yu(D,Z,ke,L):Be(L)==Q.scroller&&Ue(L):ee==2?(Z&&Mo(D.doc,Z),setTimeout(function(){return Q.input.focus()},20)):ee==3&&(O?D.display.input.onContextMenu(L):Tn(D))}function Wu(L,D,Q,Z,ee){var ke="Click";return Z=="double"?ke="Double"+ke:Z=="triple"&&(ke="Triple"+ke),ke=(D==1?"Left":D==2?"Middle":"Right")+ke,bo(L,Su(ke,ee),ee,function(yt){if(typeof yt=="string"&&(yt=ml[yt]),!yt)return!1;var Pt=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Pt=yt(L,Q)!=ie}finally{L.state.suppressEdits=!1}return Pt})}function Qu(L,D,Q){var Z=L.getOption("configureMouse"),ee=Z?Z(L,D,Q):{};if(ee.unit==null){var ke=b?Q.shiftKey&&Q.metaKey:Q.altKey;ee.unit=ke?"rectangle":D=="single"?"char":D=="double"?"word":"line"}return(ee.extend==null||L.doc.extend)&&(ee.extend=L.doc.extend||Q.shiftKey),ee.addNew==null&&(ee.addNew=y?Q.metaKey:Q.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(y?Q.altKey:Q.ctrlKey)),ee}function Yu(L,D,Q,Z){c?setTimeout(P(Bn,L),0):L.curOp.focus=j();var ee=Qu(L,Q,Z),ke=L.doc.sel,yt;L.options.dragDrop&&St&&!L.isReadOnly()&&Q=="single"&&(yt=ke.contains(D))>-1&&(It((yt=ke.ranges[yt]).from(),D)<0||D.xRel>0)&&(It(yt.to(),D)>0||D.xRel<0)?Zu(L,Z,D,ee):xu(L,Z,D,ee)}function Zu(L,D,Q,Z){var ee=L.display,ke=!1,yt=go(L,function(rr){a&&(ee.scroller.draggable=!1),L.state.draggingText=!1,tt(ee.wrapper.ownerDocument,"mouseup",yt),tt(ee.wrapper.ownerDocument,"mousemove",Pt),tt(ee.scroller,"dragstart",Zt),tt(ee.scroller,"drop",yt),ke||(Ue(rr),Z.addNew||Mo(L.doc,Q,null,null,Z.extend),a&&!t||c&&s==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),Pt=function(hn){ke=ke||Math.abs(D.clientX-hn.clientX)+Math.abs(D.clientY-hn.clientY)>=10},Zt=function(){return ke=!0};a&&(ee.scroller.draggable=!0),L.state.draggingText=yt,yt.copy=!Z.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),Me(ee.wrapper.ownerDocument,"mouseup",yt),Me(ee.wrapper.ownerDocument,"mousemove",Pt),Me(ee.scroller,"dragstart",Zt),Me(ee.scroller,"drop",yt),Tn(L),setTimeout(function(){return ee.input.focus()},20)}function ql(L,D,Q){if(Q=="char")return new re(D,D);if(Q=="word")return L.findWordAt(D);if(Q=="line")return new re(wt(D.line,0),ze(L.doc,wt(D.line+1,0)));var Z=Q(L,D);return new re(Z.from,Z.to)}function xu(L,D,Q,Z){var ee=L.display,ke=L.doc;Ue(D);var yt,Pt,Zt=ke.sel,rr=Zt.ranges;if(Z.addNew&&!Z.extend?(Pt=ke.sel.contains(Q),Pt>-1?yt=rr[Pt]:yt=new re(Q,Q)):(yt=ke.sel.primary(),Pt=ke.sel.primIndex),Z.unit=="rectangle")Z.addNew||(yt=new re(Q,Q)),Q=Da(L,D,!0,!0),Pt=-1;else{var hn=ql(L,Q,Z.unit);Z.extend?yt=Os(yt,hn.anchor,hn.head,Z.extend):yt=hn}Z.addNew?Pt==-1?(Pt=rr.length,os(ke,ve(L,rr.concat([yt]),Pt),{scroll:!1,origin:"*mouse"})):rr.length>1&&rr[Pt].empty()&&Z.unit=="char"&&!Z.extend?(os(ke,ve(L,rr.slice(0,Pt).concat(rr.slice(Pt+1)),0),{scroll:!1,origin:"*mouse"}),Zt=ke.sel):ms(ke,Pt,yt,te):(Pt=0,os(ke,new Vt([yt],0),te),Zt=ke.sel);var Sn=Q;function Pn(ia){if(It(Sn,ia)==0)return;if(Sn=ia,Z.unit=="rectangle"){for(var fa=[],ao=L.options.tabSize,Qa=W(q(ke,Q.line).text,Q.ch,ao),Fo=W(q(ke,ia.line).text,ia.ch,ao),qo=Math.min(Qa,Fo),ks=Math.max(Qa,Fo),As=Math.min(Q.line,ia.line),Zs=Math.min(L.lastLine(),Math.max(Q.line,ia.line));As<=Zs;As++){var tl=q(ke,As).text,Is=Ie(tl,qo,ao);qo==ks?fa.push(new re(wt(As,Is),wt(As,Is))):tl.length>Is&&fa.push(new re(wt(As,Is),wt(As,Ie(tl,ks,ao))))}fa.length||fa.push(new re(Q,Q)),os(ke,ve(L,Zt.ranges.slice(0,Pt).concat(fa),Pt),{origin:"*mouse",scroll:!1}),L.scrollIntoView(ia)}else{var rl=yt,Ks=ql(L,ia,Z.unit),Fs=rl.anchor,Ms;It(Ks.anchor,Fs)>0?(Ms=Ks.head,Fs=ot(rl.from(),Ks.anchor)):(Ms=Ks.anchor,Fs=$e(rl.to(),Ks.head));var _s=Zt.ranges.slice(0);_s[Pt]=qu(L,new re(ze(ke,Fs),Ms)),os(ke,ve(L,_s,Pt),te)}}var zn=ee.wrapper.getBoundingClientRect(),ci=0;function Ti(ia){var fa=++ci,ao=Da(L,ia,!0,Z.unit=="rectangle");if(!ao)return;if(It(ao,Sn)!=0){L.curOp.focus=j(),Pn(ao);var Qa=si(ee,ke);(ao.line>=Qa.to||ao.line<Qa.from)&&setTimeout(go(L,function(){ci==fa&&Ti(ia)}),150)}else{var Fo=ia.clientY<zn.top?-20:ia.clientY>zn.bottom?20:0;Fo&&setTimeout(go(L,function(){if(ci!=fa)return;ee.scroller.scrollTop+=Fo,Ti(ia)}),50)}}function ji(ia){L.state.selectingText=!1,ci=Infinity,ia&&(Ue(ia),ee.input.focus()),tt(ee.wrapper.ownerDocument,"mousemove",Ui),tt(ee.wrapper.ownerDocument,"mouseup",ra),ke.history.lastSelOrigin=null}var Ui=go(L,function(ia){ia.buttons===0||!J(ia)?ji(ia):Ti(ia)}),ra=go(L,ji);L.state.selectingText=ra,Me(ee.wrapper.ownerDocument,"mousemove",Ui),Me(ee.wrapper.ownerDocument,"mouseup",ra)}function qu(L,D){var Q=D.anchor,Z=D.head,ee=q(L.doc,Q.line);if(It(Q,Z)==0&&Q.sticky==Z.sticky)return D;var ke=lt(ee);if(!ke)return D;var yt=pe(ke,Q.ch,Q.sticky),Pt=ke[yt];if(Pt.from!=Q.ch&&Pt.to!=Q.ch)return D;var Zt=yt+(Pt.from==Q.ch==(Pt.level!=1)?0:1);if(Zt==0||Zt==ke.length)return D;var rr;if(Z.line!=Q.line)rr=(Z.line-Q.line)*(L.doc.direction=="ltr"?1:-1)>0;else{var hn=pe(ke,Z.ch,Z.sticky),Sn=hn-yt||(Z.ch-Q.ch)*(Pt.level==1?-1:1);hn==Zt-1||hn==Zt?rr=Sn<0:rr=Sn>0}var Pn=ke[Zt+(rr?-1:0)],zn=rr==(Pn.level==1),ci=zn?Pn.from:Pn.to,Ti=zn?"after":"before";return Q.ch==ci&&Q.sticky==Ti?D:new re(new wt(Q.line,ci,Ti),Z)}function Ru(L,D,Q,Z){var ee,ke;if(D.touches)ee=D.touches[0].clientX,ke=D.touches[0].clientY;else try{ee=D.clientX,ke=D.clientY}catch(Pn){return!1}if(ee>=Math.floor(L.display.gutters.getBoundingClientRect().right))return!1;Z&&Ue(D);var yt=L.display,Pt=yt.lineDiv.getBoundingClientRect();if(ke>Pt.bottom||!Tt(L,Q))return Y(D);ke-=Pt.top-yt.viewOffset;for(var Zt=0;Zt<L.display.gutterSpecs.length;++Zt){var rr=yt.gutters.childNodes[Zt];if(rr&&rr.getBoundingClientRect().right>=ee){var hn=dt(L.doc,ke),Sn=L.display.gutterSpecs[Zt];return Mt(L,Q,L,hn,Sn.className,D),Y(D)}}}function du(L,D){return Ru(L,D,"gutterClick",!0)}function Mu(L,D){if(gt(L.display,D)||ku(L,D))return;if(jt(L,D,"contextmenu"))return;O||L.display.input.onContextMenu(D)}function ku(L,D){return Tt(L,"gutterContextMenu")?Ru(L,D,"gutterContextMenu",!1):!1}function Fu(L){L.display.wrapper.className=L.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+L.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vi(L)}var $l={toString:function(){return"CodeMirror.Init"}},Eu={},Jl={};function zu(L){var D=L.optionHandlers;function Q(Z,ee,ke,yt){L.defaults[Z]=ee,ke&&(D[Z]=yt?function(Pt,Zt,rr){rr!=$l&&ke(Pt,Zt,rr)}:ke)}L.defineOption=Q,L.Init=$l,Q("value","",function(Z,ee){return Z.setValue(ee)},!0),Q("mode",null,function(Z,ee){Z.doc.modeOption=ee,on(Z)},!0),Q("indentUnit",2,on,!0),Q("indentWithTabs",!1),Q("smartIndent",!0),Q("tabSize",4,function(Z){Dn(Z),Vi(Z),Di(Z)},!0),Q("lineSeparator",null,function(Z,ee){if(Z.doc.lineSep=ee,!ee)return;var ke=[],yt=Z.doc.first;Z.doc.iter(function(Zt){for(var rr=0;;){var hn=Zt.text.indexOf(ee,rr);if(hn==-1)break;rr=hn+ee.length,ke.push(wt(yt,hn))}yt++});for(var Pt=ke.length-1;Pt>=0;Pt--)ll(Z.doc,ee,ke[Pt],wt(ke[Pt].line,ke[Pt].ch+ee.length))}),Q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(Z,ee,ke){Z.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),ke!=$l&&Z.refresh()}),Q("specialCharPlaceholder",ki,function(Z){return Z.refresh()},!0),Q("electricChars",!0),Q("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Q("spellcheck",!1,function(Z,ee){return Z.getInputField().spellcheck=ee},!0),Q("autocorrect",!1,function(Z,ee){return Z.getInputField().autocorrect=ee},!0),Q("autocapitalize",!1,function(Z,ee){return Z.getInputField().autocapitalize=ee},!0),Q("rtlMoveVisually",!E),Q("wholeLineUpdateBefore",!0),Q("theme","default",function(Z){Fu(Z),Xo(Z)},!0),Q("keyMap","default",function(Z,ee,ke){var yt=pl(ee),Pt=ke!=$l&&pl(ke);Pt&&Pt.detach&&Pt.detach(Z,yt),yt.attach&&yt.attach(Z,Pt||null)}),Q("extraKeys",null),Q("configureMouse",null),Q("lineWrapping",!1,Ju,!0),Q("gutters",[],function(Z,ee){Z.display.gutterSpecs=io(ee,Z.options.lineNumbers),Xo(Z)},!0),Q("fixedGutter",!0,function(Z,ee){Z.display.gutters.style.left=ee?_a(Z.display)+"px":"0",Z.refresh()},!0),Q("coverGutterNextToScrollbar",!1,function(Z){return Wa(Z)},!0),Q("scrollbarStyle","native",function(Z){es(Z),Wa(Z),Z.display.scrollbars.setScrollTop(Z.doc.scrollTop),Z.display.scrollbars.setScrollLeft(Z.doc.scrollLeft)},!0),Q("lineNumbers",!1,function(Z,ee){Z.display.gutterSpecs=io(Z.options.gutters,ee),Xo(Z)},!0),Q("firstLineNumber",1,Xo,!0),Q("lineNumberFormatter",function(Z){return Z},Xo,!0),Q("showCursorWhenSelecting",!1,Er,!0),Q("resetSelectionOnContextMenu",!0),Q("lineWiseCopyCut",!0),Q("pasteLinesPerSelection",!0),Q("selectionsMayTouch",!1),Q("readOnly",!1,function(Z,ee){ee=="nocursor"&&(Mn(Z),Z.display.input.blur()),Z.display.input.readOnlyChanged(ee)}),Q("screenReaderLabel",null,function(Z,ee){ee=ee===""?null:ee,Z.display.input.screenReaderLabelChanged(ee)}),Q("disableInput",!1,function(Z,ee){ee||Z.display.input.reset()},!0),Q("dragDrop",!0,$u),Q("allowDropFileTypes",null),Q("cursorBlinkRate",530),Q("cursorScrollMargin",0),Q("cursorHeight",1,Er,!0),Q("singleCursorHeightPerLine",!0,Er,!0),Q("workTime",100),Q("workDelay",100),Q("flattenSpans",!0,Dn,!0),Q("addModeClass",!1,Dn,!0),Q("pollInterval",100),Q("undoDepth",200,function(Z,ee){return Z.doc.history.undoDepth=ee}),Q("historyEventDelay",1250),Q("viewportMargin",10,function(Z){return Z.refresh()},!0),Q("maxHighlightLength",1e4,Dn,!0),Q("moveInputWithCursor",!0,function(Z,ee){ee||Z.display.input.resetPosition()}),Q("tabindex",null,function(Z,ee){return Z.display.input.getField().tabIndex=ee||""}),Q("autofocus",null),Q("direction","ltr",function(Z,ee){return Z.doc.setDirection(ee)},!0),Q("phrases",null)}function $u(L,D,Q){var Z=Q&&Q!=$l;if(!D!=!Z){var ee=L.display.dragFunctions,ke=D?Me:tt;ke(L.display.scroller,"dragstart",ee.start),ke(L.display.scroller,"dragenter",ee.enter),ke(L.display.scroller,"dragover",ee.over),ke(L.display.scroller,"dragleave",ee.leave),ke(L.display.scroller,"drop",ee.drop)}}function Ju(L){L.options.lineWrapping?(z(L.display.wrapper,"CodeMirror-wrap"),L.display.sizer.style.minWidth="",L.display.sizerWidth=null):(S(L.display.wrapper,"CodeMirror-wrap"),On(L)),Xa(L),Di(L),Vi(L),setTimeout(function(){return Wa(L)},100)}function gs(L,D){var Q=this;if(!(this instanceof gs))return new gs(L,D);this.options=D=D?H(D):{},H(Eu,D,!1);var Z=D.value;typeof Z=="string"?Z=new Hs(Z,D.mode,null,D.lineSeparator,D.direction):D.mode&&(Z.modeOption=D.mode),this.doc=Z;var ee=new gs.inputStyles[D.inputStyle](this),ke=this.display=new Ho(L,Z,ee,D);ke.wrapper.CodeMirror=this,Fu(this),D.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),es(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new X,keySeq:null,specialChars:null},D.autofocus&&!h&&ke.input.focus(),c&&s<11&&setTimeout(function(){return Q.display.input.reset(!0)},20),eu(this),ou(),So(this),this.curOp.forceUpdate=!0,wi(this,Z),D.autofocus&&!h||this.hasFocus()?setTimeout(function(){Q.hasFocus()&&!Q.state.focused&&Kn(Q)},20):Mn(this);for(var yt in Jl)Jl.hasOwnProperty(yt)&&Jl[yt](this,D[yt],$l);as(this),D.finishInit&&D.finishInit(this);for(var Pt=0;Pt<ht.length;++Pt)ht[Pt](this);Ia(this),a&&D.lineWrapping&&getComputedStyle(ke.lineDiv).textRendering=="optimizelegibility"&&(ke.lineDiv.style.textRendering="auto")}gs.defaults=Eu,gs.optionHandlers=Jl;function eu(L){var D=L.display;Me(D.scroller,"mousedown",go(L,cu)),c&&s<11?Me(D.scroller,"dblclick",go(L,function(Zt){if(jt(L,Zt))return;var rr=Da(L,Zt);if(!rr||du(L,Zt)||gt(L.display,Zt))return;Ue(Zt);var hn=L.findWordAt(rr);Mo(L.doc,hn.anchor,hn.head)})):Me(D.scroller,"dblclick",function(Zt){return jt(L,Zt)||Ue(Zt)}),Me(D.scroller,"contextmenu",function(Zt){return Mu(L,Zt)}),Me(D.input.getField(),"contextmenu",function(Zt){D.scroller.contains(Zt.target)||Mu(L,Zt)});var Q,Z={end:0};function ee(){D.activeTouch&&(Q=setTimeout(function(){return D.activeTouch=null},1e3),Z=D.activeTouch,Z.end=+new Date)}function ke(Zt){if(Zt.touches.length!=1)return!1;var rr=Zt.touches[0];return rr.radiusX<=1&&rr.radiusY<=1}function yt(Zt,rr){if(rr.left==null)return!0;var hn=rr.left-Zt.left,Sn=rr.top-Zt.top;return hn*hn+Sn*Sn>20*20}Me(D.scroller,"touchstart",function(Zt){if(!jt(L,Zt)&&!ke(Zt)&&!du(L,Zt)){D.input.ensurePolled(),clearTimeout(Q);var rr=+new Date;D.activeTouch={start:rr,moved:!1,prev:rr-Z.end<=300?Z:null},Zt.touches.length==1&&(D.activeTouch.left=Zt.touches[0].pageX,D.activeTouch.top=Zt.touches[0].pageY)}}),Me(D.scroller,"touchmove",function(){D.activeTouch&&(D.activeTouch.moved=!0)}),Me(D.scroller,"touchend",function(Zt){var rr=D.activeTouch;if(rr&&!gt(D,Zt)&&rr.left!=null&&!rr.moved&&new Date-rr.start<300){var hn=L.coordsChar(D.activeTouch,"page"),Sn;!rr.prev||yt(rr,rr.prev)?Sn=new re(hn,hn):!rr.prev.prev||yt(rr,rr.prev.prev)?Sn=L.findWordAt(hn):Sn=new re(wt(hn.line,0),ze(L.doc,wt(hn.line+1,0))),L.setSelection(Sn.anchor,Sn.head),L.focus(),Ue(Zt)}ee()}),Me(D.scroller,"touchcancel",ee),Me(D.scroller,"scroll",function(){D.scroller.clientHeight&&(yi(L,D.scroller.scrollTop),Zi(L,D.scroller.scrollLeft,!0),Mt(L,"scroll",L))}),Me(D.scroller,"mousewheel",function(Zt){return Zo(L,Zt)}),Me(D.scroller,"DOMMouseScroll",function(Zt){return Zo(L,Zt)}),Me(D.wrapper,"scroll",function(){return D.wrapper.scrollTop=D.wrapper.scrollLeft=0}),D.dragFunctions={enter:function(rr){jt(L,rr)||Pe(rr)},over:function(rr){jt(L,rr)||(bu(L,rr),Pe(rr))},start:function(rr){return Xl(L,rr)},drop:go(L,iu),leave:function(rr){jt(L,rr)||Gl(L)}};var Pt=D.input.getField();Me(Pt,"keyup",function(Zt){return Ys.call(L,Zt)}),Me(Pt,"keydown",go(L,gl)),Me(Pt,"keypress",go(L,el)),Me(Pt,"focus",function(Zt){return Kn(L,Zt)}),Me(Pt,"blur",function(Zt){return Mn(L,Zt)})}var ht=[];gs.defineInitHook=function(L){return ht.push(L)};function de(L,D,Q,Z){var ee=L.doc,ke;Q==null&&(Q="add"),Q=="smart"&&(ee.mode.indent?ke=Ft(L,D).state:Q="prev");var yt=L.options.tabSize,Pt=q(ee,D),Zt=W(Pt.text,null,yt);Pt.stateAfter&&(Pt.stateAfter=null);var rr=Pt.text.match(/^\s*/)[0],hn;if(!Z&&!/\S/.test(Pt.text))hn=0,Q="not";else if(Q=="smart"&&(hn=ee.mode.indent(ke,Pt.text.slice(rr.length),Pt.text),hn==ie||hn>150)){if(!Z)return;Q="prev"}Q=="prev"?D>ee.first?hn=W(q(ee,D-1).text,null,yt):hn=0:Q=="add"?hn=Zt+L.options.indentUnit:Q=="subtract"?hn=Zt-L.options.indentUnit:typeof Q=="number"&&(hn=Zt+Q),hn=Math.max(0,hn);var Sn="",Pn=0;if(L.options.indentWithTabs)for(var zn=Math.floor(hn/yt);zn;--zn)Pn+=yt,Sn+=" ";if(Pn<hn&&(Sn+=Qe(hn-Pn)),Sn!=rr)return ll(ee,Sn,wt(D,0),wt(D,rr.length),"+input"),Pt.stateAfter=null,!0;for(var ci=0;ci<ee.sel.ranges.length;ci++){var Ti=ee.sel.ranges[ci];if(Ti.head.line==D&&Ti.head.ch<rr.length){var ji=wt(D,rr.length);ms(ee,ci,new re(ji,ji));break}}}var Ve=null;function Et(L){Ve=L}function Yt(L,D,Q,Z,ee){var ke=L.doc;L.display.shift=!1,Z||(Z=ke.sel);var yt=+new Date-200,Pt=ee=="paste"||L.state.pasteIncoming>yt,Zt=Fr(D),rr=null;if(Pt&&Z.ranges.length>1)if(Ve&&Ve.text.join(`
|
|
|
`)==D){if(Z.ranges.length%Ve.text.length==0){rr=[];for(var hn=0;hn<Ve.text.length;hn++)rr.push(ke.splitLines(Ve.text[hn]))}}else Zt.length==Z.ranges.length&&L.options.pasteLinesPerSelection&&(rr=He(Zt,function(Ui){return[Ui]}));for(var Sn=L.curOp.updateInput,Pn=Z.ranges.length-1;Pn>=0;Pn--){var zn=Z.ranges[Pn],ci=zn.from(),Ti=zn.to();zn.empty()&&(Q&&Q>0?ci=wt(ci.line,ci.ch-Q):L.state.overwrite&&!Pt?Ti=wt(Ti.line,Math.min(q(ke,Ti.line).text.length,Ti.ch+fe(Zt).length)):Pt&&Ve&&Ve.lineWise&&Ve.text.join(`
|
|
|
`)==Zt.join(`
|
|
|
`)&&(ci=Ti=wt(ci.line,0)));var ji={from:ci,to:Ti,text:rr?rr[Pn%rr.length]:Zt,origin:ee||(Pt?"paste":L.state.cutIncoming>yt?"cut":"+input")};ss(L.doc,ji),xr(L,"inputRead",L,ji)}D&&!Pt&&mr(L,D),Li(L),L.curOp.updateInput<2&&(L.curOp.updateInput=Sn),L.curOp.typing=!0,L.state.pasteIncoming=L.state.cutIncoming=-1}function or(L,D){var Q=L.clipboardData&&L.clipboardData.getData("Text");if(Q)return L.preventDefault(),!D.isReadOnly()&&!D.options.disableInput&&co(D,function(){return Yt(D,Q,0,null,"paste")}),!0}function mr(L,D){if(!L.options.electricChars||!L.options.smartIndent)return;for(var Q=L.doc.sel,Z=Q.ranges.length-1;Z>=0;Z--){var ee=Q.ranges[Z];if(ee.head.ch>100||Z&&Q.ranges[Z-1].head.line==ee.head.line)continue;var ke=L.getModeAt(ee.head),yt=!1;if(ke.electricChars){for(var Pt=0;Pt<ke.electricChars.length;Pt++)if(D.indexOf(ke.electricChars.charAt(Pt))>-1){yt=de(L,ee.head.line,"smart");break}}else ke.electricInput&&(ke.electricInput.test(q(L.doc,ee.head.line).text.slice(0,ee.head.ch))&&(yt=de(L,ee.head.line,"smart")));yt&&xr(L,"electricInput",L,ee.head.line)}}function Nr(L){for(var D=[],Q=[],Z=0;Z<L.doc.sel.ranges.length;Z++){var ee=L.doc.sel.ranges[Z].head.line,ke={anchor:wt(ee,0),head:wt(ee+1,0)};Q.push(ke),D.push(L.getRange(ke.anchor,ke.head))}return{text:D,ranges:Q}}function Yr(L,D,Q,Z){L.setAttribute("autocorrect",Q?"":"off"),L.setAttribute("autocapitalize",Z?"":"off"),L.setAttribute("spellcheck",!!D)}function In(){var L=I("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),D=I("div",[L],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?L.style.width="1000px":L.setAttribute("wrap","off"),o&&(L.style.border="1px solid black"),Yr(L),D}function Nn(L){var D=L.optionHandlers,Q=L.helpers={};L.prototype={constructor:L,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ee,ke){var yt=this.options,Pt=yt[ee];if(yt[ee]==ke&&ee!="mode")return;yt[ee]=ke,D.hasOwnProperty(ee)&&go(this,D[ee])(this,ke,Pt),Mt(this,"optionChange",this,ee)},getOption:function(ee){return this.options[ee]},getDoc:function(){return this.doc},addKeyMap:function(ee,ke){this.state.keyMaps[ke?"push":"unshift"](pl(ee))},removeKeyMap:function(ee){for(var ke=this.state.keyMaps,yt=0;yt<ke.length;++yt)if(ke[yt]==ee||ke[yt].name==ee)return ke.splice(yt,1),!0},addOverlay:$o(function(Z,ee){var ke=Z.token?Z:L.getMode(this.options,Z);if(ke.startState)throw new Error("Overlays may not be stateful.");se(this.state.overlays,{mode:ke,modeSpec:Z,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(yt){return yt.priority}),this.state.modeGen++,Di(this)}),removeOverlay:$o(function(Z){for(var ee=this.state.overlays,ke=0;ke<ee.length;++ke){var yt=ee[ke].modeSpec;if(yt==Z||typeof Z=="string"&&yt.name==Z){ee.splice(ke,1),this.state.modeGen++,Di(this);return}}}),indentLine:$o(function(Z,ee,ke){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),Kt(this.doc,Z)&&de(this,Z,ee,ke)}),indentSelection:$o(function(Z){for(var ee=this.doc.sel.ranges,ke=-1,yt=0;yt<ee.length;yt++){var Pt=ee[yt];if(Pt.empty())Pt.head.line>ke&&(de(this,Pt.head.line,Z,!0),ke=Pt.head.line,yt==this.doc.sel.primIndex&&Li(this));else{var Zt=Pt.from(),rr=Pt.to(),hn=Math.max(ke,Zt.line);ke=Math.min(this.lastLine(),rr.line-(rr.ch?0:1))+1;for(var Sn=hn;Sn<ke;++Sn)de(this,Sn,Z);var Pn=this.doc.sel.ranges;Zt.ch==0&&ee.length==Pn.length&&Pn[yt].from().ch>0&&ms(this.doc,yt,new re(Zt,Pn[yt].to()),be)}}}),getTokenAt:function(ee,ke){return Br(this,ee,ke)},getLineTokens:function(ee,ke){return Br(this,wt(ee),ke,!0)},getTokenTypeAt:function(ee){ee=ze(this.doc,ee);var ke=et(this,q(this.doc,ee.line)),yt=0,Pt=(ke.length-1)/2,Zt=ee.ch,rr;if(Zt==0)rr=ke[2];else for(;;){var hn=yt+Pt>>1;if((hn?ke[hn*2-1]:0)>=Zt)Pt=hn;else if(ke[hn*2+1]<Zt)yt=hn+1;else{rr=ke[hn*2+2];break}}var Sn=rr?rr.indexOf("overlay "):-1;return Sn<0?rr:Sn==0?null:rr.slice(0,Sn-1)},getModeAt:function(ee){var ke=this.doc.mode;return ke.innerMode?L.innerMode(ke,this.getTokenAt(ee).state).mode:ke},getHelper:function(ee,ke){return this.getHelpers(ee,ke)[0]},getHelpers:function(ee,ke){var yt=[];if(!Q.hasOwnProperty(ke))return yt;var Pt=Q[ke],Zt=this.getModeAt(ee);if(typeof Zt[ke]=="string")Pt[Zt[ke]]&&yt.push(Pt[Zt[ke]]);else if(Zt[ke])for(var rr=0;rr<Zt[ke].length;rr++){var hn=Pt[Zt[ke][rr]];hn&&yt.push(hn)}else Zt.helperType&&Pt[Zt.helperType]?yt.push(Pt[Zt.helperType]):Pt[Zt.name]&&yt.push(Pt[Zt.name]);for(var Sn=0;Sn<Pt._global.length;Sn++){var Pn=Pt._global[Sn];Pn.pred(Zt,this)&&K(yt,Pn.val)==-1&&yt.push(Pn.val)}return yt},getStateAfter:function(ee,ke){var yt=this.doc;return ee=ft(yt,ee==null?yt.first+yt.size-1:ee),Ft(this,ee+1,ke).state},cursorCoords:function(ee,ke){var yt,Pt=this.doc.sel.primary();return ee==null?yt=Pt.head:typeof ee=="object"?yt=ze(this.doc,ee):yt=ee?Pt.from():Pt.to(),la(this,yt,ke||"page")},charCoords:function(ee,ke){return vo(this,ze(this.doc,ee),ke||"page")},coordsChar:function(ee,ke){return ee=ha(this,ee,ke||"page"),to(this,ee.left,ee.top)},lineAtHeight:function(ee,ke){return ee=ha(this,{top:ee,left:0},ke||"page").top,dt(this.doc,ee+this.display.viewOffset)},heightAtLine:function(ee,ke,yt){var Pt=!1,Zt;if(typeof ee=="number"){var rr=this.doc.first+this.doc.size-1;ee<this.doc.first?ee=this.doc.first:ee>rr&&(ee=rr,Pt=!0),Zt=q(this.doc,ee)}else Zt=ee;return Aa(this,Zt,{top:0,left:0},ke||"page",yt||Pt).top+(Pt?this.doc.height-zr(Zt):0)},defaultTextHeight:function(){return Sa(this.display)},defaultCharWidth:function(){return Ea(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ee,ke,yt,Pt,Zt){var rr=this.display;ee=la(this,ze(this.doc,ee));var hn=ee.bottom,Sn=ee.left;if(ke.style.position="absolute",ke.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ke),rr.sizer.appendChild(ke),Pt=="over")hn=ee.top;else if(Pt=="above"||Pt=="near"){var Pn=Math.max(rr.wrapper.clientHeight,this.doc.height),zn=Math.max(rr.sizer.clientWidth,rr.lineSpace.clientWidth);(Pt=="above"||ee.bottom+ke.offsetHeight>Pn)&&ee.top>ke.offsetHeight?hn=ee.top-ke.offsetHeight:ee.bottom+ke.offsetHeight<=Pn&&(hn=ee.bottom),Sn+ke.offsetWidth>zn&&(Sn=zn-ke.offsetWidth)}ke.style.top=hn+"px",ke.style.left=ke.style.right="",Zt=="right"?(Sn=rr.sizer.clientWidth-ke.offsetWidth,ke.style.right="0px"):(Zt=="left"?Sn=0:Zt=="middle"&&(Sn=(rr.sizer.clientWidth-ke.offsetWidth)/2),ke.style.left=Sn+"px"),yt&&Ji(this,{left:Sn,top:hn,right:Sn+ke.offsetWidth,bottom:hn+ke.offsetHeight})},triggerOnKeyDown:$o(gl),triggerOnKeyPress:$o(el),triggerOnKeyUp:Ys,triggerOnMouseDown:$o(cu),execCommand:function(ee){if(ml.hasOwnProperty(ee))return ml[ee].call(null,this)},triggerElectric:$o(function(Z){mr(this,Z)}),findPosH:function(ee,ke,yt,Pt){var Zt=1;ke<0&&(Zt=-1,ke=-ke);for(var rr=ze(this.doc,ee),hn=0;hn<ke&&!(rr=bn(this.doc,rr,Zt,yt,Pt),rr.hitSide);++hn);return rr},moveH:$o(function(Z,ee){var ke=this;this.extendSelectionsBy(function(yt){return ke.display.shift||ke.doc.extend||yt.empty()?bn(ke.doc,yt.head,Z,ee,ke.options.rtlMoveVisually):Z<0?yt.from():yt.to()},Te)}),deleteH:$o(function(Z,ee){var ke=this.doc.sel,yt=this.doc;ke.somethingSelected()?yt.replaceSelection("",null,"+delete"):Js(this,function(Pt){var Zt=bn(yt,Pt.head,Z,ee,!1);return Z<0?{from:Zt,to:Pt.head}:{from:Pt.head,to:Zt}})}),findPosV:function(ee,ke,yt,Pt){var Zt=1,rr=Pt;ke<0&&(Zt=-1,ke=-ke);for(var hn=ze(this.doc,ee),Sn=0;Sn<ke;++Sn){var Pn=la(this,hn,"div");if(rr==null?rr=Pn.left:Pn.left=rr,hn=vn(this,Pn,Zt,yt),hn.hitSide)break}return hn},moveV:$o(function(Z,ee){var ke=this,yt=this.doc,Pt=[],Zt=!this.display.shift&&!yt.extend&&yt.sel.somethingSelected();if(yt.extendSelectionsBy(function(hn){if(Zt)return Z<0?hn.from():hn.to();var Sn=la(ke,hn.head,"div");hn.goalColumn!=null&&(Sn.left=hn.goalColumn),Pt.push(Sn.left);var Pn=vn(ke,Sn,Z,ee);return ee=="page"&&hn==yt.sel.primary()&&Mi(ke,vo(ke,Pn,"div").top-Sn.top),Pn},Te),Pt.length)for(var rr=0;rr<yt.sel.ranges.length;rr++)yt.sel.ranges[rr].goalColumn=Pt[rr]}),findWordAt:function(ee){var ke=this.doc,yt=q(ke,ee.line).text,Pt=ee.ch,Zt=ee.ch;if(yt){var rr=this.getHelper(ee,"wordChars");(ee.sticky=="before"||Zt==yt.length)&&Pt?--Pt:++Zt;for(var hn=yt.charAt(Pt),Sn=ce(hn,rr)?function(Pn){return ce(Pn,rr)}:/\s/.test(hn)?function(Pn){return/\s/.test(Pn)}:function(Pn){return!/\s/.test(Pn)&&!ce(Pn)};Pt>0&&Sn(yt.charAt(Pt-1));)--Pt;for(;Zt<yt.length&&Sn(yt.charAt(Zt));)++Zt}return new re(wt(ee.line,Pt),wt(ee.line,Zt))},toggleOverwrite:function(ee){if(ee!=null&&ee==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),Mt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:$o(function(Z,ee){Ki(this,Z,ee)}),getScrollInfo:function(){var ee=this.display.scroller;return{left:ee.scrollLeft,top:ee.scrollTop,height:ee.scrollHeight-en(this)-this.display.barHeight,width:ee.scrollWidth-en(this)-this.display.barWidth,clientHeight:kn(this),clientWidth:xn(this)}},scrollIntoView:$o(function(Z,ee){Z==null?(Z={from:this.doc.sel.primary().head,to:null},ee==null&&(ee=this.options.cursorScrollMargin)):typeof Z=="number"?Z={from:wt(Z,0),to:null}:Z.from==null&&(Z={from:Z,to:null}),Z.to||(Z.to=Z.from),Z.margin=ee||0,Z.from.line!=null?so(this,Z):Xi(this,Z.from,Z.to,Z.margin)}),setSize:$o(function(Z,ee){var ke=this,yt=function(rr){return typeof rr=="number"||/^\d+$/.test(String(rr))?rr+"px":rr};Z!=null&&(this.display.wrapper.style.width=yt(Z)),ee!=null&&(this.display.wrapper.style.height=yt(ee)),this.options.lineWrapping&&Ri(this);var Pt=this.display.viewFrom;this.doc.iter(Pt,this.display.viewTo,function(Zt){if(Zt.widgets){for(var rr=0;rr<Zt.widgets.length;rr++)if(Zt.widgets[rr].noHScroll){at(ke,Pt,"widget");break}}++Pt}),this.curOp.forceUpdate=!0,Mt(this,"refresh",this)}),operation:function(ee){return co(this,ee)},startOperation:function(){return So(this)},endOperation:function(){return Ia(this)},refresh:$o(function(){var Z=this.display.cachedTextHeight;Di(this),this.curOp.forceUpdate=!0,Vi(this),Ki(this,this.doc.scrollLeft,this.doc.scrollTop),Vo(this.display),(Z==null||Math.abs(Z-Sa(this.display))>.5||this.options.lineWrapping)&&Xa(this),Mt(this,"refresh",this)}),swapDoc:$o(function(Z){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),wi(this,Z),Vi(this),this.display.input.reset(),Ki(this,Z.scrollLeft,Z.scrollTop),this.curOp.forceScroll=!0,xr(this,"swapDoc",this,ee),ee}),phrase:function(ee){var ke=this.options.phrases;return ke&&Object.prototype.hasOwnProperty.call(ke,ee)?ke[ee]:ee},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}},Dt(L),L.registerHelper=function(Z,ee,ke){Q.hasOwnProperty(Z)||(Q[Z]=L[Z]={_global:[]}),Q[Z][ee]=ke},L.registerGlobalHelper=function(Z,ee,ke,yt){L.registerHelper(Z,ee,yt),Q[Z]._global.push({pred:ke,val:yt})}}function bn(L,D,Q,Z,ee){var ke=D,yt=Q,Pt=q(L,D.line),Zt=ee&&L.direction=="rtl"?-Q:Q;function rr(){var ra=D.line+Zt;return ra<L.first||ra>=L.first+L.size?!1:(D=new wt(ra,D.ch,D.sticky),Pt=q(L,ra))}function hn(ra){var ia;if(Z=="codepoint"){var fa=Pt.text.charCodeAt(D.ch+(Z>0?0:-1));isNaN(fa)?ia=null:ia=new wt(D.line,Math.max(0,Math.min(Pt.text.length,D.ch+Q*(fa>=55296&&fa<56320?2:1))),-Q)}else ee?ia=uu(L.cm,Pt,D,Q):ia=su(Pt,D,Q);if(ia==null)if(!ra&&rr())D=lu(ee,L.cm,Pt,D.line,Zt);else return!1;else D=ia;return!0}if(Z=="char"||Z=="codepoint")hn();else if(Z=="column")hn(!0);else if(Z=="word"||Z=="group")for(var Sn=null,Pn=Z=="group",zn=L.cm&&L.cm.getHelper(D,"wordChars"),ci=!0;!(Q<0&&!hn(!ci));ci=!1){var Ti=Pt.text.charAt(D.ch)||`
|
|
|
`,ji=ce(Ti,zn)?"w":Pn&&Ti==`
|
|
|
`?"n":!Pn||/\s/.test(Ti)?null:"p";if(Pn&&!ci&&!ji&&(ji="s"),Sn&&Sn!=ji){Q<0&&(Q=1,hn(),D.sticky="after");break}if(ji&&(Sn=ji),Q>0&&!hn(!ci))break}var Ui=Eo(L,D,ke,yt,!0);return Lt(ke,Ui)&&(Ui.hitSide=!0),Ui}function vn(L,D,Q,Z){var ee=L.doc,ke=D.left,yt;if(Z=="page"){var Pt=Math.min(L.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Zt=Math.max(Pt-.5*Sa(L.display),3);yt=(Q>0?D.bottom:D.top)+Q*Zt}else Z=="line"&&(yt=Q>0?D.bottom+3:D.top-3);for(var rr;!(rr=to(L,ke,yt),!rr.outside);){if(Q<0?yt<=0:yt>=ee.height){rr.hitSide=!0;break}yt+=Q*5}return rr}var Cn=function(D){this.cm=D,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new X,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Cn.prototype.init=function(L){var D=this,Q=this,Z=Q.cm,ee=Q.div=L.lineDiv;Yr(ee,Z.options.spellcheck,Z.options.autocorrect,Z.options.autocapitalize);function ke(Pt){for(var Zt=Pt.target;Zt;Zt=Zt.parentNode){if(Zt==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Zt.className))break}return!1}Me(ee,"paste",function(Pt){if(!ke(Pt)||jt(Z,Pt)||or(Pt,Z))return;s<=11&&setTimeout(go(Z,function(){return D.updateFromDOM()}),20)}),Me(ee,"compositionstart",function(Pt){D.composing={data:Pt.data,done:!1}}),Me(ee,"compositionupdate",function(Pt){D.composing||(D.composing={data:Pt.data,done:!1})}),Me(ee,"compositionend",function(Pt){D.composing&&(Pt.data!=D.composing.data&&D.readFromDOMSoon(),D.composing.done=!0)}),Me(ee,"touchstart",function(){return Q.forceCompositionEnd()}),Me(ee,"input",function(){D.composing||D.readFromDOMSoon()});function yt(Pt){if(!ke(Pt)||jt(Z,Pt))return;if(Z.somethingSelected())Et({lineWise:!1,text:Z.getSelections()}),Pt.type=="cut"&&Z.replaceSelection("",null,"cut");else if(Z.options.lineWiseCopyCut){var Zt=Nr(Z);Et({lineWise:!0,text:Zt.text}),Pt.type=="cut"&&Z.operation(function(){Z.setSelections(Zt.ranges,0,be),Z.replaceSelection("",null,"cut")})}else return;if(Pt.clipboardData){Pt.clipboardData.clearData();var rr=Ve.text.join(`
|
|
|
`);if(Pt.clipboardData.setData("Text",rr),Pt.clipboardData.getData("Text")==rr){Pt.preventDefault();return}}var hn=In(),Sn=hn.firstChild;Z.display.lineSpace.insertBefore(hn,Z.display.lineSpace.firstChild),Sn.value=Ve.text.join(`
|
|
|
`);var Pn=document.activeElement;U(Sn),setTimeout(function(){Z.display.lineSpace.removeChild(hn),Pn.focus(),Pn==ee&&Q.showPrimarySelection()},50)}Me(ee,"copy",yt),Me(ee,"cut",yt)},Cn.prototype.screenReaderLabelChanged=function(L){L?this.div.setAttribute("aria-label",L):this.div.removeAttribute("aria-label")},Cn.prototype.prepareSelection=function(){var L=sr(this.cm,!1);return L.focus=document.activeElement==this.div,L},Cn.prototype.showSelection=function(L,D){if(!L||!this.cm.display.view.length)return;(L.focus||D)&&this.showPrimarySelection(),this.showMultipleSelections(L)},Cn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Cn.prototype.showPrimarySelection=function(){var L=this.getSelection(),D=this.cm,Q=D.doc.sel.primary(),Z=Q.from(),ee=Q.to();if(D.display.viewTo==D.display.viewFrom||Z.line>=D.display.viewTo||ee.line<D.display.viewFrom){L.removeAllRanges();return}var ke=na(D,L.anchorNode,L.anchorOffset),yt=na(D,L.focusNode,L.focusOffset);if(ke&&!ke.bad&&yt&&!yt.bad&&It(ot(ke,yt),Z)==0&&It($e(ke,yt),ee)==0)return;var Pt=D.display.view,Zt=Z.line>=D.display.viewFrom&&Yn(D,Z)||{node:Pt[0].measure.map[2],offset:0},rr=ee.line<D.display.viewTo&&Yn(D,ee);if(!rr){var hn=Pt[Pt.length-1].measure,Sn=hn.maps?hn.maps[hn.maps.length-1]:hn.map;rr={node:Sn[Sn.length-1],offset:Sn[Sn.length-2]-Sn[Sn.length-3]}}if(!Zt||!rr){L.removeAllRanges();return}var Pn=L.rangeCount&&L.getRangeAt(0),zn;try{zn=F(Zt.node,Zt.offset,rr.offset,rr.node)}catch(ci){}zn&&(!x&&D.state.focused?(L.collapse(Zt.node,Zt.offset),zn.collapsed||(L.removeAllRanges(),L.addRange(zn))):(L.removeAllRanges(),L.addRange(zn)),Pn&&L.anchorNode==null?L.addRange(Pn):x&&this.startGracePeriod()),this.rememberSelection()},Cn.prototype.startGracePeriod=function(){var L=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){L.gracePeriod=!1,L.selectionChanged()&&L.cm.operation(function(){return L.cm.curOp.selectionChanged=!0})},20)},Cn.prototype.showMultipleSelections=function(L){_(this.cm.display.cursorDiv,L.cursors),_(this.cm.display.selectionDiv,L.selection)},Cn.prototype.rememberSelection=function(){var L=this.getSelection();this.lastAnchorNode=L.anchorNode,this.lastAnchorOffset=L.anchorOffset,this.lastFocusNode=L.focusNode,this.lastFocusOffset=L.focusOffset},Cn.prototype.selectionInEditor=function(){var L=this.getSelection();if(!L.rangeCount)return!1;var D=L.getRangeAt(0).commonAncestorContainer;return B(this.div,D)},Cn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Cn.prototype.blur=function(){this.div.blur()},Cn.prototype.getField=function(){return this.div},Cn.prototype.supportsTouch=function(){return!0},Cn.prototype.receivedFocus=function(){var L=this;this.selectionInEditor()?this.pollSelection():co(this.cm,function(){return L.cm.curOp.selectionChanged=!0});function D(){L.cm.state.focused&&(L.pollSelection(),L.polling.set(L.cm.options.pollInterval,D))}this.polling.set(this.cm.options.pollInterval,D)},Cn.prototype.selectionChanged=function(){var L=this.getSelection();return L.anchorNode!=this.lastAnchorNode||L.anchorOffset!=this.lastAnchorOffset||L.focusNode!=this.lastFocusNode||L.focusOffset!=this.lastFocusOffset},Cn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var L=this.getSelection(),D=this.cm;if(u&&i&&this.cm.display.gutterSpecs.length&&fi(L.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var Q=na(D,L.anchorNode,L.anchorOffset),Z=na(D,L.focusNode,L.focusOffset);Q&&Z&&co(D,function(){os(D.doc,Se(Q,Z),be),(Q.bad||Z.bad)&&(D.curOp.selectionChanged=!0)})},Cn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var L=this.cm,D=L.display,Q=L.doc.sel.primary(),Z=Q.from(),ee=Q.to();if(Z.ch==0&&Z.line>L.firstLine()&&(Z=wt(Z.line-1,q(L.doc,Z.line-1).length)),ee.ch==q(L.doc,ee.line).text.length&&ee.line<L.lastLine()&&(ee=wt(ee.line+1,0)),Z.line<D.viewFrom||ee.line>D.viewTo-1)return!1;var ke,yt,Pt;Z.line==D.viewFrom||(ke=va(L,Z.line))==0?(yt=Ge(D.view[0].line),Pt=D.view[0].node):(yt=Ge(D.view[ke].line),Pt=D.view[ke-1].node.nextSibling);var Zt=va(L,ee.line),rr,hn;if(Zt==D.view.length-1?(rr=D.viewTo-1,hn=D.lineDiv.lastChild):(rr=Ge(D.view[Zt+1].line)-1,hn=D.view[Zt+1].node.previousSibling),!Pt)return!1;for(var Sn=L.doc.splitLines(oa(L,Pt,hn,yt,rr)),Pn=ue(L.doc,wt(yt,0),wt(rr,q(L.doc,rr).text.length));Sn.length>1&&Pn.length>1;)if(fe(Sn)==fe(Pn))Sn.pop(),Pn.pop(),rr--;else if(Sn[0]==Pn[0])Sn.shift(),Pn.shift(),yt++;else break;for(var zn=0,ci=0,Ti=Sn[0],ji=Pn[0],Ui=Math.min(Ti.length,ji.length);zn<Ui&&Ti.charCodeAt(zn)==ji.charCodeAt(zn);)++zn;for(var ra=fe(Sn),ia=fe(Pn),fa=Math.min(ra.length-(Sn.length==1?zn:0),ia.length-(Pn.length==1?zn:0));ci<fa&&ra.charCodeAt(ra.length-ci-1)==ia.charCodeAt(ia.length-ci-1);)++ci;if(Sn.length==1&&Pn.length==1&&yt==Z.line)for(;zn&&zn>Z.ch&&ra.charCodeAt(ra.length-ci-1)==ia.charCodeAt(ia.length-ci-1);)zn--,ci++;Sn[Sn.length-1]=ra.slice(0,ra.length-ci).replace(/^\u200b+/,""),Sn[0]=Sn[0].slice(zn).replace(/\u200b+$/,"");var ao=wt(yt,zn),Qa=wt(rr,Pn.length?fe(Pn).length-ci:0);if(Sn.length>1||Sn[0]||It(ao,Qa))return ll(L.doc,Sn,ao,Qa,"+input"),!0},Cn.prototype.ensurePolled=function(){this.forceCompositionEnd()},Cn.prototype.reset=function(){this.forceCompositionEnd()},Cn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Cn.prototype.readFromDOMSoon=function(){var L=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(L.readDOMTimeout=null,L.composing)if(L.composing.done)L.composing=null;else return;L.updateFromDOM()},80)},Cn.prototype.updateFromDOM=function(){var L=this;(this.cm.isReadOnly()||!this.pollContent())&&co(this.cm,function(){return Di(L.cm)})},Cn.prototype.setUneditable=function(L){L.contentEditable="false"},Cn.prototype.onKeyPress=function(L){if(L.charCode==0||this.composing)return;L.preventDefault(),this.cm.isReadOnly()||go(this.cm,Yt)(this.cm,String.fromCharCode(L.charCode==null?L.keyCode:L.charCode),0)},Cn.prototype.readOnlyChanged=function(L){this.div.contentEditable=String(L!="nocursor")},Cn.prototype.onContextMenu=function(){},Cn.prototype.resetPosition=function(){},Cn.prototype.needsContentAttribute=!0;function Yn(L,D){var Q=$n(L,D.line);if(!Q||Q.hidden)return null;var Z=q(L.doc,D.line),ee=ui(Q,Z,D.line),ke=lt(Z,L.doc.direction),yt="left";if(ke){var Pt=pe(ke,D.ch);yt=Pt%2?"right":"left"}var Zt=xi(ee.map,D.ch,yt);return Zt.offset=Zt.collapse=="right"?Zt.end:Zt.start,Zt}function fi(L){for(var D=L;D;D=D.parentNode)if(/CodeMirror-gutter-wrapper/.test(D.className))return!0;return!1}function Pi(L,D){return D&&(L.bad=!0),L}function oa(L,D,Q,Z,ee){var ke="",yt=!1,Pt=L.doc.lineSeparator(),Zt=!1;function rr(zn){return function(ci){return ci.id==zn}}function hn(){yt&&(ke+=Pt,Zt&&(ke+=Pt),yt=Zt=!1)}function Sn(zn){zn&&(hn(),ke+=zn)}function Pn(zn){if(zn.nodeType==1){var ci=zn.getAttribute("cm-text");if(ci){Sn(ci);return}var Ti=zn.getAttribute("cm-marker"),ji;if(Ti){var Ui=L.findMarks(wt(Z,0),wt(ee+1,0),rr(+Ti));Ui.length&&(ji=Ui[0].find(0))&&Sn(ue(L.doc,ji.from,ji.to).join(Pt));return}if(zn.getAttribute("contenteditable")=="false")return;var ra=/^(pre|div|p|li|table|br)$/i.test(zn.nodeName);if(!/^br$/i.test(zn.nodeName)&&zn.textContent.length==0)return;ra&&hn();for(var ia=0;ia<zn.childNodes.length;ia++)Pn(zn.childNodes[ia]);/^(pre|p)$/i.test(zn.nodeName)&&(Zt=!0),ra&&(yt=!0)}else zn.nodeType==3&&Sn(zn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Pn(D),D==Q);)D=D.nextSibling,Zt=!1;return ke}function na(L,D,Q){var Z;if(D==L.display.lineDiv){if(Z=L.display.lineDiv.childNodes[Q],!Z)return Pi(L.clipPos(wt(L.display.viewTo-1)),!0);D=null,Q=0}else for(Z=D;;Z=Z.parentNode){if(!Z||Z==L.display.lineDiv)return null;if(Z.parentNode&&Z.parentNode==L.display.lineDiv)break}for(var ee=0;ee<L.display.view.length;ee++){var ke=L.display.view[ee];if(ke.node==Z)return ho(ke,D,Q)}}function ho(L,D,Q){var Z=L.text.firstChild,ee=!1;if(!D||!B(Z,D))return Pi(wt(Ge(L.line),0),!0);if(D==Z&&(ee=!0,D=Z.childNodes[Q],Q=0,!D)){var ke=L.rest?fe(L.rest):L.line;return Pi(wt(Ge(ke),ke.text.length),ee)}var yt=D.nodeType==3?D:null,Pt=D;for(!yt&&D.childNodes.length==1&&D.firstChild.nodeType==3&&(yt=D.firstChild,Q&&(Q=yt.nodeValue.length));Pt.parentNode!=Z;)Pt=Pt.parentNode;var Zt=L.measure,rr=Zt.maps;function hn(ji,Ui,ra){for(var ia=-1;ia<(rr?rr.length:0);ia++)for(var fa=ia<0?Zt.map:rr[ia],ao=0;ao<fa.length;ao+=3){var Qa=fa[ao+2];if(Qa==ji||Qa==Ui){var Fo=Ge(ia<0?L.line:L.rest[ia]),qo=fa[ao]+ra;return(ra<0||Qa!=ji)&&(qo=fa[ao+(ra?1:0)]),wt(Fo,qo)}}}var Sn=hn(yt,Pt,Q);if(Sn)return Pi(Sn,ee);for(var Pn=Pt.nextSibling,zn=yt?yt.nodeValue.length-Q:0;Pn;Pn=Pn.nextSibling){if(Sn=hn(Pn,Pn.firstChild,0),Sn)return Pi(wt(Sn.line,Sn.ch-zn),ee);zn+=Pn.textContent.length}for(var ci=Pt.previousSibling,Ti=Q;ci;ci=ci.previousSibling){if(Sn=hn(ci,ci.firstChild,-1),Sn)return Pi(wt(Sn.line,Sn.ch+Ti),ee);Ti+=ci.textContent.length}}var ea=function(D){this.cm=D,this.prevInput="",this.pollingFast=!1,this.polling=new X,this.hasSelection=!1,this.composing=null};ea.prototype.init=function(L){var D=this,Q=this,Z=this.cm;this.createField(L);var ee=this.textarea;L.wrapper.insertBefore(this.wrapper,L.wrapper.firstChild),o&&(ee.style.width="0px"),Me(ee,"input",function(){c&&s>=9&&D.hasSelection&&(D.hasSelection=null),Q.poll()}),Me(ee,"paste",function(yt){if(jt(Z,yt)||or(yt,Z))return;Z.state.pasteIncoming=+new Date,Q.fastPoll()});function ke(yt){if(jt(Z,yt))return;if(Z.somethingSelected())Et({lineWise:!1,text:Z.getSelections()});else if(Z.options.lineWiseCopyCut){var Pt=Nr(Z);Et({lineWise:!0,text:Pt.text}),yt.type=="cut"?Z.setSelections(Pt.ranges,null,be):(Q.prevInput="",ee.value=Pt.text.join(`
|
|
|
`),U(ee))}else return;yt.type=="cut"&&(Z.state.cutIncoming=+new Date)}Me(ee,"cut",ke),Me(ee,"copy",ke),Me(L.scroller,"paste",function(yt){if(gt(L,yt)||jt(Z,yt))return;if(!ee.dispatchEvent){Z.state.pasteIncoming=+new Date,Q.focus();return}var Pt=new Event("paste");Pt.clipboardData=yt.clipboardData,ee.dispatchEvent(Pt)}),Me(L.lineSpace,"selectstart",function(yt){gt(L,yt)||Ue(yt)}),Me(ee,"compositionstart",function(){var yt=Z.getCursor("from");Q.composing&&Q.composing.range.clear(),Q.composing={start:yt,range:Z.markText(yt,Z.getCursor("to"),{className:"CodeMirror-composing"})}}),Me(ee,"compositionend",function(){Q.composing&&(Q.poll(),Q.composing.range.clear(),Q.composing=null)})},ea.prototype.createField=function(L){this.wrapper=In(),this.textarea=this.wrapper.firstChild},ea.prototype.screenReaderLabelChanged=function(L){L?this.textarea.setAttribute("aria-label",L):this.textarea.removeAttribute("aria-label")},ea.prototype.prepareSelection=function(){var L=this.cm,D=L.display,Q=L.doc,Z=sr(L);if(L.options.moveInputWithCursor){var ee=la(L,Q.sel.primary().head,"div"),ke=D.wrapper.getBoundingClientRect(),yt=D.lineDiv.getBoundingClientRect();Z.teTop=Math.max(0,Math.min(D.wrapper.clientHeight-10,ee.top+yt.top-ke.top)),Z.teLeft=Math.max(0,Math.min(D.wrapper.clientWidth-10,ee.left+yt.left-ke.left))}return Z},ea.prototype.showSelection=function(L){var D=this.cm,Q=D.display;_(Q.cursorDiv,L.cursors),_(Q.selectionDiv,L.selection),L.teTop!=null&&(this.wrapper.style.top=L.teTop+"px",this.wrapper.style.left=L.teLeft+"px")},ea.prototype.reset=function(L){if(this.contextMenuPending||this.composing)return;var D=this.cm;if(D.somethingSelected()){this.prevInput="";var Q=D.getSelection();this.textarea.value=Q,D.state.focused&&U(this.textarea),c&&s>=9&&(this.hasSelection=Q)}else L||(this.prevInput=this.textarea.value="",c&&s>=9&&(this.hasSelection=null))},ea.prototype.getField=function(){return this.textarea},ea.prototype.supportsTouch=function(){return!1},ea.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||j()!=this.textarea))try{this.textarea.focus()}catch(L){}},ea.prototype.blur=function(){this.textarea.blur()},ea.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ea.prototype.receivedFocus=function(){this.slowPoll()},ea.prototype.slowPoll=function(){var L=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){L.poll(),L.cm.state.focused&&L.slowPoll()})},ea.prototype.fastPoll=function(){var L=!1,D=this;D.pollingFast=!0;function Q(){var Z=D.poll();!Z&&!L?(L=!0,D.polling.set(60,Q)):(D.pollingFast=!1,D.slowPoll())}D.polling.set(20,Q)},ea.prototype.poll=function(){var L=this,D=this.cm,Q=this.textarea,Z=this.prevInput;if(this.contextMenuPending||!D.state.focused||Jt(Q)&&!Z&&!this.composing||D.isReadOnly()||D.options.disableInput||D.state.keySeq)return!1;var ee=Q.value;if(ee==Z&&!D.somethingSelected())return!1;if(c&&s>=9&&this.hasSelection===ee||y&&/[\uf700-\uf7ff]/.test(ee))return D.display.input.reset(),!1;if(D.doc.sel==D.display.selForContextMenu){var ke=ee.charCodeAt(0);if(ke==8203&&!Z&&(Z="\u200B"),ke==8666)return this.reset(),this.cm.execCommand("undo")}for(var yt=0,Pt=Math.min(Z.length,ee.length);yt<Pt&&Z.charCodeAt(yt)==ee.charCodeAt(yt);)++yt;return co(D,function(){Yt(D,ee.slice(yt),Z.length-yt,null,L.composing?"*compose":null),ee.length>1e3||ee.indexOf(`
|
|
|
`)>-1?Q.value=L.prevInput="":L.prevInput=ee,L.composing&&(L.composing.range.clear(),L.composing.range=D.markText(L.composing.start,D.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ea.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ea.prototype.onKeyPress=function(){c&&s>=9&&(this.hasSelection=null),this.fastPoll()},ea.prototype.onContextMenu=function(L){var D=this,Q=D.cm,Z=Q.display,ee=D.textarea;D.contextMenuPending&&D.contextMenuPending();var ke=Da(Q,L),yt=Z.scroller.scrollTop;if(!ke||d)return;var Pt=Q.options.resetSelectionOnContextMenu;Pt&&Q.doc.sel.contains(ke)==-1&&go(Q,os)(Q.doc,Se(ke),be);var Zt=ee.style.cssText,rr=D.wrapper.style.cssText,hn=D.wrapper.offsetParent.getBoundingClientRect();D.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(L.clientY-hn.top-5)+"px; left: "+(L.clientX-hn.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 Sn;a&&(Sn=window.scrollY),Z.input.focus(),a&&window.scrollTo(null,Sn),Z.input.reset(),Q.somethingSelected()||(ee.value=D.prevInput=" "),D.contextMenuPending=zn,Z.selForContextMenu=Q.doc.sel,clearTimeout(Z.detectingSelectAll);function Pn(){if(ee.selectionStart!=null){var Ti=Q.somethingSelected(),ji="\u200B"+(Ti?ee.value:"");ee.value="\u21DA",ee.value=ji,D.prevInput=Ti?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=ji.length,Z.selForContextMenu=Q.doc.sel}}function zn(){if(D.contextMenuPending!=zn)return;if(D.contextMenuPending=!1,D.wrapper.style.cssText=rr,ee.style.cssText=Zt,c&&s<9&&Z.scrollbars.setScrollTop(Z.scroller.scrollTop=yt),ee.selectionStart!=null){(!c||c&&s<9)&&Pn();var Ti=0,ji=function Ui(){Z.selForContextMenu==Q.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&D.prevInput=="\u200B"?go(Q,Ko)(Q):Ti++<10?Z.detectingSelectAll=setTimeout(Ui,500):(Z.selForContextMenu=null,Z.input.reset())};Z.detectingSelectAll=setTimeout(ji,200)}}if(c&&s>=9&&Pn(),O){Pe(L);var ci=function Ti(){tt(window,"mouseup",Ti),setTimeout(zn,20)};Me(window,"mouseup",ci)}else setTimeout(zn,50)},ea.prototype.readOnlyChanged=function(L){L||this.reset(),this.textarea.disabled=L=="nocursor",this.textarea.readOnly=!!L},ea.prototype.setUneditable=function(){},ea.prototype.needsContentAttribute=!1;function Lo(L,D){if(D=D?H(D):{},D.value=L.value,!D.tabindex&&L.tabIndex&&(D.tabindex=L.tabIndex),!D.placeholder&&L.placeholder&&(D.placeholder=L.placeholder),D.autofocus==null){var Q=j();D.autofocus=Q==L||L.getAttribute("autofocus")!=null&&Q==document.body}function Z(){L.value=Pt.getValue()}var ee;if(L.form&&(Me(L.form,"submit",Z),!D.leaveSubmitMethodAlone)){var ke=L.form;ee=ke.submit;try{var yt=ke.submit=function(){Z(),ke.submit=ee,ke.submit(),ke.submit=yt}}catch(Zt){}}D.finishInit=function(Zt){Zt.save=Z,Zt.getTextArea=function(){return L},Zt.toTextArea=function(){Zt.toTextArea=isNaN,Z(),L.parentNode.removeChild(Zt.getWrapperElement()),L.style.display="",L.form&&(tt(L.form,"submit",Z),!D.leaveSubmitMethodAlone&&typeof L.form.submit=="function"&&(L.form.submit=ee))}},L.style.display="none";var Pt=gs(function(Zt){return L.parentNode.insertBefore(Zt,L.nextSibling)},D);return Pt}function Co(L){L.off=tt,L.on=Me,L.wheelEventPixels=Po,L.Doc=Hs,L.splitLines=Fr,L.countColumn=W,L.findColumn=Ie,L.isWordChar=ae,L.Pass=ie,L.signal=Mt,L.Line=Wn,L.changeEnd=We,L.scrollbarModel=Do,L.Pos=wt,L.cmpPos=It,L.modes=we,L.mimeModes=Ke,L.resolveMode=vt,L.getMode=_t,L.modeExtensions=Ut,L.extendMode=Bt,L.copyState=dr,L.startState=xe,L.innerMode=Oe,L.commands=ml,L.keyMap=al,L.keyName=Ql,L.isModifierKey=jl,L.lookupKey=$s,L.normalizeKeyMap=zs,L.StringStream=V,L.SharedTextMarker=Ol,L.TextMarker=js,L.LineWidget=Tl,L.e_preventDefault=Ue,L.e_stopPropagation=G,L.e_stop=Pe,L.addClass=z,L.contains=B,L.rmClass=S,L.keyNames=il}zu(gs),Nn(gs);var mo="iter insert remove copy getEditor constructor".split(" ");for(var ws in Hs.prototype)Hs.prototype.hasOwnProperty(ws)&&K(mo,ws)<0&&(gs.prototype[ws]=function(L){return function(){return L.apply(this.doc,arguments)}}(Hs.prototype[ws]));return Dt(Hs),gs.inputStyles={textarea:ea,contenteditable:Cn},gs.defineMode=function(L){!gs.defaults.mode&&L!="null"&&(gs.defaults.mode=L),Je.apply(this,arguments)},gs.defineMIME=ut,gs.defineMode("null",function(){return{token:function(D){return D.skipToEnd()}}}),gs.defineMIME("text/plain","null"),gs.defineExtension=function(L,D){gs.prototype[L]=D},gs.defineDocExtension=function(L,D){Hs.prototype[L]=D},gs.fromTextArea=Lo,Co(gs),gs.version="5.58.2",gs})},Vy0f:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},W2nI:function(R,N,e){var A=e("IwbS"),f=e("ProS"),x=e("bYtY"),m=["itemStyle","opacity"],g=["emphasis","itemStyle","opacity"],p=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function s(l,r){return l.getVisual("opacity")||l.getModel().get(r)}function a(l,r,o){var u=l.getGraphicEl(),h=s(l,r);o!=null&&(h==null&&(h=1),h*=o),u.downplay&&u.downplay(),u.traverse(function(y){y.type!=="group"&&y.setStyle("opacity",h)})}function n(l,r){var o=s(l,r),u=l.getGraphicEl();u.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",o)}),u.highlight&&u.highlight()}var i=A.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,r){var o=r.extent;l.moveTo(r.x1,r.y1),l.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(l.lineTo(r.x2+o,r.y2),l.bezierCurveTo(r.cpx2+o,r.cpy2,r.cpx1+o,r.cpy1,r.x1+o,r.y1)):(l.lineTo(r.x2,r.y2+o),l.bezierCurveTo(r.cpx2,r.cpy2+o,r.cpx1,r.cpy1+o,r.x1,r.y1+o)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),d=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,r,o){var u=this,h=l.getGraph(),y=this.group,b=l.layoutInfo,E=b.width,v=b.height,w=l.getData(),O=l.getData("edge"),T=l.get("orient");this._model=l,y.removeAll(),y.attr("position",[b.x,b.y]),h.eachEdge(function(S){var C=new i;C.dataIndex=S.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var _=S.getModel("lineStyle"),I=_.get("curveness"),k=S.node1.getLayout(),F=S.node1.getModel(),B=F.get("localX"),j=F.get("localY"),z=S.node2.getLayout(),M=S.node2.getModel(),U=M.get("localX"),P=M.get("localY"),H=S.getLayout(),W,X,K,$,ie,be,te,Te;C.shape.extent=Math.max(1,H.dy),C.shape.orient=T,T==="vertical"?(W=(B!=null?B*E:k.x)+H.sy,X=(j!=null?j*v:k.y)+k.dy,K=(U!=null?U*E:z.x)+H.ty,$=P!=null?P*v:z.y,ie=W,be=X*(1-I)+$*I,te=K,Te=X*I+$*(1-I)):(W=(B!=null?B*E:k.x)+k.dx,X=(j!=null?j*v:k.y)+H.sy,K=U!=null?U*E:z.x,$=(P!=null?P*v:z.y)+H.ty,ie=W*(1-I)+K*I,be=X,te=W*I+K*(1-I),Te=$),C.setShape({x1:W,y1:X,x2:K,y2:$,cpx1:ie,cpy1:be,cpx2:te,cpy2:Te}),C.setStyle(_.getItemStyle());switch(C.style.fill){case"source":C.style.fill=S.node1.getVisual("color");break;case"target":C.style.fill=S.node2.getVisual("color");break}A.setHoverStyle(C,S.getModel("emphasis.lineStyle").getItemStyle()),y.add(C),O.setItemGraphicEl(S.dataIndex,C)}),h.eachNode(function(S){var C=S.getLayout(),_=S.getModel(),I=_.get("localX"),k=_.get("localY"),F=_.getModel("label"),B=_.getModel("emphasis.label"),j=new A.Rect({shape:{x:I!=null?I*E:C.x,y:k!=null?k*v:C.y,width:C.dx,height:C.dy},style:_.getModel("itemStyle").getItemStyle()}),z=S.getModel("emphasis.itemStyle").getItemStyle();A.setLabelStyle(j.style,z,F,B,{labelFetcher:l,labelDataIndex:S.dataIndex,defaultText:S.id,isRectText:!0}),j.setStyle("fill",S.getVisual("color")),A.setHoverStyle(j,z),y.add(j),w.setItemGraphicEl(S.dataIndex,j),j.dataType="node"}),w.eachItemGraphicEl(function(S,C){var _=w.getItemModel(C);_.get("draggable")&&(S.drift=function(I,k){u._focusAdjacencyDisabled=!0,this.shape.x+=I,this.shape.y+=k,this.dirty(),o.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:w.getRawIndex(C),localX:this.shape.x/E,localY:this.shape.y/v})},S.ondragend=function(){u._focusAdjacencyDisabled=!1},S.draggable=!0,S.cursor="move"),S.highlight=function(){this.trigger("emphasis")},S.downplay=function(){this.trigger("normal")},S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(o)}))}),O.eachItemGraphicEl(function(S,C){var _=O.getItemModel(C);S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(o)}))}),!this._data&&l.get("animation")&&y.setClipPath(t(y.getBoundingRect(),l,function(){y.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var r=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){r._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:r._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,r,o,u){var h=l.getData(),y=h.graph,b=u.dataIndex,E=h.getItemModel(b),v=u.edgeDataIndex;if(b==null&&v==null)return;var w=y.getNodeByIndex(b),O=y.getEdgeByIndex(v);if(y.eachNode(function(S){a(S,m,.1)}),y.eachEdge(function(S){a(S,p,.1)}),w){n(w,g);var T=E.get("focusNodeAdjacency");T==="outEdges"?x.each(w.outEdges,function(S){if(S.dataIndex<0)return;n(S,c),n(S.node2,g)}):T==="inEdges"?x.each(w.inEdges,function(S){if(S.dataIndex<0)return;n(S,c),n(S.node1,g)}):T==="allEdges"&&x.each(w.edges,function(S){if(S.dataIndex<0)return;n(S,c),S.node1!==w&&n(S.node1,g),S.node2!==w&&n(S.node2,g)})}O&&(n(O,c),n(O.node1,g),n(O.node2,g))},unfocusNodeAdjacency:function(l,r,o,u){var h=l.getGraph();h.eachNode(function(y){a(y,m)}),h.eachEdge(function(y){a(y,p)})}});function t(l,r,o){var u=new A.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return A.initProps(u,{shape:{width:l.width+20}},r,o),u}R.exports=d},W4dC:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.each,g=x.createHashMap,p=e("7DRL"),c=e("TIY9"),s=e("yS9w"),a=e("mFDi"),n={geoJSON:c,svg:s},i={load:function(r,o,u){var h=[],y=g(),b=g(),E,v=l(r);return m(v,function(w){var O=n[w.type].load(r,w,u);m(O.regions,function(S){var C=S.name;o&&o.hasOwnProperty(C)&&(S=S.cloneShallow(C=o[C])),h.push(S),y.set(C,S),b.set(C,S.center)});var T=O.boundingRect;T&&(E?E.union(T):E=T.clone())}),{regions:h,regionsMap:y,nameCoordMap:b,boundingRect:E||new a(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(r){return function(o,u){var h=l(o),y=[];return m(h,function(b){var E=n[b.type][r];E&&y.push(E(o,b,u))}),y}}function t(r){}function l(r){var o=p.retrieveMap(r)||[];return o}R.exports=i},WGYa:function(R,N,e){var A=e("7yuC"),f=A.forceLayout,x=e("HF/U"),m=x.simpleLayout,g=e("lOQZ"),p=g.circularLayout,c=e("OELB"),s=c.linearMap,a=e("QBsz"),n=e("bYtY");function i(d){d.eachSeriesByType("graph",function(t){var l=t.coordinateSystem;if(l&&l.type!=="view")return;if(t.get("layout")==="force"){var r=t.preservedPoints||{},o=t.getGraph(),u=o.data,h=o.edgeData,y=t.getModel("force"),b=y.get("initLayout");t.preservedPoints?u.each(function(F){var B=u.getId(F);u.setItemLayout(F,r[B]||[NaN,NaN])}):!b||b==="none"?m(t):b==="circular"&&p(t,"value");var E=u.getDataExtent("value"),v=h.getDataExtent("value"),w=y.get("repulsion"),O=y.get("edgeLength");n.isArray(w)||(w=[w,w]),n.isArray(O)||(O=[O,O]),O=[O[1],O[0]];var T=u.mapArray("value",function(F,B){var j=u.getItemLayout(B),z=s(F,E,w);return isNaN(z)&&(z=(w[0]+w[1])/2),{w:z,rep:z,fixed:u.getItemModel(B).get("fixed"),p:!j||isNaN(j[0])||isNaN(j[1])?null:j}}),S=h.mapArray("value",function(F,B){var j=o.getEdgeByIndex(B),z=s(F,v,O);isNaN(z)&&(z=(O[0]+O[1])/2);var M=j.getModel();return{n1:T[j.node1.dataIndex],n2:T[j.node2.dataIndex],d:z,curveness:M.get("lineStyle.curveness")||0,ignoreForceLayout:M.get("ignoreForceLayout")}}),l=t.coordinateSystem,C=l.getBoundingRect(),_=f(T,S,{rect:C,gravity:y.get("gravity"),friction:y.get("friction")}),I=_.step;_.step=function(F){for(var B=0,j=T.length;B<j;B++)T[B].fixed&&a.copy(T[B].p,o.getNodeByIndex(B).getLayout());I(function(z,M,U){for(var P=0,H=z.length;P<H;P++)z[P].fixed||o.getNodeByIndex(P).setLayout(z[P].p),r[u.getId(P)]=z[P].p;for(var P=0,H=M.length;P<H;P++){var W=M[P],X=o.getEdgeByIndex(P),K=W.n1.p,$=W.n2.p,ie=X.getLayout();ie=ie?ie.slice():[],ie[0]=ie[0]||[],ie[1]=ie[1]||[],a.copy(ie[0],K),a.copy(ie[1],$),+W.curveness&&(ie[2]=[(K[0]+$[0])/2-(K[1]-$[1])*W.curveness,(K[1]+$[1])/2-($[0]-K[0])*W.curveness]),X.setLayout(ie)}F&&F(U)})},t.forceLayout=_,t.preservedPoints=r,_.step()}else t.forceLayout=null})}R.exports=i},"WN+l":function(R,N,e){var A=e("bYtY"),f=e("IwbS");function x(g,p,c,s){var a=c.axis;if(a.scale.isBlank())return;var n=c.getModel("splitArea"),i=n.getModel("areaStyle"),d=i.get("color"),t=s.coordinateSystem.getRect(),l=a.getTicksCoords({tickModel:n,clamp:!0});if(!l.length)return;var r=d.length,o=g.__splitAreaColors,u=A.createHashMap(),h=0;if(o)for(var y=0;y<l.length;y++){var b=o.get(l[y].tickValue);if(b!=null){h=(b+(r-1)*y)%r;break}}var E=a.toGlobalCoord(l[0].coord),v=i.getAreaStyle();d=A.isArray(d)?d:[d];for(var y=1;y<l.length;y++){var w=a.toGlobalCoord(l[y].coord),O,T,S,C;a.isHorizontal()?(O=E,T=t.y,S=w-O,C=t.height,E=O+S):(O=t.x,T=E,S=t.width,C=w-T,E=T+C);var _=l[y-1].tickValue;_!=null&&u.set(_,h),p.add(new f.Rect({anid:_!=null?"area_"+_:null,shape:{x:O,y:T,width:S,height:C},style:A.defaults({fill:d[h]},v),silent:!0})),h=(h+1)%r}g.__splitAreaColors=u}function m(g){g.__splitAreaColors=null}N.rectCoordAxisBuildSplitArea=x,N.rectCoordAxisHandleRemove=m},WXVj:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("Bqw1")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="MinusSquareOutlined";var s=m.forwardRef(c);N.default=s},Wqna:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.isObject,g=x.each,p=x.map,c=x.indexOf,s=x.retrieve,a=e("+TT/"),n=a.getLayoutRect,i=e("aX7z"),d=i.createScaleByModel,t=i.ifAxisCrossZero,l=i.niceScaleExtent,r=i.estimateLabelUnionRect,o=e("y+lR"),u=e("7AJT"),h=e("IDmD"),y=e("7hqr"),b=y.getStackedDimension;e("jtI2");function E(F,B,j){return F.getCoordSysModel()===B}function v(F,B,j){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(F,B,j),this.model=F}var w=v.prototype;w.type="grid",w.axisPointerEnabled=!0,w.getRect=function(){return this._rect},w.update=function(F,B){var j=this._axesMap;this._updateScale(F,this.model),g(j.x,function(M){l(M.scale,M.model)}),g(j.y,function(M){l(M.scale,M.model)});var z={};g(j.x,function(M){O(j,"y",M,z)}),g(j.y,function(M){O(j,"x",M,z)}),this.resize(this.model,B)};function O(F,B,j,z){j.getAxesOnZeroOf=function(){return U?[U]:[]};var M=F[B],U,P=j.model,H=P.get("axisLine.onZero"),W=P.get("axisLine.onZeroAxisIndex");if(!H)return;if(W!=null)T(M[W])&&(U=M[W]);else for(var X in M)if(M.hasOwnProperty(X)&&T(M[X])&&!z[K(M[X])]){U=M[X];break}U&&(z[K(U)]=!0);function K($){return $.dim+"_"+$.index}}function T(F){return F&&F.type!=="category"&&F.type!=="time"&&t(F)}w.resize=function(F,B,j){var z=n(F.getBoxLayoutParams(),{width:B.getWidth(),height:B.getHeight()});this._rect=z;var M=this._axesList;U(),!j&&F.get("containLabel")&&(g(M,function(P){if(!P.model.get("axisLabel.inside")){var H=r(P);if(H){var W=P.isHorizontal()?"height":"width",X=P.model.get("axisLabel.margin");z[W]-=H[W]+X,P.position==="top"?z.y+=H.height+X:P.position==="left"&&(z.x+=H.width+X)}}}),U());function U(){g(M,function(P){var H=P.isHorizontal(),W=H?[0,z.width]:[0,z.height],X=P.inverse?1:0;P.setExtent(W[X],W[1-X]),S(P,H?z.x:z.y)})}},w.getAxis=function(F,B){var j=this._axesMap[F];if(j!=null){if(B==null){for(var z in j)if(j.hasOwnProperty(z))return j[z]}return j[B]}},w.getAxes=function(){return this._axesList.slice()},w.getCartesian=function(F,B){if(F!=null&&B!=null){var j="x"+F+"y"+B;return this._coordsMap[j]}m(F)&&(B=F.yAxisIndex,F=F.xAxisIndex);for(var z=0,M=this._coordsList;z<M.length;z++)if(M[z].getAxis("x").index===F||M[z].getAxis("y").index===B)return M[z]},w.getCartesians=function(){return this._coordsList.slice()},w.convertToPixel=function(F,B,j){var z=this._findConvertTarget(F,B);return z.cartesian?z.cartesian.dataToPoint(j):z.axis?z.axis.toGlobalCoord(z.axis.dataToCoord(j)):null},w.convertFromPixel=function(F,B,j){var z=this._findConvertTarget(F,B);return z.cartesian?z.cartesian.pointToData(j):z.axis?z.axis.coordToData(z.axis.toLocalCoord(j)):null},w._findConvertTarget=function(F,B){var j=B.seriesModel,z=B.xAxisModel||j&&j.getReferringComponents("xAxis")[0],M=B.yAxisModel||j&&j.getReferringComponents("yAxis")[0],U=B.gridModel,P=this._coordsList,H,W;if(j)H=j.coordinateSystem,c(P,H)<0&&(H=null);else if(z&&M)H=this.getCartesian(z.componentIndex,M.componentIndex);else if(z)W=this.getAxis("x",z.componentIndex);else if(M)W=this.getAxis("y",M.componentIndex);else if(U){var X=U.coordinateSystem;X===this&&(H=this._coordsList[0])}return{cartesian:H,axis:W}},w.containPoint=function(F){var B=this._coordsList[0];if(B)return B.containPoint(F)},w._initCartesian=function(F,B,j){var z={left:!1,right:!1,top:!1,bottom:!1},M={x:{},y:{}},U={x:0,y:0};if(B.eachComponent("xAxis",P("x"),this),B.eachComponent("yAxis",P("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=M,g(M.x,function(H,W){g(M.y,function(X,K){var $="x"+W+"y"+K,ie=new o($);ie.grid=this,ie.model=F,this._coordsMap[$]=ie,this._coordsList.push(ie),ie.addAxis(H),ie.addAxis(X)},this)},this);function P(H){return function(W,X){if(!E(W,F,B))return;var K=W.get("position");H==="x"?K!=="top"&&K!=="bottom"&&(K=z.bottom?"top":"bottom"):K!=="left"&&K!=="right"&&(K=z.left?"right":"left"),z[K]=!0;var $=new u(H,d(W),[0,0],W.get("type"),K),ie=$.type==="category";$.onBand=ie&&W.get("boundaryGap"),$.inverse=W.get("inverse"),W.axis=$,$.model=W,$.grid=this,$.index=X,this._axesList.push($),M[H][X]=$,U[H]++}}},w._updateScale=function(F,B){g(this._axesList,function(z){z.scale.setExtent(Infinity,-Infinity)}),F.eachSeries(function(z){if(I(z)){var M=_(z,F),U=M[0],P=M[1];if(!E(U,B,F)||!E(P,B,F))return;var H=this.getCartesian(U.componentIndex,P.componentIndex),W=z.getData(),X=H.getAxis("x"),K=H.getAxis("y");W.type==="list"&&(j(W,X,z),j(W,K,z))}},this);function j(z,M,U){g(z.mapDimension(M.dim,!0),function(P){M.scale.unionExtentFromData(z,b(z,P))})}},w.getTooltipAxes=function(F){var B=[],j=[];return g(this.getCartesians(),function(z){var M=F!=null&&F!=="auto"?z.getAxis(F):z.getBaseAxis(),U=z.getOtherAxis(M);c(B,M)<0&&B.push(M),c(j,U)<0&&j.push(U)}),{baseAxes:B,otherAxes:j}};function S(F,B){var j=F.getExtent(),z=j[0]+j[1];F.toGlobalCoord=F.dim==="x"?function(M){return M+B}:function(M){return z-M+B},F.toLocalCoord=F.dim==="x"?function(M){return M-B}:function(M){return z-M+B}}var C=["xAxis","yAxis"];function _(F,B){return p(C,function(j){var z=F.getReferringComponents(j)[0];return z})}function I(F){return F.get("coordinateSystem")==="cartesian2d"}v.create=function(F,B){var j=[];return F.eachComponent("grid",function(z,M){var U=new v(z,F,B);U.name="grid_"+M,U.resize(z,B,!0),z.coordinateSystem=U,j.push(U)}),F.eachSeries(function(z){if(!I(z))return;var M=_(z,F),U=M[0],P=M[1],H=U.getCoordSysModel(),W=H.coordinateSystem;z.coordinateSystem=W.getCartesian(U.componentIndex,P.componentIndex)}),j},v.dimensions=v.prototype.dimensions=o.prototype.dimensions,h.register("cartesian2d",v);var k=v;R.exports=k},"X+im":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("KQeH")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="DownloadOutlined";var s=m.forwardRef(c);N.default=s},"X2/X":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},XAae:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},XOKv:function(R,N,e){e("OXB0"),e("SA4+")},Xmg4:function(R,N,e){var A=e("bYtY"),f=e("LPTA"),x=f.devicePixelRatio,m=e("K2GJ"),g=e("3C/r");function p(){return!1}function c(n,i,d){var t=A.createCanvas(),l=i.getWidth(),r=i.getHeight(),o=t.style;return o&&(o.position="absolute",o.left=0,o.top=0,o.width=l+"px",o.height=r+"px",t.setAttribute("data-zr-dom-id",n)),t.width=l*d,t.height=r*d,t}var s=function(i,d,t){var l;t=t||x,typeof i=="string"?l=c(i,d,t):A.isObject(i)&&(l=i,i=l.id),this.id=i,this.dom=l;var r=l.style;r&&(l.onselectstart=p,r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",r["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",r.padding=0,r.margin=0,r["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=d,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=t};s.prototype={constructor:s,__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 i=this.dpr;this.domBack=c("back-"+this.id,this.painter,i),this.ctxBack=this.domBack.getContext("2d"),i!==1&&this.ctxBack.scale(i,i)},resize:function(i,d){var t=this.dpr,l=this.dom,r=l.style,o=this.domBack;r&&(r.width=i+"px",r.height=d+"px"),l.width=i*t,l.height=d*t,o&&(o.width=i*t,o.height=d*t,t!==1&&this.ctxBack.scale(t,t))},clear:function(i,d){var t=this.dom,l=this.ctx,r=t.width,o=t.height,d=d||this.clearColor,u=this.motionBlur&&!i,h=this.lastFrameAlpha,y=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(t,0,0,r/y,o/y)),l.clearRect(0,0,r,o),d&&d!=="transparent"){var b;d.colorStops?(b=d.__canvasGradient||m.getGradient(l,d,{x:0,y:0,width:r,height:o}),d.__canvasGradient=b):d.image&&(b=g.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=b||d,l.fillRect(0,0,r,o),l.restore()}if(u){var E=this.domBack;l.save(),l.globalAlpha=h,l.drawImage(E,0,0,r,o),l.restore()}}};var a=s;R.exports=a},Xnb7:function(R,N,e){var A=e("1RvN"),f=new A(50);function x(c){if(typeof c=="string"){var s=f.get(c);return s&&s.image}else return c}function m(c,s,a,n,i){if(c)if(typeof c=="string"){if(s&&s.__zrImageSrc===c||!a)return s;var d=f.get(c),t={hostEl:a,cb:n,cbPayload:i};return d?(s=d.image,!p(s)&&d.pending.push(t)):(s=new Image,s.onload=s.onerror=g,f.put(c,s.__cachedImgObj={image:s,pending:[t]}),s.src=s.__zrImageSrc=c),s}else return c;else return s}function g(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var s=0;s<c.pending.length;s++){var a=c.pending[s],n=a.cb;n&&n(this,a.cbPayload),a.hostEl.dirty()}c.pending.length=0}function p(c){return c&&c.width&&c.height}N.findExistImage=x,N.createOrUpdateImage=m,N.isImageReady=p},XpcN:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("oVpE"),p=g.createSymbol,c=e("IwbS"),s=e("eRkO"),a=s.makeBackground,n=e("+TT/"),i=m.curry,d=m.each,t=c.Group,l=x.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new t),this._backgroundEl,this.group.add(this._selectorGroup=new t),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(y,b,E){var v=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!y.get("show",!0))return;var w=y.get("align"),O=y.get("orient");(!w||w==="auto")&&(w=y.get("left")==="right"&&O==="vertical"?"right":"left");var T=y.get("selector",!0),S=y.get("selectorPosition",!0);T&&(!S||S==="auto")&&(S=O==="horizontal"?"end":"start"),this.renderInner(w,y,b,E,T,O,S);var C=y.getBoxLayoutParams(),_={width:E.getWidth(),height:E.getHeight()},I=y.get("padding"),k=n.getLayoutRect(C,_,I),F=this.layoutInner(y,w,k,v,T,S),B=n.getLayoutRect(m.defaults({width:F.width,height:F.height},C),_,I);this.group.attr("position",[B.x-F.x,B.y-F.y]),this.group.add(this._backgroundEl=a(F,y))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(y,b,E,v,w,O,T){var S=this.getContentGroup(),C=m.createHashMap(),_=b.get("selectedMode"),I=[];E.eachRawSeries(function(k){!k.get("legendHoverLink")&&I.push(k.id)}),d(b.getData(),function(k,F){var B=k.get("name");if(!this.newlineDisabled&&(B===""||B===`
|
|
|
`)){S.add(new t({newline:!0}));return}var j=E.getSeriesByName(B)[0];if(C.get(B))return;if(j){var z=j.getData(),M=z.getVisual("color"),U=z.getVisual("borderColor");typeof M=="function"&&(M=M(j.getDataParams(0))),typeof U=="function"&&(U=U(j.getDataParams(0)));var P=z.getVisual("legendSymbol")||"roundRect",H=z.getVisual("symbol"),W=this._createItem(B,F,k,b,P,H,y,M,U,_);W.on("click",i(o,B,null,v,I)).on("mouseover",i(u,j.name,null,v,I)).on("mouseout",i(h,j.name,null,v,I)),C.set(B,!0)}else E.eachRawSeries(function(X){if(C.get(B))return;if(X.legendVisualProvider){var K=X.legendVisualProvider;if(!K.containName(B))return;var $=K.indexOfName(B),ie=K.getItemVisual($,"color"),be=K.getItemVisual($,"borderColor"),te="roundRect",Te=this._createItem(B,F,k,b,te,null,y,ie,be,_);Te.on("click",i(o,null,B,v,I)).on("mouseover",i(u,null,B,v,I)).on("mouseout",i(h,null,B,v,I)),C.set(B,!0)}},this)},this),w&&this._createSelector(w,b,v,O,T)},_createSelector:function(y,b,E,v,w){var O=this.getSelectorGroup();d(y,function(S){T(S)});function T(S){var C=S.type,_=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){E.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});O.add(_);var I=b.getModel("selectorLabel"),k=b.getModel("emphasis.selectorLabel");c.setLabelStyle(_.style,_.hoverStyle={},I,k,{defaultText:S.title,isRectText:!1}),c.setHoverStyle(_)}},_createItem:function(y,b,E,v,w,O,T,S,C,_){var I=v.get("itemWidth"),k=v.get("itemHeight"),F=v.get("inactiveColor"),B=v.get("inactiveBorderColor"),j=v.get("symbolKeepAspect"),z=v.getModel("itemStyle"),M=v.isSelected(y),U=new t,P=E.getModel("textStyle"),H=E.get("icon"),W=E.getModel("tooltip"),X=W.parentModel;w=H||w;var K=p(w,0,0,I,k,M?S:F,j==null?!0:j);if(U.add(r(K,w,z,C,B,M)),!H&&O&&(O!==w||O==="none")){var $=k*.8;O==="none"&&(O="circle");var ie=p(O,(I-$)/2,(k-$)/2,$,$,M?S:F,j==null?!0:j);U.add(r(ie,O,z,C,B,M))}var be=T==="left"?I+5:-5,te=T,Te=v.get("formatter"),Ie=y;typeof Te=="string"&&Te?Ie=Te.replace("{name}",y!=null?y:""):typeof Te=="function"&&(Ie=Te(y)),U.add(new c.Text({style:c.setTextStyle({},P,{text:Ie,x:be,y:k/2,textFill:M?P.getTextColor():F,textAlign:te,textVerticalAlign:"middle"})}));var Fe=new c.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:W.get("show")?m.extend({content:y,formatter:X.get("formatter",!0)||function(){return y},formatterParams:{componentType:"legend",legendIndex:v.componentIndex,name:y,$vars:["name"]}},W.option):null});return U.add(Fe),U.eachChild(function(Qe){Qe.silent=!0}),Fe.silent=!_,this.getContentGroup().add(U),c.setHoverStyle(U),U.__legendDataIndex=b,U},layoutInner:function(y,b,E,v,w,O){var T=this.getContentGroup(),S=this.getSelectorGroup();n.box(y.get("orient"),T,y.get("itemGap"),E.width,E.height);var C=T.getBoundingRect(),_=[-C.x,-C.y];if(w){n.box("horizontal",S,y.get("selectorItemGap",!0));var I=S.getBoundingRect(),k=[-I.x,-I.y],F=y.get("selectorButtonGap",!0),B=y.getOrient().index,j=B===0?"width":"height",z=B===0?"height":"width",M=B===0?"y":"x";O==="end"?k[B]+=C[j]+F:_[B]+=I[j]+F,k[1-B]+=C[z]/2-I[z]/2,S.attr("position",k),T.attr("position",_);var U={x:0,y:0};return U[j]=C[j]+F+I[j],U[z]=Math.max(C[z],I[z]),U[M]=Math.min(0,I[M]+k[1-B]),U}else return T.attr("position",_),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function r(y,b,E,v,w,O){var T;return b!=="line"&&b.indexOf("empty")<0?(T=E.getItemStyle(),y.style.stroke=v,O||(T.stroke=w)):T=E.getItemStyle(["borderWidth","borderColor"]),y.setStyle(T)}function o(y,b,E,v){h(y,b,E,v),E.dispatchAction({type:"legendToggleSelect",name:y!=null?y:b}),u(y,b,E,v)}function u(y,b,E,v){var w=E.getZr().storage.getDisplayList()[0];w&&w.useHoverLayer||E.dispatchAction({type:"highlight",seriesName:y,name:b,excludeSeriesId:v})}function h(y,b,E,v){var w=E.getZr().storage.getDisplayList()[0];w&&w.useHoverLayer||E.dispatchAction({type:"downplay",seriesName:y,name:b,excludeSeriesId:v})}R.exports=l},XuBP:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},XxSj:function(R,N,e){var A=e("bYtY"),f=e("Qe9p"),x=e("OELB"),m=x.linearMap,g=A.each,p=A.isObject,c=-1,s=function(O){var T=O.mappingMethod,S=O.type,C=this.option=A.clone(O);this.type=S,this.mappingMethod=T,this._normalizeData=E[T];var _=a[S];this.applyVisual=_.applyVisual,this.getColorMapper=_.getColorMapper,this._doMap=_._doMap[T],T==="piecewise"?(d(C),n(C)):T==="category"?C.categories?i(C):d(C,!0):(A.assert(T!=="linear"||C.dataExtent),d(C))};s.prototype={constructor:s,mapValueToVisual:function(O){var T=this._normalizeData(O);return this._doMap(T,O)},getNormalizer:function(){return A.bind(this._normalizeData,this)}};var a=s.visualHandlers={color:{applyVisual:r("color"),getColorMapper:function(){var O=this.option;return A.bind(O.mappingMethod==="category"?function(T,S){return!S&&(T=this._normalizeData(T)),o.call(this,T)}:function(T,S,C){var _=!!C;return!S&&(T=this._normalizeData(T)),C=f.fastLerp(T,O.parsedVisual,C),_?C:f.stringify(C,"rgba")},this)},_doMap:{linear:function(O){return f.stringify(f.fastLerp(O,this.option.parsedVisual),"rgba")},category:o,piecewise:function(O,T){var S=y.call(this,T);return S==null&&(S=f.stringify(f.fastLerp(O,this.option.parsedVisual),"rgba")),S},fixed:u}},colorHue:t(function(O,T){return f.modifyHSL(O,T)}),colorSaturation:t(function(O,T){return f.modifyHSL(O,null,T)}),colorLightness:t(function(O,T){return f.modifyHSL(O,null,null,T)}),colorAlpha:t(function(O,T){return f.modifyAlpha(O,T)}),opacity:{applyVisual:r("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:r("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(O,T,S){var C=this.mapValueToVisual(O);if(A.isString(C))S("symbol",C);else if(p(C))for(var _ in C)C.hasOwnProperty(_)&&S(_,C[_])},_doMap:{linear:l,category:o,piecewise:function(O,T){var S=y.call(this,T);return S==null&&(S=l.call(this,O)),S},fixed:u}},symbolSize:{applyVisual:r("symbolSize"),_doMap:h([0,1])}};function n(O){var T=O.pieceList;O.hasSpecialVisual=!1,A.each(T,function(S,C){S.originIndex=C,S.visual!=null&&(O.hasSpecialVisual=!0)})}function i(O){var T=O.categories,S=O.visual,C=O.categoryMap={};if(g(T,function(k,F){C[k]=F}),!A.isArray(S)){var _=[];A.isObject(S)?g(S,function(k,F){var B=C[F];_[B!=null?B:c]=k}):_[c]=S,S=b(O,_)}for(var I=T.length-1;I>=0;I--)S[I]==null&&(delete C[T[I]],T.pop())}function d(O,T){var S=O.visual,C=[];A.isObject(S)?g(S,function(I){C.push(I)}):S!=null&&C.push(S);var _={color:1,symbol:1};!T&&C.length===1&&!_.hasOwnProperty(O.type)&&(C[1]=C[0]),b(O,C)}function t(O){return{applyVisual:function(T,S,C){T=this.mapValueToVisual(T),C("color",O(S("color"),T))},_doMap:h([0,1])}}function l(O){var T=this.option.visual;return T[Math.round(m(O,[0,1],[0,T.length-1],!0))]||{}}function r(O){return function(T,S,C){C(O,this.mapValueToVisual(T))}}function o(O){var T=this.option.visual;return T[this.option.loop&&O!==c?O%T.length:O]}function u(){return this.option.visual[0]}function h(O){return{linear:function(T){return m(T,O,this.option.visual,!0)},category:o,piecewise:function(T,S){var C=y.call(this,S);return C==null&&(C=m(T,O,this.option.visual,!0)),C},fixed:u}}function y(O){var T=this.option,S=T.pieceList;if(T.hasSpecialVisual){var C=s.findPieceIndex(O,S),_=S[C];if(_&&_.visual)return _.visual[this.type]}}function b(O,T){return O.visual=T,O.type==="color"&&(O.parsedVisual=A.map(T,function(S){return f.parse(S)})),T}var E={linear:function(O){return m(O,this.option.dataExtent,[0,1],!0)},piecewise:function(O){var T=this.option.pieceList,S=s.findPieceIndex(O,T,!0);if(S!=null)return m(S,[0,T.length-1],[0,1],!0)},category:function(O){var T=this.option.categories?this.option.categoryMap[O]:O;return T==null?c:T},fixed:A.noop};s.listVisualTypes=function(){var O=[];return A.each(a,function(T,S){O.push(S)}),O},s.addVisualHandler=function(O,T){a[O]=T},s.isValidType=function(O){return a.hasOwnProperty(O)},s.eachVisual=function(O,T,S){A.isObject(O)?A.each(O,T,S):T.call(S,O)},s.mapVisual=function(O,T,S){var C,_=A.isArray(O)?[]:A.isObject(O)?{}:(C=!0,null);return s.eachVisual(O,function(I,k){var F=T.call(S,I,k);C?_=F:_[k]=F}),_},s.retrieveVisuals=function(O){var T={},S;return O&&g(a,function(C,_){O.hasOwnProperty(_)&&(T[_]=O[_],S=!0)}),S?T:null},s.prepareVisualTypes=function(O){if(p(O)){var T=[];g(O,function(S,C){T.push(C)}),O=T}else if(A.isArray(O))O=O.slice();else return[];return O.sort(function(S,C){return C==="color"&&S!=="color"&&S.indexOf("color")===0?1:-1}),O},s.dependsOn=function(O,T){return T==="color"?!!(O&&O.indexOf(T)===0):O===T},s.findPieceIndex=function(O,T,S){for(var C,_=Infinity,I=0,k=T.length;I<k;I++){var F=T[I].value;if(F!=null){if(F===O||typeof F=="string"&&F===O+"")return I;S&&M(F,I)}}for(var I=0,k=T.length;I<k;I++){var B=T[I],j=B.interval,z=B.close;if(j){if(j[0]===-Infinity){if(v(z[1],O,j[1]))return I}else if(j[1]===Infinity){if(v(z[0],j[0],O))return I}else if(v(z[0],j[0],O)&&v(z[1],O,j[1]))return I;S&&M(j[0],I),S&&M(j[1],I)}}if(S)return O===Infinity?T.length-1:O===-Infinity?0:C;function M(U,P){var H=Math.abs(U-O);H<_&&(_=H,C=P)}};function v(O,T,S){return O?T<=S:T<S}var w=s;R.exports=w},XzQk:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},Y1PL:function(R,N,e){"use strict";e.r(N),e.d(N,"ResizableTextArea",function(){return E});var A=e("wx14"),f=e("1OyB"),x=e("vuIU"),m=e("Ji7U"),g=e("LK+K"),p=e("q1tI"),c=e("VTBJ"),s=e("rePB"),a=e("t23M"),n=e("bT9E"),i=e("TSYQ"),d=e.n(i),t=`
|
|
|
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
|
|
|
`,l=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],r={},o;function u(O){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=O.getAttribute("id")||O.getAttribute("data-reactid")||O.getAttribute("name");if(T&&r[S])return r[S];var C=window.getComputedStyle(O),_=C.getPropertyValue("box-sizing")||C.getPropertyValue("-moz-box-sizing")||C.getPropertyValue("-webkit-box-sizing"),I=parseFloat(C.getPropertyValue("padding-bottom"))+parseFloat(C.getPropertyValue("padding-top")),k=parseFloat(C.getPropertyValue("border-bottom-width"))+parseFloat(C.getPropertyValue("border-top-width")),F=l.map(function(j){return"".concat(j,":").concat(C.getPropertyValue(j))}).join(";"),B={sizingStyle:F,paddingSize:I,borderSize:k,boxSizing:_};return T&&S&&(r[S]=B),B}function h(O){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;o||(o=document.createElement("textarea"),o.setAttribute("tab-index","-1"),o.setAttribute("aria-hidden","true"),document.body.appendChild(o)),O.getAttribute("wrap")?o.setAttribute("wrap",O.getAttribute("wrap")):o.removeAttribute("wrap");var _=u(O,T),I=_.paddingSize,k=_.borderSize,F=_.boxSizing,B=_.sizingStyle;o.setAttribute("style","".concat(B,";").concat(t)),o.value=O.value||O.placeholder||"";var j=Number.MIN_SAFE_INTEGER,z=Number.MAX_SAFE_INTEGER,M=o.scrollHeight,U;if(F==="border-box"?M+=k:F==="content-box"&&(M-=I),S!==null||C!==null){o.value=" ";var P=o.scrollHeight-I;S!==null&&(j=P*S,F==="border-box"&&(j=j+I+k),M=Math.max(j,M)),C!==null&&(z=P*C,F==="border-box"&&(z=z+I+k),U=M>z?"":"hidden",M=Math.min(z,M))}return{height:M,minHeight:j,maxHeight:z,overflowY:U,resize:"none"}}var y;(function(O){O[O.NONE=0]="NONE",O[O.RESIZING=1]="RESIZING",O[O.RESIZED=2]="RESIZED"})(y||(y={}));var b=function(O){Object(m.a)(S,O);var T=Object(g.a)(S);function S(C){var _;return Object(f.a)(this,S),_=T.call(this,C),_.nextFrameActionId=void 0,_.resizeFrameId=void 0,_.textArea=void 0,_.saveTextArea=function(I){_.textArea=I},_.handleResize=function(I){var k=_.state.resizeStatus,F=_.props,B=F.autoSize,j=F.onResize;if(k!==y.NONE)return;typeof j=="function"&&j(I),B&&_.resizeOnNextFrame()},_.resizeOnNextFrame=function(){cancelAnimationFrame(_.nextFrameActionId),_.nextFrameActionId=requestAnimationFrame(_.resizeTextarea)},_.resizeTextarea=function(){var I=_.props.autoSize;if(!I||!_.textArea)return;var k=I.minRows,F=I.maxRows,B=h(_.textArea,!1,k,F);_.setState({textareaStyles:B,resizeStatus:y.RESIZING},function(){cancelAnimationFrame(_.resizeFrameId),_.resizeFrameId=requestAnimationFrame(function(){_.setState({resizeStatus:y.RESIZED},function(){_.resizeFrameId=requestAnimationFrame(function(){_.setState({resizeStatus:y.NONE}),_.fixFirefoxAutoScroll()})})})})},_.renderTextArea=function(){var I=_.props,k=I.prefixCls,F=k===void 0?"rc-textarea":k,B=I.autoSize,j=I.onResize,z=I.className,M=I.disabled,U=_.state,P=U.textareaStyles,H=U.resizeStatus,W=Object(n.a)(_.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),X=d()(F,z,Object(s.a)({},"".concat(F,"-disabled"),M));"value"in W&&(W.value=W.value||"");var K=Object(c.a)(Object(c.a)(Object(c.a)({},_.props.style),P),H===y.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return p.createElement(a.a,{onResize:_.handleResize,disabled:!(B||j)},p.createElement("textarea",Object(A.a)({},W,{className:X,style:K,ref:_.saveTextArea})))},_.state={textareaStyles:{},resizeStatus:y.NONE},_}return Object(x.a)(S,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(_){_.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 _=this.textArea.selectionStart,I=this.textArea.selectionEnd;this.textArea.setSelectionRange(_,I)}}catch(k){}}},{key:"render",value:function(){return this.renderTextArea()}}]),S}(p.Component),E=b,v=function(O){Object(m.a)(S,O);var T=Object(g.a)(S);function S(C){var _;Object(f.a)(this,S),_=T.call(this,C),_.resizableTextArea=void 0,_.focus=function(){_.resizableTextArea.textArea.focus()},_.saveTextArea=function(k){_.resizableTextArea=k},_.handleChange=function(k){var F=_.props.onChange;_.setValue(k.target.value,function(){_.resizableTextArea.resizeTextarea()}),F&&F(k)},_.handleKeyDown=function(k){var F=_.props,B=F.onPressEnter,j=F.onKeyDown;k.keyCode===13&&B&&B(k),j&&j(k)};var I=typeof C.value=="undefined"||C.value===null?C.defaultValue:C.value;return _.state={value:I},_}return Object(x.a)(S,[{key:"setValue",value:function(_,I){"value"in this.props||this.setState({value:_},I)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return p.createElement(E,Object(A.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(_){return"value"in _?{value:_.value}:null}}]),S}(p.Component),w=N.default=v},YH21:function(R,N,e){var A=e("H6uX");N.Dispatcher=A;var f=e("ItGF"),x=e("Ze12"),m=x.isCanvasEl,g=x.transformCoordWithViewport,p=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function a(h,y,b,E){return b=b||{},E||!f.canvasSupported?n(h,y,b):f.browser.firefox&&y.layerX!=null&&y.layerX!==y.offsetX?(b.zrX=y.layerX,b.zrY=y.layerY):y.offsetX!=null?(b.zrX=y.offsetX,b.zrY=y.offsetY):n(h,y,b),b}function n(h,y,b){if(f.domSupported&&h.getBoundingClientRect){var E=y.clientX,v=y.clientY;if(m(h)){var w=h.getBoundingClientRect();b.zrX=E-w.left,b.zrY=v-w.top;return}else if(g(s,h,E,v)){b.zrX=s[0],b.zrY=s[1];return}}b.zrX=b.zrY=0}function i(h){return h||window.event}function d(h,y,b){if(y=i(y),y.zrX!=null)return y;var E=y.type,v=E&&E.indexOf("touch")>=0;if(!v)a(h,y,y,b),y.zrDelta=y.wheelDelta?y.wheelDelta/120:-(y.detail||0)/3;else{var w=E!=="touchend"?y.targetTouches[0]:y.changedTouches[0];w&&a(h,w,y,b)}var O=y.button;return y.which==null&&O!==void 0&&c.test(y.type)&&(y.which=O&1?1:O&2?3:O&4?2:0),y}function t(h,y,b,E){p?h.addEventListener(y,b,E):h.attachEvent("on"+y,b)}function l(h,y,b,E){p?h.removeEventListener(y,b,E):h.detachEvent("on"+y,b)}var r=p?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function o(h){return h.which===2||h.which===3}function u(h){return h.which>1}N.clientToLocal=a,N.getNativeEvent=i,N.normalizeEvent=d,N.addEventListener=t,N.removeEventListener=l,N.stop=r,N.isMiddleOrRightButtonOnMouseUpDown=o,N.notLeftMouse=u},YJ9k:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var s=p[c];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(g,s.key,s)}}function x(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){A(this,g),this._listeners=new Map}return x(g,[{key:"addEventListener",value:function(c,s){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(s)}},{key:"removeEventListener",value:function(c,s){this._listeners.has(c)&&this._listeners.get(c).delete(s)}},{key:"dispatchEvent",value:function(c){var s=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(a){return a.call(s,c)}),!c.defaultPrevented):!0}}]),g}();N.default=m},YJCA:function(R,N,e){"use strict";e.d(N,"a",function(){return le}),e.d(N,"b",function(){return Ze});var A=e("wx14"),f=e("ODXe"),x=e("vpQ4"),m=e("1OyB"),g=e("vuIU"),p=e("md7G"),c=e("foSv"),s=e("Ji7U"),a=e("JX7q"),n=e("rePB"),i=e("q1tI"),d=e.n(i),t=e("17x9"),l=e.n(t),r=e("i8i4"),o=e.n(r),u=e("QLaP"),h=e.n(u),y=e("KQm4"),b=function(){function De(){Object(m.a)(this,De),Object(n.a)(this,"refs",{})}return Object(g.a)(De,[{key:"add",value:function(he,pe){this.refs[he]||(this.refs[he]=[]),this.refs[he].push(pe)}},{key:"remove",value:function(he,pe){var Xe=this.getIndex(he,pe);Xe!==-1&&this.refs[he].splice(Xe,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var he=this;return this.refs[this.active.collection].find(function(pe){var Xe=pe.node;return Xe.sortableInfo.index==he.active.index})}},{key:"getIndex",value:function(he,pe){return this.refs[he].indexOf(pe)}},{key:"getOrderedRefs",value:function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[he].sort(E)}}]),De}();function E(De,ne){var he=De.node.sortableInfo.index,pe=ne.node.sortableInfo.index;return he-pe}function v(De,ne,he){return De=De.slice(),De.splice(he<0?De.length+he:he,0,De.splice(ne,1)[0]),De}function w(De,ne){return Object.keys(De).reduce(function(he,pe){return ne.indexOf(pe)===-1&&(he[pe]=De[pe]),he},{})}var O={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var De=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ne=(Array.prototype.slice.call(De).join("").match(/-(moz|webkit|ms)-/)||De.OLink===""&&["","o"])[1];switch(ne){case"ms":return"ms";default:return ne&&ne.length?ne[0].toUpperCase()+ne.substr(1):""}}();function S(De,ne){Object.keys(ne).forEach(function(he){De.style[he]=ne[he]})}function C(De,ne){De.style["".concat(T,"Transform")]=ne==null?"":"translate3d(".concat(ne.x,"px,").concat(ne.y,"px,0)")}function _(De,ne){De.style["".concat(T,"TransitionDuration")]=ne==null?"":"".concat(ne,"ms")}function I(De,ne){for(;De;){if(ne(De))return De;De=De.parentNode}return null}function k(De,ne,he){return Math.max(De,Math.min(he,ne))}function F(De){return De.substr(-2)==="px"?parseFloat(De):0}function B(De){var ne=window.getComputedStyle(De);return{bottom:F(ne.marginBottom),left:F(ne.marginLeft),right:F(ne.marginRight),top:F(ne.marginTop)}}function j(De,ne){var he=ne.displayName||ne.name;return he?"".concat(De,"(").concat(he,")"):De}function z(De,ne){var he=De.getBoundingClientRect();return{top:he.top+ne.top,left:he.left+ne.left}}function M(De){return De.touches&&De.touches.length?{x:De.touches[0].pageX,y:De.touches[0].pageY}:De.changedTouches&&De.changedTouches.length?{x:De.changedTouches[0].pageX,y:De.changedTouches[0].pageY}:{x:De.pageX,y:De.pageY}}function U(De){return De.touches&&De.touches.length||De.changedTouches&&De.changedTouches.length}function P(De,ne){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!De)return;var pe={left:he.left+De.offsetLeft,top:he.top+De.offsetTop};return De.parentNode===ne?pe:P(De.parentNode,ne,pe)}function H(De,ne,he){return De<he&&De>ne?De-1:De>he&&De<ne?De+1:De}function W(De){var ne=De.lockOffset,he=De.width,pe=De.height,Xe=ne,lt=ne,At="px";if(typeof ne=="string"){var Me=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ne);h()(Me!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ne),Xe=parseFloat(ne),lt=parseFloat(ne),At=Me[1]}return h()(isFinite(Xe)&&isFinite(lt),"lockOffset value should be a finite. Given %s",ne),At==="%"&&(Xe=Xe*he/100,lt=lt*pe/100),{x:Xe,y:lt}}function X(De){var ne=De.height,he=De.width,pe=De.lockOffset,Xe=Array.isArray(pe)?pe:[pe,pe];h()(Xe.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",pe);var lt=Object(f.a)(Xe,2),At=lt[0],Me=lt[1];return[W({height:ne,lockOffset:At,width:he}),W({height:ne,lockOffset:Me,width:he})]}function K(De){var ne=window.getComputedStyle(De),he=/(auto|scroll)/,pe=["overflow","overflowX","overflowY"];return pe.find(function(Xe){return he.test(ne[Xe])})}function $(De){return De instanceof HTMLElement?K(De)?De:$(De.parentNode):null}function ie(De){var ne=window.getComputedStyle(De);return ne.display==="grid"?{x:F(ne.gridColumnGap),y:F(ne.gridRowGap)}:{x:0,y:0}}var be={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},te={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Te(De){var ne="input, textarea, select, canvas, [contenteditable]",he=De.querySelectorAll(ne),pe=De.cloneNode(!0),Xe=Object(y.a)(pe.querySelectorAll(ne));return Xe.forEach(function(lt,At){if(lt.type!=="file"&&(lt.value=he[At].value),lt.type==="radio"&<.name&&(lt.name="__sortableClone__".concat(lt.name)),lt.tagName===te.Canvas&&he[At].width>0&&he[At].height>0){var Me=lt.getContext("2d");Me.drawImage(he[At],0,0)}}),pe}function Ie(De){var ne,he,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return he=ne=function(Xe){Object(s.a)(lt,Xe);function lt(){return Object(m.a)(this,lt),Object(p.a)(this,Object(c.a)(lt).apply(this,arguments))}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){var Me=Object(r.findDOMNode)(this);Me.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(pe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Me=pe.withRef?"wrappedInstance":null;return Object(i.createElement)(De,Object(A.a)({ref:Me},this.props))}}]),lt}(i.Component),Object(n.a)(ne,"displayName",j("sortableHandle",De)),he}function Fe(De){return De.sortableHandle!=null}var Qe=function(){function De(ne,he){Object(m.a)(this,De),this.container=ne,this.onScrollCallback=he}return Object(g.a)(De,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(he){var pe=this,Xe=he.translate,lt=he.minTranslate,At=he.maxTranslate,Me=he.width,Ht=he.height,tt={x:0,y:0},Mt={x:1,y:1},jt={x:10,y:10},kt=this.container,Tt=kt.scrollTop,Dt=kt.scrollLeft,Ue=kt.scrollHeight,G=kt.scrollWidth,Y=kt.clientHeight,Pe=kt.clientWidth,Be=Tt===0,J=Ue-Tt-Y===0,St=Dt===0,bt=G-Dt-Pe===0;Xe.y>=At.y-Ht/2&&!J?(tt.y=1,Mt.y=jt.y*Math.abs((At.y-Ht/2-Xe.y)/Ht)):Xe.x>=At.x-Me/2&&!bt?(tt.x=1,Mt.x=jt.x*Math.abs((At.x-Me/2-Xe.x)/Me)):Xe.y<=lt.y+Ht/2&&!Be?(tt.y=-1,Mt.y=jt.y*Math.abs((Xe.y-Ht/2-lt.y)/Ht)):Xe.x<=lt.x+Me/2&&!St&&(tt.x=-1,Mt.x=jt.x*Math.abs((Xe.x-Me/2-lt.x)/Me)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(tt.x!==0||tt.y!==0)&&(this.interval=setInterval(function(){pe.isAutoScrolling=!0;var nt={left:Mt.x*tt.x,top:Mt.y*tt.y};pe.container.scrollTop+=nt.top,pe.container.scrollLeft+=nt.left,pe.onScrollCallback(nt)},5))}}]),De}();function fe(De){var ne=De.node;return{height:ne.offsetHeight,width:ne.offsetWidth}}function He(De){var ne=[te.Input,te.Textarea,te.Select,te.Option,te.Button];return ne.indexOf(De.target.tagName)!==-1?!0:!!I(De.target,function(he){return he.contentEditable==="true"})}var se={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},Ce={lift:[be.SPACE],drop:[be.SPACE],cancel:[be.ESC],up:[be.UP,be.LEFT],down:[be.DOWN,be.RIGHT]},mt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Ce,shouldCancelStart:He,transitionDuration:300,useWindowAsScrollContainer:!1},Ne=Object.keys(se);function ae(De){h()(!(De.distance&&De.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 ce(De,ne){try{var he=De()}catch(pe){return ne(!0,pe)}return he&&he.then?he.then(ne.bind(null,!1),ne.bind(null,!0)):ne(!1,value)}function le(De){var ne,he,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return he=ne=function(Xe){Object(s.a)(lt,Xe);function lt(At){var Me;return Object(m.a)(this,lt),Me=Object(p.a)(this,Object(c.a)(lt).call(this,At)),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"state",{}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleStart",function(Ht){var tt=Me.props,Mt=tt.distance,jt=tt.shouldCancelStart;if(Ht.button===2||jt(Ht))return;Me.touched=!0,Me.position=M(Ht);var kt=I(Ht.target,function(Pe){return Pe.sortableInfo!=null});if(kt&&kt.sortableInfo&&Me.nodeIsChild(kt)&&!Me.state.sorting){var Tt=Me.props.useDragHandle,Dt=kt.sortableInfo,Ue=Dt.index,G=Dt.collection,Y=Dt.disabled;if(Y)return;if(Tt&&!I(Ht.target,Fe))return;Me.manager.active={collection:G,index:Ue},!U(Ht)&&Ht.target.tagName===te.Anchor&&Ht.preventDefault(),Mt||(Me.props.pressDelay===0?Me.handlePress(Ht):Me.pressTimer=setTimeout(function(){return Me.handlePress(Ht)},Me.props.pressDelay))}}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"nodeIsChild",function(Ht){return Ht.sortableInfo.manager===Me.manager}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleMove",function(Ht){var tt=Me.props,Mt=tt.distance,jt=tt.pressThreshold;if(!Me.state.sorting&&Me.touched&&!Me._awaitingUpdateBeforeSortStart){var kt=M(Ht),Tt={x:Me.position.x-kt.x,y:Me.position.y-kt.y},Dt=Math.abs(Tt.x)+Math.abs(Tt.y);Me.delta=Tt,!Mt&&(!jt||Dt>=jt)?(clearTimeout(Me.cancelTimer),Me.cancelTimer=setTimeout(Me.cancel,0)):Mt&&Dt>=Mt&&Me.manager.isActive()&&Me.handlePress(Ht)}}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleEnd",function(){Me.touched=!1,Me.cancel()}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"cancel",function(){var Ht=Me.props.distance,tt=Me.state.sorting;tt||(Ht||clearTimeout(Me.pressTimer),Me.manager.active=null)}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handlePress",function(Ht){try{var tt=Me.manager.getActive(),Mt=function(){if(tt){var jt=function(){var zt=J.sortableInfo.index,Fr=B(J),Jt=ie(Me.container),ge=Me.scrollContainer.getBoundingClientRect(),ye=Dt({index:zt,node:J,collection:St});if(Me.node=J,Me.margin=Fr,Me.gridGap=Jt,Me.width=ye.width,Me.height=ye.height,Me.marginOffset={x:Me.margin.left+Me.margin.right+Me.gridGap.x,y:Math.max(Me.margin.top,Me.margin.bottom,Me.gridGap.y)},Me.boundingClientRect=J.getBoundingClientRect(),Me.containerBoundingRect=ge,Me.index=zt,Me.newIndex=zt,Me.axis={x:Tt.indexOf("x")>=0,y:Tt.indexOf("y")>=0},Me.offsetEdge=P(J,Me.container),bt?Me.initialOffset=M(Object(x.a)({},Ht,{pageX:Me.boundingClientRect.left,pageY:Me.boundingClientRect.top})):Me.initialOffset=M(Ht),Me.initialScroll={left:Me.scrollContainer.scrollLeft,top:Me.scrollContainer.scrollTop},Me.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Me.helper=Me.helperContainer.appendChild(Te(J)),S(Me.helper,{boxSizing:"border-box",height:"".concat(Me.height,"px"),left:"".concat(Me.boundingClientRect.left-Fr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Me.boundingClientRect.top-Fr.top,"px"),width:"".concat(Me.width,"px")}),bt&&Me.helper.focus(),G&&(Me.sortableGhost=J,S(J,{opacity:0,visibility:"hidden"})),Me.minTranslate={},Me.maxTranslate={},bt){var Le=Be?{top:0,left:0,width:Me.contentWindow.innerWidth,height:Me.contentWindow.innerHeight}:Me.containerBoundingRect,we=Le.top,Ke=Le.left,Je=Le.width,ut=Le.height,vt=we+ut,_t=Ke+Je;Me.axis.x&&(Me.minTranslate.x=Ke-Me.boundingClientRect.left,Me.maxTranslate.x=_t-(Me.boundingClientRect.left+Me.width)),Me.axis.y&&(Me.minTranslate.y=we-Me.boundingClientRect.top,Me.maxTranslate.y=vt-(Me.boundingClientRect.top+Me.height))}else Me.axis.x&&(Me.minTranslate.x=(Be?0:ge.left)-Me.boundingClientRect.left-Me.width/2,Me.maxTranslate.x=(Be?Me.contentWindow.innerWidth:ge.left+ge.width)-Me.boundingClientRect.left-Me.width/2),Me.axis.y&&(Me.minTranslate.y=(Be?0:ge.top)-Me.boundingClientRect.top-Me.height/2,Me.maxTranslate.y=(Be?Me.contentWindow.innerHeight:ge.top+ge.height)-Me.boundingClientRect.top-Me.height/2);Ue&&Ue.split(" ").forEach(function(Ut){return Me.helper.classList.add(Ut)}),Me.listenerNode=Ht.touches?J:Me.contentWindow,bt?(Me.listenerNode.addEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("keydown",Me.handleKeyDown)):(O.move.forEach(function(Ut){return Me.listenerNode.addEventListener(Ut,Me.handleSortMove,!1)}),O.end.forEach(function(Ut){return Me.listenerNode.addEventListener(Ut,Me.handleSortEnd,!1)})),Me.setState({sorting:!0,sortingIndex:zt}),Pe&&Pe({node:J,index:zt,collection:St,isKeySorting:bt,nodes:Me.manager.getOrderedRefs(),helper:Me.helper},Ht),bt&&Me.keyMove(0)},kt=Me.props,Tt=kt.axis,Dt=kt.getHelperDimensions,Ue=kt.helperClass,G=kt.hideSortableGhost,Y=kt.updateBeforeSortStart,Pe=kt.onSortStart,Be=kt.useWindowAsScrollContainer,J=tt.node,St=tt.collection,bt=Me.manager.isKeySorting,nt=function(){if(typeof Y=="function"){Me._awaitingUpdateBeforeSortStart=!0;var Rt=ce(function(){var zt=J.sortableInfo.index;return Promise.resolve(Y({collection:St,index:zt,node:J,isKeySorting:bt},Ht)).then(function(){})},function(zt,Fr){if(Me._awaitingUpdateBeforeSortStart=!1,zt)throw Fr;return Fr});if(Rt&&Rt.then)return Rt.then(function(){})}}();return nt&&nt.then?nt.then(jt):jt(nt)}}();return Promise.resolve(Mt&&Mt.then?Mt.then(function(){}):void 0)}catch(jt){return Promise.reject(jt)}}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleSortMove",function(Ht){var tt=Me.props.onSortMove;typeof Ht.preventDefault=="function"&&Ht.preventDefault(),Me.updateHelperPosition(Ht),Me.animateNodes(),Me.autoscroll(),tt&&tt(Ht)}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleSortEnd",function(Ht){var tt=Me.props,Mt=tt.hideSortableGhost,jt=tt.onSortEnd,kt=Me.manager,Tt=kt.active.collection,Dt=kt.isKeySorting,Ue=Me.manager.getOrderedRefs();Me.listenerNode&&(Dt?(Me.listenerNode.removeEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("keydown",Me.handleKeyDown)):(O.move.forEach(function(J){return Me.listenerNode.removeEventListener(J,Me.handleSortMove)}),O.end.forEach(function(J){return Me.listenerNode.removeEventListener(J,Me.handleSortEnd)}))),Me.helper.parentNode.removeChild(Me.helper),Mt&&Me.sortableGhost&&S(Me.sortableGhost,{opacity:"",visibility:""});for(var G=0,Y=Ue.length;G<Y;G++){var Pe=Ue[G],Be=Pe.node;Pe.edgeOffset=null,Pe.boundingClientRect=null,C(Be,null),_(Be,null),Pe.translate=null}Me.autoScroller.clear(),Me.manager.active=null,Me.manager.isKeySorting=!1,Me.setState({sorting:!1,sortingIndex:null}),typeof jt=="function"&&jt({collection:Tt,newIndex:Me.newIndex,oldIndex:Me.index,isKeySorting:Dt,nodes:Ue},Ht),Me.touched=!1}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"autoscroll",function(){var Ht=Me.props.disableAutoscroll,tt=Me.manager.isKeySorting;if(Ht){Me.autoScroller.clear();return}if(tt){var Mt=Object(x.a)({},Me.translate),jt=0,kt=0;Me.axis.x&&(Mt.x=Math.min(Me.maxTranslate.x,Math.max(Me.minTranslate.x,Me.translate.x)),jt=Me.translate.x-Mt.x),Me.axis.y&&(Mt.y=Math.min(Me.maxTranslate.y,Math.max(Me.minTranslate.y,Me.translate.y)),kt=Me.translate.y-Mt.y),Me.translate=Mt,C(Me.helper,Me.translate),Me.scrollContainer.scrollLeft+=jt,Me.scrollContainer.scrollTop+=kt;return}Me.autoScroller.update({height:Me.height,maxTranslate:Me.maxTranslate,minTranslate:Me.minTranslate,translate:Me.translate,width:Me.width})}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"onAutoScroll",function(Ht){Me.translate.x+=Ht.left,Me.translate.y+=Ht.top,Me.animateNodes()}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleKeyDown",function(Ht){var tt=Ht.keyCode,Mt=Me.props,jt=Mt.shouldCancelStart,kt=Mt.keyCodes,Tt=kt===void 0?{}:kt,Dt=Object(x.a)({},Ce,Tt);if(Me.manager.active&&!Me.manager.isKeySorting||!Me.manager.active&&(!Dt.lift.includes(tt)||jt(Ht)||!Me.isValidSortingTarget(Ht)))return;Ht.stopPropagation(),Ht.preventDefault(),Dt.lift.includes(tt)&&!Me.manager.active?Me.keyLift(Ht):Dt.drop.includes(tt)&&Me.manager.active?Me.keyDrop(Ht):Dt.cancel.includes(tt)?(Me.newIndex=Me.manager.active.index,Me.keyDrop(Ht)):Dt.up.includes(tt)?Me.keyMove(-1):Dt.down.includes(tt)&&Me.keyMove(1)}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"keyLift",function(Ht){var tt=Ht.target,Mt=I(tt,function(Dt){return Dt.sortableInfo!=null}),jt=Mt.sortableInfo,kt=jt.index,Tt=jt.collection;Me.initialFocusedNode=tt,Me.manager.isKeySorting=!0,Me.manager.active={index:kt,collection:Tt},Me.handlePress(Ht)}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"keyMove",function(Ht){var tt=Me.manager.getOrderedRefs(),Mt=tt[tt.length-1].node.sortableInfo.index,jt=Me.newIndex+Ht,kt=Me.newIndex;if(jt<0||jt>Mt)return;Me.prevIndex=kt,Me.newIndex=jt;var Tt=H(Me.newIndex,Me.prevIndex,Me.index),Dt=tt.find(function(bt){var nt=bt.node;return nt.sortableInfo.index===Tt}),Ue=Dt.node,G=Me.containerScrollDelta,Y=Dt.boundingClientRect||z(Ue,G),Pe=Dt.translate||{x:0,y:0},Be={top:Y.top+Pe.y-G.top,left:Y.left+Pe.x-G.left},J=kt<jt,St={x:J&&Me.axis.x?Ue.offsetWidth-Me.width:0,y:J&&Me.axis.y?Ue.offsetHeight-Me.height:0};Me.handleSortMove({pageX:Be.left+St.x,pageY:Be.top+St.y,ignoreTransition:Ht===0})}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"keyDrop",function(Ht){Me.handleSortEnd(Ht),Me.initialFocusedNode&&Me.initialFocusedNode.focus()}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"handleKeyEnd",function(Ht){Me.manager.active&&Me.keyDrop(Ht)}),Object(n.a)(Object(a.a)(Object(a.a)(Me)),"isValidSortingTarget",function(Ht){var tt=Me.props.useDragHandle,Mt=Ht.target,jt=I(Mt,function(kt){return kt.sortableInfo!=null});return jt&&jt.sortableInfo&&!jt.sortableInfo.disabled&&(tt?Fe(Mt):Mt.sortableInfo)}),ae(At),Me.manager=new b,Me.events={end:Me.handleEnd,move:Me.handleMove,start:Me.handleStart},Me}return Object(g.a)(lt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Me=this,Ht=this.props.useWindowAsScrollContainer,tt=this.getContainer();Promise.resolve(tt).then(function(Mt){Me.container=Mt,Me.document=Me.container.ownerDocument||document;var jt=Me.props.contentWindow||Me.document.defaultView||window;Me.contentWindow=typeof jt=="function"?jt():jt,Me.scrollContainer=Ht?Me.document.scrollingElement||Me.document.documentElement:$(Me.container)||Me.container,Me.autoScroller=new Qe(Me.scrollContainer,Me.onAutoScroll),Object.keys(Me.events).forEach(function(kt){return O[kt].forEach(function(Tt){return Me.container.addEventListener(Tt,Me.events[kt],!1)})}),Me.container.addEventListener("keydown",Me.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Me=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Ht){return O[Ht].forEach(function(tt){return Me.container.removeEventListener(tt,Me.events[Ht])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Me){var Ht=this.props,tt=Ht.lockAxis,Mt=Ht.lockOffset,jt=Ht.lockToContainerEdges,kt=Ht.transitionDuration,Tt=Ht.keyboardSortingTransitionDuration,Dt=Tt===void 0?kt:Tt,Ue=this.manager.isKeySorting,G=Me.ignoreTransition,Y=M(Me),Pe={x:Y.x-this.initialOffset.x,y:Y.y-this.initialOffset.y};if(Pe.y-=window.pageYOffset-this.initialWindowScroll.top,Pe.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Pe,jt){var Be=X({height:this.height,lockOffset:Mt,width:this.width}),J=Object(f.a)(Be,2),St=J[0],bt=J[1],nt={x:this.width/2-St.x,y:this.height/2-St.y},Rt={x:this.width/2-bt.x,y:this.height/2-bt.y};Pe.x=k(this.minTranslate.x+nt.x,this.maxTranslate.x-Rt.x,Pe.x),Pe.y=k(this.minTranslate.y+nt.y,this.maxTranslate.y-Rt.y,Pe.y)}tt==="x"?Pe.y=0:tt==="y"&&(Pe.x=0),Ue&&Dt&&!G&&_(this.helper,Dt),C(this.helper,Pe)}},{key:"animateNodes",value:function(){var Me=this.props,Ht=Me.transitionDuration,tt=Me.hideSortableGhost,Mt=Me.onSortOver,jt=this.containerScrollDelta,kt=this.windowScrollDelta,Tt=this.manager.getOrderedRefs(),Dt={left:this.offsetEdge.left+this.translate.x+jt.left,top:this.offsetEdge.top+this.translate.y+jt.top},Ue=this.manager.isKeySorting,G=this.newIndex;this.newIndex=null;for(var Y=0,Pe=Tt.length;Y<Pe;Y++){var Be=Tt[Y].node,J=Be.sortableInfo.index,St=Be.offsetWidth,bt=Be.offsetHeight,nt={height:this.height>bt?bt/2:this.height/2,width:this.width>St?St/2:this.width/2},Rt=Ue&&J>this.index&&J<=G,zt=Ue&&J<this.index&&J>=G,Fr={x:0,y:0},Jt=Tt[Y].edgeOffset;Jt||(Jt=P(Be,this.container),Tt[Y].edgeOffset=Jt,Ue&&(Tt[Y].boundingClientRect=z(Be,jt)));var ge=Y<Tt.length-1&&Tt[Y+1],ye=Y>0&&Tt[Y-1];if(ge&&!ge.edgeOffset&&(ge.edgeOffset=P(ge.node,this.container),Ue&&(ge.boundingClientRect=z(ge.node,jt))),J===this.index){tt&&(this.sortableGhost=Be,S(Be,{opacity:0,visibility:"hidden"}));continue}Ht&&_(Be,Ht),this.axis.x?this.axis.y?zt||J<this.index&&(Dt.left+kt.left-nt.width<=Jt.left&&Dt.top+kt.top<=Jt.top+nt.height||Dt.top+kt.top+nt.height<=Jt.top)?(Fr.x=this.width+this.marginOffset.x,Jt.left+Fr.x>this.containerBoundingRect.width-nt.width&&(ge&&(Fr.x=ge.edgeOffset.left-Jt.left,Fr.y=ge.edgeOffset.top-Jt.top)),this.newIndex===null&&(this.newIndex=J)):(Rt||J>this.index&&(Dt.left+kt.left+nt.width>=Jt.left&&Dt.top+kt.top+nt.height>=Jt.top||Dt.top+kt.top+nt.height>=Jt.top+bt))&&(Fr.x=-(this.width+this.marginOffset.x),Jt.left+Fr.x<this.containerBoundingRect.left+nt.width&&(ye&&(Fr.x=ye.edgeOffset.left-Jt.left,Fr.y=ye.edgeOffset.top-Jt.top)),this.newIndex=J):Rt||J>this.index&&Dt.left+kt.left+nt.width>=Jt.left?(Fr.x=-(this.width+this.marginOffset.x),this.newIndex=J):(zt||J<this.index&&Dt.left+kt.left<=Jt.left+nt.width)&&(Fr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=J)):this.axis.y&&(Rt||J>this.index&&Dt.top+kt.top+nt.height>=Jt.top?(Fr.y=-(this.height+this.marginOffset.y),this.newIndex=J):(zt||J<this.index&&Dt.top+kt.top<=Jt.top+nt.height)&&(Fr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=J))),C(Be,Fr),Tt[Y].translate=Fr}this.newIndex==null&&(this.newIndex=this.index),Ue&&(this.newIndex=G);var Le=Ue?this.prevIndex:G;Mt&&this.newIndex!==Le&&Mt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Le,isKeySorting:Ue,nodes:Tt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(pe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Me=this.props.getContainer;return typeof Me!="function"?Object(r.findDOMNode)(this):Me(pe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Me=pe.withRef?"wrappedInstance":null;return Object(i.createElement)(De,Object(A.a)({ref:Me},w(this.props,Ne)))}},{key:"helperContainer",get:function(){var Me=this.props.helperContainer;return typeof Me=="function"?Me():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Me=this.props.useWindowAsScrollContainer;return Me?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),lt}(i.Component),Object(n.a)(ne,"displayName",j("sortableList",De)),Object(n.a)(ne,"defaultProps",mt),Object(n.a)(ne,"propTypes",se),Object(n.a)(ne,"childContextTypes",{manager:l.a.object.isRequired}),he}var je={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},Re=Object.keys(je);function Ze(De){var ne,he,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return he=ne=function(Xe){Object(s.a)(lt,Xe);function lt(){return Object(m.a)(this,lt),Object(p.a)(this,Object(c.a)(lt).apply(this,arguments))}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Me){this.node&&(Me.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Me.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Me.collection!==this.props.collection&&(this.unregister(Me.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Me=this.props,Ht=Me.collection,tt=Me.disabled,Mt=Me.index,jt=Object(r.findDOMNode)(this);jt.sortableInfo={collection:Ht,disabled:tt,index:Mt,manager:this.context.manager},this.node=jt,this.ref={node:jt},this.context.manager.add(Ht,this.ref)}},{key:"unregister",value:function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Me,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(pe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Me=pe.withRef?"wrappedInstance":null;return Object(i.createElement)(De,Object(A.a)({ref:Me},w(this.props,Re)))}}]),lt}(i.Component),Object(n.a)(ne,"displayName",j("sortableElement",De)),Object(n.a)(ne,"contextTypes",{manager:l.a.object.isRequired}),Object(n.a)(ne,"propTypes",je),Object(n.a)(ne,"defaultProps",{collection:0}),he}},YNAk:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("QyFq")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="CaretDownFilled";var s=m.forwardRef(c);N.default=s},YNf1:function(R,N,e){var A=e("IwbS"),f=e("6Ic6"),x=.3,m=f.extend({type:"parallel",init:function(){this._dataGroup=new A.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(d,t,l,r){var o=this._dataGroup,u=d.getData(),h=this._data,y=d.coordinateSystem,b=y.dimensions,E=s(d);u.diff(h).add(v).update(w).remove(O).execute();function v(S){var C=c(u,o,S,b,y);a(C,u,S,E)}function w(S,C){var _=h.getItemGraphicEl(C),I=p(u,S,b,y);u.setItemGraphicEl(S,_);var k=r&&r.animation===!1?null:d;A.updateProps(_,{shape:{points:I}},k,S),a(_,u,S,E)}function O(S){var C=h.getItemGraphicEl(S);o.remove(C)}if(!this._initialized){this._initialized=!0;var T=g(y,d,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(T)}this._data=u},incrementalPrepareRender:function(d,t,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(d,t,l){for(var r=t.getData(),o=t.coordinateSystem,u=o.dimensions,h=s(t),y=d.start;y<d.end;y++){var b=c(r,this._dataGroup,y,u,o);b.incremental=!0,a(b,r,y,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function g(d,t,l){var r=d.model,o=d.getRect(),u=new A.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),h=r.get("layout")==="horizontal"?"width":"height";return u.setShape(h,0),A.initProps(u,{shape:{width:o.width,height:o.height}},t,l),u}function p(d,t,l,r){for(var o=[],u=0;u<l.length;u++){var h=l[u],y=d.get(d.mapDimension(h),t);n(y,r.getAxis(h).type)||o.push(r.dataToPoint(y,h))}return o}function c(d,t,l,r,o){var u=p(d,l,r,o),h=new A.Polyline({shape:{points:u},silent:!0,z2:10});return t.add(h),d.setItemGraphicEl(l,h),h}function s(d){var t=d.get("smooth",!0);return t===!0&&(t=x),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:t!=null?t:x}}function a(d,t,l,r){var o=r.lineStyle;if(t.hasItemOption){var u=t.getItemModel(l).getModel("lineStyle");o=u.getLineStyle()}d.useStyle(o);var h=d.style;h.fill=null,h.stroke=t.getItemVisual(l,"color"),h.opacity=t.getItemVisual(l,"opacity"),r.smooth&&(d.shape.smooth=r.smooth)}function n(d,t){return t==="category"?d==null:d==null||isNaN(d)}var i=m;R.exports=i},YOMW:function(R,N,e){var A=e("bYtY"),f={get:function(g,p,c){var s=A.clone((x[g]||{})[p]);return c&&A.isArray(s)?s[s.length-1]:s}},x={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;R.exports=m},YXkt:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("Qxkt"),g=e("gPAo"),p=e("7G+c"),c=e("KxfA"),s=c.defaultDimValueGetters,a=c.DefaultDataProvider,n=e("L0Ub"),i=n.summarizeDimensions,d=e("Vi4m"),t=x.isObject,l="undefined",r=-1,o="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===l?Array:Uint32Array,y=typeof Int32Array===l?Array:Int32Array,b=typeof Uint16Array===l?Array:Uint16Array;function E(K){return K._rawCount>65535?h:b}function v(K){var $=K.constructor;return $===Array?K.slice():new $(K)}var w=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],O=["_extent","_approximateExtent","_rawExtent"];function T(K,$){x.each(w.concat($.__wrappedMethods||[]),function(ie){$.hasOwnProperty(ie)&&(K[ie]=$[ie])}),K.__wrappedMethods=$.__wrappedMethods,x.each(O,function(ie){K[ie]=x.clone($[ie])}),K._calculationInfo=x.extend($._calculationInfo)}var S=function(K,$){K=K||["x","y"];for(var ie={},be=[],te={},Te=0;Te<K.length;Te++){var Ie=K[Te];x.isString(Ie)?Ie=new d({name:Ie}):Ie instanceof d||(Ie=new d(Ie));var Fe=Ie.name;Ie.type=Ie.type||"float",Ie.coordDim||(Ie.coordDim=Fe,Ie.coordDimIndex=0),Ie.otherDims=Ie.otherDims||{},be.push(Fe),ie[Fe]=Ie,Ie.index=Te,Ie.createInvertedIndices&&(te[Fe]=[])}this.dimensions=be,this._dimensionInfos=ie,this.hostModel=$,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=i(this),this._invertedIndicesMap=te,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=S.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(K){return(typeof K=="number"||!isNaN(K)&&!this._dimensionInfos.hasOwnProperty(K))&&(K=this.dimensions[K]),K},C.getDimensionInfo=function(K){return this._dimensionInfos[this.getDimension(K)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(K,$){var ie=this._dimensionsSummary;if($==null)return ie.encodeFirstDimNotExtra[K];var be=ie.encode[K];return $===!0?(be||[]).slice():be&&be[$]},C.initData=function(K,$,ie){var be=p.isInstance(K)||x.isArrayLike(K);be&&(K=new a(K,this.dimensions.length)),this._rawData=K,this._storage={},this._indices=null,this._nameList=$||[],this._idList=[],this._nameRepeatCount={},ie||(this.hasItemOption=!1),this.defaultDimValueGetter=s[this._rawData.getSource().sourceFormat],this._dimValueGetter=ie=ie||this.defaultDimValueGetter,this._dimValueGetterArrayRows=s.arrayRows,this._rawExtent={},this._initDataFromProvider(0,K.count()),K.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(K){var $=this._rawData,ie=this.count();$.appendData(K);var be=$.count();$.persistent||(be+=ie),this._initDataFromProvider(ie,be)},C.appendValues=function(K,$){for(var ie=this._chunkSize,be=this._storage,te=this.dimensions,Te=te.length,Ie=this._rawExtent,Fe=this.count(),Qe=Fe+Math.max(K.length,$?$.length:0),fe=this._chunkCount,He=0;He<Te;He++){var se=te[He];Ie[se]||(Ie[se]=H()),be[se]||(be[se]=[]),_(be,this._dimensionInfos[se],ie,fe,Qe),this._chunkCount=be[se].length}for(var Ce=new Array(Te),mt=Fe;mt<Qe;mt++){for(var Ne=mt-Fe,ae=Math.floor(mt/ie),ce=mt%ie,le=0;le<Te;le++){var se=te[le],je=this._dimValueGetterArrayRows(K[Ne]||Ce,se,Ne,le);be[se][ae][ce]=je;var Re=Ie[se];je<Re[0]&&(Re[0]=je),je>Re[1]&&(Re[1]=je)}$&&(this._nameList[mt]=$[Ne])}this._rawCount=this._count=Qe,this._extent={},I(this)},C._initDataFromProvider=function(K,$){if(K>=$)return;for(var ie=this._chunkSize,be=this._rawData,te=this._storage,Te=this.dimensions,Ie=Te.length,Fe=this._dimensionInfos,Qe=this._nameList,fe=this._idList,He=this._rawExtent,se=this._nameRepeatCount={},Ce,mt=this._chunkCount,Ne=0;Ne<Ie;Ne++){var ae=Te[Ne];He[ae]||(He[ae]=H());var ce=Fe[ae];ce.otherDims.itemName===0&&(Ce=this._nameDimIdx=Ne),ce.otherDims.itemId===0&&(this._idDimIdx=Ne),te[ae]||(te[ae]=[]),_(te,ce,ie,mt,$),this._chunkCount=te[ae].length}for(var le=new Array(Ie),je=K;je<$;je++){le=be.getItem(je,le);for(var Re=Math.floor(je/ie),Ze=je%ie,De=0;De<Ie;De++){var ae=Te[De],ne=te[ae][Re],he=this._dimValueGetter(le,ae,je,De);ne[Ze]=he;var pe=He[ae];he<pe[0]&&(pe[0]=he),he>pe[1]&&(pe[1]=he)}if(!be.pure){var Xe=Qe[je];if(le&&Xe==null){if(le.name!=null)Qe[je]=Xe=le.name;else if(Ce!=null){var lt=Te[Ce],At=te[lt][Re];if(At){Xe=At[Ze];var Me=Fe[lt].ordinalMeta;Me&&Me.categories.length&&(Xe=Me.categories[Xe])}}}var Ht=le==null?null:le.id;Ht==null&&Xe!=null&&(se[Xe]=se[Xe]||0,Ht=Xe,se[Xe]>0&&(Ht+="__ec__"+se[Xe]),se[Xe]++),Ht!=null&&(fe[je]=Ht)}}!be.persistent&&be.clean&&be.clean(),this._rawCount=this._count=$,this._extent={},I(this)};function _(K,$,ie,be,te){var Te=u[$.type],Ie=be-1,Fe=$.name,Qe=K[Fe][Ie];if(Qe&&Qe.length<ie){for(var fe=new Te(Math.min(te-Ie*ie,ie)),He=0;He<Qe.length;He++)fe[He]=Qe[He];K[Fe][Ie]=fe}for(var se=be*ie;se<te;se+=ie)K[Fe].push(new Te(Math.min(te-se,ie)))}function I(K){var $=K._invertedIndicesMap;x.each($,function(ie,be){var te=K._dimensionInfos[be],Te=te.ordinalMeta;if(Te){ie=$[be]=new y(Te.categories.length);for(var Ie=0;Ie<ie.length;Ie++)ie[Ie]=r;for(var Ie=0;Ie<K._count;Ie++)ie[K.get(be,Ie)]=Ie}})}function k(K,$,ie){var be;if($!=null){var te=K._chunkSize,Te=Math.floor(ie/te),Ie=ie%te,Fe=K.dimensions[$],Qe=K._storage[Fe][Te];if(Qe){be=Qe[Ie];var fe=K._dimensionInfos[Fe].ordinalMeta;fe&&fe.categories.length&&(be=fe.categories[be])}}return be}C.count=function(){return this._count},C.getIndices=function(){var K,$=this._indices;if($){var ie=$.constructor,be=this._count;if(ie===Array){K=new ie(be);for(var te=0;te<be;te++)K[te]=$[te]}else K=new ie($.buffer,0,be)}else for(var ie=E(this),K=new ie(this.count()),te=0;te<K.length;te++)K[te]=te;return K},C.get=function(K,$){if(!($>=0&&$<this._count))return NaN;var ie=this._storage;if(!ie[K])return NaN;$=this.getRawIndex($);var be=Math.floor($/this._chunkSize),te=$%this._chunkSize,Te=ie[K][be],Ie=Te[te];return Ie},C.getByRawIndex=function(K,$){if(!($>=0&&$<this._rawCount))return NaN;var ie=this._storage[K];if(!ie)return NaN;var be=Math.floor($/this._chunkSize),te=$%this._chunkSize,Te=ie[be];return Te[te]},C._getFast=function(K,$){var ie=Math.floor($/this._chunkSize),be=$%this._chunkSize,te=this._storage[K][ie];return te[be]},C.getValues=function(K,$){var ie=[];x.isArray(K)||($=K,K=this.dimensions);for(var be=0,te=K.length;be<te;be++)ie.push(this.get(K[be],$));return ie},C.hasValue=function(K){for(var $=this._dimensionsSummary.dataDimsOnCoord,ie=0,be=$.length;ie<be;ie++)if(isNaN(this.get($[ie],K)))return!1;return!0},C.getDataExtent=function(K){K=this.getDimension(K);var $=this._storage[K],ie=H();if(!$)return ie;var be=this.count(),te=!this._indices,Te;if(te)return this._rawExtent[K].slice();if(Te=this._extent[K],Te)return Te.slice();Te=ie;for(var Ie=Te[0],Fe=Te[1],Qe=0;Qe<be;Qe++){var fe=this._getFast(K,this.getRawIndex(Qe));fe<Ie&&(Ie=fe),fe>Fe&&(Fe=fe)}return Te=[Ie,Fe],this._extent[K]=Te,Te},C.getApproximateExtent=function(K){return K=this.getDimension(K),this._approximateExtent[K]||this.getDataExtent(K)},C.setApproximateExtent=function(K,$){$=this.getDimension($),this._approximateExtent[$]=K.slice()},C.getCalculationInfo=function(K){return this._calculationInfo[K]},C.setCalculationInfo=function(K,$){t(K)?x.extend(this._calculationInfo,K):this._calculationInfo[K]=$},C.getSum=function(K){var $=this._storage[K],ie=0;if($)for(var be=0,te=this.count();be<te;be++){var Te=this.get(K,be);isNaN(Te)||(ie+=Te)}return ie},C.getMedian=function(K){var $=[];this.each(K,function(te,Te){isNaN(te)||$.push(te)});var ie=[].concat($).sort(function(te,Te){return te-Te}),be=this.count();return be===0?0:be%2===1?ie[(be-1)/2]:(ie[be/2]+ie[be/2-1])/2},C.rawIndexOf=function(K,$){var ie=K&&this._invertedIndicesMap[K],be=ie[$];return be==null||isNaN(be)?r:be},C.indexOfName=function(K){for(var $=0,ie=this.count();$<ie;$++)if(this.getName($)===K)return $;return-1},C.indexOfRawIndex=function(K){if(K>=this._rawCount||K<0)return-1;if(!this._indices)return K;var $=this._indices,ie=$[K];if(ie!=null&&ie<this._count&&ie===K)return K;for(var be=0,te=this._count-1;be<=te;){var Te=(be+te)/2|0;if($[Te]<K)be=Te+1;else if($[Te]>K)te=Te-1;else return Te}return-1},C.indicesOfNearest=function(K,$,ie){var be=this._storage,te=be[K],Te=[];if(!te)return Te;ie==null&&(ie=Infinity);for(var Ie=Infinity,Fe=-1,Qe=0,fe=0,He=this.count();fe<He;fe++){var se=$-this.get(K,fe),Ce=Math.abs(se);Ce<=ie&&((Ce<Ie||Ce===Ie&&se>=0&&Fe<0)&&(Ie=Ce,Fe=se,Qe=0),se===Fe&&(Te[Qe++]=fe))}return Te.length=Qe,Te},C.getRawIndex=F;function F(K){return K}function B(K){return K<this._count&&K>=0?this._indices[K]:-1}C.getRawDataItem=function(K){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(K));for(var $=[],ie=0;ie<this.dimensions.length;ie++){var be=this.dimensions[ie];$.push(this.get(be,K))}return $},C.getName=function(K){var $=this.getRawIndex(K);return this._nameList[$]||k(this,this._nameDimIdx,$)||""},C.getId=function(K){return j(this,this.getRawIndex(K))};function j(K,$){var ie=K._idList[$];return ie==null&&(ie=k(K,K._idDimIdx,$)),ie==null&&(ie=o+$),ie}function z(K){return x.isArray(K)||(K=[K]),K}function M(K,$){for(var ie=0;ie<$.length;ie++)K._dimensionInfos[$[ie]]||console.error("Unkown dimension "+$[ie])}C.each=function(K,$,ie,be){"use strict";if(!this._count)return;typeof K=="function"&&(be=ie,ie=$,$=K,K=[]),ie=ie||be||this,K=x.map(z(K),this.getDimension,this);for(var te=K.length,Te=0;Te<this.count();Te++)switch(te){case 0:$.call(ie,Te);break;case 1:$.call(ie,this.get(K[0],Te),Te);break;case 2:$.call(ie,this.get(K[0],Te),this.get(K[1],Te),Te);break;default:for(var Ie=0,Fe=[];Ie<te;Ie++)Fe[Ie]=this.get(K[Ie],Te);Fe[Ie]=Te,$.apply(ie,Fe)}},C.filterSelf=function(K,$,ie,be){"use strict";if(!this._count)return;typeof K=="function"&&(be=ie,ie=$,$=K,K=[]),ie=ie||be||this,K=x.map(z(K),this.getDimension,this);for(var te=this.count(),Te=E(this),Ie=new Te(te),Fe=[],Qe=K.length,fe=0,He=K[0],se=0;se<te;se++){var Ce,mt=this.getRawIndex(se);if(Qe===0)Ce=$.call(ie,se);else if(Qe===1){var Ne=this._getFast(He,mt);Ce=$.call(ie,Ne,se)}else{for(var ae=0;ae<Qe;ae++)Fe[ae]=this._getFast(He,mt);Fe[ae]=se,Ce=$.apply(ie,Fe)}Ce&&(Ie[fe++]=mt)}return fe<te&&(this._indices=Ie),this._count=fe,this._extent={},this.getRawIndex=this._indices?B:F,this},C.selectRange=function(K){"use strict";if(!this._count)return;var $=[];for(var ie in K)K.hasOwnProperty(ie)&&$.push(ie);var be=$.length;if(!be)return;var te=this.count(),Te=E(this),Ie=new Te(te),Fe=0,Qe=$[0],fe=K[Qe][0],He=K[Qe][1],se=!1;if(!this._indices){var Ce=0;if(be===1){for(var mt=this._storage[$[0]],Ne=0;Ne<this._chunkCount;Ne++)for(var ae=mt[Ne],ce=Math.min(this._count-Ne*this._chunkSize,this._chunkSize),le=0;le<ce;le++){var je=ae[le];(je>=fe&&je<=He||isNaN(je))&&(Ie[Fe++]=Ce),Ce++}se=!0}else if(be===2){for(var mt=this._storage[Qe],Re=this._storage[$[1]],Ze=K[$[1]][0],De=K[$[1]][1],Ne=0;Ne<this._chunkCount;Ne++)for(var ae=mt[Ne],ne=Re[Ne],ce=Math.min(this._count-Ne*this._chunkSize,this._chunkSize),le=0;le<ce;le++){var je=ae[le],he=ne[le];(je>=fe&&je<=He||isNaN(je))&&(he>=Ze&&he<=De||isNaN(he))&&(Ie[Fe++]=Ce),Ce++}se=!0}}if(!se)if(be===1)for(var le=0;le<te;le++){var pe=this.getRawIndex(le),je=this._getFast(Qe,pe);(je>=fe&&je<=He||isNaN(je))&&(Ie[Fe++]=pe)}else for(var le=0;le<te;le++){for(var Xe=!0,pe=this.getRawIndex(le),Ne=0;Ne<be;Ne++){var lt=$[Ne],je=this._getFast(ie,pe);(je<K[lt][0]||je>K[lt][1])&&(Xe=!1)}Xe&&(Ie[Fe++]=this.getRawIndex(le))}return Fe<te&&(this._indices=Ie),this._count=Fe,this._extent={},this.getRawIndex=this._indices?B:F,this},C.mapArray=function(K,$,ie,be){"use strict";typeof K=="function"&&(be=ie,ie=$,$=K,K=[]),ie=ie||be||this;var te=[];return this.each(K,function(){te.push($&&$.apply(this,arguments))},ie),te};function U(K,$){var ie=K.dimensions,be=new S(x.map(ie,K.getDimensionInfo,K),K.hostModel);T(be,K);for(var te=be._storage={},Te=K._storage,Ie=0;Ie<ie.length;Ie++){var Fe=ie[Ie];Te[Fe]&&(x.indexOf($,Fe)>=0?(te[Fe]=P(Te[Fe]),be._rawExtent[Fe]=H(),be._extent[Fe]=null):te[Fe]=Te[Fe])}return be}function P(K){for(var $=new Array(K.length),ie=0;ie<K.length;ie++)$[ie]=v(K[ie]);return $}function H(){return[Infinity,-Infinity]}C.map=function(K,$,ie,be){"use strict";ie=ie||be||this,K=x.map(z(K),this.getDimension,this);var te=U(this,K);te._indices=this._indices,te.getRawIndex=te._indices?B:F;for(var Te=te._storage,Ie=[],Fe=this._chunkSize,Qe=K.length,fe=this.count(),He=[],se=te._rawExtent,Ce=0;Ce<fe;Ce++){for(var mt=0;mt<Qe;mt++)He[mt]=this.get(K[mt],Ce);He[Qe]=Ce;var Ne=$&&$.apply(ie,He);if(Ne!=null){typeof Ne!="object"&&(Ie[0]=Ne,Ne=Ie);for(var ae=this.getRawIndex(Ce),ce=Math.floor(ae/Fe),le=ae%Fe,je=0;je<Ne.length;je++){var Re=K[je],Ze=Ne[je],De=se[Re],ne=Te[Re];ne&&(ne[ce][le]=Ze),Ze<De[0]&&(De[0]=Ze),Ze>De[1]&&(De[1]=Ze)}}}return te},C.downSample=function(K,$,ie,be){for(var te=U(this,[K]),Te=te._storage,Ie=[],Fe=Math.floor(1/$),Qe=Te[K],fe=this.count(),He=this._chunkSize,se=te._rawExtent[K],Ce=new(E(this))(fe),mt=0,Ne=0;Ne<fe;Ne+=Fe){Fe>fe-Ne&&(Fe=fe-Ne,Ie.length=Fe);for(var ae=0;ae<Fe;ae++){var ce=this.getRawIndex(Ne+ae),le=Math.floor(ce/He),je=ce%He;Ie[ae]=Qe[le][je]}var Re=ie(Ie),Ze=this.getRawIndex(Math.min(Ne+be(Ie,Re)||0,fe-1)),De=Math.floor(Ze/He),ne=Ze%He;Qe[De][ne]=Re,Re<se[0]&&(se[0]=Re),Re>se[1]&&(se[1]=Re),Ce[mt++]=Ze}return te._count=mt,te._indices=Ce,te.getRawIndex=B,te},C.getItemModel=function(K){var $=this.hostModel;return new m(this.getRawDataItem(K),$,$&&$.ecModel)},C.diff=function(K){var $=this;return new g(K?K.getIndices():[],this.getIndices(),function(ie){return j(K,ie)},function(ie){return j($,ie)})},C.getVisual=function(K){var $=this._visual;return $&&$[K]},C.setVisual=function(K,$){if(t(K)){for(var ie in K)K.hasOwnProperty(ie)&&this.setVisual(ie,K[ie]);return}this._visual=this._visual||{},this._visual[K]=$},C.setLayout=function(K,$){if(t(K)){for(var ie in K)K.hasOwnProperty(ie)&&this.setLayout(ie,K[ie]);return}this._layout[K]=$},C.getLayout=function(K){return this._layout[K]},C.getItemLayout=function(K){return this._itemLayouts[K]},C.setItemLayout=function(K,$,ie){this._itemLayouts[K]=ie?x.extend(this._itemLayouts[K]||{},$):$},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(K,$,ie){var be=this._itemVisuals[K],te=be&&be[$];return te==null&&!ie?this.getVisual($):te},C.setItemVisual=function(K,$,ie){var be=this._itemVisuals[K]||{},te=this.hasItemVisual;if(this._itemVisuals[K]=be,t($)){for(var Te in $)$.hasOwnProperty(Te)&&(be[Te]=$[Te],te[Te]=!0);return}be[$]=ie,te[$]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(K){K.seriesIndex=this.seriesIndex,K.dataIndex=this.dataIndex,K.dataType=this.dataType};C.setItemGraphicEl=function(K,$){var ie=this.hostModel;$&&($.dataIndex=K,$.dataType=this.dataType,$.seriesIndex=ie&&ie.seriesIndex,$.type==="group"&&$.traverse(W,$)),this._graphicEls[K]=$},C.getItemGraphicEl=function(K){return this._graphicEls[K]},C.eachItemGraphicEl=function(K,$){x.each(this._graphicEls,function(ie,be){ie&&(K&&K.call($,ie,be))})},C.cloneShallow=function(K){if(!K){var $=x.map(this.dimensions,this.getDimensionInfo,this);K=new S($,this.hostModel)}if(K._storage=this._storage,T(K,this),this._indices){var ie=this._indices.constructor;K._indices=new ie(this._indices)}else K._indices=null;return K.getRawIndex=K._indices?B:F,K},C.wrapMethod=function(K,$){var ie=this[K];if(typeof ie!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(K),this[K]=function(){var be=ie.apply(this,arguments);return $.apply(this,[be].concat(x.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var X=S;R.exports=X},YgsL:function(R,N,e){var A=e("QBsz"),f=A.distance;function x(g,p,c,s,a,n,i){var d=(c-g)*.5,t=(s-p)*.5;return(2*(p-c)+d+t)*i+(-3*(p-c)-2*d-t)*n+d*a+p}function m(g,p){for(var c=g.length,s=[],a=0,n=1;n<c;n++)a+=f(g[n-1],g[n]);var i=a/2;i=i<c?c:i;for(var n=0;n<i;n++){var d=n/(i-1)*(p?c:c-1),t=Math.floor(d),l=d-t,r,o=g[t%c],u,h;p?(r=g[(t-1+c)%c],u=g[(t+1)%c],h=g[(t+2)%c]):(r=g[t===0?t:t-1],u=g[t>c-2?c-1:t+1],h=g[t>c-3?c-1:t+2]);var y=l*l,b=l*y;s.push([x(r[0],o[0],u[0],h[0],l,y,b),x(r[1],o[1],u[1],h[1],l,y,b)])}return s}R.exports=m},Yl7c:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=".",g="___EC__COMPONENT__CONTAINER___";function p(r){var o={main:"",sub:""};return r&&(r=r.split(m),o.main=r[0]||"",o.sub=r[1]||""),o}function c(r){x.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function s(r,o){r.$constructor=r,r.extend=function(u){var h=this,y=function(){u.$constructor?u.$constructor.apply(this,arguments):h.apply(this,arguments)};return x.extend(y.prototype,u),y.extend=this.extend,y.superCall=i,y.superApply=d,x.inherits(y,this),y.superClass=h,y}}var a=0;function n(r){var o=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");r.prototype[o]=!0,r.isInstance=function(u){return!!(u&&u[o])}}function i(r,o){var u=x.slice(arguments,2);return this.superClass.prototype[o].apply(r,u)}function d(r,o,u){return this.superClass.prototype[o].apply(r,u)}function t(r,o){o=o||{};var u={};r.registerClass=function(b,E){if(E){if(c(E),E=p(E),!E.sub)u[E.main]=b;else if(E.sub!==g){var v=h(E);v[E.sub]=b}}return b},r.getClass=function(b,E,v){var w=u[b];if(w&&w[g]&&(w=E?w[E]:null),v&&!w)throw new Error(E?"Component "+b+"."+(E||"")+" not exists. Load it first.":b+".type should be specified.");return w},r.getClassesByMainType=function(b){b=p(b);var E=[],v=u[b.main];return v&&v[g]?x.each(v,function(w,O){O!==g&&E.push(w)}):E.push(v),E},r.hasClass=function(b){return b=p(b),!!u[b.main]},r.getAllClassMainTypes=function(){var b=[];return x.each(u,function(E,v){b.push(v)}),b},r.hasSubTypes=function(b){b=p(b);var E=u[b.main];return E&&E[g]},r.parseClassType=p;function h(b){var E=u[b.main];return(!E||!E[g])&&(E=u[b.main]={},E[g]=!0),E}if(o.registerWhenExtend){var y=r.extend;y&&(r.extend=function(b){var E=y.call(this,b);return r.registerClass(E,b.type)})}return r}function l(r,o){}N.parseClassType=p,N.enableClassExtend=s,N.enableClassCheck=n,N.enableClassManagement=t,N.setReadOnly=l},Ynxi:function(R,N,e){var A=e("bYtY"),f=e("ProS"),x=e("IwbS"),m=e("+TT/"),g=m.getLayoutRect,p=e("7aKB"),c=p.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(s,a,n){if(this.group.removeAll(),!s.get("show"))return;var i=this.group,d=s.getModel("textStyle"),t=s.getModel("subtextStyle"),l=s.get("textAlign"),r=A.retrieve2(s.get("textBaseline"),s.get("textVerticalAlign")),o=new x.Text({style:x.setTextStyle({},d,{text:s.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),u=o.getBoundingRect(),h=s.get("subtext"),y=new x.Text({style:x.setTextStyle({},t,{text:h,textFill:t.getTextColor(),y:u.height+s.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),b=s.get("link"),E=s.get("sublink"),v=s.get("triggerEvent",!0);o.silent=!b&&!v,y.silent=!E&&!v,b&&o.on("click",function(){c(b,"_"+s.get("target"))}),E&&y.on("click",function(){c(b,"_"+s.get("subtarget"))}),o.eventData=y.eventData=v?{componentType:"title",componentIndex:s.componentIndex}:null,i.add(o),h&&i.add(y);var w=i.getBoundingRect(),O=s.getBoxLayoutParams();O.width=w.width,O.height=w.height;var T=g(O,{width:n.getWidth(),height:n.getHeight()},s.get("padding"));l||(l=s.get("left")||s.get("right"),l==="middle"&&(l="center"),l==="right"?T.x+=T.width:l==="center"&&(T.x+=T.width/2)),r||(r=s.get("top")||s.get("bottom"),r==="center"&&(r="middle"),r==="bottom"?T.y+=T.height:r==="middle"&&(T.y+=T.height/2),r=r||"top"),i.attr("position",[T.x,T.y]);var S={textAlign:l,textVerticalAlign:r};o.setStyle(S),y.setStyle(S),w=i.getBoundingRect();var C=T.margin,_=s.getItemStyle(["color","opacity"]);_.fill=s.get("backgroundColor");var I=new x.Rect({shape:{x:w.x-C[3],y:w.y-C[0],width:w.width+C[1]+C[3],height:w.height+C[0]+C[2],r:s.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(I)}})},YrtM:function(R,N,e){"use strict";e.d(N,"a",function(){return x});var A=e("q1tI"),f=e.n(A);function x(m,g,p){var c=A.useRef({});return(!("value"in c.current)||p(c.current.condition,g))&&(c.current.value=m(),c.current.condition=g),c.current.value}},Ywus:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("DO2E")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="DeleteOutlined";var s=m.forwardRef(c);N.default=s},Z0Lh:function(R,N,e){"use strict";var A=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var f=A(e("pVnL")),x=A(e("HjOm")),m=A(e("Z6rY")),g={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"]},x.default),timePickerLocale:(0,f.default)({},m.default)};g.lang.ok="\u786E \u5B9A";var p=g;N.default=p},Z1HP:function(R,N,e){var A=e("ycre"),f=e("quyA"),x=e("q4HE");function m(g){return f(g)?x(g):A(g)}R.exports=m},Z1r0:function(R,N){function e(A){var f=A.findComponents({mainType:"legend"});if(!f||!f.length)return;A.eachSeriesByType("graph",function(x){var m=x.getCategoriesData(),g=x.getGraph(),p=g.data,c=m.mapArray(m.getName);p.filterSelf(function(s){var a=p.getItemModel(s),n=a.getShallow("category");if(n!=null){typeof n=="number"&&(n=c[n]);for(var i=0;i<f.length;i++)if(!f[i].isSelected(n))return!1}return!0})},this)}R.exports=e},Z1wy:function(R,N,e){var A=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),x=e("VPsl"),m=e("9u0u"),g=e("lELe"),p=e("d4KN");A.registerLayout(f),A.registerVisual(x),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,m),A.registerPreprocessor(g),p("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(R,N,e){var A=e("MwEJ"),f=e("T4UG"),x=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,g){return A(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});R.exports=x},Z6rY:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=A;N.default=f},Z8zF:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("IwbS"),p=e("56rv"),c=p.setLabel,s=e("Qxkt"),a=e("tceW"),n=e("y+Vt"),i=e("4fz+"),d=e("iLNv"),t=d.throttle,l=e("sK/D"),r=l.createClipPath,o=e("wr5s"),u=["itemStyle","barBorderWidth"],h=[0,0];m.extend(s.prototype,a);function y(W,X){var K=W.getArea&&W.getArea();if(W.type==="cartesian2d"){var $=W.getBaseAxis();if($.type!=="category"||!$.onBand){var ie=X.getLayout("bandWidth");$.isHorizontal()?(K.x-=ie,K.width+=ie*2):(K.y-=ie,K.height+=ie*2)}}return K}var b=x.extendChartView({type:"bar",render:function(W,X,K){this._updateDrawMode(W);var $=W.get("coordinateSystem");return($==="cartesian2d"||$==="polar")&&(this._isLargeDraw?this._renderLarge(W,X,K):this._renderNormal(W,X,K)),this.group},incrementalPrepareRender:function(W,X,K){this._clear(),this._updateDrawMode(W)},incrementalRender:function(W,X,K,$){this._incrementalRenderLarge(W,X)},_updateDrawMode:function(W){var X=W.pipelineContext.large;(this._isLargeDraw==null||X^this._isLargeDraw)&&(this._isLargeDraw=X,this._clear())},_renderNormal:function(W,X,K){var $=this.group,ie=W.getData(),be=this._data,te=W.coordinateSystem,Te=te.getBaseAxis(),Ie;te.type==="cartesian2d"?Ie=Te.isHorizontal():te.type==="polar"&&(Ie=Te.dim==="angle");var Fe=W.isAnimationEnabled()?W:null,Qe=W.get("clip",!0),fe=y(te,ie);$.removeClipPath();var He=W.get("roundCap",!0),se=W.get("showBackground",!0),Ce=W.getModel("backgroundStyle"),mt=Ce.get("barBorderRadius")||0,Ne=[],ae=this._backgroundEls||[];ie.diff(be).add(function(je){var Re=ie.getItemModel(je),Ze=C[te.type](ie,je,Re);if(se){var De=C[te.type](ie,je),ne=H(te,Ie,De);ne.useStyle(Ce.getBarItemStyle()),te.type==="cartesian2d"&&ne.setShape("r",mt),Ne[je]=ne}if(!ie.hasValue(je))return;if(Qe){var he=w[te.type](fe,Ze);if(he){$.remove(pe);return}}var pe=O[te.type](je,Ze,Ie,Fe,!1,He);ie.setItemGraphicEl(je,pe),$.add(pe),I(pe,ie,je,Re,Ze,W,Ie,te.type==="polar")}).update(function(je,Re){var Ze=ie.getItemModel(je),De=C[te.type](ie,je,Ze);if(se){var ne=ae[Re];ne.useStyle(Ce.getBarItemStyle()),te.type==="cartesian2d"&&ne.setShape("r",mt),Ne[je]=ne;var he=C[te.type](ie,je),pe=P(Ie,he,te);g.updateProps(ne,{shape:pe},Fe,je)}var Xe=be.getItemGraphicEl(Re);if(!ie.hasValue(je)){$.remove(Xe);return}if(Qe){var lt=w[te.type](fe,De);if(lt){$.remove(Xe);return}}Xe?g.updateProps(Xe,{shape:De},Fe,je):Xe=O[te.type](je,De,Ie,Fe,!0,He),ie.setItemGraphicEl(je,Xe),$.add(Xe),I(Xe,ie,je,Ze,De,W,Ie,te.type==="polar")}).remove(function(je){var Re=be.getItemGraphicEl(je);te.type==="cartesian2d"?Re&&T(je,Fe,Re):Re&&S(je,Fe,Re)}).execute();var ce=this._backgroundGroup||(this._backgroundGroup=new i);ce.removeAll();for(var le=0;le<Ne.length;++le)ce.add(Ne[le]);$.add(ce),this._backgroundEls=Ne,this._data=ie},_renderLarge:function(W,X,K){this._clear(),B(W,this.group);var $=W.get("clip",!0)?r(W.coordinateSystem,!1,W):null;$?this.group.setClipPath($):this.group.removeClipPath()},_incrementalRenderLarge:function(W,X){this._removeBackground(),B(X,this.group,!0)},dispose:m.noop,remove:function(W){this._clear(W)},_clear:function(W){var X=this.group,K=this._data;W&&W.get("animation")&&K&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],K.eachItemGraphicEl(function($){$.type==="sector"?S($.dataIndex,W,$):T($.dataIndex,W,$)})):X.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),E=Math.max,v=Math.min,w={cartesian2d:function(W,X){var K=X.width<0?-1:1,$=X.height<0?-1:1;K<0&&(X.x+=X.width,X.width=-X.width),$<0&&(X.y+=X.height,X.height=-X.height);var ie=E(X.x,W.x),be=v(X.x+X.width,W.x+W.width),te=E(X.y,W.y),Te=v(X.y+X.height,W.y+W.height);X.x=ie,X.y=te,X.width=be-ie,X.height=Te-te;var Ie=X.width<0||X.height<0;return K<0&&(X.x+=X.width,X.width=-X.width),$<0&&(X.y+=X.height,X.height=-X.height),Ie},polar:function(W){return!1}},O={cartesian2d:function(W,X,K,$,ie){var be=new g.Rect({shape:m.extend({},X),z2:1});if(be.name="item",$){var te=be.shape,Te=K?"height":"width",Ie={};te[Te]=0,Ie[Te]=X[Te],g[ie?"updateProps":"initProps"](be,{shape:Ie},$,W)}return be},polar:function(W,X,K,$,ie,be){var te=X.startAngle<X.endAngle,Te=!K&&be?o:g.Sector,Ie=new Te({shape:m.defaults({clockwise:te},X),z2:1});if(Ie.name="item",$){var Fe=Ie.shape,Qe=K?"r":"endAngle",fe={};Fe[Qe]=K?0:X.startAngle,fe[Qe]=X[Qe],g[ie?"updateProps":"initProps"](Ie,{shape:fe},$,W)}return Ie}};function T(W,X,K){K.style.text=null,g.updateProps(K,{shape:{width:0}},X,W,function(){K.parent&&K.parent.remove(K)})}function S(W,X,K){K.style.text=null,g.updateProps(K,{shape:{r:K.shape.r0}},X,W,function(){K.parent&&K.parent.remove(K)})}var C={cartesian2d:function(W,X,K){var $=W.getItemLayout(X),ie=K?k(K,$):0,be=$.width>0?1:-1,te=$.height>0?1:-1;return{x:$.x+be*ie/2,y:$.y+te*ie/2,width:$.width-be*ie,height:$.height-te*ie}},polar:function(W,X,K){var $=W.getItemLayout(X);return{cx:$.cx,cy:$.cy,r0:$.r0,r:$.r,startAngle:$.startAngle,endAngle:$.endAngle}}};function _(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function I(W,X,K,$,ie,be,te,Te){var Ie=X.getItemVisual(K,"color"),Fe=X.getItemVisual(K,"opacity"),Qe=X.getVisual("borderColor"),fe=$.getModel("itemStyle"),He=$.getModel("emphasis.itemStyle").getBarItemStyle();Te||W.setShape("r",fe.get("barBorderRadius")||0),W.useStyle(m.defaults({stroke:_(ie)?"none":Qe,fill:_(ie)?"none":Ie,opacity:Fe},fe.getBarItemStyle()));var se=$.getShallow("cursor");se&&W.attr("cursor",se);var Ce=te?ie.height>0?"bottom":"top":ie.width>0?"left":"right";Te||c(W.style,He,$,Ie,be,K,Ce),_(ie)&&(He.fill=He.stroke="none"),g.setHoverStyle(W,He)}function k(W,X){var K=W.get(u)||0,$=isNaN(X.width)?Number.MAX_VALUE:Math.abs(X.width),ie=isNaN(X.height)?Number.MAX_VALUE:Math.abs(X.height);return Math.min(K,$,ie)}var F=n.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,X){for(var K=X.points,$=this.__startPoint,ie=this.__baseDimIdx,be=0;be<K.length;be+=2)$[ie]=K[be+ie],W.moveTo($[0],$[1]),W.lineTo(K[be],K[be+1])}});function B(W,X,K){var $=W.getData(),ie=[],be=$.getLayout("valueAxisHorizontal")?1:0;ie[1-be]=$.getLayout("valueAxisStart");var te=$.getLayout("largeDataIndices"),Te=$.getLayout("barWidth"),Ie=W.getModel("backgroundStyle"),Fe=W.get("showBackground",!0);if(Fe){var Qe=$.getLayout("largeBackgroundPoints"),fe=[];fe[1-be]=$.getLayout("backgroundStart");var He=new F({shape:{points:Qe},incremental:!!K,__startPoint:fe,__baseDimIdx:be,__largeDataIndices:te,__barWidth:Te,silent:!0,z2:0});U(He,Ie,$),X.add(He)}var se=new F({shape:{points:$.getLayout("largePoints")},incremental:!!K,__startPoint:ie,__baseDimIdx:be,__largeDataIndices:te,__barWidth:Te});X.add(se),M(se,W,$),se.seriesIndex=W.seriesIndex,W.get("silent")||(se.on("mousedown",j),se.on("mousemove",j))}var j=t(function(W){var X=this,K=z(X,W.offsetX,W.offsetY);X.dataIndex=K>=0?K:null},30,!1);function z(W,X,K){var $=W.__baseDimIdx,ie=1-$,be=W.shape.points,te=W.__largeDataIndices,Te=Math.abs(W.__barWidth/2),Ie=W.__startPoint[ie];h[0]=X,h[1]=K;for(var Fe=h[$],Qe=h[1-$],fe=Fe-Te,He=Fe+Te,se=0,Ce=be.length/2;se<Ce;se++){var mt=se*2,Ne=be[mt+$],ae=be[mt+ie];if(Ne>=fe&&Ne<=He&&(Ie<=ae?Qe>=Ie&&Qe<=ae:Qe>=ae&&Qe<=Ie))return te[se]}return-1}function M(W,X,K){var $=K.getVisual("borderColor")||K.getVisual("color"),ie=X.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle(ie),W.style.fill=null,W.style.stroke=$,W.style.lineWidth=K.getLayout("barWidth")}function U(W,X,K){var $=X.get("borderColor")||X.get("color"),ie=X.getItemStyle(["color","borderColor"]);W.useStyle(ie),W.style.fill=null,W.style.stroke=$,W.style.lineWidth=K.getLayout("barWidth")}function P(W,X,K){var $,ie=K.type==="polar";return ie?$=K.getArea():$=K.grid.getRect(),ie?{cx:$.cx,cy:$.cy,r0:W?$.r0:X.r0,r:W?$.r:X.r,startAngle:W?X.startAngle:0,endAngle:W?X.endAngle:Math.PI*2}:{x:W?X.x:$.x,y:W?$.y:X.y,width:W?X.width:$.width,height:W?$.height:X.height}}function H(W,X,K){var $=W.type==="polar"?g.Sector:g.Rect;return new $({shape:P(X,K,W),silent:!0,z2:0})}R.exports=b},ZCgT:function(R,N,e){var A=e("tLB3"),f=1/0,x=17976931348623157e292;function m(g){if(!g)return g===0?g:0;if(g=A(g),g===f||g===-f){var p=g<0?-1:1;return p*x}return g===g?g:0}R.exports=m},ZLWo:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},ZMnZ:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("2oIt")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="UpOutlined";var s=m.forwardRef(c);N.default=s},ZTPi:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("q1tI"),p=e("rePB"),c=e("ODXe"),s=e("Ff2n"),a=e("VTBJ"),n=e("TSYQ"),i=e.n(n),d=e("Zm9Q"),t=e("6cGi"),l=e("KQm4"),r=e("xEkU"),o=e.n(r),u=e("1OyB"),h=e("vuIU"),y=e("Ji7U"),b=e("LK+K"),E=e("m+aA"),v=e("Kwbf"),w=e("c+Xe"),O=e("bdgK"),T="rc-observer-key",S=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(){var tn;return Object(u.a)(this,Ln),tn=pn.apply(this,arguments),tn.resizeObserver=null,tn.childNode=null,tn.currentElement=null,tn.state={width:0,height:0,offsetHeight:0,offsetWidth:0},tn.onResize=function($t){var yr=tn.props.onResize,kr=$t[0].target,gr=kr.getBoundingClientRect(),Kr=gr.width,sn=gr.height,Ir=kr.offsetWidth,Rr=kr.offsetHeight,ar=Math.floor(Kr),Tr=Math.floor(sn);if(tn.state.width!==ar||tn.state.height!==Tr||tn.state.offsetWidth!==Ir||tn.state.offsetHeight!==Rr){var br={width:ar,height:Tr,offsetWidth:Ir,offsetHeight:Rr};tn.setState(br),yr&&Promise.resolve().then(function(){yr(Object(a.a)(Object(a.a)({},br),{},{offsetWidth:Ir,offsetHeight:Rr}))})}},tn.setChildNode=function($t){tn.childNode=$t},tn}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var $t=this.props.disabled;if($t){this.destroyObserver();return}var yr=Object(E.a)(this.childNode||this),kr=yr!==this.currentElement;kr&&(this.destroyObserver(),this.currentElement=yr),!this.resizeObserver&&yr&&(this.resizeObserver=new O.default(this.onResize),this.resizeObserver.observe(yr))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var $t=this.props.children,yr=Object(d.a)($t);if(yr.length>1)Object(v.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(yr.length===0)return Object(v.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var kr=yr[0];if(g.isValidElement(kr)&&Object(w.c)(kr)){var gr=kr.ref;yr[0]=g.cloneElement(kr,{ref:Object(w.a)(gr,this.setChildNode)})}return yr.length===1?yr[0]:yr.map(function(Kr,sn){return!g.isValidElement(Kr)||"key"in Kr&&Kr.key!==null?Kr:g.cloneElement(Kr,{key:"".concat(T,"-").concat(sn)})})}}]),Ln}(g.Component);S.displayName="ResizeObserver";var C=S;function _(Xr){var pn=Object(g.useRef)(),Ln=Object(g.useRef)(!1);function tn(){for(var $t=arguments.length,yr=new Array($t),kr=0;kr<$t;kr++)yr[kr]=arguments[kr];Ln.current||(o.a.cancel(pn.current),pn.current=o()(function(){Xr.apply(void 0,yr)}))}return Object(g.useEffect)(function(){return function(){Ln.current=!0,o.a.cancel(pn.current)}},[]),tn}function I(Xr){var pn=Object(g.useRef)([]),Ln=Object(g.useState)({}),tn=Object(c.a)(Ln,2),$t=tn[1],yr=Object(g.useRef)(typeof Xr=="function"?Xr():Xr),kr=_(function(){var Kr=yr.current;pn.current.forEach(function(sn){Kr=sn(Kr)}),pn.current=[],yr.current=Kr,$t({})});function gr(Kr){pn.current.push(Kr),kr()}return[yr.current,gr]}var k=e("4IlW");function F(Xr,pn){var Ln,tn=Xr.prefixCls,$t=Xr.id,yr=Xr.active,kr=Xr.rtl,gr=Xr.tab,Kr=gr.key,sn=gr.tab,Ir=gr.disabled,Rr=gr.closeIcon,ar=Xr.tabBarGutter,Tr=Xr.tabPosition,br=Xr.closable,fr=Xr.renderWrapper,zr=Xr.removeAriaLabel,wn=Xr.editable,On=Xr.onClick,Wn=Xr.onRemove,Xn=Xr.onFocus,ii="".concat(tn,"-tab");g.useEffect(function(){return Wn},[]);var li={};Tr==="top"||Tr==="bottom"?li[kr?"marginLeft":"marginRight"]=ar:li.marginBottom=ar;var bi=wn&&br!==!1&&!Ir;function gi(sa){if(Ir)return;On(sa)}function Ni(sa){sa.preventDefault(),sa.stopPropagation(),wn.onEdit("remove",{key:Kr,event:sa})}var ki=g.createElement("div",{key:Kr,ref:pn,className:i()(ii,(Ln={},Object(p.a)(Ln,"".concat(ii,"-with-remove"),bi),Object(p.a)(Ln,"".concat(ii,"-active"),yr),Object(p.a)(Ln,"".concat(ii,"-disabled"),Ir),Ln)),style:li,onClick:gi},g.createElement("div",{role:"tab","aria-selected":yr,id:$t&&"".concat($t,"-tab-").concat(Kr),className:"".concat(ii,"-btn"),"aria-controls":$t&&"".concat($t,"-panel-").concat(Kr),"aria-disabled":Ir,tabIndex:Ir?null:0,onClick:function(Wi){Wi.stopPropagation(),gi(Wi)},onKeyDown:function(Wi){[k.a.SPACE,k.a.ENTER].includes(Wi.which)&&(Wi.preventDefault(),gi(Wi))},onFocus:Xn},sn),bi&&g.createElement("button",{type:"button","aria-label":zr||"remove",tabIndex:0,className:"".concat(ii,"-remove"),onClick:function(Wi){Wi.stopPropagation(),Ni(Wi)}},Rr||wn.removeIcon||"\xD7"));return fr&&(ki=fr(ki)),ki}var B=g.forwardRef(F),j={width:0,height:0,left:0,top:0};function z(Xr,pn,Ln){return Object(g.useMemo)(function(){for(var tn,$t=new Map,yr=pn.get((tn=Xr[0])===null||tn===void 0?void 0:tn.key)||j,kr=yr.left+yr.width,gr=0;gr<Xr.length;gr+=1){var Kr=Xr[gr].key,sn=pn.get(Kr);if(!sn){var Ir;sn=pn.get((Ir=Xr[gr-1])===null||Ir===void 0?void 0:Ir.key)||j}var Rr=$t.get(Kr)||Object(a.a)({},sn);Rr.right=kr-Rr.left-Rr.width,$t.set(Kr,Rr)}return $t},[Xr.map(function(tn){return tn.key}).join("_"),pn,Ln])}var M={width:0,height:0,left:0,top:0,right:0};function U(Xr,pn,Ln,tn,$t){var yr=$t.tabs,kr=$t.tabPosition,gr=$t.rtl,Kr,sn,Ir;["top","bottom"].includes(kr)?(Kr="width",sn=gr?"right":"left",Ir=Math.abs(pn.left)):(Kr="height",sn="top",Ir=-pn.top);var Rr=pn[Kr],ar=Ln[Kr],Tr=tn[Kr],br=Rr;return ar+Tr>Rr&&(br=Rr-Tr),Object(g.useMemo)(function(){if(!yr.length)return[0,0];for(var fr=yr.length,zr=fr,wn=0;wn<fr;wn+=1){var On=Xr.get(yr[wn].key)||M;if(On[sn]+On[Kr]>Ir+br){zr=wn-1;break}}for(var Wn=0,Xn=fr-1;Xn>=0;Xn-=1){var ii=Xr.get(yr[Xn].key)||M;if(ii[sn]<Ir){Wn=Xn+1;break}}return[Wn,zr]},[Xr,Ir,br,kr,yr.map(function(fr){return fr.key}).join("_"),gr])}var P=e("wx14"),H=e("JX7q"),W=e("I8Z2"),X=e("bT9E"),K=e("2GS6"),$=e("Gytx"),ie=e.n($),be=e("U8pU"),te=/iPhone/i,Te=/iPod/i,Ie=/iPad/i,Fe=/\bAndroid(?:.+)Mobile\b/i,Qe=/Android/i,fe=/\bAndroid(?:.+)SD4930UR\b/i,He=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,se=/Windows Phone/i,Ce=/\bWindows(?:.+)ARM\b/i,mt=/BlackBerry/i,Ne=/BB10/i,ae=/Opera Mini/i,ce=/\b(CriOS|Chrome)(?:.+)Mobile/i,le=/Mobile(?:.+)Firefox\b/i;function je(Xr,pn){return Xr.test(pn)}function Re(Xr){var pn=Xr||(typeof navigator!="undefined"?navigator.userAgent:""),Ln=(pn||"").split("[FBAN");if(typeof Ln[1]!="undefined"){var tn=Ln,$t=Object(c.a)(tn,1);pn=$t[0]}if(Ln=pn.split("Twitter"),typeof Ln[1]!="undefined"){var yr=Ln,kr=Object(c.a)(yr,1);pn=kr[0]}var gr={apple:{phone:je(te,pn)&&!je(se,pn),ipod:je(Te,pn),tablet:!je(te,pn)&&je(Ie,pn)&&!je(se,pn),device:(je(te,pn)||je(Te,pn)||je(Ie,pn))&&!je(se,pn)},amazon:{phone:je(fe,pn),tablet:!je(fe,pn)&&je(He,pn),device:je(fe,pn)||je(He,pn)},android:{phone:!je(se,pn)&&je(fe,pn)||!je(se,pn)&&je(Fe,pn),tablet:!je(se,pn)&&!je(fe,pn)&&!je(Fe,pn)&&(je(He,pn)||je(Qe,pn)),device:!je(se,pn)&&(je(fe,pn)||je(He,pn)||je(Fe,pn)||je(Qe,pn))||je(/\bokhttp\b/i,pn)},windows:{phone:je(se,pn),tablet:je(Ce,pn),device:je(se,pn)||je(Ce,pn)},other:{blackberry:je(mt,pn),blackberry10:je(Ne,pn),opera:je(ae,pn),firefox:je(le,pn),chrome:je(ce,pn),device:je(mt,pn)||je(Ne,pn)||je(ae,pn)||je(le,pn)||je(ce,pn)},any:null,phone:null,tablet:null};return gr.any=gr.apple.device||gr.android.device||gr.windows.device||gr.other.device,gr.phone=gr.apple.phone||gr.android.phone||gr.windows.phone,gr.tablet=gr.apple.tablet||gr.android.tablet||gr.windows.tablet,gr}var Ze=Object(a.a)(Object(a.a)({},Re()),{},{isMobile:Re}),De=Ze;function ne(){}function he(Xr,pn,Ln){var tn=pn||"";return Xr.key||"".concat(tn,"item_").concat(Ln)}function pe(Xr){return"".concat(Xr,"-menu-")}function Xe(Xr,pn){var Ln=-1;g.Children.forEach(Xr,function(tn){Ln+=1,tn&&tn.type&&tn.type.isMenuItemGroup?g.Children.forEach(tn.props.children,function($t){Ln+=1,pn($t,Ln)}):pn(tn,Ln)})}function lt(Xr,pn,Ln){if(!Xr||Ln.find)return;g.Children.forEach(Xr,function(tn){if(tn){var $t=tn.type;if(!$t||!($t.isSubMenu||$t.isMenuItem||$t.isMenuItemGroup))return;pn.indexOf(tn.key)!==-1?Ln.find=!0:tn.props.children&<(tn.props.children,pn,Ln)}})}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"],Me=function(pn){var Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn=pn&&typeof pn.getBoundingClientRect=="function"&&pn.getBoundingClientRect().width;if(tn){if(Ln){var $t=getComputedStyle(pn),yr=$t.marginLeft,kr=$t.marginRight;tn+=+yr.replace("px","")+ +kr.replace("px","")}tn=+tn.toFixed(6)}return tn||0},Ht=function(pn,Ln,tn){pn&&Object(be.a)(pn.style)==="object"&&(pn.style[Ln]=tn)},tt=function(){return De.any},Mt=e("i8i4"),jt=e("uciX"),kt=e("wgJM"),Tt=e("8XRh"),Dt={adjustX:1,adjustY:1},Ue={topLeft:{points:["bl","tl"],overflow:Dt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Dt,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Dt,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Dt,offset:[4,0]}},G={topLeft:{points:["bl","tl"],overflow:Dt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Dt,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Dt,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Dt,offset:[4,0]}},Y=Ue,Pe=0,Be={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},J=function(pn,Ln,tn){var $t=pe(Ln),yr=pn.getState();pn.setState({defaultActiveFirst:Object(a.a)(Object(a.a)({},yr.defaultActiveFirst),{},Object(p.a)({},$t,tn))})},St=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(tn){var $t;Object(u.a)(this,Ln),$t=pn.call(this,tn),$t.onDestroy=function(Ir){$t.props.onDestroy(Ir)},$t.onKeyDown=function(Ir){var Rr=Ir.keyCode,ar=$t.menuInstance,Tr=$t.props.store,br=$t.getVisible();if(Rr===k.a.ENTER)return $t.onTitleClick(Ir),J(Tr,$t.props.eventKey,!0),!0;if(Rr===k.a.RIGHT)return br?ar.onKeyDown(Ir):($t.triggerOpenChange(!0),J(Tr,$t.props.eventKey,!0)),!0;if(Rr===k.a.LEFT){var fr;if(br)fr=ar.onKeyDown(Ir);else return;return fr||($t.triggerOpenChange(!1),fr=!0),fr}return br&&(Rr===k.a.UP||Rr===k.a.DOWN)?ar.onKeyDown(Ir):void 0},$t.onOpenChange=function(Ir){$t.props.onOpenChange(Ir)},$t.onPopupVisibleChange=function(Ir){$t.triggerOpenChange(Ir,Ir?"mouseenter":"mouseleave")},$t.onMouseEnter=function(Ir){var Rr=$t.props,ar=Rr.eventKey,Tr=Rr.onMouseEnter,br=Rr.store;J(br,$t.props.eventKey,!1),Tr({key:ar,domEvent:Ir})},$t.onMouseLeave=function(Ir){var Rr=$t.props,ar=Rr.parentMenu,Tr=Rr.eventKey,br=Rr.onMouseLeave;ar.subMenuInstance=Object(H.a)($t),br({key:Tr,domEvent:Ir})},$t.onTitleMouseEnter=function(Ir){var Rr=$t.props,ar=Rr.eventKey,Tr=Rr.onItemHover,br=Rr.onTitleMouseEnter;Tr({key:ar,hover:!0}),br({key:ar,domEvent:Ir})},$t.onTitleMouseLeave=function(Ir){var Rr=$t.props,ar=Rr.parentMenu,Tr=Rr.eventKey,br=Rr.onItemHover,fr=Rr.onTitleMouseLeave;ar.subMenuInstance=Object(H.a)($t),br({key:Tr,hover:!1}),fr({key:Tr,domEvent:Ir})},$t.onTitleClick=function(Ir){var Rr=Object(H.a)($t),ar=Rr.props;if(ar.onTitleClick({key:ar.eventKey,domEvent:Ir}),ar.triggerSubMenuAction==="hover")return;$t.triggerOpenChange(!$t.getVisible(),"click"),J(ar.store,$t.props.eventKey,!1)},$t.onSubMenuClick=function(Ir){typeof $t.props.onClick=="function"&&$t.props.onClick($t.addKeyPath(Ir))},$t.onSelect=function(Ir){$t.props.onSelect(Ir)},$t.onDeselect=function(Ir){$t.props.onDeselect(Ir)},$t.getPrefixCls=function(){return"".concat($t.props.rootPrefixCls,"-submenu")},$t.getActiveClassName=function(){return"".concat($t.getPrefixCls(),"-active")},$t.getDisabledClassName=function(){return"".concat($t.getPrefixCls(),"-disabled")},$t.getSelectedClassName=function(){return"".concat($t.getPrefixCls(),"-selected")},$t.getOpenClassName=function(){return"".concat($t.props.rootPrefixCls,"-submenu-open")},$t.getVisible=function(){return $t.state.isOpen},$t.getMode=function(){return $t.state.mode},$t.saveMenuInstance=function(Ir){$t.menuInstance=Ir},$t.addKeyPath=function(Ir){return Object(a.a)(Object(a.a)({},Ir),{},{keyPath:(Ir.keyPath||[]).concat($t.props.eventKey)})},$t.triggerOpenChange=function(Ir,Rr){var ar=$t.props.eventKey,Tr=function(){$t.onOpenChange({key:ar,item:Object(H.a)($t),trigger:Rr,open:Ir})};Rr==="mouseenter"?$t.mouseenterTimeout=setTimeout(function(){Tr()},0):Tr()},$t.isChildrenSelected=function(){var Ir={find:!1};return lt($t.props.children,$t.props.selectedKeys,Ir),Ir.find},$t.isInlineMode=function(){return $t.getMode()==="inline"},$t.adjustWidth=function(){if(!$t.subMenuTitle||!$t.menuInstance)return;var Ir=Mt.findDOMNode($t.menuInstance);if(Ir.offsetWidth>=$t.subMenuTitle.offsetWidth)return;Ir.style.minWidth="".concat($t.subMenuTitle.offsetWidth,"px")},$t.saveSubMenuTitle=function(Ir){$t.subMenuTitle=Ir},$t.getBaseProps=function(){var Ir=Object(H.a)($t),Rr=Ir.props,ar=$t.getMode();return{mode:ar==="horizontal"?"vertical":ar,visible:$t.getVisible(),level:Rr.level+1,inlineIndent:Rr.inlineIndent,focusable:!1,onClick:$t.onSubMenuClick,onSelect:$t.onSelect,onDeselect:$t.onDeselect,onDestroy:$t.onDestroy,selectedKeys:Rr.selectedKeys,eventKey:"".concat(Rr.eventKey,"-menu-"),openKeys:Rr.openKeys,motion:Rr.motion,onOpenChange:$t.onOpenChange,subMenuOpenDelay:Rr.subMenuOpenDelay,parentMenu:Object(H.a)($t),subMenuCloseDelay:Rr.subMenuCloseDelay,forceSubMenuRender:Rr.forceSubMenuRender,triggerSubMenuAction:Rr.triggerSubMenuAction,builtinPlacements:Rr.builtinPlacements,defaultActiveFirst:Rr.store.getState().defaultActiveFirst[pe(Rr.eventKey)],multiple:Rr.multiple,prefixCls:Rr.rootPrefixCls,id:$t.internalMenuId,manualRef:$t.saveMenuInstance,itemIcon:Rr.itemIcon,expandIcon:Rr.expandIcon,direction:Rr.direction}},$t.getMotion=function(Ir,Rr){var ar=Object(H.a)($t),Tr=ar.haveRendered,br=$t.props,fr=br.motion,zr=br.rootPrefixCls,wn=Object(a.a)(Object(a.a)({},fr),{},{leavedClassName:"".concat(zr,"-hidden"),removeOnLeave:!1,motionAppear:Tr||!Rr||Ir!=="inline"});return wn};var yr=tn.store,kr=tn.eventKey,gr=yr.getState(),Kr=gr.defaultActiveFirst;$t.isRootMenu=!1;var sn=!1;return Kr&&(sn=Kr[kr]),J(yr,kr,sn),$t.state={mode:tn.mode,isOpen:tn.isOpen},$t}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var $t=this,yr=this.props,kr=yr.mode,gr=yr.parentMenu,Kr=yr.manualRef,sn=yr.isOpen,Ir=function(){$t.setState({mode:kr,isOpen:sn})},Rr=sn!==this.state.isOpen,ar=kr!==this.state.mode;if((ar||Rr)&&(kt.a.cancel(this.updateStateRaf),ar?this.updateStateRaf=Object(kt.a)(Ir):Ir()),Kr&&Kr(this),kr!=="horizontal"||!(gr==null?void 0:gr.isRootMenu)||!sn)return;this.minWidthTimeout=setTimeout(function(){return $t.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var $t=this.props,yr=$t.onDestroy,kr=$t.eventKey;yr&&yr(kr),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),kt.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function($t,yr){var kr=this.getBaseProps();return g.createElement(vt,Object(P.a)({},kr,{id:this.internalMenuId,className:$t,style:yr}),this.props.children)}},{key:"renderChildren",value:function(){var $t=this,yr=this.getBaseProps(),kr=yr.mode,gr=yr.visible,Kr=yr.forceSubMenuRender,sn=yr.direction,Ir=this.getMotion(kr,gr);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||gr||Kr,!this.haveOpened)return g.createElement("div",null);var Rr=i()("".concat(yr.prefixCls,"-sub"),Object(p.a)({},"".concat(yr.prefixCls,"-rtl"),sn==="rtl"));return this.isInlineMode()?g.createElement(Tt.b,Object(P.a)({visible:yr.visible,forceRender:Kr},Ir),function(ar){var Tr=ar.className,br=ar.style,fr=i()(Rr,Tr);return $t.renderPopupMenu(fr,br)}):this.renderPopupMenu(Rr)}},{key:"render",value:function(){var $t,yr,kr,gr=Object(a.a)({},this.props),Kr=this.getVisible(),sn=this.getPrefixCls(),Ir=this.isInlineMode(),Rr=this.getMode(),ar=i()(sn,"".concat(sn,"-").concat(Rr),($t={},Object(p.a)($t,gr.className,!!gr.className),Object(p.a)($t,this.getOpenClassName(),Kr),Object(p.a)($t,this.getActiveClassName(),gr.active||Kr&&!Ir),Object(p.a)($t,this.getDisabledClassName(),gr.disabled),Object(p.a)($t,this.getSelectedClassName(),this.isChildrenSelected()),$t));this.internalMenuId||(gr.eventKey?this.internalMenuId="".concat(gr.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var Tr={},br={},fr={};gr.disabled||(Tr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},br={onClick:this.onTitleClick},fr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var zr={},wn=gr.direction,On=wn==="rtl";Ir&&(On?zr.paddingRight=gr.inlineIndent*gr.level:zr.paddingLeft=gr.inlineIndent*gr.level);var Wn={};this.getVisible()&&(Wn={"aria-owns":this.internalMenuId});var Xn=null;Rr!=="horizontal"&&(Xn=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Xn=g.createElement(this.props.expandIcon,Object(a.a)({},this.props))));var ii=g.createElement("div",Object(P.a)({ref:this.saveSubMenuTitle,style:zr,className:"".concat(sn,"-title"),role:"button"},fr,br,{"aria-expanded":Kr},Wn,{"aria-haspopup":"true",title:typeof gr.title=="string"?gr.title:void 0}),gr.title,Xn||g.createElement("i",{className:"".concat(sn,"-arrow")})),li=this.renderChildren(),bi=((yr=gr.parentMenu)===null||yr===void 0?void 0:yr.isRootMenu)?gr.parentMenu.props.getPopupContainer:function(Za){return Za.parentNode},gi=Be[Rr],Ni=gr.popupOffset?{offset:gr.popupOffset}:{},ki=i()((kr={},Object(p.a)(kr,gr.popupClassName,gr.popupClassName&&!Ir),Object(p.a)(kr,"".concat(sn,"-rtl"),On),kr)),sa=gr.disabled,Wi=gr.triggerSubMenuAction,Ta=gr.subMenuOpenDelay,La=gr.forceSubMenuRender,ta=gr.subMenuCloseDelay,Ka=gr.builtinPlacements;At.forEach(function(Za){return delete gr[Za]}),delete gr.onClick;var ni=On?Object(a.a)(Object(a.a)({},G),Ka):Object(a.a)(Object(a.a)({},Ue),Ka);delete gr.direction;var zi=this.getBaseProps(),Va=Ir?null:this.getMotion(zi.mode,zi.visible);return g.createElement("li",Object(P.a)({},gr,Tr,{className:ar,role:"menuitem"}),g.createElement(jt.a,{prefixCls:sn,popupClassName:i()("".concat(sn,"-popup"),ki),getPopupContainer:bi,builtinPlacements:ni,popupPlacement:gi,popupVisible:Ir?!1:Kr,popupAlign:Ni,popup:Ir?null:li,action:sa||Ir?[]:[Wi],mouseEnterDelay:Ta,mouseLeaveDelay:ta,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:La,popupMotion:Va},ii),Ir?li:null)}}]),Ln}(g.Component);St.defaultProps={onMouseEnter:ne,onMouseLeave:ne,onTitleMouseEnter:ne,onTitleMouseLeave:ne,onTitleClick:ne,manualRef:ne,mode:"vertical",title:""};var bt=Object(W.b)(function(Xr,pn){var Ln=Xr.openKeys,tn=Xr.activeKey,$t=Xr.selectedKeys,yr=pn.eventKey,kr=pn.subMenuKey;return{isOpen:Ln.indexOf(yr)>-1,active:tn[kr]===yr,selectedKeys:$t}})(St);bt.isSubMenu=!0;var nt=bt,Rt="menuitem-overflowed",zt=.5,Fr=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(){var tn;return Object(u.a)(this,Ln),tn=pn.apply(this,arguments),tn.resizeObserver=null,tn.mutationObserver=null,tn.originalTotalWidth=0,tn.overflowedItems=[],tn.menuItemSizes=[],tn.cancelFrameId=null,tn.state={lastVisibleIndex:void 0},tn.childRef=g.createRef(),tn.getMenuItemNodes=function(){var $t=tn.props.prefixCls,yr=tn.childRef.current;return yr?[].slice.call(yr.children).filter(function(kr){return kr.className.split(" ").indexOf("".concat($t,"-overflowed-submenu"))<0}):[]},tn.getOverflowedSubMenuItem=function($t,yr,kr){var gr=tn.props,Kr=gr.overflowedIndicator,sn=gr.level,Ir=gr.mode,Rr=gr.prefixCls,ar=gr.theme;if(sn!==1||Ir!=="horizontal")return null;var Tr=tn.props.children[0],br=Tr.props,fr=br.children,zr=br.title,wn=br.style,On=Object(s.a)(br,["children","title","style"]),Wn=Object(a.a)({},wn),Xn="".concat($t,"-overflowed-indicator"),ii="".concat($t,"-overflowed-indicator");yr.length===0&&kr!==!0?Wn=Object(a.a)(Object(a.a)({},Wn),{},{display:"none"}):kr&&(Wn=Object(a.a)(Object(a.a)({},Wn),{},{visibility:"hidden",position:"absolute"}),Xn="".concat(Xn,"-placeholder"),ii="".concat(ii,"-placeholder"));var li=ar?"".concat(Rr,"-").concat(ar):"",bi={};return At.forEach(function(gi){On[gi]!==void 0&&(bi[gi]=On[gi])}),g.createElement(nt,Object(P.a)({title:Kr,className:"".concat(Rr,"-overflowed-submenu"),popupClassName:li},bi,{key:Xn,eventKey:ii,disabled:!1,style:Wn}),yr)},tn.setChildrenWidthAndResize=function(){if(tn.props.mode!=="horizontal")return;var $t=tn.childRef.current;if(!$t)return;var yr=$t.children;if(!yr||yr.length===0)return;var kr=$t.children[yr.length-1];Ht(kr,"display","inline-block");var gr=tn.getMenuItemNodes(),Kr=gr.filter(function(sn){return sn.className.split(" ").indexOf(Rt)>=0});Kr.forEach(function(sn){Ht(sn,"display","inline-block")}),tn.menuItemSizes=gr.map(function(sn){return Me(sn,!0)}),Kr.forEach(function(sn){Ht(sn,"display","none")}),tn.overflowedIndicatorWidth=Me($t.children[$t.children.length-1],!0),tn.originalTotalWidth=tn.menuItemSizes.reduce(function(sn,Ir){return sn+Ir},0),tn.handleResize(),Ht(kr,"display","none")},tn.handleResize=function(){if(tn.props.mode!=="horizontal")return;var $t=tn.childRef.current;if(!$t)return;var yr=Me($t);tn.overflowedItems=[];var kr=0,gr;tn.originalTotalWidth>yr+zt&&(gr=-1,tn.menuItemSizes.forEach(function(Kr){kr+=Kr,kr+tn.overflowedIndicatorWidth<=yr&&(gr+=1)})),tn.setState({lastVisibleIndex:gr})},tn}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){var $t=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var yr=this.childRef.current;if(!yr)return;this.resizeObserver=new O.default(function(kr){kr.forEach(function(){var gr=$t.cancelFrameId;cancelAnimationFrame(gr),$t.cancelFrameId=requestAnimationFrame($t.setChildrenWidthAndResize)})}),[].slice.call(yr.children).concat(yr).forEach(function(kr){$t.resizeObserver.observe(kr)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){$t.resizeObserver.disconnect(),[].slice.call(yr.children).concat(yr).forEach(function(kr){$t.resizeObserver.observe(kr)}),$t.setChildrenWidthAndResize()}),this.mutationObserver.observe(yr,{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($t){var yr=this,kr=this.state.lastVisibleIndex;return($t||[]).reduce(function(gr,Kr,sn){var Ir=Kr;if(yr.props.mode==="horizontal"){var Rr=yr.getOverflowedSubMenuItem(Kr.props.eventKey,[]);kr!==void 0&&yr.props.className.indexOf("".concat(yr.props.prefixCls,"-root"))!==-1&&(sn>kr&&(Ir=g.cloneElement(Kr,{style:{display:"none"},eventKey:"".concat(Kr.props.eventKey,"-hidden"),className:"".concat(Rt)})),sn===kr+1&&(yr.overflowedItems=$t.slice(kr+1).map(function(Tr){return g.cloneElement(Tr,{key:Tr.props.eventKey,mode:"vertical-left"})}),Rr=yr.getOverflowedSubMenuItem(Kr.props.eventKey,yr.overflowedItems)));var ar=[].concat(Object(l.a)(gr),[Rr,Ir]);return sn===$t.length-1&&ar.push(yr.getOverflowedSubMenuItem(Kr.props.eventKey,[],!0)),ar}return[].concat(Object(l.a)(gr),[Ir])},[])}},{key:"render",value:function(){var $t=this.props,yr=$t.visible,kr=$t.prefixCls,gr=$t.overflowedIndicator,Kr=$t.mode,sn=$t.level,Ir=$t.tag,Rr=$t.children,ar=$t.theme,Tr=Object(s.a)($t,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),br=Ir;return g.createElement(br,Object(P.a)({ref:this.childRef},Tr),this.renderChildren(Rr))}}]),Ln}(g.Component);Fr.defaultProps={tag:"div",className:""};var Jt=Fr;function ge(Xr){return Xr.length?Xr.every(function(pn){return!!pn.props.disabled}):!0}function ye(Xr,pn,Ln){var tn=Xr.getState();Xr.setState({activeKey:Object(a.a)(Object(a.a)({},tn.activeKey),{},Object(p.a)({},pn,Ln))})}function Le(Xr){return Xr.eventKey||"0-menu-"}function we(Xr,pn){var Ln=pn,tn=Xr.children,$t=Xr.eventKey;if(Ln){var yr;if(Xe(tn,function(kr,gr){kr&&kr.props&&!kr.props.disabled&&Ln===he(kr,$t,gr)&&(yr=!0)}),yr)return Ln}return Ln=null,Xr.defaultActiveFirst&&Xe(tn,function(kr,gr){!Ln&&kr&&!kr.props.disabled&&(Ln=he(kr,$t,gr))}),Ln}function Ke(Xr){if(!Xr)return;var pn=this.instanceArray.indexOf(Xr);pn!==-1?this.instanceArray[pn]=Xr:this.instanceArray.push(Xr)}var Je=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(tn){var $t;return Object(u.a)(this,Ln),$t=pn.call(this,tn),$t.onKeyDown=function(yr,kr){var gr=yr.keyCode,Kr;if($t.getFlatInstanceArray().forEach(function(Ir){Ir&&Ir.props.active&&Ir.onKeyDown&&(Kr=Ir.onKeyDown(yr))}),Kr)return 1;var sn=null;return(gr===k.a.UP||gr===k.a.DOWN)&&(sn=$t.step(gr===k.a.UP?-1:1)),sn?(yr.preventDefault(),ye($t.props.store,Le($t.props),sn.props.eventKey),typeof kr=="function"&&kr(sn),1):void 0},$t.onItemHover=function(yr){var kr=yr.key,gr=yr.hover;ye($t.props.store,Le($t.props),gr?kr:null)},$t.onDeselect=function(yr){$t.props.onDeselect(yr)},$t.onSelect=function(yr){$t.props.onSelect(yr)},$t.onClick=function(yr){$t.props.onClick(yr)},$t.onOpenChange=function(yr){$t.props.onOpenChange(yr)},$t.onDestroy=function(yr){$t.props.onDestroy(yr)},$t.getFlatInstanceArray=function(){return $t.instanceArray},$t.step=function(yr){var kr=$t.getFlatInstanceArray(),gr=$t.props.store.getState().activeKey[Le($t.props)],Kr=kr.length;if(!Kr)return null;yr<0&&(kr=kr.concat().reverse());var sn=-1;if(kr.every(function(Tr,br){return Tr&&Tr.props.eventKey===gr?(sn=br,!1):!0}),!$t.props.defaultActiveFirst&&sn!==-1&&ge(kr.slice(sn,Kr-1)))return;var Ir=(sn+1)%Kr,Rr=Ir;do{var ar=kr[Rr];if(!ar||ar.props.disabled)Rr=(Rr+1)%Kr;else return ar}while(Rr!==Ir);return null},$t.renderCommonMenuItem=function(yr,kr,gr){var Kr=$t.props.store.getState(),sn=Object(H.a)($t),Ir=sn.props,Rr=he(yr,Ir.eventKey,kr),ar=yr.props;if(!ar||typeof yr.type=="string")return yr;var Tr=Rr===Kr.activeKey,br=Object(a.a)(Object(a.a)({mode:ar.mode||Ir.mode,level:Ir.level,inlineIndent:Ir.inlineIndent,renderMenuItem:$t.renderMenuItem,rootPrefixCls:Ir.prefixCls,index:kr,parentMenu:Ir.parentMenu,manualRef:ar.disabled?void 0:Object(K.a)(yr.ref,Ke.bind(Object(H.a)($t))),eventKey:Rr,active:!ar.disabled&&Tr,multiple:Ir.multiple,onClick:function(zr){(ar.onClick||ne)(zr),$t.onClick(zr)},onItemHover:$t.onItemHover,motion:Ir.motion,subMenuOpenDelay:Ir.subMenuOpenDelay,subMenuCloseDelay:Ir.subMenuCloseDelay,forceSubMenuRender:Ir.forceSubMenuRender,onOpenChange:$t.onOpenChange,onDeselect:$t.onDeselect,onSelect:$t.onSelect,builtinPlacements:Ir.builtinPlacements,itemIcon:ar.itemIcon||$t.props.itemIcon,expandIcon:ar.expandIcon||$t.props.expandIcon},gr),{},{direction:Ir.direction});return(Ir.mode==="inline"||tt())&&(br.triggerSubMenuAction="click"),g.cloneElement(yr,Object(a.a)(Object(a.a)({},br),{},{key:Rr||kr}))},$t.renderMenuItem=function(yr,kr,gr){if(!yr)return null;var Kr=$t.props.store.getState(),sn={openKeys:Kr.openKeys,selectedKeys:Kr.selectedKeys,triggerSubMenuAction:$t.props.triggerSubMenuAction,subMenuKey:gr};return $t.renderCommonMenuItem(yr,kr,sn)},tn.store.setState({activeKey:Object(a.a)(Object(a.a)({},tn.store.getState().activeKey),{},Object(p.a)({},tn.eventKey,we(tn,tn.activeKey)))}),$t.instanceArray=[],$t}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function($t){return this.props.visible||$t.visible||this.props.className!==$t.className||!ie()(this.props.style,$t.style)}},{key:"componentDidUpdate",value:function($t){var yr=this.props,kr="activeKey"in yr?yr.activeKey:yr.store.getState().activeKey[Le(yr)],gr=we(yr,kr);if(gr!==kr)ye(yr.store,Le(yr),gr);else if("activeKey"in $t){var Kr=we($t,$t.activeKey);gr!==Kr&&ye(yr.store,Le(yr),gr)}}},{key:"render",value:function(){var $t=this,yr=Object(P.a)({},this.props);this.instanceArray=[];var kr=i()(yr.prefixCls,yr.className,"".concat(yr.prefixCls,"-").concat(yr.mode)),gr={className:kr,role:yr.role||"menu"};yr.id&&(gr.id=yr.id),yr.focusable&&(gr.tabIndex=0,gr.onKeyDown=this.onKeyDown);var Kr=yr.prefixCls,sn=yr.eventKey,Ir=yr.visible,Rr=yr.level,ar=yr.mode,Tr=yr.overflowedIndicator,br=yr.theme;return At.forEach(function(fr){return delete yr[fr]}),delete yr.onClick,g.createElement(Jt,Object(P.a)({},yr,{prefixCls:Kr,mode:ar,tag:"ul",level:Rr,theme:br,visible:Ir,overflowedIndicator:Tr},gr),Object(d.a)(yr.children).map(function(fr,zr){return $t.renderMenuItem(fr,zr,sn||"0-menu-")}))}}]),Ln}(g.Component);Je.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ne};var ut=Object(W.b)()(Je),vt=ut;function _t(Xr,pn,Ln){var tn=Xr.prefixCls,$t=Xr.motion,yr=Xr.defaultMotions,kr=yr===void 0?{}:yr,gr=Xr.openAnimation,Kr=Xr.openTransitionName,sn=pn.switchingModeFromInline;if($t)return $t;if(Object(be.a)(gr)==="object"&&gr)Object(v.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof gr=="string")return{motionName:"".concat(tn,"-open-").concat(gr)};if(Kr)return{motionName:Kr};var Ir=kr[Ln];return Ir||(sn?null:kr.other)}var Ut=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(tn){var $t;Object(u.a)(this,Ln),$t=pn.call(this,tn),$t.onSelect=function(gr){var Kr=Object(H.a)($t),sn=Kr.props;if(sn.selectable){var Ir=$t.store.getState(),Rr=Ir.selectedKeys,ar=gr.key;sn.multiple?Rr=Rr.concat([ar]):Rr=[ar],"selectedKeys"in sn||$t.store.setState({selectedKeys:Rr}),sn.onSelect(Object(a.a)(Object(a.a)({},gr),{},{selectedKeys:Rr}))}},$t.onClick=function(gr){var Kr=$t.getRealMenuMode(),sn=Object(H.a)($t),Ir=sn.store,Rr=sn.props.onOpenChange;Kr!=="inline"&&!("openKeys"in $t.props)&&(Ir.setState({openKeys:[]}),Rr([])),$t.props.onClick(gr)},$t.onKeyDown=function(gr,Kr){$t.innerMenu.getWrappedInstance().onKeyDown(gr,Kr)},$t.onOpenChange=function(gr){var Kr=Object(H.a)($t),sn=Kr.props,Ir=$t.store.getState().openKeys.concat(),Rr=!1,ar=function(br){var fr=!1;if(br.open)fr=Ir.indexOf(br.key)===-1,fr&&Ir.push(br.key);else{var zr=Ir.indexOf(br.key);fr=zr!==-1,fr&&Ir.splice(zr,1)}Rr=Rr||fr};Array.isArray(gr)?gr.forEach(ar):ar(gr),Rr&&("openKeys"in $t.props||$t.store.setState({openKeys:Ir}),sn.onOpenChange(Ir))},$t.onDeselect=function(gr){var Kr=Object(H.a)($t),sn=Kr.props;if(sn.selectable){var Ir=$t.store.getState().selectedKeys.concat(),Rr=gr.key,ar=Ir.indexOf(Rr);ar!==-1&&Ir.splice(ar,1),"selectedKeys"in sn||$t.store.setState({selectedKeys:Ir}),sn.onDeselect(Object(a.a)(Object(a.a)({},gr),{},{selectedKeys:Ir}))}},$t.onMouseEnter=function(gr){$t.restoreModeVerticalFromInline();var Kr=$t.props.onMouseEnter;Kr&&Kr(gr)},$t.onTransitionEnd=function(gr){var Kr=gr.propertyName==="width"&&gr.target===gr.currentTarget,sn=gr.target.className,Ir=Object.prototype.toString.call(sn)==="[object SVGAnimatedString]"?sn.animVal:sn,Rr=gr.propertyName==="font-size"&&Ir.indexOf("anticon")>=0;(Kr||Rr)&&$t.restoreModeVerticalFromInline()},$t.setInnerMenu=function(gr){$t.innerMenu=gr},$t.isRootMenu=!0;var yr=tn.defaultSelectedKeys,kr=tn.defaultOpenKeys;return"selectedKeys"in tn&&(yr=tn.selectedKeys||[]),"openKeys"in tn&&(kr=tn.openKeys||[]),$t.store=Object(W.c)({selectedKeys:yr,openKeys:kr,activeKey:{"0-menu-":we(tn,tn.activeKey)}}),$t.state={switchingModeFromInline:!1,prevProps:tn,inlineOpenKeys:[],store:$t.store},$t}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function($t){var yr=this.props,kr=yr.siderCollapsed,gr=yr.inlineCollapsed,Kr=yr.onOpenChange;(!$t.inlineCollapsed&&gr||!$t.siderCollapsed&&kr)&&Kr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var $t=this.props.collapsedWidth,yr=this.store,kr=this.prevOpenKeys,gr=this.getInlineCollapsed()&&($t===0||$t==="0"||$t==="0px");gr?(this.prevOpenKeys=yr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):kr&&(this.store.setState({openKeys:kr}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var $t=this.props.mode,yr=this.state.switchingModeFromInline,kr=this.getInlineCollapsed();return yr&&kr?"inline":kr?"vertical":$t}},{key:"getInlineCollapsed",value:function(){var $t=this.props,yr=$t.inlineCollapsed,kr=$t.siderCollapsed;return kr!==void 0?kr:yr}},{key:"restoreModeVerticalFromInline",value:function(){var $t=this.state.switchingModeFromInline;$t&&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 $t=Object(a.a)({},Object(X.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),yr=this.getRealMenuMode();return $t.className+=" ".concat($t.prefixCls,"-root"),$t.direction==="rtl"&&($t.className+=" ".concat($t.prefixCls,"-rtl")),$t=Object(a.a)(Object(a.a)({},$t),{},{mode:yr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:_t(this.props,this.state,yr)}),delete $t.openAnimation,delete $t.openTransitionName,g.createElement(W.a,{store:this.store},g.createElement(vt,Object(P.a)({},$t,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function($t,yr){var kr=yr.prevProps,gr=yr.store,Kr=gr.getState(),sn={},Ir={prevProps:$t};return kr.mode==="inline"&&$t.mode!=="inline"&&(Ir.switchingModeFromInline=!0),"openKeys"in $t?sn.openKeys=$t.openKeys||[]:(($t.inlineCollapsed&&!kr.inlineCollapsed||$t.siderCollapsed&&!kr.siderCollapsed)&&(Ir.switchingModeFromInline=!0,Ir.inlineOpenKeys=Kr.openKeys,sn.openKeys=[]),(!$t.inlineCollapsed&&kr.inlineCollapsed||!$t.siderCollapsed&&kr.siderCollapsed)&&(sn.openKeys=yr.inlineOpenKeys,Ir.inlineOpenKeys=[])),Object.keys(sn).length&&gr.setState(sn),Ir}}]),Ln}(g.Component);Ut.defaultProps={selectable:!0,onClick:ne,onSelect:ne,onOpenChange:ne,onDeselect:ne,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:g.createElement("span",null,"\xB7\xB7\xB7")};var Bt=Ut,dr=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(){var tn;return Object(u.a)(this,Ln),tn=pn.apply(this,arguments),tn.onKeyDown=function($t){var yr=$t.keyCode;return yr===k.a.ENTER?(tn.onClick($t),!0):void 0},tn.onMouseLeave=function($t){var yr=tn.props,kr=yr.eventKey,gr=yr.onItemHover,Kr=yr.onMouseLeave;gr({key:kr,hover:!1}),Kr({key:kr,domEvent:$t})},tn.onMouseEnter=function($t){var yr=tn.props,kr=yr.eventKey,gr=yr.onItemHover,Kr=yr.onMouseEnter;gr({key:kr,hover:!0}),Kr({key:kr,domEvent:$t})},tn.onClick=function($t){var yr=tn.props,kr=yr.eventKey,gr=yr.multiple,Kr=yr.onClick,sn=yr.onSelect,Ir=yr.onDeselect,Rr=yr.isSelected,ar={key:kr,keyPath:[kr],item:Object(H.a)(tn),domEvent:$t};Kr(ar),gr?Rr?Ir(ar):sn(ar):Rr||sn(ar)},tn.saveNode=function($t){tn.node=$t},tn}return Object(h.a)(Ln,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var $t=this.props;$t.onDestroy&&$t.onDestroy($t.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 $t,yr=Object(a.a)({},this.props),kr=i()(this.getPrefixCls(),yr.className,($t={},Object(p.a)($t,this.getActiveClassName(),!yr.disabled&&yr.active),Object(p.a)($t,this.getSelectedClassName(),yr.isSelected),Object(p.a)($t,this.getDisabledClassName(),yr.disabled),$t)),gr=Object(a.a)(Object(a.a)({},yr.attribute),{},{title:typeof yr.title=="string"?yr.title:void 0,className:kr,role:yr.role||"menuitem","aria-disabled":yr.disabled});yr.role==="option"?gr=Object(a.a)(Object(a.a)({},gr),{},{role:"option","aria-selected":yr.isSelected}):(yr.role===null||yr.role==="none")&&(gr.role="none");var Kr={onClick:yr.disabled?null:this.onClick,onMouseLeave:yr.disabled?null:this.onMouseLeave,onMouseEnter:yr.disabled?null:this.onMouseEnter},sn=Object(a.a)({},yr.style);yr.mode==="inline"&&(yr.direction==="rtl"?sn.paddingRight=yr.inlineIndent*yr.level:sn.paddingLeft=yr.inlineIndent*yr.level),At.forEach(function(Rr){return delete yr[Rr]}),delete yr.direction;var Ir=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ir=g.createElement(this.props.itemIcon,this.props)),g.createElement("li",Object(P.a)({},Object(X.a)(yr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),gr,Kr,{style:sn,ref:this.saveNode}),yr.children,Ir)}}]),Ln}(g.Component);dr.isMenuItem=!0,dr.defaultProps={onSelect:ne,onMouseEnter:ne,onMouseLeave:ne,manualRef:ne};var Oe=Object(W.b)(function(Xr,pn){var Ln=Xr.activeKey,tn=Xr.selectedKeys,$t=pn.eventKey,yr=pn.subMenuKey;return{active:Ln[yr]===$t,isSelected:Array.isArray(tn)?tn.indexOf($t)!==-1:tn===$t}})(dr),xe=Oe,V=function(Xr){Object(y.a)(Ln,Xr);var pn=Object(b.a)(Ln);function Ln(){var tn;return Object(u.a)(this,Ln),tn=pn.apply(this,arguments),tn.renderInnerMenuItem=function($t){var yr=tn.props,kr=yr.renderMenuItem,gr=yr.index;return kr($t,gr,tn.props.subMenuKey)},tn}return Object(h.a)(Ln,[{key:"render",value:function(){var $t=Object(P.a)({},this.props),yr=$t.className,kr=yr===void 0?"":yr,gr=$t.rootPrefixCls,Kr="".concat(gr,"-item-group-title"),sn="".concat(gr,"-item-group-list"),Ir=$t.title,Rr=$t.children;return At.forEach(function(ar){return delete $t[ar]}),delete $t.direction,g.createElement("li",Object(P.a)({},$t,{onClick:function(Tr){return Tr.stopPropagation()},className:"".concat(kr," ").concat(gr,"-item-group")}),g.createElement("div",{className:Kr,title:typeof Ir=="string"?Ir:void 0},Ir),g.createElement("ul",{className:sn},g.Children.map(Rr,this.renderInnerMenuItem)))}}]),Ln}(g.Component);V.isMenuItemGroup=!0,V.defaultProps={disabled:!0};var q=V,ue=function(pn){var Ln=pn.className,tn=pn.rootPrefixCls,$t=pn.style;return g.createElement("li",{className:"".concat(Ln," ").concat(tn,"-item-divider"),style:$t})};ue.defaultProps={disabled:!0,className:"",style:{}};var me=ue,Ee=Bt,Ge={adjustX:1,adjustY:1},dt=[0,0],Kt={topLeft:{points:["bl","tl"],overflow:Ge,offset:[0,-4],targetOffset:dt},topCenter:{points:["bc","tc"],overflow:Ge,offset:[0,-4],targetOffset:dt},topRight:{points:["br","tr"],overflow:Ge,offset:[0,-4],targetOffset:dt},bottomLeft:{points:["tl","bl"],overflow:Ge,offset:[0,4],targetOffset:dt},bottomCenter:{points:["tc","bc"],overflow:Ge,offset:[0,4],targetOffset:dt},bottomRight:{points:["tr","br"],overflow:Ge,offset:[0,4],targetOffset:dt}},tr=Kt;function wt(Xr,pn){var Ln=Xr.arrow,tn=Ln===void 0?!1:Ln,$t=Xr.prefixCls,yr=$t===void 0?"rc-dropdown":$t,kr=Xr.transitionName,gr=Xr.animation,Kr=Xr.align,sn=Xr.placement,Ir=sn===void 0?"bottomLeft":sn,Rr=Xr.placements,ar=Rr===void 0?tr:Rr,Tr=Xr.getPopupContainer,br=Xr.showAction,fr=Xr.hideAction,zr=Xr.overlayClassName,wn=Xr.overlayStyle,On=Xr.visible,Wn=Xr.trigger,Xn=Wn===void 0?["hover"]:Wn,ii=Object(s.a)(Xr,["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"]),li=g.useState(),bi=Object(c.a)(li,2),gi=bi[0],Ni=bi[1],ki="visible"in Xr?On:gi,sa=g.useRef(null);g.useImperativeHandle(pn,function(){return sa.current});var Wi=function(){var ma=Xr.overlay,xr;return typeof ma=="function"?xr=ma():xr=ma,xr},Ta=function(ma){var xr=Xr.onOverlayClick,nr=Wi().props;Ni(!1),xr&&xr(ma),nr.onClick&&nr.onClick(ma)},La=function(ma){var xr=Xr.onVisibleChange;Ni(ma),typeof xr=="function"&&xr(ma)},ta=function(){var ma=Wi(),xr={prefixCls:"".concat(yr,"-menu"),onClick:Ta};return typeof ma.type=="string"&&delete xr.prefixCls,g.createElement(g.Fragment,null,tn&&g.createElement("div",{className:"".concat(yr,"-arrow")}),g.cloneElement(ma,xr))},Ka=function(){var ma=Xr.overlay;return typeof ma=="function"?ta:ta()},ni=function(){var ma=Xr.minOverlayWidthMatchTrigger,xr=Xr.alignPoint;return"minOverlayWidthMatchTrigger"in Xr?ma:!xr},zi=function(){var ma=Xr.openClassName;return ma!==void 0?ma:"".concat(yr,"-open")},Va=function(){var ma=Xr.children,xr=ma.props?ma.props:{},nr=i()(xr.className,zi());return gi&&ma?g.cloneElement(ma,{className:nr}):ma},Za=fr;return!Za&&Xn.indexOf("contextMenu")!==-1&&(Za=["click"]),g.createElement(jt.a,Object.assign({},ii,{prefixCls:yr,ref:sa,popupClassName:i()(zr,Object(p.a)({},"".concat(yr,"-show-arrow"),tn)),popupStyle:wn,builtinPlacements:ar,action:Xn,showAction:br,hideAction:Za||[],popupPlacement:Ir,popupAlign:Kr,popupTransitionName:kr,popupAnimation:gr,popupVisible:ki,stretch:ni()?"minWidth":"",popup:Ka(),onPopupVisibleChange:La,getPopupContainer:Tr}),Va())}var It=g.forwardRef(wt),Lt=It;function Nt(Xr,pn){var Ln=Xr.prefixCls,tn=Xr.editable,$t=Xr.locale,yr=Xr.style;return!tn||tn.showAdd===!1?null:g.createElement("button",{ref:pn,type:"button",className:"".concat(Ln,"-nav-add"),style:yr,"aria-label":($t==null?void 0:$t.addAriaLabel)||"Add tab",onClick:function(gr){tn.onEdit("add",{event:gr})}},tn.addIcon||"+")}var $e=g.forwardRef(Nt);function ot(Xr,pn){var Ln=Xr.prefixCls,tn=Xr.id,$t=Xr.tabs,yr=Xr.locale,kr=Xr.mobile,gr=Xr.moreIcon,Kr=gr===void 0?"More":gr,sn=Xr.moreTransitionName,Ir=Xr.style,Rr=Xr.className,ar=Xr.editable,Tr=Xr.tabBarGutter,br=Xr.rtl,fr=Xr.onTabClick,zr=Object(g.useState)(!1),wn=Object(c.a)(zr,2),On=wn[0],Wn=wn[1],Xn=Object(g.useState)(null),ii=Object(c.a)(Xn,2),li=ii[0],bi=ii[1],gi="".concat(tn,"-more-popup"),Ni="".concat(Ln,"-dropdown"),ki=li!==null?"".concat(gi,"-").concat(li):null,sa=yr==null?void 0:yr.dropdownAriaLabel,Wi=g.createElement(Ee,{onClick:function(Va){var Za=Va.key,Oa=Va.domEvent;fr(Za,Oa),Wn(!1)},id:gi,tabIndex:-1,role:"listbox","aria-activedescendant":ki,selectedKeys:[li],"aria-label":sa!==void 0?sa:"expanded dropdown"},$t.map(function(zi){return g.createElement(xe,{key:zi.key,id:"".concat(gi,"-").concat(zi.key),role:"option","aria-controls":tn&&"".concat(tn,"-panel-").concat(zi.key),disabled:zi.disabled},zi.tab)}));function Ta(zi){for(var Va=$t.filter(function(nr){return!nr.disabled}),Za=Va.findIndex(function(nr){return nr.key===li})||0,Oa=Va.length,ma=0;ma<Oa;ma+=1){Za=(Za+zi+Oa)%Oa;var xr=Va[Za];if(!xr.disabled){bi(xr.key);return}}}function La(zi){var Va=zi.which;if(!On){[k.a.DOWN,k.a.SPACE,k.a.ENTER].includes(Va)&&(Wn(!0),zi.preventDefault());return}switch(Va){case k.a.UP:Ta(-1),zi.preventDefault();break;case k.a.DOWN:Ta(1),zi.preventDefault();break;case k.a.ESC:Wn(!1);break;case k.a.SPACE:case k.a.ENTER:li!==null&&fr(li,zi);break}}Object(g.useEffect)(function(){var zi=document.getElementById(ki);zi&&zi.scrollIntoView&&zi.scrollIntoView(!1)},[li]),Object(g.useEffect)(function(){On||bi(null)},[On]);var ta=Object(p.a)({},br?"marginLeft":"marginRight",Tr);$t.length||(ta.visibility="hidden",ta.order=1);var Ka=i()(Object(p.a)({},"".concat(Ni,"-rtl"),br)),ni=kr?null:g.createElement(Lt,{prefixCls:Ni,overlay:Wi,trigger:["hover"],visible:On,transitionName:sn,onVisibleChange:Wn,overlayClassName:Ka,mouseEnterDelay:.1,mouseLeaveDelay:.1},g.createElement("button",{type:"button",className:"".concat(Ln,"-nav-more"),style:ta,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":gi,id:"".concat(tn,"-more"),"aria-expanded":On,onKeyDown:La},Kr));return g.createElement("div",{className:i()("".concat(Ln,"-nav-operations"),Rr),style:Ir,ref:pn},ni,g.createElement($e,{prefixCls:Ln,locale:yr,editable:ar}))}var ft=g.forwardRef(ot),ze=Object(g.createContext)(null),Ye=.1,qe=.01,rt=20,ct=Math.pow(.995,rt);function st(){var Xr=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(Xr)||/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(Xr.substr(0,4)))}function et(Xr,pn){var Ln=Object(g.useState)(),tn=Object(c.a)(Ln,2),$t=tn[0],yr=tn[1],kr=Object(g.useState)(0),gr=Object(c.a)(kr,2),Kr=gr[0],sn=gr[1],Ir=Object(g.useState)(0),Rr=Object(c.a)(Ir,2),ar=Rr[0],Tr=Rr[1],br=Object(g.useState)(),fr=Object(c.a)(br,2),zr=fr[0],wn=fr[1],On=Object(g.useRef)();function Wn(sa){var Wi=sa.touches[0],Ta=Wi.screenX,La=Wi.screenY;yr({x:Ta,y:La}),window.clearInterval(On.current)}function Xn(sa){if(!$t)return;sa.preventDefault();var Wi=sa.touches[0],Ta=Wi.screenX,La=Wi.screenY;yr({x:Ta,y:La});var ta=Ta-$t.x,Ka=La-$t.y;pn(ta,Ka);var ni=Date.now();sn(ni),Tr(ni-Kr),wn({x:ta,y:Ka})}function ii(){if(!$t)return;if(yr(null),wn(null),zr){var sa=zr.x/ar,Wi=zr.y/ar,Ta=Math.abs(sa),La=Math.abs(Wi);if(Math.max(Ta,La)<Ye)return;var ta=sa,Ka=Wi;On.current=window.setInterval(function(){if(Math.abs(ta)<qe&&Math.abs(Ka)<qe){window.clearInterval(On.current);return}ta*=ct,Ka*=ct,pn(ta*rt,Ka*rt)},rt)}}var li=Object(g.useRef)(0),bi=Object(g.useRef)(!1),gi=Object(g.useRef)();function Ni(sa){var Wi=sa.deltaX,Ta=sa.deltaY,La=0,ta=Math.abs(Wi),Ka=Math.abs(Ta);ta===Ka?La=gi.current==="x"?Wi:Ta:ta>Ka?(La=Wi,gi.current="x"):(La=Ta,gi.current="y");var ni=Date.now();ni-li.current>100&&(bi.current=!1),(pn(-La,-La)||bi.current)&&(sa.preventDefault(),bi.current=!0),li.current=ni}var ki=Object(g.useRef)(null);ki.current={onTouchStart:Wn,onTouchMove:Xn,onTouchEnd:ii,onWheel:Ni},g.useEffect(function(){function sa(ta){ki.current.onTouchStart(ta)}function Wi(ta){ki.current.onTouchMove(ta)}function Ta(ta){ki.current.onTouchEnd(ta)}function La(ta){ki.current.onWheel(ta)}return document.addEventListener("touchmove",Wi,{passive:!1}),document.addEventListener("touchend",Ta,{passive:!1}),Xr.current.addEventListener("touchstart",sa,{passive:!1}),Xr.current.addEventListener("wheel",La),function(){document.removeEventListener("touchmove",Wi),document.removeEventListener("touchend",Ta)}},[])}function Ft(){var Xr=Object(g.useRef)(new Map);function pn(tn){return Xr.current.has(tn)||Xr.current.set(tn,g.createRef()),Xr.current.get(tn)}function Ln(tn){Xr.current.delete(tn)}return[pn,Ln]}function Ct(Xr,pn){var Ln=g.useRef(Xr),tn=g.useState({}),$t=Object(c.a)(tn,2),yr=$t[1];function kr(gr){var Kr=typeof gr=="function"?gr(Ln.current):gr;Kr!==Ln.current&&pn(Kr,Ln.current),Ln.current=Kr,yr({})}return[Ln.current,kr]}var ir=function(pn){var Ln=pn.position,tn=pn.prefixCls,$t=pn.extra;if(!$t)return null;var yr,kr=$t;return Ln==="right"&&(yr=kr.right||!kr.left&&kr||null),Ln==="left"&&(yr=kr.left||null),yr?g.createElement("div",{className:"".concat(tn,"-extra-content")},yr):null};function Xt(Xr,pn){var Ln,tn=g.useContext(ze),$t=tn.prefixCls,yr=tn.tabs,kr=Xr.className,gr=Xr.style,Kr=Xr.id,sn=Xr.animated,Ir=Xr.activeKey,Rr=Xr.rtl,ar=Xr.extra,Tr=Xr.editable,br=Xr.locale,fr=Xr.tabPosition,zr=Xr.tabBarGutter,wn=Xr.children,On=Xr.onTabClick,Wn=Xr.onTabScroll,Xn=Object(g.useRef)(),ii=Object(g.useRef)(),li=Object(g.useRef)(),bi=Object(g.useRef)(),gi=Ft(),Ni=Object(c.a)(gi,2),ki=Ni[0],sa=Ni[1],Wi=fr==="top"||fr==="bottom",Ta=Ct(0,function(sr,dn){Wi&&Wn&&Wn({direction:sr>dn?"left":"right"})}),La=Object(c.a)(Ta,2),ta=La[0],Ka=La[1],ni=Ct(0,function(sr,dn){!Wi&&Wn&&Wn({direction:sr>dn?"top":"bottom"})}),zi=Object(c.a)(ni,2),Va=zi[0],Za=zi[1],Oa=Object(g.useState)(0),ma=Object(c.a)(Oa,2),xr=ma[0],nr=ma[1],ln=Object(g.useState)(0),er=Object(c.a)(ln,2),hr=er[0],Dr=er[1],Vr=Object(g.useState)(0),an=Object(c.a)(Vr,2),Ot=an[0],lr=an[1],vr=Object(g.useState)(0),Cr=Object(c.a)(vr,2),Hr=Cr[0],cn=Cr[1],Qr=Object(g.useState)(null),gt=Object(c.a)(Qr,2),Gt=gt[0],Sr=gt[1],Zr=Object(g.useState)(null),en=Object(c.a)(Zr,2),xn=en[0],kn=en[1],Zn=Object(g.useState)(0),ui=Object(c.a)(Zn,2),ti=ui[0],Qn=ui[1],$n=Object(g.useState)(0),Si=Object(c.a)($n,2),Ci=Si[0],vi=Si[1],xi=I(new Map),Ei=Object(c.a)(xi,2),di=Ei[0],pi=Ei[1],_i=z(yr,di,xr),Ri="".concat($t,"-nav-operations-hidden"),Vi=0,Ii=0;Wi?Rr?(Vi=0,Ii=Math.max(0,xr-Gt)):(Vi=Math.min(0,Gt-xr),Ii=0):(Vi=Math.min(0,xn-hr),Ii=0);function ba(sr){return sr<Vi?[Vi,!1]:sr>Ii?[Ii,!1]:[sr,!0]}var ga=Object(g.useRef)(),Aa=Object(g.useState)(),ha=Object(c.a)(Aa,2),vo=ha[0],la=ha[1];function Ba(){la(Date.now())}function pa(){window.clearTimeout(ga.current)}et(Xn,function(sr,dn){var wr=!1;function rn(Fn,Bn){Fn(function(Tn){var Kn=ba(Tn+Bn),Mn=Object(c.a)(Kn,2),Un=Mn[0],Vn=Mn[1];return wr=Vn,Un})}if(Wi){if(Gt>=xr)return wr;rn(Ka,sr)}else{if(xn>=hr)return wr;rn(Za,dn)}return pa(),Ba(),wr}),Object(g.useEffect)(function(){return pa(),vo&&(ga.current=window.setTimeout(function(){la(0)},100)),pa},[vo]);function to(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ir,dn=_i.get(sr);if(!dn)return;if(Wi){var wr=ta;Rr?dn.right<ta?wr=dn.right:dn.right+dn.width>ta+Gt&&(wr=dn.right+dn.width-Gt):dn.left<-ta?wr=-dn.left:dn.left+dn.width>-ta+Gt&&(wr=-(dn.left+dn.width-Gt)),Za(0),Ka(ba(wr)[0])}else{var rn=Va;dn.top<-Va?rn=-dn.top:dn.top+dn.height>-Va+xn&&(rn=-(dn.top+dn.height-xn)),Ka(0),Za(ba(rn)[0])}}var qa=U(_i,{width:Gt,height:xn,left:ta,top:Va},{width:Ot,height:Hr},{width:ti,height:Ci},Object(a.a)(Object(a.a)({},Xr),{},{tabs:yr})),Yi=Object(c.a)(qa,2),oo=Yi[0],Ya=Yi[1],wa=yr.map(function(sr){var dn=sr.key;return g.createElement(B,{id:Kr,prefixCls:$t,key:dn,rtl:Rr,tab:sr,closable:sr.closable,editable:Tr,active:dn===Ir,tabPosition:fr,tabBarGutter:zr,renderWrapper:wn,removeAriaLabel:br==null?void 0:br.removeAriaLabel,ref:ki(dn),onClick:function(rn){On(dn,rn)},onRemove:function(){sa(dn)},onFocus:function(){to(dn),Ba(),Rr||(Xn.current.scrollLeft=0),Xn.current.scrollTop=0}})}),$a=_(function(){var sr,dn,wr,rn,Fn,Bn,Tn,Kn,Mn,Un=((sr=Xn.current)===null||sr===void 0?void 0:sr.offsetWidth)||0,Vn=((dn=Xn.current)===null||dn===void 0?void 0:dn.offsetHeight)||0,si=((wr=bi.current)===null||wr===void 0?void 0:wr.offsetWidth)||0,Jn=((rn=bi.current)===null||rn===void 0?void 0:rn.offsetHeight)||0,Ai=((Fn=li.current)===null||Fn===void 0?void 0:Fn.offsetWidth)||0,Ji=((Bn=li.current)===null||Bn===void 0?void 0:Bn.offsetHeight)||0;Sr(Un),kn(Vn),Qn(si),vi(Jn);var Oi=(((Tn=ii.current)===null||Tn===void 0?void 0:Tn.offsetWidth)||0)-si,Mi=(((Kn=ii.current)===null||Kn===void 0?void 0:Kn.offsetHeight)||0)-Jn;nr(Oi),Dr(Mi);var Li=(Mn=li.current)===null||Mn===void 0?void 0:Mn.className.includes(Ri);lr(Oi-(Li?0:Ai)),cn(Mi-(Li?0:Ji)),pi(function(){var Ki=new Map;return yr.forEach(function(so){var Pa=so.key,Xi=ki(Pa).current;Xi&&Ki.set(Pa,{width:Xi.offsetWidth,height:Xi.offsetHeight,left:Xi.offsetLeft,top:Xi.offsetTop})}),Ki})}),Fi=yr.slice(0,oo),Sa=yr.slice(Ya+1),Ea=[].concat(Object(l.a)(Fi),Object(l.a)(Sa)),yo=Object(g.useState)(),_a=Object(c.a)(yo,2),Hi=_a[0],Xa=_a[1],Da=_i.get(Ir),va=Object(g.useRef)();function Di(){o.a.cancel(va.current)}Object(g.useEffect)(function(){var sr={};return Da&&(Wi?(Rr?sr.right=Da.right:sr.left=Da.left,sr.width=Da.width):(sr.top=Da.top,sr.height=Da.height)),Di(),va.current=o()(function(){Xa(sr)}),Di},[Da,Wi,Rr]),Object(g.useEffect)(function(){to()},[Ir,Da,_i,Wi]),Object(g.useEffect)(function(){$a()},[Rr,zr,Ir,yr.map(function(sr){return sr.key}).join("_")]);var at=!!Ea.length,qt="".concat($t,"-nav-wrap"),pr,ur,$r,Er;return Wi?Rr?(ur=ta>0,pr=ta+Gt<xr):(pr=ta<0,ur=-ta+Gt<xr):($r=Va<0,Er=-Va+xn<hr),g.createElement("div",{ref:pn,role:"tablist",className:i()("".concat($t,"-nav"),kr),style:gr,onKeyDown:function(){Ba()}},g.createElement(ir,{position:"left",extra:ar,prefixCls:$t}),g.createElement(C,{onResize:$a},g.createElement("div",{className:i()(qt,(Ln={},Object(p.a)(Ln,"".concat(qt,"-ping-left"),pr),Object(p.a)(Ln,"".concat(qt,"-ping-right"),ur),Object(p.a)(Ln,"".concat(qt,"-ping-top"),$r),Object(p.a)(Ln,"".concat(qt,"-ping-bottom"),Er),Ln)),ref:Xn},g.createElement(C,{onResize:$a},g.createElement("div",{ref:ii,className:"".concat($t,"-nav-list"),style:{transform:"translate(".concat(ta,"px, ").concat(Va,"px)"),transition:vo?"none":void 0}},wa,g.createElement($e,{ref:bi,prefixCls:$t,locale:br,editable:Tr,style:{visibility:at?"hidden":null}}),g.createElement("div",{className:i()("".concat($t,"-ink-bar"),Object(p.a)({},"".concat($t,"-ink-bar-animated"),sn.inkBar)),style:Hi}))))),g.createElement(ft,Object.assign({},Xr,{ref:li,prefixCls:$t,tabs:Ea,className:!at&&Ri})),g.createElement(ir,{position:"right",extra:ar,prefixCls:$t}))}var _r=g.forwardRef(Xt);function Br(Xr){var pn=Xr.id,Ln=Xr.activeKey,tn=Xr.animated,$t=Xr.tabPosition,yr=Xr.rtl,kr=Xr.destroyInactiveTabPane,gr=g.useContext(ze),Kr=gr.prefixCls,sn=gr.tabs,Ir=tn.tabPane,Rr=sn.findIndex(function(ar){return ar.key===Ln});return g.createElement("div",{className:i()("".concat(Kr,"-content-holder"))},g.createElement("div",{className:i()("".concat(Kr,"-content"),"".concat(Kr,"-content-").concat($t),Object(p.a)({},"".concat(Kr,"-content-animated"),Ir)),style:Rr&&Ir?Object(p.a)({},yr?"marginRight":"marginLeft","-".concat(Rr,"00%")):null},sn.map(function(ar){return g.cloneElement(ar.node,{key:ar.key,prefixCls:Kr,tabKey:ar.key,id:pn,animated:Ir,active:ar.key===Ln,destroyInactiveTabPane:kr})})))}function Gr(Xr){var pn=Xr.prefixCls,Ln=Xr.forceRender,tn=Xr.className,$t=Xr.style,yr=Xr.id,kr=Xr.active,gr=Xr.animated,Kr=Xr.destroyInactiveTabPane,sn=Xr.tabKey,Ir=Xr.children,Rr=g.useState(Ln),ar=Object(c.a)(Rr,2),Tr=ar[0],br=ar[1];g.useEffect(function(){kr?br(!0):Kr&&br(!1)},[kr,Kr]);var fr={};return kr||(gr?(fr.visibility="hidden",fr.height=0,fr.overflowY="hidden"):fr.display="none"),g.createElement("div",{id:yr&&"".concat(yr,"-panel-").concat(sn),role:"tabpanel",tabIndex:kr?0:-1,"aria-labelledby":yr&&"".concat(yr,"-tab-").concat(sn),"aria-hidden":!kr,style:Object(a.a)(Object(a.a)({},fr),$t),className:i()("".concat(pn,"-tabpane"),kr&&"".concat(pn,"-tabpane-active"),tn)},(kr||Tr||Ln)&&Ir)}var un=0;function mn(Xr){return Object(d.a)(Xr).map(function(pn){if(g.isValidElement(pn)){var Ln=pn.key!==void 0?String(pn.key):void 0;return Object(a.a)(Object(a.a)({key:Ln},pn.props),{},{node:pn})}return null}).filter(function(pn){return pn})}function _n(Xr,pn){var Ln,tn=Xr.id,$t=Xr.prefixCls,yr=$t===void 0?"rc-tabs":$t,kr=Xr.className,gr=Xr.children,Kr=Xr.direction,sn=Xr.activeKey,Ir=Xr.defaultActiveKey,Rr=Xr.editable,ar=Xr.animated,Tr=Xr.tabPosition,br=Tr===void 0?"top":Tr,fr=Xr.tabBarGutter,zr=Xr.tabBarStyle,wn=Xr.tabBarExtraContent,On=Xr.locale,Wn=Xr.moreIcon,Xn=Xr.moreTransitionName,ii=Xr.destroyInactiveTabPane,li=Xr.renderTabBar,bi=Xr.onChange,gi=Xr.onTabClick,Ni=Xr.onTabScroll,ki=Object(s.a)(Xr,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),sa=mn(gr),Wi=Kr==="rtl",Ta;ar===!1?Ta={inkBar:!1,tabPane:!1}:Ta=Object(a.a)({inkBar:!0,tabPane:!1},ar!==!0?ar:null);var La=Object(g.useState)(!1),ta=Object(c.a)(La,2),Ka=ta[0],ni=ta[1];Object(g.useEffect)(function(){ni(st())},[]);var zi=Object(t.a)(function(){var Hr;return(Hr=sa[0])===null||Hr===void 0?void 0:Hr.key},{value:sn,defaultValue:Ir}),Va=Object(c.a)(zi,2),Za=Va[0],Oa=Va[1],ma=Object(g.useState)(function(){return sa.findIndex(function(Hr){return Hr.key===Za})}),xr=Object(c.a)(ma,2),nr=xr[0],ln=xr[1];Object(g.useEffect)(function(){var Hr=sa.findIndex(function(Qr){return Qr.key===Za});if(Hr===-1){var cn;Hr=Math.max(0,Math.min(nr,sa.length-1)),Oa((cn=sa[Hr])===null||cn===void 0?void 0:cn.key)}ln(Hr)},[sa.map(function(Hr){return Hr.key}).join("_"),Za,nr]);var er=Object(t.a)(null,{value:tn}),hr=Object(c.a)(er,2),Dr=hr[0],Vr=hr[1],an=br;Ka&&!["left","right"].includes(br)&&(an="top"),Object(g.useEffect)(function(){tn||(Vr("rc-tabs-".concat(un)),un+=1)},[]);function Ot(Hr,cn){gi==null||gi(Hr,cn),Oa(Hr),bi==null||bi(Hr)}var lr={id:Dr,activeKey:Za,animated:Ta,tabPosition:an,rtl:Wi,mobile:Ka},vr,Cr=Object(a.a)(Object(a.a)({},lr),{},{editable:Rr,locale:On,moreIcon:Wn,moreTransitionName:Xn,tabBarGutter:fr,onTabClick:Ot,onTabScroll:Ni,extra:wn,style:zr,panes:gr});return li?vr=li(Cr,_r):vr=g.createElement(_r,Object.assign({},Cr)),g.createElement(ze.Provider,{value:{tabs:sa,prefixCls:yr}},g.createElement("div",Object.assign({ref:pn,id:tn,className:i()(yr,"".concat(yr,"-").concat(an),(Ln={},Object(p.a)(Ln,"".concat(yr,"-mobile"),Ka),Object(p.a)(Ln,"".concat(yr,"-editable"),Rr),Object(p.a)(Ln,"".concat(yr,"-rtl"),Wi),Ln),kr)},ki),vr,g.createElement(Br,Object.assign({destroyInactiveTabPane:ii},lr,{animated:Ta}))))}var qr=g.forwardRef(_n);qr.TabPane=Gr;var yn=qr,nn=yn,cr=e("cCPh"),Pr=e.n(cr),Ar=e("fNCr"),Mr=e.n(Ar),fn=e("V/uB"),En=e.n(fn),Rn=e("uaoM"),oi=e("H84U"),An=function(Xr,pn){var Ln={};for(var tn in Xr)Object.prototype.hasOwnProperty.call(Xr,tn)&&pn.indexOf(tn)<0&&(Ln[tn]=Xr[tn]);if(Xr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,tn=Object.getOwnPropertySymbols(Xr);$t<tn.length;$t++)pn.indexOf(tn[$t])<0&&Object.prototype.propertyIsEnumerable.call(Xr,tn[$t])&&(Ln[tn[$t]]=Xr[tn[$t]]);return Ln};function mi(Xr){var pn,Ln=Xr.type,tn=Xr.className,$t=Xr.size,yr=Xr.onEdit,kr=Xr.hideAdd,gr=Xr.centered,Kr=Xr.addIcon,sn=An(Xr,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Ir=sn.prefixCls,Rr=g.useContext(oi.b),ar=Rr.getPrefixCls,Tr=Rr.direction,br=ar("tabs",Ir),fr;return Ln==="editable-card"&&(fr={onEdit:function(wn,On){var Wn=On.key,Xn=On.event;yr==null||yr(wn==="add"?Xn:Wn,wn)},removeIcon:g.createElement(En.a,null),addIcon:Kr||g.createElement(Mr.a,null),showAdd:kr!==!0}),Object(Rn.a)(!("onPrevClick"in sn)&&!("onNextClick"in sn),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),g.createElement(nn,f()({direction:Tr},sn,{moreTransitionName:"slide-up",className:i()(tn,(pn={},m()(pn,"".concat(br,"-").concat($t),$t),m()(pn,"".concat(br,"-card"),["card","editable-card"].includes(Ln)),m()(pn,"".concat(br,"-editable-card"),Ln==="editable-card"),m()(pn,"".concat(br,"-centered"),gr),pn)),editable:fr,moreIcon:g.createElement(Pr.a,null),prefixCls:br}))}mi.TabPane=Gr;var ai=N.a=mi},ZTW2:function(R,N,e){},ZWlE:function(R,N,e){var A=e("bYtY"),f=e("4NO4");function x(p){m(p),g(p)}function m(p){if(p.parallel)return;var c=!1;A.each(p.series,function(s){s&&s.type==="parallel"&&(c=!0)}),c&&(p.parallel=[{}])}function g(p){var c=f.normalizeToArray(p.parallelAxis);A.each(c,function(s){if(!A.isObject(s))return;var a=s.parallelIndex||0,n=f.normalizeToArray(p.parallel)[a];n&&n.parallelAxisDefault&&A.merge(s,n.parallelAxisDefault,!1)})}R.exports=x},ZX9x:function(R,N,e){"use strict";e.d(N,"a",function(){return I}),e.d(N,"b",function(){return B});var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("7W2i"),n=e.n(a),i=e("LQ03"),d=e.n(i),t=e("q1tI"),l=e("TSYQ"),r=e.n(l),o=e("BGR+"),u=e("T1rO"),h=e.n(u),y=e("fEPi"),b=e.n(y),E=e("DFhj"),v=e.n(E),w=e("PKem"),O=e("H84U"),T=function(z){return!isNaN(parseFloat(z))&&isFinite(z)},S=T,C=function(j,z){var M={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(M[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,U=Object.getOwnPropertySymbols(j);P<U.length;P++)z.indexOf(U[P])<0&&Object.prototype.propertyIsEnumerable.call(j,U[P])&&(M[U[P]]=j[U[P]]);return M},_={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},I=t.createContext({}),k=function(){var j=0;return function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,"".concat(z).concat(j)}}(),F=function(j){n()(M,j);var z=d()(M);function M(U){var P;p()(this,M),P=z.call(this,U),P.responsiveHandler=function(X){P.setState({below:X.matches});var K=P.props.onBreakpoint,$=P.state.collapsed;K&&K(X.matches),$!==X.matches&&P.setCollapsed(X.matches,"responsive")},P.setCollapsed=function(X,K){"collapsed"in P.props||P.setState({collapsed:X});var $=P.props.onCollapse;$&&$(X,K)},P.toggle=function(){var X=!P.state.collapsed;P.setCollapsed(X,"clickTrigger")},P.renderSider=function(X){var K,$=X.getPrefixCls,ie=P.props,be=ie.prefixCls,te=ie.className,Te=ie.theme,Ie=ie.collapsible,Fe=ie.reverseArrow,Qe=ie.trigger,fe=ie.style,He=ie.width,se=ie.collapsedWidth,Ce=ie.zeroWidthTriggerStyle,mt=ie.children,Ne=C(ie,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),ae=P.state,ce=ae.collapsed,le=ae.below,je=$("layout-sider",be),Re=Object(o.default)(Ne,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Ze=ce?se:He,De=S(Ze)?"".concat(Ze,"px"):String(Ze),ne=parseFloat(String(se||0))===0?t.createElement("span",{onClick:P.toggle,className:r()("".concat(je,"-zero-width-trigger"),"".concat(je,"-zero-width-trigger-").concat(Fe?"right":"left")),style:Ce},Qe||t.createElement(h.a,null)):null,he={expanded:Fe?t.createElement(b.a,null):t.createElement(v.a,null),collapsed:Fe?t.createElement(v.a,null):t.createElement(b.a,null)},pe=ce?"collapsed":"expanded",Xe=he[pe],lt=Qe!==null?ne||t.createElement("div",{className:"".concat(je,"-trigger"),onClick:P.toggle,style:{width:De}},Qe||Xe):null,At=m()(m()({},fe),{flex:"0 0 ".concat(De),maxWidth:De,minWidth:De,width:De}),Me=r()(te,je,"".concat(je,"-").concat(Te),(K={},f()(K,"".concat(je,"-collapsed"),!!ce),f()(K,"".concat(je,"-has-trigger"),Ie&&Qe!==null&&!ne),f()(K,"".concat(je,"-below"),!!le),f()(K,"".concat(je,"-zero-width"),parseFloat(De)===0),K));return t.createElement("aside",m()({className:Me},Re,{style:At}),t.createElement("div",{className:"".concat(je,"-children")},mt),Ie||le&&ne?lt:null)},P.uniqueId=k("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&U.breakpoint&&U.breakpoint in _&&(P.mql=H("(max-width: ".concat(_[U.breakpoint],")")));var W;return"collapsed"in U?W=U.collapsed:W=U.defaultCollapsed,P.state={collapsed:W,below:!1},P}return s()(M,[{key:"componentDidMount",value:function(){var P;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(P=this.props)===null||P===void 0||P.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var P,H;(P=this===null||this===void 0?void 0:this.mql)===null||P===void 0||P.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var P=this.state.collapsed,H=this.props.collapsedWidth;return t.createElement(I.Provider,{value:{siderCollapsed:P,collapsedWidth:H}},t.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(P){return"collapsed"in P?{collapsed:P.collapsed}:null}}]),M}(t.Component);F.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var B=function(j){n()(M,j);var z=d()(M);function M(){return p()(this,M),z.apply(this,arguments)}return s()(M,[{key:"render",value:function(){var P=this;return t.createElement(w.a.Consumer,null,function(H){return t.createElement(F,m()({},H,P.props))})}}]),M}(t.Component)},ZYIC:function(R,N,e){var A=e("zM3Q"),f={seriesType:"lines",plan:A(),reset:function(x){var m=x.coordinateSystem,g=x.get("polyline"),p=x.pipelineContext.large;function c(s,a){var n=[];if(p){var i,d=s.end-s.start;if(g){for(var t=0,l=s.start;l<s.end;l++)t+=x.getLineCoordsCount(l);i=new Float32Array(d+t*2)}else i=new Float32Array(d*4);for(var r=0,o=[],l=s.start;l<s.end;l++){var u=x.getLineCoords(l,n);g&&(i[r++]=u);for(var h=0;h<u;h++)o=m.dataToPoint(n[h],!1,o),i[r++]=o[0],i[r++]=o[1]}a.setLayout("linesPoints",i)}else for(var l=s.start;l<s.end;l++){var y=a.getItemModel(l),u=x.getLineCoords(l,n),b=[];if(g)for(var E=0;E<u;E++)b.push(m.dataToPoint(n[E]));else{b[0]=m.dataToPoint(n[0]),b[1]=m.dataToPoint(n[1]);var v=y.get("lineStyle.curveness");+v&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*v,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*v])}a.setItemLayout(l,b)}}return{progress:c}}};R.exports=f},Ze12:function(R,N,e){var A=e("ItGF"),f=e("hOwI"),x=f.buildTransformer,m="___zrEVENTSAVED",g=[];function p(i,d,t,l,r){return c(g,d,l,r,!0)&&c(i,t,g[0],g[1])}function c(i,d,t,l,r){if(d.getBoundingClientRect&&A.domSupported&&!n(d)){var o=d[m]||(d[m]={}),u=s(d,o),h=a(u,o,r);if(h)return h(i,t,l),!0}return!1}function s(i,d){var t=d.markers;if(t)return t;t=d.markers=[];for(var l=["left","right"],r=["top","bottom"],o=0;o<4;o++){var u=document.createElement("div"),h=u.style,y=o%2,b=(o>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[y]+":0",r[b]+":0",l[1-y]+":auto",r[1-b]+":auto",""].join("!important;"),i.appendChild(u),t.push(u)}return t}function a(i,d,t){for(var l=t?"invTrans":"trans",r=d[l],o=d.srcCoords,u=!0,h=[],y=[],b=0;b<4;b++){var E=i[b].getBoundingClientRect(),v=2*b,w=E.left,O=E.top;h.push(w,O),u=u&&o&&w===o[v]&&O===o[v+1],y.push(i[b].offsetLeft,i[b].offsetTop)}return u&&r?r:(d.srcCoords=h,d[l]=t?x(y,h):x(h,y))}function n(i){return i.nodeName.toUpperCase()==="CANVAS"}N.transformLocalCoord=p,N.transformCoordWithViewport=c,N.isCanvasEl=n},Znkb:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("zTMp"),g=x.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(n,i,d,t){this.axisPointerClass&&m.fixValue(n),g.superApply(this,"render",arguments),p(this,n,i,d,t,!0)},updateAxisPointer:function(n,i,d,t,l){p(this,n,i,d,t,!1)},remove:function(n,i){var d=this._axisPointer;d&&d.remove(i),g.superApply(this,"remove",arguments)},dispose:function(n,i){c(this,i),g.superApply(this,"dispose",arguments)}});function p(n,i,d,t,l,r){var o=g.getAxisPointerClass(n.axisPointerClass);if(!o)return;var u=m.getAxisPointerModel(i);u?(n._axisPointer||(n._axisPointer=new o)).render(i,u,t,r):c(n,t)}function c(n,i,d){var t=n._axisPointer;t&&t.dispose(i,d),n._axisPointer=null}var s=[];g.registerAxisPointerClass=function(n,i){s[n]=i},g.getAxisPointerClass=function(n){return n&&s[n]};var a=g;R.exports=a},"Znn+":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("9ama"),m=e.n(x)},ZqQs:function(R,N,e){var A=e("bYtY");function f(p){var c=p&&p.timeline;A.isArray(c)||(c=c?[c]:[]),A.each(c,function(s){if(!s)return;x(s)})}function x(p){var c=p.type,s={number:"value",time:"time"};if(s[c]&&(p.axisType=s[c],delete p.type),m(p),g(p,"controlPosition")){var a=p.controlStyle||(p.controlStyle={});g(a,"position")||(a.position=p.controlPosition),a.position==="none"&&!g(a,"show")&&(a.show=!1,delete a.position),delete p.controlPosition}A.each(p.data||[],function(n){A.isObject(n)&&!A.isArray(n)&&(!g(n,"value")&&g(n,"name")&&(n.value=n.name),m(n))})}function m(p){var c=p.itemStyle||(p.itemStyle={}),s=c.emphasis||(c.emphasis={}),a=p.label||p.label||{},n=a.normal||(a.normal={}),i={normal:1,emphasis:1};A.each(a,function(d,t){!i[t]&&!g(n,t)&&(n[t]=d)}),s.label&&!g(a,"emphasis")&&(a.emphasis=s.label,delete s.label)}function g(p,c){return p.hasOwnProperty(c)}R.exports=f},Zss7:function(R,N,e){var A;(function(f){var x=/^\s+/,m=/\s+$/,g=0,p=f.round,c=f.min,s=f.max,a=f.random;function n(fe,He){if(fe=fe||"",He=He||{},fe instanceof n)return fe;if(!(this instanceof n))return new n(fe,He);var se=i(fe);this._originalInput=fe,this._r=se.r,this._g=se.g,this._b=se.b,this._a=se.a,this._roundA=p(100*this._a)/100,this._format=He.format||se.format,this._gradientType=He.gradientType,this._r<1&&(this._r=p(this._r)),this._g<1&&(this._g=p(this._g)),this._b<1&&(this._b=p(this._b)),this._ok=se.ok,this._tc_id=g++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var He=this.toRgb();return(He.r*299+He.g*587+He.b*114)/1e3},getLuminance:function(){var He=this.toRgb(),se,Ce,mt,Ne,ae,ce;return se=He.r/255,Ce=He.g/255,mt=He.b/255,se<=.03928?Ne=se/12.92:Ne=f.pow((se+.055)/1.055,2.4),Ce<=.03928?ae=Ce/12.92:ae=f.pow((Ce+.055)/1.055,2.4),mt<=.03928?ce=mt/12.92:ce=f.pow((mt+.055)/1.055,2.4),.2126*Ne+.7152*ae+.0722*ce},setAlpha:function(He){return this._a=U(He),this._roundA=p(100*this._a)/100,this},toHsv:function(){var He=r(this._r,this._g,this._b);return{h:He.h*360,s:He.s,v:He.v,a:this._a}},toHsvString:function(){var He=r(this._r,this._g,this._b),se=p(He.h*360),Ce=p(He.s*100),mt=p(He.v*100);return this._a==1?"hsv("+se+", "+Ce+"%, "+mt+"%)":"hsva("+se+", "+Ce+"%, "+mt+"%, "+this._roundA+")"},toHsl:function(){var He=t(this._r,this._g,this._b);return{h:He.h*360,s:He.s,l:He.l,a:this._a}},toHslString:function(){var He=t(this._r,this._g,this._b),se=p(He.h*360),Ce=p(He.s*100),mt=p(He.l*100);return this._a==1?"hsl("+se+", "+Ce+"%, "+mt+"%)":"hsla("+se+", "+Ce+"%, "+mt+"%, "+this._roundA+")"},toHex:function(He){return u(this._r,this._g,this._b,He)},toHexString:function(He){return"#"+this.toHex(He)},toHex8:function(He){return h(this._r,this._g,this._b,this._a,He)},toHex8String:function(He){return"#"+this.toHex8(He)},toRgb:function(){return{r:p(this._r),g:p(this._g),b:p(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+p(this._r)+", "+p(this._g)+", "+p(this._b)+")":"rgba("+p(this._r)+", "+p(this._g)+", "+p(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:p(P(this._r,255)*100)+"%",g:p(P(this._g,255)*100)+"%",b:p(P(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+p(P(this._r,255)*100)+"%, "+p(P(this._g,255)*100)+"%, "+p(P(this._b,255)*100)+"%)":"rgba("+p(P(this._r,255)*100)+"%, "+p(P(this._g,255)*100)+"%, "+p(P(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:z[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(He){var se="#"+y(this._r,this._g,this._b,this._a),Ce=se,mt=this._gradientType?"GradientType = 1, ":"";if(He){var Ne=n(He);Ce="#"+y(Ne._r,Ne._g,Ne._b,Ne._a)}return"progid:DXImageTransform.Microsoft.gradient("+mt+"startColorstr="+se+",endColorstr="+Ce+")"},toString:function(He){var se=!!He;He=He||this._format;var Ce=!1,mt=this._a<1&&this._a>=0,Ne=!se&&mt&&(He==="hex"||He==="hex6"||He==="hex3"||He==="hex4"||He==="hex8"||He==="name");return Ne?He==="name"&&this._a===0?this.toName():this.toRgbString():(He==="rgb"&&(Ce=this.toRgbString()),He==="prgb"&&(Ce=this.toPercentageRgbString()),(He==="hex"||He==="hex6")&&(Ce=this.toHexString()),He==="hex3"&&(Ce=this.toHexString(!0)),He==="hex4"&&(Ce=this.toHex8String(!0)),He==="hex8"&&(Ce=this.toHex8String()),He==="name"&&(Ce=this.toName()),He==="hsl"&&(Ce=this.toHslString()),He==="hsv"&&(Ce=this.toHsvString()),Ce||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(He,se){var Ce=He.apply(null,[this].concat([].slice.call(se)));return this._r=Ce._r,this._g=Ce._g,this._b=Ce._b,this.setAlpha(Ce._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(O,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(E,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(He,se){return He.apply(null,[this].concat([].slice.call(se)))},analogous:function(){return this._applyCombination(F,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(I,arguments)}},n.fromRatio=function(fe,He){if(typeof fe=="object"){var se={};for(var Ce in fe)fe.hasOwnProperty(Ce)&&(Ce==="a"?se[Ce]=fe[Ce]:se[Ce]=ie(fe[Ce]));fe=se}return n(fe,He)};function i(fe){var He={r:0,g:0,b:0},se=1,Ce=null,mt=null,Ne=null,ae=!1,ce=!1;return typeof fe=="string"&&(fe=Fe(fe)),typeof fe=="object"&&(Ie(fe.r)&&Ie(fe.g)&&Ie(fe.b)?(He=d(fe.r,fe.g,fe.b),ae=!0,ce=String(fe.r).substr(-1)==="%"?"prgb":"rgb"):Ie(fe.h)&&Ie(fe.s)&&Ie(fe.v)?(Ce=ie(fe.s),mt=ie(fe.v),He=o(fe.h,Ce,mt),ae=!0,ce="hsv"):Ie(fe.h)&&Ie(fe.s)&&Ie(fe.l)&&(Ce=ie(fe.s),Ne=ie(fe.l),He=l(fe.h,Ce,Ne),ae=!0,ce="hsl"),fe.hasOwnProperty("a")&&(se=fe.a)),se=U(se),{ok:ae,format:fe.format||ce,r:c(255,s(He.r,0)),g:c(255,s(He.g,0)),b:c(255,s(He.b,0)),a:se}}function d(fe,He,se){return{r:P(fe,255)*255,g:P(He,255)*255,b:P(se,255)*255}}function t(fe,He,se){fe=P(fe,255),He=P(He,255),se=P(se,255);var Ce=s(fe,He,se),mt=c(fe,He,se),Ne,ae,ce=(Ce+mt)/2;if(Ce==mt)Ne=ae=0;else{var le=Ce-mt;ae=ce>.5?le/(2-Ce-mt):le/(Ce+mt);switch(Ce){case fe:Ne=(He-se)/le+(He<se?6:0);break;case He:Ne=(se-fe)/le+2;break;case se:Ne=(fe-He)/le+4;break}Ne/=6}return{h:Ne,s:ae,l:ce}}function l(fe,He,se){var Ce,mt,Ne;fe=P(fe,360),He=P(He,100),se=P(se,100);function ae(je,Re,Ze){return Ze<0&&(Ze+=1),Ze>1&&(Ze-=1),Ze<1/6?je+(Re-je)*6*Ze:Ze<1/2?Re:Ze<2/3?je+(Re-je)*(2/3-Ze)*6:je}if(He===0)Ce=mt=Ne=se;else{var ce=se<.5?se*(1+He):se+He-se*He,le=2*se-ce;Ce=ae(le,ce,fe+1/3),mt=ae(le,ce,fe),Ne=ae(le,ce,fe-1/3)}return{r:Ce*255,g:mt*255,b:Ne*255}}function r(fe,He,se){fe=P(fe,255),He=P(He,255),se=P(se,255);var Ce=s(fe,He,se),mt=c(fe,He,se),Ne,ae,ce=Ce,le=Ce-mt;if(ae=Ce===0?0:le/Ce,Ce==mt)Ne=0;else{switch(Ce){case fe:Ne=(He-se)/le+(He<se?6:0);break;case He:Ne=(se-fe)/le+2;break;case se:Ne=(fe-He)/le+4;break}Ne/=6}return{h:Ne,s:ae,v:ce}}function o(fe,He,se){fe=P(fe,360)*6,He=P(He,100),se=P(se,100);var Ce=f.floor(fe),mt=fe-Ce,Ne=se*(1-He),ae=se*(1-mt*He),ce=se*(1-(1-mt)*He),le=Ce%6,je=[se,ae,Ne,Ne,ce,se][le],Re=[ce,se,se,ae,Ne,Ne][le],Ze=[Ne,Ne,ce,se,se,ae][le];return{r:je*255,g:Re*255,b:Ze*255}}function u(fe,He,se,Ce){var mt=[$(p(fe).toString(16)),$(p(He).toString(16)),$(p(se).toString(16))];return Ce&&mt[0].charAt(0)==mt[0].charAt(1)&&mt[1].charAt(0)==mt[1].charAt(1)&&mt[2].charAt(0)==mt[2].charAt(1)?mt[0].charAt(0)+mt[1].charAt(0)+mt[2].charAt(0):mt.join("")}function h(fe,He,se,Ce,mt){var Ne=[$(p(fe).toString(16)),$(p(He).toString(16)),$(p(se).toString(16)),$(be(Ce))];return mt&&Ne[0].charAt(0)==Ne[0].charAt(1)&&Ne[1].charAt(0)==Ne[1].charAt(1)&&Ne[2].charAt(0)==Ne[2].charAt(1)&&Ne[3].charAt(0)==Ne[3].charAt(1)?Ne[0].charAt(0)+Ne[1].charAt(0)+Ne[2].charAt(0)+Ne[3].charAt(0):Ne.join("")}function y(fe,He,se,Ce){var mt=[$(be(Ce)),$(p(fe).toString(16)),$(p(He).toString(16)),$(p(se).toString(16))];return mt.join("")}n.equals=function(fe,He){return!fe||!He?!1:n(fe).toRgbString()==n(He).toRgbString()},n.random=function(){return n.fromRatio({r:a(),g:a(),b:a()})};function b(fe,He){He=He===0?0:He||10;var se=n(fe).toHsl();return se.s-=He/100,se.s=H(se.s),n(se)}function E(fe,He){He=He===0?0:He||10;var se=n(fe).toHsl();return se.s+=He/100,se.s=H(se.s),n(se)}function v(fe){return n(fe).desaturate(100)}function w(fe,He){He=He===0?0:He||10;var se=n(fe).toHsl();return se.l+=He/100,se.l=H(se.l),n(se)}function O(fe,He){He=He===0?0:He||10;var se=n(fe).toRgb();return se.r=s(0,c(255,se.r-p(255*-(He/100)))),se.g=s(0,c(255,se.g-p(255*-(He/100)))),se.b=s(0,c(255,se.b-p(255*-(He/100)))),n(se)}function T(fe,He){He=He===0?0:He||10;var se=n(fe).toHsl();return se.l-=He/100,se.l=H(se.l),n(se)}function S(fe,He){var se=n(fe).toHsl(),Ce=(se.h+He)%360;return se.h=Ce<0?360+Ce:Ce,n(se)}function C(fe){var He=n(fe).toHsl();return He.h=(He.h+180)%360,n(He)}function _(fe){var He=n(fe).toHsl(),se=He.h;return[n(fe),n({h:(se+120)%360,s:He.s,l:He.l}),n({h:(se+240)%360,s:He.s,l:He.l})]}function I(fe){var He=n(fe).toHsl(),se=He.h;return[n(fe),n({h:(se+90)%360,s:He.s,l:He.l}),n({h:(se+180)%360,s:He.s,l:He.l}),n({h:(se+270)%360,s:He.s,l:He.l})]}function k(fe){var He=n(fe).toHsl(),se=He.h;return[n(fe),n({h:(se+72)%360,s:He.s,l:He.l}),n({h:(se+216)%360,s:He.s,l:He.l})]}function F(fe,He,se){He=He||6,se=se||30;var Ce=n(fe).toHsl(),mt=360/se,Ne=[n(fe)];for(Ce.h=(Ce.h-(mt*He>>1)+720)%360;--He;)Ce.h=(Ce.h+mt)%360,Ne.push(n(Ce));return Ne}function B(fe,He){He=He||6;for(var se=n(fe).toHsv(),Ce=se.h,mt=se.s,Ne=se.v,ae=[],ce=1/He;He--;)ae.push(n({h:Ce,s:mt,v:Ne})),Ne=(Ne+ce)%1;return ae}n.mix=function(fe,He,se){se=se===0?0:se||50;var Ce=n(fe).toRgb(),mt=n(He).toRgb(),Ne=se/100,ae={r:(mt.r-Ce.r)*Ne+Ce.r,g:(mt.g-Ce.g)*Ne+Ce.g,b:(mt.b-Ce.b)*Ne+Ce.b,a:(mt.a-Ce.a)*Ne+Ce.a};return n(ae)},n.readability=function(fe,He){var se=n(fe),Ce=n(He);return(f.max(se.getLuminance(),Ce.getLuminance())+.05)/(f.min(se.getLuminance(),Ce.getLuminance())+.05)},n.isReadable=function(fe,He,se){var Ce=n.readability(fe,He),mt,Ne;Ne=!1,mt=Qe(se);switch(mt.level+mt.size){case"AAsmall":case"AAAlarge":Ne=Ce>=4.5;break;case"AAlarge":Ne=Ce>=3;break;case"AAAsmall":Ne=Ce>=7;break}return Ne},n.mostReadable=function(fe,He,se){var Ce=null,mt=0,Ne,ae,ce,le;se=se||{},ae=se.includeFallbackColors,ce=se.level,le=se.size;for(var je=0;je<He.length;je++)Ne=n.readability(fe,He[je]),Ne>mt&&(mt=Ne,Ce=n(He[je]));return n.isReadable(fe,Ce,{level:ce,size:le})||!ae?Ce:(se.includeFallbackColors=!1,n.mostReadable(fe,["#fff","#000"],se))};var j=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=n.hexNames=M(j);function M(fe){var He={};for(var se in fe)fe.hasOwnProperty(se)&&(He[fe[se]]=se);return He}function U(fe){return fe=parseFloat(fe),(isNaN(fe)||fe<0||fe>1)&&(fe=1),fe}function P(fe,He){X(fe)&&(fe="100%");var se=K(fe);return fe=c(He,s(0,parseFloat(fe))),se&&(fe=parseInt(fe*He,10)/100),f.abs(fe-He)<1e-6?1:fe%He/parseFloat(He)}function H(fe){return c(1,s(0,fe))}function W(fe){return parseInt(fe,16)}function X(fe){return typeof fe=="string"&&fe.indexOf(".")!=-1&&parseFloat(fe)===1}function K(fe){return typeof fe=="string"&&fe.indexOf("%")!=-1}function $(fe){return fe.length==1?"0"+fe:""+fe}function ie(fe){return fe<=1&&(fe=fe*100+"%"),fe}function be(fe){return f.round(parseFloat(fe)*255).toString(16)}function te(fe){return W(fe)/255}var Te=function(){var fe="[-\\+]?\\d+%?",He="[-\\+]?\\d*\\.\\d+%?",se="(?:"+He+")|(?:"+fe+")",Ce="[\\s|\\(]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")\\s*\\)?",mt="[\\s|\\(]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")\\s*\\)?";return{CSS_UNIT:new RegExp(se),rgb:new RegExp("rgb"+Ce),rgba:new RegExp("rgba"+mt),hsl:new RegExp("hsl"+Ce),hsla:new RegExp("hsla"+mt),hsv:new RegExp("hsv"+Ce),hsva:new RegExp("hsva"+mt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ie(fe){return!!Te.CSS_UNIT.exec(fe)}function Fe(fe){fe=fe.replace(x,"").replace(m,"").toLowerCase();var He=!1;if(j[fe])fe=j[fe],He=!0;else if(fe=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var se;return(se=Te.rgb.exec(fe))?{r:se[1],g:se[2],b:se[3]}:(se=Te.rgba.exec(fe))?{r:se[1],g:se[2],b:se[3],a:se[4]}:(se=Te.hsl.exec(fe))?{h:se[1],s:se[2],l:se[3]}:(se=Te.hsla.exec(fe))?{h:se[1],s:se[2],l:se[3],a:se[4]}:(se=Te.hsv.exec(fe))?{h:se[1],s:se[2],v:se[3]}:(se=Te.hsva.exec(fe))?{h:se[1],s:se[2],v:se[3],a:se[4]}:(se=Te.hex8.exec(fe))?{r:W(se[1]),g:W(se[2]),b:W(se[3]),a:te(se[4]),format:He?"name":"hex8"}:(se=Te.hex6.exec(fe))?{r:W(se[1]),g:W(se[2]),b:W(se[3]),format:He?"name":"hex"}:(se=Te.hex4.exec(fe))?{r:W(se[1]+""+se[1]),g:W(se[2]+""+se[2]),b:W(se[3]+""+se[3]),a:te(se[4]+""+se[4]),format:He?"name":"hex8"}:(se=Te.hex3.exec(fe))?{r:W(se[1]+""+se[1]),g:W(se[2]+""+se[2]),b:W(se[3]+""+se[3]),format:He?"name":"hex"}:!1}function Qe(fe){var He,se;return fe=fe||{level:"AA",size:"small"},He=(fe.level||"AA").toUpperCase(),se=(fe.size||"small").toLowerCase(),He!=="AA"&&He!=="AAA"&&(He="AA"),se!=="small"&&se!=="large"&&(se="small"),{level:He,size:se}}R.exports?R.exports=n:!(A=function(){return n}.call(N,e,N,R),A!==void 0&&(R.exports=A))})(Math)},Zvw2:function(R,N,e){var A=e("bYtY"),f=e("hM6l"),x=function(g,p,c,s,a){f.call(this,g,p,c),this.type=s||"value",this.position=a||"bottom",this.orient=null};x.prototype={constructor:x,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},pointToData:function(g,p){return this.coordinateSystem.pointToData(g,p)[0]},toGlobalCoord:null,toLocalCoord:null},A.inherits(x,f);var m=x;R.exports=m},a7Wl:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},a9QJ:function(R,N){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function A(f,x){if(f==="world"){var m=e[x.name];if(m){var g=x.center;g[0]=m[0],g[1]=m[1]}}}R.exports=A},aCH8:function(R,N,e){(function(){var A=e("ANhw"),f=e("mmNF").utf8,x=e("BEtg"),m=e("mmNF").bin,g=function p(c,s){c.constructor==String?s&&s.encoding==="binary"?c=m.stringToBytes(c):c=f.stringToBytes(c):x(c)?c=Array.prototype.slice.call(c,0):!Array.isArray(c)&&c.constructor!==Uint8Array&&(c=c.toString());for(var a=A.bytesToWords(c),n=c.length*8,i=1732584193,d=-271733879,t=-1732584194,l=271733878,r=0;r<a.length;r++)a[r]=(a[r]<<8|a[r]>>>24)&16711935|(a[r]<<24|a[r]>>>8)&4278255360;a[n>>>5]|=128<<n%32,a[(n+64>>>9<<4)+14]=n;for(var o=p._ff,u=p._gg,h=p._hh,y=p._ii,r=0;r<a.length;r+=16){var b=i,E=d,v=t,w=l;i=o(i,d,t,l,a[r+0],7,-680876936),l=o(l,i,d,t,a[r+1],12,-389564586),t=o(t,l,i,d,a[r+2],17,606105819),d=o(d,t,l,i,a[r+3],22,-1044525330),i=o(i,d,t,l,a[r+4],7,-176418897),l=o(l,i,d,t,a[r+5],12,1200080426),t=o(t,l,i,d,a[r+6],17,-1473231341),d=o(d,t,l,i,a[r+7],22,-45705983),i=o(i,d,t,l,a[r+8],7,1770035416),l=o(l,i,d,t,a[r+9],12,-1958414417),t=o(t,l,i,d,a[r+10],17,-42063),d=o(d,t,l,i,a[r+11],22,-1990404162),i=o(i,d,t,l,a[r+12],7,1804603682),l=o(l,i,d,t,a[r+13],12,-40341101),t=o(t,l,i,d,a[r+14],17,-1502002290),d=o(d,t,l,i,a[r+15],22,1236535329),i=u(i,d,t,l,a[r+1],5,-165796510),l=u(l,i,d,t,a[r+6],9,-1069501632),t=u(t,l,i,d,a[r+11],14,643717713),d=u(d,t,l,i,a[r+0],20,-373897302),i=u(i,d,t,l,a[r+5],5,-701558691),l=u(l,i,d,t,a[r+10],9,38016083),t=u(t,l,i,d,a[r+15],14,-660478335),d=u(d,t,l,i,a[r+4],20,-405537848),i=u(i,d,t,l,a[r+9],5,568446438),l=u(l,i,d,t,a[r+14],9,-1019803690),t=u(t,l,i,d,a[r+3],14,-187363961),d=u(d,t,l,i,a[r+8],20,1163531501),i=u(i,d,t,l,a[r+13],5,-1444681467),l=u(l,i,d,t,a[r+2],9,-51403784),t=u(t,l,i,d,a[r+7],14,1735328473),d=u(d,t,l,i,a[r+12],20,-1926607734),i=h(i,d,t,l,a[r+5],4,-378558),l=h(l,i,d,t,a[r+8],11,-2022574463),t=h(t,l,i,d,a[r+11],16,1839030562),d=h(d,t,l,i,a[r+14],23,-35309556),i=h(i,d,t,l,a[r+1],4,-1530992060),l=h(l,i,d,t,a[r+4],11,1272893353),t=h(t,l,i,d,a[r+7],16,-155497632),d=h(d,t,l,i,a[r+10],23,-1094730640),i=h(i,d,t,l,a[r+13],4,681279174),l=h(l,i,d,t,a[r+0],11,-358537222),t=h(t,l,i,d,a[r+3],16,-722521979),d=h(d,t,l,i,a[r+6],23,76029189),i=h(i,d,t,l,a[r+9],4,-640364487),l=h(l,i,d,t,a[r+12],11,-421815835),t=h(t,l,i,d,a[r+15],16,530742520),d=h(d,t,l,i,a[r+2],23,-995338651),i=y(i,d,t,l,a[r+0],6,-198630844),l=y(l,i,d,t,a[r+7],10,1126891415),t=y(t,l,i,d,a[r+14],15,-1416354905),d=y(d,t,l,i,a[r+5],21,-57434055),i=y(i,d,t,l,a[r+12],6,1700485571),l=y(l,i,d,t,a[r+3],10,-1894986606),t=y(t,l,i,d,a[r+10],15,-1051523),d=y(d,t,l,i,a[r+1],21,-2054922799),i=y(i,d,t,l,a[r+8],6,1873313359),l=y(l,i,d,t,a[r+15],10,-30611744),t=y(t,l,i,d,a[r+6],15,-1560198380),d=y(d,t,l,i,a[r+13],21,1309151649),i=y(i,d,t,l,a[r+4],6,-145523070),l=y(l,i,d,t,a[r+11],10,-1120210379),t=y(t,l,i,d,a[r+2],15,718787259),d=y(d,t,l,i,a[r+9],21,-343485551),i=i+b>>>0,d=d+E>>>0,t=t+v>>>0,l=l+w>>>0}return A.endian([i,d,t,l])};g._ff=function(p,c,s,a,n,i,d){var t=p+(c&s|~c&a)+(n>>>0)+d;return(t<<i|t>>>32-i)+c},g._gg=function(p,c,s,a,n,i,d){var t=p+(c&a|s&~a)+(n>>>0)+d;return(t<<i|t>>>32-i)+c},g._hh=function(p,c,s,a,n,i,d){var t=p+(c^s^a)+(n>>>0)+d;return(t<<i|t>>>32-i)+c},g._ii=function(p,c,s,a,n,i,d){var t=p+(s^(c|~a))+(n>>>0)+d;return(t<<i|t>>>32-i)+c},g._blocksize=16,g._digestsize=16,R.exports=function(p,c){if(p==null)throw new Error("Illegal argument "+p);var s=A.wordsToBytes(g(p,c));return c&&c.asBytes?s:c&&c.asString?m.bytesToString(s):A.bytesToHex(s)}})()},aHsQ:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("6D9b"),m=e.n(x)},aKvl:function(R,N,e){var A=e("Sj9i"),f=A.quadraticProjectPoint;function x(m,g,p,c,s,a,n,i,d){if(n===0)return!1;var t=n;if(d>g+t&&d>c+t&&d>a+t||d<g-t&&d<c-t&&d<a-t||i>m+t&&i>p+t&&i>s+t||i<m-t&&i<p-t&&i<s-t)return!1;var l=f(m,g,p,c,s,a,i,d,null);return l<=t/2}N.containStroke=x},aTJb:function(R,N,e){var A=e("bLfw");A.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(R,N,e){var A=e("3gBT"),f=e("ItGF"),x=e("bYtY"),m=e("0s+r"),g=e("r6Bn"),p=e("7SHv"),c=e("MKOG"),s=e("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var a=!f.canvasSupported,n={canvas:p},i={},d="4.3.1";function t(y,b){var E=new h(A(),y,b);return i[E.id]=E,E}function l(y){if(y)y.dispose();else{for(var b in i)i.hasOwnProperty(b)&&i[b].dispose();i={}}return this}function r(y){return i[y]}function o(y,b){n[y]=b}function u(y){delete i[y]}var h=function(b,E,v){v=v||{},this.dom=E,this.id=b;var w=this,O=new g,T=v.renderer;if(a){if(!n.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!n[T])&&(T="canvas");var S=new n[T](E,O,v,b);this.storage=O,this.painter=S;var C=!f.node&&!f.worker?new s(S.getViewportRoot(),S.root):null;this.handler=new m(O,S,C,S.root),this.animation=new c({stage:{update:x.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var _=O.delFromStorage,I=O.addToStorage;O.delFromStorage=function(k){_.call(O,k),k&&k.removeSelfFromZr(w)},O.addToStorage=function(k){I.call(O,k),k.addSelfToZr(w)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(b){this.storage.addRoot(b),this._needsRefresh=!0},remove:function(b){this.storage.delRoot(b),this._needsRefresh=!0},configLayer:function(b,E){this.painter.configLayer&&this.painter.configLayer(b,E),this._needsRefresh=!0},setBackgroundColor:function(b){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(b),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var b;this._needsRefresh&&(b=!0,this.refreshImmediately()),this._needsRefreshHover&&(b=!0,this.refreshHoverImmediately()),b&&this.trigger("rendered")},addHover:function(b,E){if(this.painter.addHover){var v=this.painter.addHover(b,E);return this.refreshHover(),v}},removeHover:function(b){this.painter.removeHover&&(this.painter.removeHover(b),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(b){b=b||{},this.painter.resize(b.width,b.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(b,E){return this.painter.pathToImage(b,E)},setCursorStyle:function(b){this.handler.setCursorStyle(b)},findHover:function(b,E){return this.handler.findHover(b,E)},on:function(b,E,v){this.handler.on(b,E,v)},off:function(b,E){this.handler.off(b,E)},trigger:function(b,E){this.handler.trigger(b,E)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},N.version=d,N.init=t,N.dispose=l,N.getInstance=r,N.registerPainter=o},aX7z:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("GMDS"),g=e("ieMj"),p=e("4NgU"),c=e("OELB"),s=e("nVfU"),a=s.prepareLayoutBarSeries,n=s.makeColumnLayout,i=s.retrieveColumnLayout,d=e("mFDi");e("IWp7"),e("jCoz");function t(O,T){var S=O.type,C=T.getMin(),_=T.getMax(),I=O.getExtent(),k,F,B;S==="ordinal"?k=T.getCategories().length:(F=T.get("boundaryGap"),x.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=I[1]-I[0]||Math.abs(I[0])),C==="dataMin"?C=I[0]:typeof C=="function"&&(C=C({min:I[0],max:I[1]})),_==="dataMax"?_=I[1]:typeof _=="function"&&(_=_({min:I[0],max:I[1]}));var j=C!=null,z=_!=null;C==null&&(C=S==="ordinal"?k?0:NaN:I[0]-F[0]*B),_==null&&(_=S==="ordinal"?k?k-1:NaN:I[1]+F[1]*B),(C==null||!isFinite(C))&&(C=NaN),(_==null||!isFinite(_))&&(_=NaN),O.setBlank(x.eqNaN(C)||x.eqNaN(_)||S==="ordinal"&&!O.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(C>0&&_>0&&!j&&(C=0),C<0&&_<0&&!z&&(_=0));var M=T.ecModel;if(M&&S==="time"){var U=a("bar",M),P;if(x.each(U,function(X){P|=X.getBaseAxis()===T.axis}),P){var H=n(U),W=l(C,_,T,H);C=W.min,_=W.max}}return{extent:[C,_],fixMin:j,fixMax:z}}function l(O,T,S,C){var _=S.axis.getExtent(),I=_[1]-_[0],k=i(C,S.axis);if(k===void 0)return{min:O,max:T};var F=Infinity;x.each(k,function(P){F=Math.min(P.offset,F)});var B=-Infinity;x.each(k,function(P){B=Math.max(P.offset+P.width,B)}),F=Math.abs(F),B=Math.abs(B);var j=F+B,z=T-O,M=1-(F+B)/I,U=z/M-z;return T+=U*(B/j),O-=U*(F/j),{min:O,max:T}}function r(O,T){var S=t(O,T),C=S.extent,_=T.get("splitNumber");O.type==="log"&&(O.base=T.get("logBase"));var I=O.type;O.setExtent(C[0],C[1]),O.niceExtent({splitNumber:_,fixMin:S.fixMin,fixMax:S.fixMax,minInterval:I==="interval"||I==="time"?T.get("minInterval"):null,maxInterval:I==="interval"||I==="time"?T.get("maxInterval"):null});var k=T.get("interval");k!=null&&(O.setInterval&&O.setInterval(k))}function o(O,T){if(T=T||O.get("type"),T)switch(T){case"category":return new m(O.getOrdinalMeta?O.getOrdinalMeta():O.getCategories(),[Infinity,-Infinity]);case"value":return new g;default:return(p.getClass(T)||g).create(O)}}function u(O){var T=O.scale.getExtent(),S=T[0],C=T[1];return!(S>0&&C>0||S<0&&C<0)}function h(O){var T=O.getLabelModel().get("formatter"),S=O.type==="category"?O.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(C){return function(_){return _=O.scale.getLabel(_),C.replace("{value}",_!=null?_:"")}}(T),T):typeof T=="function"?function(C,_){return S!=null&&(_=C-S),T(y(O,C),_)}:function(C){return O.scale.getLabel(C)}}function y(O,T){return O.type==="category"?O.scale.getLabel(T):T}function b(O){var T=O.model,S=O.scale;if(!T.get("axisLabel.show")||S.isBlank())return;var C=O.type==="category",_,I,k=S.getExtent();C?I=S.count():(_=S.getTicks(),I=_.length);var F=O.getLabelModel(),B=h(O),j,z=1;I>40&&(z=Math.ceil(I/40));for(var M=0;M<I;M+=z){var U=_?_[M]:k[0]+M,P=B(U),H=F.getTextRect(P),W=E(H,F.get("rotate")||0);j?j.union(W):j=W}return j}function E(O,T){var S=T*Math.PI/180,C=O.plain(),_=C.width,I=C.height,k=_*Math.cos(S)+I*Math.sin(S),F=_*Math.sin(S)+I*Math.cos(S),B=new d(C.x,C.y,k,F);return B}function v(O){var T=O.get("interval");return T==null?"auto":T}function w(O){return O.type==="category"&&v(O.getLabelModel())===0}N.getScaleExtent=t,N.niceScaleExtent=r,N.createScaleByModel=o,N.ifAxisCrossZero=u,N.makeLabelFormatter=h,N.getAxisRawValue=y,N.estimateLabelUnionRect=b,N.getOptionCategoryInterval=v,N.shouldShowAllLabels=w},"af/B":function(R,N,e){var A=e("bYtY"),f=A.each,x=A.map,m=A.isFunction,g=A.createHashMap,p=A.noop,c=e("9H2F"),s=c.createTask,a=e("iRjW"),n=a.getUID,i=e("fmMI"),d=e("hD7B"),t=e("4NO4"),l=t.normalizeToArray;function r(P,H,W,X){this.ecInstance=P,this.api=H,this.unfinished;var W=this._dataProcessorHandlers=W.slice(),X=this._visualHandlers=X.slice();this._allHandlers=W.concat(X),this._stageTaskMap=g()}var o=r.prototype;o.restoreData=function(P,H){P.restoreData(H),this._stageTaskMap.each(function(W){var X=W.overallTask;X&&X.dirty()})},o.getPerformArgs=function(P,H){if(!P.__pipeline)return;var W=this._pipelineMap.get(P.__pipeline.id),X=W.context,K=!H&&W.progressiveEnabled&&(!X||X.progressiveRender)&&P.__idxInPipeline>W.blockIndex,$=K?W.step:null,ie=X&&X.modDataCount,be=ie!=null?Math.ceil(ie/$):null;return{step:$,modBy:be,modDataCount:ie}},o.getPipeline=function(P){return this._pipelineMap.get(P)},o.updateStreamModes=function(P,H){var W=this._pipelineMap.get(P.uid),X=P.getData(),K=X.count(),$=W.progressiveEnabled&&H.incrementalPrepareRender&&K>=W.threshold,ie=P.get("large")&&K>=P.get("largeThreshold"),be=P.get("progressiveChunkMode")==="mod"?K:null;P.pipelineContext=W.context={progressiveRender:$,modDataCount:be,large:ie}},o.restorePipelines=function(P){var H=this,W=H._pipelineMap=g();P.eachSeries(function(X){var K=X.getProgressive(),$=X.uid;W.set($,{id:$,head:null,tail:null,threshold:X.getProgressiveThreshold(),progressiveEnabled:K&&!(X.preventIncremental&&X.preventIncremental()),blockIndex:-1,step:Math.round(K||700),count:0}),k(H,X,X.dataTask)})},o.prepareStageTasks=function(){var P=this._stageTaskMap,H=this.ecInstance.getModel(),W=this.api;f(this._allHandlers,function(X){var K=P.get(X.uid)||P.set(X.uid,[]);X.reset&&y(this,X,K,H,W),X.overallReset&&b(this,X,K,H,W)},this)},o.prepareView=function(P,H,W,X){var K=P.renderTask,$=K.context;$.model=H,$.ecModel=W,$.api=X,K.__block=!P.incrementalPrepareRender,k(this,H,K)},o.performDataProcessorTasks=function(P,H){u(this,this._dataProcessorHandlers,P,H,{block:!0})},o.performVisualTasks=function(P,H,W){u(this,this._visualHandlers,P,H,W)};function u(P,H,W,X,K){K=K||{};var $;f(H,function(be,te){if(K.visualType&&K.visualType!==be.visualType)return;var Te=P._stageTaskMap.get(be.uid),Ie=Te.seriesTaskMap,Fe=Te.overallTask;if(Fe){var Qe,fe=Fe.agentStubMap;fe.each(function(se){ie(K,se)&&(se.dirty(),Qe=!0)}),Qe&&Fe.dirty(),h(Fe,X);var He=P.getPerformArgs(Fe,K.block);fe.each(function(se){se.perform(He)}),$|=Fe.perform(He)}else Ie&&Ie.each(function(se,Ce){ie(K,se)&&se.dirty();var mt=P.getPerformArgs(se,K.block);mt.skip=!be.performRawSeries&&W.isSeriesFiltered(se.context.model),h(se,X),$|=se.perform(mt)})});function ie(be,te){return be.setDirty&&(!be.dirtyMap||be.dirtyMap.get(te.__pipeline.id))}P.unfinished|=$}o.performSeriesTasks=function(P){var H;P.eachSeries(function(W){H|=W.dataTask.perform()}),this.unfinished|=H},o.plan=function(){this._pipelineMap.each(function(P){var H=P.tail;do{if(H.__block){P.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var h=o.updatePayload=function(P,H){H!=="remain"&&(P.context.payload=H)};function y(P,H,W,X,K){var $=W.seriesTaskMap||(W.seriesTaskMap=g()),ie=H.seriesType,be=H.getTargetSeries;H.createOnAllSeries?X.eachRawSeries(te):ie?X.eachRawSeriesByType(ie,te):be&&be(X,K).each(te);function te(Ie){var Fe=Ie.uid,Qe=$.get(Fe)||$.set(Fe,s({plan:T,reset:S,count:I}));Qe.context={model:Ie,ecModel:X,api:K,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:P},k(P,Ie,Qe)}var Te=P._pipelineMap;$.each(function(Ie,Fe){Te.get(Fe)||(Ie.dispose(),$.removeKey(Fe))})}function b(P,H,W,X,K){var $=W.overallTask=W.overallTask||s({reset:E});$.context={ecModel:X,api:K,overallReset:H.overallReset,scheduler:P};var ie=$.agentStubMap=$.agentStubMap||g(),be=H.seriesType,te=H.getTargetSeries,Te=!0,Ie=H.modifyOutputEnd;be?X.eachRawSeriesByType(be,Fe):te?te(X,K).each(Fe):(Te=!1,f(X.getSeries(),Fe));function Fe(fe){var He=fe.uid,se=ie.get(He);se||(se=ie.set(He,s({reset:v,onDirty:O})),$.dirty()),se.context={model:fe,overallProgress:Te,modifyOutputEnd:Ie},se.agent=$,se.__block=Te,k(P,fe,se)}var Qe=P._pipelineMap;ie.each(function(fe,He){Qe.get(He)||(fe.dispose(),$.dirty(),ie.removeKey(He))})}function E(P){P.overallReset(P.ecModel,P.api,P.payload)}function v(P,H){return P.overallProgress&&w}function w(){this.agent.dirty(),this.getDownstream().dirty()}function O(){this.agent&&this.agent.dirty()}function T(P){return P.plan&&P.plan(P.model,P.ecModel,P.api,P.payload)}function S(P){P.useClearVisual&&P.data.clearAllVisual();var H=P.resetDefines=l(P.reset(P.model,P.ecModel,P.api,P.payload));return H.length>1?x(H,function(W,X){return _(X)}):C}var C=_(0);function _(P){return function(H,W){var X=W.data,K=W.resetDefines[P];if(K&&K.dataEach)for(var $=H.start;$<H.end;$++)K.dataEach(X,$);else K&&K.progress&&K.progress(H,X)}}function I(P){return P.data.count()}function k(P,H,W){var X=H.uid,K=P._pipelineMap.get(X);!K.head&&(K.head=W),K.tail&&K.tail.pipe(W),K.tail=W,W.__idxInPipeline=K.count++,W.__pipeline=K}r.wrapStageHandler=function(P,H){return m(P)&&(P={overallReset:P,seriesType:F(P)}),P.uid=n("stageHandler"),H&&(P.visualType=H),P};function F(P){z=null;try{P(B,j)}catch(H){}return z}var B={},j={},z;M(B,i),M(j,d),B.eachSeriesByType=B.eachRawSeriesByType=function(P){z=P},B.eachComponent=function(P){P.mainType==="series"&&P.subType&&(z=P.subType)};function M(P,H){for(var W in H.prototype)P[W]=p}var U=r;R.exports=U},akwb:function(R,N,e){var A=e("RSch"),f=e("bYtY"),x=e("D9ME"),m=e("QBsz");function g(s,a,n){x.call(this,s,a,n),this._lastFrame=0,this._lastFramePercent=0}var p=g.prototype;p.createLine=function(s,a,n){return new A(s,a,n)},p.updateAnimationPoints=function(s,a){this._points=a;for(var n=[0],i=0,d=1;d<a.length;d++){var t=a[d-1],l=a[d];i+=m.dist(t,l),n.push(i)}if(i===0)return;for(var d=0;d<n.length;d++)n[d]/=i;this._offsets=n,this._length=i},p.getLineLength=function(s){return this._length},p.updateSymbolPosition=function(s){var a=s.__t,n=this._points,i=this._offsets,d=n.length;if(!i)return;var t=this._lastFrame,l;if(a<this._lastFramePercent){var r=Math.min(t+1,d-1);for(l=r;l>=0&&!(i[l]<=a);l--);l=Math.min(l,d-2)}else{for(var l=t;l<d&&!(i[l]>a);l++);l=Math.min(l-1,d-2)}m.lerp(s.position,n[l],n[l+1],(a-i[l])/(i[l+1]-i[l]));var o=n[l+1][0]-n[l][0],u=n[l+1][1]-n[l][1];s.rotation=-Math.atan2(u,o)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,s.ignore=!1},f.inherits(g,x);var c=g;R.exports=c},apAg:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("bsht")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="SearchOutlined";var s=m.forwardRef(c);N.default=s},as94:function(R,N,e){var A=e("7aKB"),f=e("3LNs"),x=e("IwbS"),m=e("/y7N"),g=e("Fofx"),p=e("+rIm"),c=e("Znkb"),s=f.extend({makeElOption:function(d,t,l,r,o){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=u.polar,y=h.getOtherAxis(u),b=y.getExtent(),E;E=u["dataTo"+A.capitalFirst(u.dim)](t);var v=r.get("type");if(v&&v!=="none"){var w=m.buildElStyle(r),O=n[v](u,h,E,b,w);O.style=w,d.graphicKey=O.type,d.pointer=O}var T=r.get("label.margin"),S=a(t,l,r,h,T);m.buildLabelElOption(d,l,r,o,S)}});function a(d,t,l,r,o){var u=t.axis,h=u.dataToCoord(d),y=r.getAngleAxis().getExtent()[0];y=y/180*Math.PI;var b=r.getRadiusAxis().getExtent(),E,v,w;if(u.dim==="radius"){var O=g.create();g.rotate(O,O,y),g.translate(O,O,[r.cx,r.cy]),E=x.applyTransform([h,-o],O);var T=t.getModel("axisLabel").get("rotate")||0,S=p.innerTextLayout(y,T*Math.PI/180,-1);v=S.textAlign,w=S.textVerticalAlign}else{var C=b[1];E=r.coordToPoint([C+o,h]);var _=r.cx,I=r.cy;v=Math.abs(E[0]-_)/C<.3?"center":E[0]>_?"left":"right",w=Math.abs(E[1]-I)/C<.3?"middle":E[1]>I?"top":"bottom"}return{position:E,align:v,verticalAlign:w}}var n={line:function(d,t,l,r,o){return d.dim==="angle"?{type:"Line",shape:m.makeLineShape(t.coordToPoint([r[0],l]),t.coordToPoint([r[1],l]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:l}}},shadow:function(d,t,l,r,o){var u=Math.max(1,d.getBandWidth()),h=Math.PI/180;return d.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(t.cx,t.cy,r[0],r[1],(-l-u/2)*h,(-l+u/2)*h)}:{type:"Sector",shape:m.makeSectorShape(t.cx,t.cy,l-u/2,l+u/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",s);var i=s;R.exports=i},b56q:function(R,N,e){},b80e:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("gKaM")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="DoubleLeftOutlined";var s=m.forwardRef(c);N.default=s},b9oc:function(R,N,e){var A=e("bYtY"),f=A.each,x="\0_ec_hist_store";function m(a,n){var i=s(a);f(n,function(d,t){for(var l=i.length-1;l>=0;l--){var r=i[l];if(r[t])break}if(l<0){var o=a.queryComponents({mainType:"dataZoom",subType:"select",id:t})[0];if(o){var u=o.getPercentRange();i[0][t]={dataZoomId:t,start:u[0],end:u[1]}}}}),i.push(n)}function g(a){var n=s(a),i=n[n.length-1];n.length>1&&n.pop();var d={};return f(i,function(t,l){for(var r=n.length-1;r>=0;r--){var t=n[r][l];if(t){d[l]=t;break}}}),d}function p(a){a[x]=null}function c(a){return s(a).length}function s(a){var n=a[x];return n||(n=a[x]=[{}]),n}N.push=m,N.pop=g,N.clear=p,N.count=c},bBKM:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("+rIm"),p=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],s=x.extendComponentView({type:"radar",render:function(a,n,i){var d=this.group;d.removeAll(),this._buildAxes(a),this._buildSplitLineAndArea(a)},_buildAxes:function(a){var n=a.coordinateSystem,i=n.getIndicatorAxes(),d=m.map(i,function(t){var l=new g(t.model,{position:[n.cx,n.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(d,function(t){m.each(c,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(a){var n=a.coordinateSystem,i=n.getIndicatorAxes();if(!i.length)return;var d=a.get("shape"),t=a.getModel("splitLine"),l=a.getModel("splitArea"),r=t.getModel("lineStyle"),o=l.getModel("areaStyle"),u=t.get("show"),h=l.get("show"),y=r.get("color"),b=o.get("color");y=m.isArray(y)?y:[y],b=m.isArray(b)?b:[b];var E=[],v=[];function w(U,P,H){var W=H%P.length;return U[W]=U[W]||[],W}if(d==="circle")for(var O=i[0].getTicksCoords(),T=n.cx,S=n.cy,C=0;C<O.length;C++){if(u){var _=w(E,y,C);E[_].push(new p.Circle({shape:{cx:T,cy:S,r:O[C].coord}}))}if(h&&C<O.length-1){var _=w(v,b,C);v[_].push(new p.Ring({shape:{cx:T,cy:S,r0:O[C].coord,r:O[C+1].coord}}))}}else for(var I,k=m.map(i,function(U,P){var H=U.getTicksCoords();return I=I==null?H.length-1:Math.min(H.length-1,I),m.map(H,function(W){return n.coordToPoint(W.coord,P)})}),F=[],C=0;C<=I;C++){for(var B=[],j=0;j<i.length;j++)B.push(k[j][C]);if(B[0]&&B.push(B[0].slice()),u){var _=w(E,y,C);E[_].push(new p.Polyline({shape:{points:B}}))}if(h&&F){var _=w(v,b,C-1);v[_].push(new p.Polygon({shape:{points:B.concat(F)}}))}F=B.slice().reverse()}var z=r.getLineStyle(),M=o.getAreaStyle();m.each(v,function(U,P){this.group.add(p.mergePath(U,{style:m.defaults({stroke:"none",fill:b[P%b.length]},M),silent:!0}))},this),m.each(E,function(U,P){this.group.add(p.mergePath(U,{style:m.defaults({fill:"none",stroke:y[P%y.length]},z),silent:!0}))},this)}});R.exports=s},bBL8:function(R,N,e){var A=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),x=e("cbJ4"),m=e("0/Rx");A.registerLayout(f),A.registerVisual(x),A.registerProcessor(m("themeRiver"))},bE4E:function(R,N,e){},bE4q:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("RIqP"),p=e.n(g),c=e("q1tI"),s=e("TSYQ"),a=e.n(s),n=e("Zm9Q"),i=e("HQEm"),d=e.n(i),t=e("XBQK"),l=e("H84U"),r=function(F,B){var j={};for(var z in F)Object.prototype.hasOwnProperty.call(F,z)&&B.indexOf(z)<0&&(j[z]=F[z]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(F);M<z.length;M++)B.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(F,z[M])&&(j[z[M]]=F[z[M]]);return j},o=function(B){var j=B.prefixCls,z=B.separator,M=z===void 0?"/":z,U=B.children,P=B.overlay,H=B.dropdownProps,W=r(B,["prefixCls","separator","children","overlay","dropdownProps"]),X=c.useContext(l.b),K=X.getPrefixCls,$=K("breadcrumb",j),ie=function(Te){return P?c.createElement(t.a,f()({overlay:P,placement:"bottomCenter"},H),c.createElement("span",{className:"".concat($,"-overlay-link")},Te,c.createElement(d.a,null))):Te},be;return"href"in W?be=c.createElement("a",f()({className:"".concat($,"-link")},W),U):be=c.createElement("span",f()({className:"".concat($,"-link")},W),U),be=ie(be),U?c.createElement("span",null,be,M&&M!==""&&c.createElement("span",{className:"".concat($,"-separator")},M)):null};o.__ANT_BREADCRUMB_ITEM=!0;var u=o,h=function(B){var j=B.children,z=c.useContext(l.b),M=z.getPrefixCls,U=M("breadcrumb");return c.createElement("span",{className:"".concat(U,"-separator")},j||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var y=h,b=e("BvKs"),E=e("uaoM"),v=e("0n0R"),w=function(F,B){var j={};for(var z in F)Object.prototype.hasOwnProperty.call(F,z)&&B.indexOf(z)<0&&(j[z]=F[z]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(F);M<z.length;M++)B.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(F,z[M])&&(j[z[M]]=F[z[M]]);return j};function O(F,B){if(!F.breadcrumbName)return null;var j=Object.keys(B).join("|"),z=F.breadcrumbName.replace(new RegExp(":(".concat(j,")"),"g"),function(M,U){return B[U]||M});return z}function T(F,B,j,z){var M=j.indexOf(F)===j.length-1,U=O(F,B);return M?c.createElement("span",null,U):c.createElement("a",{href:"#/".concat(z.join("/"))},U)}var S=function(B,j){return B=(B||"").replace(/^\//,""),Object.keys(j).forEach(function(z){B=B.replace(":".concat(z),j[z])}),B},C=function(B){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",z=arguments.length>2?arguments[2]:void 0,M=p()(B),U=S(j,z);return U&&M.push(U),M},_=function(B){var j=B.prefixCls,z=B.separator,M=z===void 0?"/":z,U=B.style,P=B.className,H=B.routes,W=B.children,X=B.itemRender,K=X===void 0?T:X,$=B.params,ie=$===void 0?{}:$,be=w(B,["prefixCls","separator","style","className","routes","children","itemRender","params"]),te=c.useContext(l.b),Te=te.getPrefixCls,Ie=te.direction,Fe,Qe=Te("breadcrumb",j);if(H&&H.length>0){var fe=[];Fe=H.map(function(se){var Ce=S(se.path,ie);Ce&&fe.push(Ce);var mt;return se.children&&se.children.length&&(mt=c.createElement(b.a,null,se.children.map(function(Ne){return c.createElement(b.a.Item,{key:Ne.path||Ne.breadcrumbName},K(Ne,ie,H,C(fe,Ne.path,ie)))}))),c.createElement(u,{overlay:mt,separator:M,key:Ce||se.breadcrumbName},K(se,ie,H,fe))})}else W&&(Fe=Object(n.a)(W).map(function(se,Ce){return se&&(Object(E.a)(se.type&&(se.type.__ANT_BREADCRUMB_ITEM===!0||se.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(v.a)(se,{separator:M,key:Ce}))}));var He=a()(P,Qe,m()({},"".concat(Qe,"-rtl"),Ie==="rtl"));return c.createElement("div",f()({className:He,style:U},be),Fe)};_.Item=u,_.Separator=y;var I=_,k=N.a=I},bKJz:function(R,N,e){},bLfw:function(R,N,e){var A=e("bYtY"),f=e("Qxkt"),x=e("iRjW"),m=e("Yl7c"),g=m.enableClassManagement,p=m.parseClassType,c=e("4NO4"),s=c.makeInner,a=e("+TT/"),n=e("3hzK"),i=s(),d=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(r,o,u,h){f.call(this,r,o,u,h),this.uid=x.getUID("ec_cpt_model")},init:function(r,o,u,h){this.mergeDefaultAndTheme(r,u)},mergeDefaultAndTheme:function(r,o){var u=this.layoutMode,h=u?a.getLayoutParams(r):{},y=o.getTheme();A.merge(r,y.get(this.mainType)),A.merge(r,this.getDefaultOption()),u&&a.mergeLayoutParam(r,h,u)},mergeOption:function(r,o){A.merge(this.option,r,!0);var u=this.layoutMode;u&&a.mergeLayoutParam(this.option,r,u)},optionUpdated:function(r,o){},getDefaultOption:function(){var r=i(this);if(!r.defaultOption){for(var o=[],u=this.constructor;u;){var h=u.prototype.defaultOption;h&&o.push(h),u=u.superClass}for(var y={},b=o.length-1;b>=0;b--)y=A.merge(y,o[b],!0);r.defaultOption=y}return r.defaultOption},getReferringComponents:function(r){return this.ecModel.queryComponents({mainType:r,index:this.get(r+"Index",!0),id:this.get(r+"Id",!0)})}});g(d,{registerWhenExtend:!0}),x.enableSubTypeDefaulter(d),x.enableTopologicalTravel(d,t);function t(r){var o=[];return A.each(d.getClassesByMainType(r),function(u){o=o.concat(u.prototype.dependencies||[])}),o=A.map(o,function(u){return p(u).main}),r!=="dataset"&&A.indexOf(o,"dataset")<=0&&o.unshift("dataset"),o}A.mixin(d,n);var l=d;R.exports=l},bMXI:function(R,N,e){var A=e("bYtY"),f=e("QBsz"),x=e("Fofx"),m=e("mFDi"),g=e("DN4a"),p=f.applyTransform;function c(){g.call(this)}A.mixin(c,g);function s(i){this.name=i,this.zoomLimit,g.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(i,d,t,l){return this._rect=new m(i,d,t,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(i,d,t,l){this.transformTo(i,d,t,l),this._viewRect=new m(i,d,t,l)},transformTo:function(i,d,t,l){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new m(i,d,t,l)),o.decomposeTransform(),this._updateTransform()},setCenter:function(i){if(!i)return;this._center=i,this._updateCenterAndZoom()},setZoom:function(i){i=i||1;var d=this.zoomLimit;d&&(d.max!=null&&(i=Math.min(d.max,i)),d.min!=null&&(i=Math.max(d.min,i))),this._zoom=i,this._updateCenterAndZoom()},getDefaultCenter:function(){var i=this.getBoundingRect(),d=i.x+i.width/2,t=i.y+i.height/2;return[d,t]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var i=this._rawTransformable.getLocalTransform(),d=this._roamTransformable,t=this.getDefaultCenter(),l=this.getCenter(),r=this.getZoom();l=f.applyTransform([],l,i),t=f.applyTransform([],t,i),d.origin=l,d.position=[t[0]-l[0],t[1]-l[1]],d.scale=[r,r],this._updateTransform()},_updateTransform:function(){var i=this._roamTransformable,d=this._rawTransformable;d.parent=i,i.updateTransform(),d.updateTransform(),x.copy(this.transform||(this.transform=[]),d.transform||x.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],x.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var i=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:i?A.slice(i):x.create(),rawScale:A.slice(d.scale),rawPosition:A.slice(d.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var i=this.getBoundingRect().clone();return i.applyTransform(this.transform),i},dataToPoint:function(i,d,t){var l=d?this._rawTransform:this.transform;return t=t||[],l?p(t,i,l):f.copy(t,i)},pointToData:function(i){var d=this.invTransform;return d?p([],i,d):[i[0],i[1]]},convertToPixel:A.curry(a,"dataToPoint"),convertFromPixel:A.curry(a,"pointToData"),containPoint:function(i){return this.getViewRectAfterRoam().contain(i[0],i[1])}},A.mixin(s,g);function a(i,d,t,l){var r=t.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[i](l):null}var n=s;R.exports=n},bNin:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("FBjb"),m=e("Itpr"),g=m.radialCoordinate,p=e("ProS"),c=e("4mN7"),s=e("bMXI"),a=e("Ae+d"),n=e("SgGq"),i=e("xSat"),d=i.onIrrelevantElement,t=e("Tghj"),l=t.__DEV__,r=e("OELB"),o=r.parsePercent,u=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,S){var C=S.childPoints,_=C.length,I=S.parentPoint,k=C[0],F=C[_-1];if(_===1){T.moveTo(I[0],I[1]),T.lineTo(k[0],k[1]);return}var B=S.orient,j=B==="TB"||B==="BT"?0:1,z=1-j,M=o(S.forkPosition,1),U=[];U[j]=I[j],U[z]=I[z]+(F[z]-I[z])*M,T.moveTo(I[0],I[1]),T.lineTo(U[0],U[1]),T.moveTo(k[0],k[1]),U[j]=k[j],T.lineTo(U[0],U[1]),U[j]=F[j],T.lineTo(U[0],U[1]),T.lineTo(F[0],F[1]);for(var P=1;P<_-1;P++){var H=C[P];T.moveTo(H[0],H[1]),U[j]=H[j],T.lineTo(U[0],U[1])}}}),h=p.extendChartView({type:"tree",init:function(T,S){this._oldTree,this._mainGroup=new f.Group,this._controller=new n(S.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,S,C,_){var I=T.getData(),k=T.layoutInfo,F=this._mainGroup,B=T.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(T,k,B),this._updateController(T,S,C);var j=this._data,z={expandAndCollapse:T.get("expandAndCollapse"),layout:B,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};I.diff(j).add(function(M){y(I,M)&&E(I,M,null,F,T,z)}).update(function(M,U){var P=j.getItemGraphicEl(U);if(!y(I,M)){P&&w(j,U,P,F,T,z);return}E(I,M,P,F,T,z)}).remove(function(M){var U=j.getItemGraphicEl(M);U&&w(j,M,U,F,T,z)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),z.expandAndCollapse===!0&&I.eachItemGraphicEl(function(M,U){M.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:U})})}),this._data=I},_updateViewCoordSys:function(T){var S=T.getData(),C=[];S.each(function(j){var z=S.getItemLayout(j);z&&!isNaN(z.x)&&!isNaN(z.y)&&C.push([+z.x,+z.y])});var _=[],I=[];c.fromPoints(C,_,I);var k=this._min,F=this._max;I[0]-_[0]===0&&(_[0]=k?k[0]:_[0]-1,I[0]=F?F[0]:I[0]+1),I[1]-_[1]===0&&(_[1]=k?k[1]:_[1]-1,I[1]=F?F[1]:I[1]+1);var B=T.coordinateSystem=new s;B.zoomLimit=T.get("scaleLimit"),B.setBoundingRect(_[0],_[1],I[0]-_[0],I[1]-_[1]),B.setCenter(T.get("center")),B.setZoom(T.get("zoom")),this.group.attr({position:B.position,scale:B.scale}),this._viewCoordSys=B,this._min=_,this._max=I},_updateController:function(T,S,C){var _=this._controller,I=this._controllerHost,k=this.group;_.setPointerChecker(function(F,B,j){var z=k.getBoundingRect();return z.applyTransform(k.transform),z.contain(B,j)&&!d(F,C,T)}),_.enable(T.get("roam")),I.zoomLimit=T.get("scaleLimit"),I.zoom=T.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(F){a.updateViewOnPan(I,F.dx,F.dy),C.dispatchAction({seriesId:T.id,type:"treeRoam",dx:F.dx,dy:F.dy})},this).on("zoom",function(F){a.updateViewOnZoom(I,F.scale,F.originX,F.originY),C.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:F.scale,originX:F.originX,originY:F.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var S=T.getData(),C=this._getNodeGlobalScale(T),_=[C,C];S.eachItemGraphicEl(function(I,k){I.attr("scale",_)})},_getNodeGlobalScale:function(T){var S=T.coordinateSystem;if(S.type!=="view")return 1;var C=this._nodeScaleRatio,_=S.scale,I=_&&_[0]||1,k=S.getZoom(),F=(k-1)*C+1;return F/I},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function y(T,S){var C=T.getItemLayout(S);return C&&!isNaN(C.x)&&!isNaN(C.y)&&T.getItemVisual(S,"symbol")!=="none"}function b(T,S,C){return C.itemModel=S,C.itemStyle=S.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=S.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=S.getModel("lineStyle").getLineStyle(),C.labelModel=S.getModel("label"),C.hoverLabelModel=S.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function E(T,S,C,_,I,k){var F=!C,B=T.tree.getNodeByDataIndex(S),j=B.getModel(),k=b(B,j,k),z=T.tree.root,M=B.parentNode===z?B:B.parentNode||B,U=T.getItemGraphicEl(M.dataIndex),P=M.getLayout(),H=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:P,W=B.getLayout();F?(C=new x(T,S,k),C.attr("position",[H.x,H.y])):C.updateData(T,S,k),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=W.rawX,C.__radialRawY=W.rawY,_.add(C),T.setItemGraphicEl(S,C),f.updateProps(C,{position:[W.x,W.y]},I);var X=C.getSymbolPath();if(k.layout==="radial"){var K=z.children[0],$=K.getLayout(),ie=K.children.length,be,te;if(W.x===$.x&&B.isExpand===!0){var Te={};Te.x=(K.children[0].getLayout().x+K.children[ie-1].getLayout().x)/2,Te.y=(K.children[0].getLayout().y+K.children[ie-1].getLayout().y)/2,be=Math.atan2(Te.y-$.y,Te.x-$.x),be<0&&(be=Math.PI*2+be),te=Te.x<$.x,te&&(be=be-Math.PI)}else be=Math.atan2(W.y-$.y,W.x-$.x),be<0&&(be=Math.PI*2+be),B.children.length===0||B.children.length!==0&&B.isExpand===!1?(te=W.x<$.x,te&&(be=be-Math.PI)):(te=W.x>$.x,te||(be=be-Math.PI));var Ie=te?"left":"right",Fe=k.labelModel.get("rotate"),Qe=Fe*(Math.PI/180);X.setStyle({textPosition:k.labelModel.get("position")||Ie,textRotation:Fe==null?-be:Qe,textOrigin:"center",verticalAlign:"middle"})}v(I,B,z,C,H,P,W,_,k)}function v(T,S,C,_,I,k,F,B,j){var z=j.edgeShape,M=_.__edge;if(z==="curve")S.parentNode&&S.parentNode!==C&&(M||(M=_.__edge=new f.BezierCurve({shape:O(j,I,I),style:A.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(M,{shape:O(j,k,F),style:{opacity:1}},T));else if(z==="polyline"&&(j.layout==="orthogonal"&&(S!==C&&S.children&&S.children.length!==0&&S.isExpand===!0))){for(var U=S.children,P=[],H=0;H<U.length;H++){var W=U[H].getLayout();P.push([W.x,W.y])}M||(M=_.__edge=new u({shape:{parentPoint:[F.x,F.y],childPoints:[[F.x,F.y]],orient:j.orient,forkPosition:j.edgeForkPosition},style:A.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(M,{shape:{parentPoint:[F.x,F.y],childPoints:P},style:{opacity:1}},T)}B.add(M)}function w(T,S,C,_,I,k){for(var F=T.tree.getNodeByDataIndex(S),B=T.tree.root,j=F.getModel(),k=b(F,j,k),z=F.parentNode===B?F:F.parentNode||F,M=k.edgeShape,U;U=z.getLayout(),U==null;)z=z.parentNode===B?z:z.parentNode||z;f.updateProps(C,{position:[U.x+1,U.y+1]},I,function(){_.remove(C),T.setItemGraphicEl(S,null)}),C.fadeOut(null,{keepLabel:!0});var P=T.getItemGraphicEl(z.dataIndex),H=P.__edge,W=C.__edge||(z.isExpand===!1||z.children.length===1?H:void 0),M=k.edgeShape;W&&(M==="curve"?f.updateProps(W,{shape:O(k,U,U),style:{opacity:0}},I,function(){_.remove(W)}):M==="polyline"&&k.layout==="orthogonal"&&f.updateProps(W,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},I,function(){_.remove(W)}))}function O(T,S,C){var _,I,k,F,B=T.orient,j,z,M,U;if(T.layout==="radial"){j=S.rawX,M=S.rawY,z=C.rawX,U=C.rawY;var P=g(j,M),H=g(j,M+(U-M)*T.curvature),W=g(z,U+(M-U)*T.curvature),X=g(z,U);return{x1:P.x,y1:P.y,x2:X.x,y2:X.y,cpx1:H.x,cpy1:H.y,cpx2:W.x,cpy2:W.y}}else j=S.x,M=S.y,z=C.x,U=C.y,(B==="LR"||B==="RL")&&(_=j+(z-j)*T.curvature,I=M,k=z+(j-z)*T.curvature,F=U),(B==="TB"||B==="BT")&&(_=j,I=M+(U-M)*T.curvature,k=z,F=U+(M-U)*T.curvature);return{x1:j,y1:M,x2:z,y2:U,cpx1:_,cpy1:I,cpx2:k,cpy2:F}}R.exports=h},bT9E:function(R,N,e){"use strict";e.d(N,"a",function(){return f});var A=e("VTBJ");function f(x,m){var g=Object(A.a)({},x);return Array.isArray(m)&&m.forEach(function(p){delete g[p]}),g}},bX4T:function(R,N,e){"use strict";e.d(N,"a",function(){return s});var A=e("VTBJ"),f=`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`,x=`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`,m="".concat(f," ").concat(x).split(/[\s\n]+/),g="aria-",p="data-";function c(a,n){return a.indexOf(n)===0}function s(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i;n===!1?i={aria:!0,data:!0,attr:!0}:n===!0?i={aria:!0}:i=Object(A.a)({},n);var d={};return Object.keys(a).forEach(function(t){(i.aria&&(t==="role"||c(t,g))||i.data&&c(t,p)||i.attr&&m.includes(t))&&(d[t]=a[t])}),d}},bYtY:function(R,N){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},A={"[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,x=Array.prototype,m=x.forEach,g=x.filter,p=x.slice,c=x.map,s=x.reduce,a={};function n(se,Ce){se==="createCanvas"&&(u=null),a[se]=Ce}function i(se){if(se==null||typeof se!="object")return se;var Ce=se,mt=f.call(se);if(mt==="[object Array]"){if(!Ie(se)){Ce=[];for(var Ne=0,ae=se.length;Ne<ae;Ne++)Ce[Ne]=i(se[Ne])}}else if(A[mt]){if(!Ie(se)){var ce=se.constructor;if(se.constructor.from)Ce=ce.from(se);else{Ce=new ce(se.length);for(var Ne=0,ae=se.length;Ne<ae;Ne++)Ce[Ne]=i(se[Ne])}}}else if(!e[mt]&&!Ie(se)&&!U(se)){Ce={};for(var le in se)se.hasOwnProperty(le)&&(Ce[le]=i(se[le]))}return Ce}function d(se,Ce,mt){if(!j(Ce)||!j(se))return mt?i(Ce):se;for(var Ne in Ce)if(Ce.hasOwnProperty(Ne)){var ae=se[Ne],ce=Ce[Ne];j(ce)&&j(ae)&&!k(ce)&&!k(ae)&&!U(ce)&&!U(ae)&&!z(ce)&&!z(ae)&&!Ie(ce)&&!Ie(ae)?d(ae,ce,mt):(mt||!(Ne in se))&&(se[Ne]=i(Ce[Ne],!0))}return se}function t(se,Ce){for(var mt=se[0],Ne=1,ae=se.length;Ne<ae;Ne++)mt=d(mt,se[Ne],Ce);return mt}function l(se,Ce){for(var mt in Ce)Ce.hasOwnProperty(mt)&&(se[mt]=Ce[mt]);return se}function r(se,Ce,mt){for(var Ne in Ce)Ce.hasOwnProperty(Ne)&&(mt?Ce[Ne]!=null:se[Ne]==null)&&(se[Ne]=Ce[Ne]);return se}var o=function(){return a.createCanvas()};a.createCanvas=function(){return document.createElement("canvas")};var u;function h(){return u||(u=o().getContext("2d")),u}function y(se,Ce){if(se){if(se.indexOf)return se.indexOf(Ce);for(var mt=0,Ne=se.length;mt<Ne;mt++)if(se[mt]===Ce)return mt}return-1}function b(se,Ce){var mt=se.prototype;function Ne(){}Ne.prototype=Ce.prototype,se.prototype=new Ne;for(var ae in mt)mt.hasOwnProperty(ae)&&(se.prototype[ae]=mt[ae]);se.prototype.constructor=se,se.superClass=Ce}function E(se,Ce,mt){se="prototype"in se?se.prototype:se,Ce="prototype"in Ce?Ce.prototype:Ce,r(se,Ce,mt)}function v(se){return se?typeof se=="string"?!1:typeof se.length=="number":void 0}function w(se,Ce,mt){if(!(se&&Ce))return;if(se.forEach&&se.forEach===m)se.forEach(Ce,mt);else if(se.length===+se.length)for(var Ne=0,ae=se.length;Ne<ae;Ne++)Ce.call(mt,se[Ne],Ne,se);else for(var ce in se)se.hasOwnProperty(ce)&&Ce.call(mt,se[ce],ce,se)}function O(se,Ce,mt){if(!(se&&Ce))return;if(se.map&&se.map===c)return se.map(Ce,mt);for(var Ne=[],ae=0,ce=se.length;ae<ce;ae++)Ne.push(Ce.call(mt,se[ae],ae,se));return Ne}function T(se,Ce,mt,Ne){if(!(se&&Ce))return;if(se.reduce&&se.reduce===s)return se.reduce(Ce,mt,Ne);for(var ae=0,ce=se.length;ae<ce;ae++)mt=Ce.call(Ne,mt,se[ae],ae,se);return mt}function S(se,Ce,mt){if(!(se&&Ce))return;if(se.filter&&se.filter===g)return se.filter(Ce,mt);for(var Ne=[],ae=0,ce=se.length;ae<ce;ae++)Ce.call(mt,se[ae],ae,se)&&Ne.push(se[ae]);return Ne}function C(se,Ce,mt){if(!(se&&Ce))return;for(var Ne=0,ae=se.length;Ne<ae;Ne++)if(Ce.call(mt,se[Ne],Ne,se))return se[Ne]}function _(se,Ce){var mt=p.call(arguments,2);return function(){return se.apply(Ce,mt.concat(p.call(arguments)))}}function I(se){var Ce=p.call(arguments,1);return function(){return se.apply(this,Ce.concat(p.call(arguments)))}}function k(se){return f.call(se)==="[object Array]"}function F(se){return typeof se=="function"}function B(se){return f.call(se)==="[object String]"}function j(se){var Ce=typeof se;return Ce==="function"||!!se&&Ce==="object"}function z(se){return!!e[f.call(se)]}function M(se){return!!A[f.call(se)]}function U(se){return typeof se=="object"&&typeof se.nodeType=="number"&&typeof se.ownerDocument=="object"}function P(se){return se!==se}function H(se){for(var Ce=0,mt=arguments.length;Ce<mt;Ce++)if(arguments[Ce]!=null)return arguments[Ce]}function W(se,Ce){return se!=null?se:Ce}function X(se,Ce,mt){return se!=null?se:Ce!=null?Ce:mt}function K(){return Function.call.apply(p,arguments)}function $(se){if(typeof se=="number")return[se,se,se,se];var Ce=se.length;return Ce===2?[se[0],se[1],se[0],se[1]]:Ce===3?[se[0],se[1],se[2],se[1]]:se}function ie(se,Ce){if(!se)throw new Error(Ce)}function be(se){return se==null?null:typeof se.trim=="function"?se.trim():se.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var te="__ec_primitive__";function Te(se){se[te]=!0}function Ie(se){return se[te]}function Fe(se){var Ce=k(se);this.data={};var mt=this;se instanceof Fe?se.each(Ne):se&&w(se,Ne);function Ne(ae,ce){Ce?mt.set(ae,ce):mt.set(ce,ae)}}Fe.prototype={constructor:Fe,get:function(Ce){return this.data.hasOwnProperty(Ce)?this.data[Ce]:null},set:function(Ce,mt){return this.data[Ce]=mt},each:function(Ce,mt){mt!==void 0&&(Ce=_(Ce,mt));for(var Ne in this.data)this.data.hasOwnProperty(Ne)&&Ce(this.data[Ne],Ne)},removeKey:function(Ce){delete this.data[Ce]}};function Qe(se){return new Fe(se)}function fe(se,Ce){for(var mt=new se.constructor(se.length+Ce.length),Ne=0;Ne<se.length;Ne++)mt[Ne]=se[Ne];var ae=se.length;for(Ne=0;Ne<Ce.length;Ne++)mt[Ne+ae]=Ce[Ne];return mt}function He(){}N.$override=n,N.clone=i,N.merge=d,N.mergeAll=t,N.extend=l,N.defaults=r,N.createCanvas=o,N.getContext=h,N.indexOf=y,N.inherits=b,N.mixin=E,N.isArrayLike=v,N.each=w,N.map=O,N.reduce=T,N.filter=S,N.find=C,N.bind=_,N.curry=I,N.isArray=k,N.isFunction=F,N.isString=B,N.isObject=j,N.isBuiltInObject=z,N.isTypedArray=M,N.isDom=U,N.eqNaN=P,N.retrieve=H,N.retrieve2=W,N.retrieve3=X,N.slice=K,N.normalizeCssArray=$,N.assert=ie,N.trim=be,N.setAsPrimitive=Te,N.isPrimitive=Ie,N.createHashMap=Qe,N.concatArray=fe,N.noop=He},bZqE:function(R,N){function e(f,x,m){for(var g=[f],p=[],c;c=g.pop();)if(p.push(c),c.isExpand){var s=c.children;if(s.length)for(var a=0;a<s.length;a++)g.push(s[a])}for(;c=p.pop();)x(c,m)}function A(f,x){for(var m=[f],g;g=m.pop();)if(x(g),g.isExpand){var p=g.children;if(p.length)for(var c=p.length-1;c>=0;c--)m.push(p[c])}}N.eachAfter=e,N.eachBefore=A},bahg:function(R,N){function e(A){return A.split("")}R.exports=e},bbsP:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("CWI+"),m=e.n(x)},bogI:function(R,N,e){"use strict";e.d(N,"a",function(){return A});var A=function(x){if(!x)return null;var m=typeof x=="function";return m?x():x}},bsht:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},bx4M:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("q1tI"),p=e("TSYQ"),c=e.n(p),s=e("BGR+"),a=e("H84U"),n=function(O,T){var S={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(S[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(S[C[_]]=O[C[_]]);return S},i=function(T){return g.createElement(a.a,null,function(S){var C=S.getPrefixCls,_=T.prefixCls,I=T.className,k=T.hoverable,F=k===void 0?!0:k,B=n(T,["prefixCls","className","hoverable"]),j=C("card",_),z=c()("".concat(j,"-grid"),I,f()({},"".concat(j,"-grid-hoverable"),F));return g.createElement("div",m()({},B,{className:z}))})},d=i,t=function(O,T){var S={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(S[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(S[C[_]]=O[C[_]]);return S},l=function(T){return g.createElement(a.a,null,function(S){var C=S.getPrefixCls,_=T.prefixCls,I=T.className,k=T.avatar,F=T.title,B=T.description,j=t(T,["prefixCls","className","avatar","title","description"]),z=C("card",_),M=c()("".concat(z,"-meta"),I),U=k?g.createElement("div",{className:"".concat(z,"-meta-avatar")},k):null,P=F?g.createElement("div",{className:"".concat(z,"-meta-title")},F):null,H=B?g.createElement("div",{className:"".concat(z,"-meta-description")},B):null,W=P||H?g.createElement("div",{className:"".concat(z,"-meta-detail")},P,H):null;return g.createElement("div",m()({},j,{className:M}),U,W)})},r=l,o=e("ZTPi"),u=e("BMrR"),h=e("kPKH"),y=e("3Nzz"),b=function(O,T){var S={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(S[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(S[C[_]]=O[C[_]]);return S};function E(O){var T=O.map(function(S,C){return g.createElement("li",{style:{width:"".concat(100/O.length,"%")},key:"action-".concat(C)},g.createElement("span",null,S))});return T}var v=function(T){var S,C,_=g.useContext(a.b),I=_.getPrefixCls,k=_.direction,F=g.useContext(y.b),B=function(jt){T.onTabChange&&T.onTabChange(jt)},j=function(){var jt;return g.Children.forEach(T.children,function(kt){kt&&kt.type&&kt.type===d&&(jt=!0)}),jt},z=T.prefixCls,M=T.className,U=T.extra,P=T.headStyle,H=P===void 0?{}:P,W=T.bodyStyle,X=W===void 0?{}:W,K=T.title,$=T.loading,ie=T.bordered,be=ie===void 0?!0:ie,te=T.size,Te=T.type,Ie=T.cover,Fe=T.actions,Qe=T.tabList,fe=T.children,He=T.activeTabKey,se=T.defaultActiveTabKey,Ce=T.tabBarExtraContent,mt=T.hoverable,Ne=T.tabProps,ae=Ne===void 0?{}:Ne,ce=b(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),le=I("card",z),je=X.padding===0||X.padding==="0px"?{padding:24}:void 0,Re=g.createElement("div",{className:"".concat(le,"-loading-block")}),Ze=g.createElement("div",{className:"".concat(le,"-loading-content"),style:je},g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:22},Re)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:8},Re),g.createElement(h.a,{span:15},Re)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:6},Re),g.createElement(h.a,{span:18},Re)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:13},Re),g.createElement(h.a,{span:9},Re)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:4},Re),g.createElement(h.a,{span:3},Re),g.createElement(h.a,{span:16},Re))),De=He!==void 0,ne=m()(m()({},ae),(S={},f()(S,De?"activeKey":"defaultActiveKey",De?He:se),f()(S,"tabBarExtraContent",Ce),S)),he,pe=Qe&&Qe.length?g.createElement(o.a,m()({size:"large"},ne,{className:"".concat(le,"-head-tabs"),onChange:B}),Qe.map(function(Mt){return g.createElement(o.a.TabPane,{tab:Mt.tab,disabled:Mt.disabled,key:Mt.key})})):null;(K||U||pe)&&(he=g.createElement("div",{className:"".concat(le,"-head"),style:H},g.createElement("div",{className:"".concat(le,"-head-wrapper")},K&&g.createElement("div",{className:"".concat(le,"-head-title")},K),U&&g.createElement("div",{className:"".concat(le,"-extra")},U)),pe));var Xe=Ie?g.createElement("div",{className:"".concat(le,"-cover")},Ie):null,lt=g.createElement("div",{className:"".concat(le,"-body"),style:X},$?Ze:fe),At=Fe&&Fe.length?g.createElement("ul",{className:"".concat(le,"-actions")},E(Fe)):null,Me=Object(s.default)(ce,["onTabChange"]),Ht=te||F,tt=c()(le,M,(C={},f()(C,"".concat(le,"-loading"),$),f()(C,"".concat(le,"-bordered"),be),f()(C,"".concat(le,"-hoverable"),mt),f()(C,"".concat(le,"-contain-grid"),j()),f()(C,"".concat(le,"-contain-tabs"),Qe&&Qe.length),f()(C,"".concat(le,"-").concat(Ht),Ht),f()(C,"".concat(le,"-type-").concat(Te),!!Te),f()(C,"".concat(le,"-rtl"),k==="rtl"),C));return g.createElement("div",m()({},Me,{className:tt}),he,Xe,lt,At)};v.Grid=d,v.Meta=r;var w=N.a=v},c2i1:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("Yl7c"),g=m.enableClassCheck;function p(t){return"_EC_"+t}var c=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=c.prototype;s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,l){t=t==null?""+l:""+t;var r=this._nodesMap;if(r[p(t)])return;var o=new a(t,l);return o.hostGraph=this,this.nodes.push(o),r[p(t)]=o,o},s.getNodeByIndex=function(t){var l=this.data.getRawIndex(t);return this.nodes[l]},s.getNodeById=function(t){return this._nodesMap[p(t)]},s.addEdge=function(t,l,r){var o=this._nodesMap,u=this._edgesMap;if(typeof t=="number"&&(t=this.nodes[t]),typeof l=="number"&&(l=this.nodes[l]),a.isInstance(t)||(t=o[p(t)]),a.isInstance(l)||(l=o[p(l)]),!t||!l)return;var h=t.id+"-"+l.id;if(u[h])return;var y=new n(t,l,r);return y.hostGraph=this,this._directed&&(t.outEdges.push(y),l.inEdges.push(y)),t.edges.push(y),t!==l&&l.edges.push(y),this.edges.push(y),u[h]=y,y},s.getEdgeByIndex=function(t){var l=this.edgeData.getRawIndex(t);return this.edges[l]},s.getEdge=function(t,l){a.isInstance(t)&&(t=t.id),a.isInstance(l)&&(l=l.id);var r=this._edgesMap;return this._directed?r[t+"-"+l]:r[t+"-"+l]||r[l+"-"+t]},s.eachNode=function(t,l){for(var r=this.nodes,o=r.length,u=0;u<o;u++)r[u].dataIndex>=0&&t.call(l,r[u],u)},s.eachEdge=function(t,l){for(var r=this.edges,o=r.length,u=0;u<o;u++)r[u].dataIndex>=0&&r[u].node1.dataIndex>=0&&r[u].node2.dataIndex>=0&&t.call(l,r[u],u)},s.breadthFirstTraverse=function(t,l,r,o){if(a.isInstance(l)||(l=this._nodesMap[p(l)]),!l)return;for(var u=r==="out"?"outEdges":r==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(t.call(o,l,null))return;for(var y=[l];y.length;)for(var b=y.shift(),E=b[u],h=0;h<E.length;h++){var v=E[h],w=v.node1===b?v.node2:v.node1;if(!w.__visited){if(t.call(o,w,b))return;y.push(w),w.__visited=!0}}},s.update=function(){for(var t=this.data,l=this.edgeData,r=this.nodes,o=this.edges,u=0,h=r.length;u<h;u++)r[u].dataIndex=-1;for(var u=0,h=t.count();u<h;u++)r[t.getRawIndex(u)].dataIndex=u;l.filterSelf(function(y){var b=o[l.getRawIndex(y)];return b.node1.dataIndex>=0&&b.node2.dataIndex>=0});for(var u=0,h=o.length;u<h;u++)o[u].dataIndex=-1;for(var u=0,h=l.count();u<h;u++)o[l.getRawIndex(u)].dataIndex=u},s.clone=function(){for(var t=new c(this._directed),l=this.nodes,r=this.edges,o=0;o<l.length;o++)t.addNode(l[o].id,l[o].dataIndex);for(var o=0;o<r.length;o++){var u=r[o];t.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return t};function a(t,l){this.id=t==null?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}a.prototype={constructor:a,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(this.dataIndex<0)return;var l=this.hostGraph,r=l.data.getItemModel(this.dataIndex);return r.getModel(t)}};function n(t,l,r){this.node1=t,this.node2=l,this.dataIndex=r==null?-1:r}n.prototype.getModel=function(t){if(this.dataIndex<0)return;var l=this.hostGraph,r=l.edgeData.getItemModel(this.dataIndex);return r.getModel(t)};var i=function(t,l){return{getValue:function(r){var o=this[t][l];return o.get(o.getDimension(r||"value"),this.dataIndex)},setVisual:function(r,o){this.dataIndex>=0&&this[t][l].setItemVisual(this.dataIndex,r,o)},getVisual:function(r,o){return this[t][l].getItemVisual(this.dataIndex,r,o)},setLayout:function(r,o){this.dataIndex>=0&&this[t][l].setItemLayout(this.dataIndex,r,o)},getLayout:function(){return this[t][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][l].getRawIndex(this.dataIndex)}}};x.mixin(a,i("hostGraph","data")),x.mixin(n,i("hostGraph","edgeData")),c.Node=a,c.Edge=n,g(a),g(n);var d=c;R.exports=d},c3jg:function(R,N,e){"use strict";e.d(N,"e",function(){return c}),e.d(N,"c",function(){return a}),e.d(N,"d",function(){return n}),e.d(N,"a",function(){return d}),e.d(N,"f",function(){return t}),e.d(N,"b",function(){return l});var A=e("KQm4"),f=e("VTBJ"),x=e("Ff2n"),m=e("Zm9Q"),g=e("Kwbf"),p=e("wPhX");function c(r,o){return r!=null?r:o}function s(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function u(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(b){var E=b.key,v=b.children;Object(g.a)(E!=null,"Tree node must have a certain key: [".concat(y).concat(E,"]"));var w=String(E);Object(g.a)(!o.has(w)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(w)),o.set(w,!0),u(v,"".concat(y).concat(w," > "))})}u(r)}function a(r){function o(u){var h=Object(m.a)(u);return h.map(function(y){if(!Object(p.i)(y))return Object(g.a)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var b=y.key,E=y.props,v=E.children,w=Object(x.a)(E,["children"]),O=Object(f.a)({key:b},w),T=o(v);return T.length&&(O.children=T),O}).filter(function(y){return y})}return o(r)}function n(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=new Set(o===!0?[]:o),h=[];function y(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return b.map(function(v,w){var O=Object(p.h)(E?E.pos:"0",w),T=c(v.key,O),S=Object(f.a)(Object(f.a)({},v),{},{parent:E,pos:O,children:null,data:v,isStart:[].concat(Object(A.a)(E?E.isStart:[]),[w===0]),isEnd:[].concat(Object(A.a)(E?E.isEnd:[]),[w===b.length-1])});return h.push(S),o===!0||u.has(T)?S.children=y(v.children||[],S):S.children=[],S})}return y(r),h}function i(r,o,u){var h;u?typeof u=="string"?h=function(E){return E[u]}:typeof u=="function"&&(h=function(E){return u(E)}):h=function(E,v){return c(E.key,v)};function y(b,E,v){var w=b?b.children:r,O=b?Object(p.h)(v.pos,E):"0";if(b){var T=h(b,O),S={node:b,index:E,pos:O,key:T,parentPos:v.node?v.pos:null,level:v.level+1};o(S)}w&&w.forEach(function(C,_){y(C,_,{node:b,pos:O,level:v?v.level+1:-1})})}y(null)}function d(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.initWrapper,h=o.processEntity,y=o.onProcessFinished,b=arguments.length>2?arguments[2]:void 0,E={},v={},w={posEntities:E,keyEntities:v};return u&&(w=u(w)||w),i(r,function(O){var T=O.node,S=O.index,C=O.pos,_=O.key,I=O.parentPos,k=O.level,F={node:T,index:S,key:_,pos:C,level:k},B=c(_,C);E[C]=F,v[B]=F,F.parent=E[I],F.parent&&(F.parent.children=F.parent.children||[],F.parent.children.push(F)),h&&h(F,w)},b),y&&y(w),w}function t(r,o){var u=o.expandedKeys,h=o.selectedKeys,y=o.loadedKeys,b=o.loadingKeys,E=o.checkedKeys,v=o.halfCheckedKeys,w=o.dragOverNodeKey,O=o.dropPosition,T=o.keyEntities,S=T[r],C={eventKey:r,expanded:u.indexOf(r)!==-1,selected:h.indexOf(r)!==-1,loaded:y.indexOf(r)!==-1,loading:b.indexOf(r)!==-1,checked:E.indexOf(r)!==-1,halfChecked:v.indexOf(r)!==-1,pos:String(S?S.pos:""),dragOver:w===r&&O===0,dragOverGapTop:w===r&&O===-1,dragOverGapBottom:w===r&&O===1};return C}function l(r){var o=r.data,u=r.expanded,h=r.selected,y=r.checked,b=r.loaded,E=r.loading,v=r.halfChecked,w=r.dragOver,O=r.dragOverGapTop,T=r.dragOverGapBottom,S=r.pos,C=r.active,_=Object(f.a)(Object(f.a)({},o),{},{expanded:u,selected:h,checked:y,loaded:b,loading:E,halfChecked:v,dragOver:w,dragOverGapTop:O,dragOverGapBottom:T,pos:S,active:C});return"props"in _||Object.defineProperty(_,"props",{get:function(){return Object(g.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),r}}),_}},c5Ni:function(R,N,e){},c5fP:function(R,N,e){"use strict";function A(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(jt){return typeof jt}:A=function(jt){return jt&&typeof Symbol=="function"&&jt.constructor===Symbol&&jt!==Symbol.prototype?"symbol":typeof jt},A(tt)}Object.defineProperty(N,"__esModule",{value:!0}),N._tr_init=Xe,N._tr_stored_block=lt,N._tr_flush_block=Me,N._tr_tally=Ht,N._tr_align=At;var f=m(e("6BzB"));function x(){if(typeof WeakMap!="function")return null;var tt=new WeakMap;return x=function(){return tt},tt}function m(tt){if(tt&&tt.__esModule)return tt;if(tt===null||A(tt)!=="object"&&typeof tt!="function")return{default:tt};var Mt=x();if(Mt&&Mt.has(tt))return Mt.get(tt);var jt={},kt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Tt in tt)if(Object.prototype.hasOwnProperty.call(tt,Tt)){var Dt=kt?Object.getOwnPropertyDescriptor(tt,Tt):null;Dt&&(Dt.get||Dt.set)?Object.defineProperty(jt,Tt,Dt):jt[Tt]=tt[Tt]}return jt.default=tt,Mt&&Mt.set(tt,jt),jt}var g=4,p=0,c=1,s=2;function a(tt){for(var Mt=tt.length;--Mt>=0;)tt[Mt]=0}var n=0,i=1,d=2,t=3,l=258,r=29,o=256,u=o+1+r,h=30,y=19,b=2*u+1,E=15,v=16,w=7,O=256,T=16,S=17,C=18,_=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],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,j=new Array((u+2)*2);a(j);var z=new Array(h*2);a(z);var M=new Array(B);a(M);var U=new Array(l-t+1);a(U);var P=new Array(r);a(P);var H=new Array(h);a(H);function W(tt,Mt,jt,kt,Tt){this.static_tree=tt,this.extra_bits=Mt,this.extra_base=jt,this.elems=kt,this.max_length=Tt,this.has_stree=tt&&tt.length}var X,K,$;function ie(tt,Mt){this.dyn_tree=tt,this.max_code=0,this.stat_desc=Mt}function be(tt){return tt<256?M[tt]:M[256+(tt>>>7)]}function te(tt,Mt){tt.pending_buf[tt.pending++]=Mt&255,tt.pending_buf[tt.pending++]=Mt>>>8&255}function Te(tt,Mt,jt){tt.bi_valid>v-jt?(tt.bi_buf|=Mt<<tt.bi_valid&65535,te(tt,tt.bi_buf),tt.bi_buf=Mt>>v-tt.bi_valid,tt.bi_valid+=jt-v):(tt.bi_buf|=Mt<<tt.bi_valid&65535,tt.bi_valid+=jt)}function Ie(tt,Mt,jt){Te(tt,jt[Mt*2],jt[Mt*2+1])}function Fe(tt,Mt){var jt=0;do jt|=tt&1,tt>>>=1,jt<<=1;while(--Mt>0);return jt>>>1}function Qe(tt){tt.bi_valid===16?(te(tt,tt.bi_buf),tt.bi_buf=0,tt.bi_valid=0):tt.bi_valid>=8&&(tt.pending_buf[tt.pending++]=tt.bi_buf&255,tt.bi_buf>>=8,tt.bi_valid-=8)}function fe(tt,Mt){var jt=Mt.dyn_tree,kt=Mt.max_code,Tt=Mt.stat_desc.static_tree,Dt=Mt.stat_desc.has_stree,Ue=Mt.stat_desc.extra_bits,G=Mt.stat_desc.extra_base,Y=Mt.stat_desc.max_length,Pe,Be,J,St,bt,nt,Rt=0;for(St=0;St<=E;St++)tt.bl_count[St]=0;for(jt[tt.heap[tt.heap_max]*2+1]=0,Pe=tt.heap_max+1;Pe<b;Pe++){if(Be=tt.heap[Pe],St=jt[jt[Be*2+1]*2+1]+1,St>Y&&(St=Y,Rt++),jt[Be*2+1]=St,Be>kt)continue;tt.bl_count[St]++,bt=0,Be>=G&&(bt=Ue[Be-G]),nt=jt[Be*2],tt.opt_len+=nt*(St+bt),Dt&&(tt.static_len+=nt*(Tt[Be*2+1]+bt))}if(Rt===0)return;do{for(St=Y-1;tt.bl_count[St]===0;)St--;tt.bl_count[St]--,tt.bl_count[St+1]+=2,tt.bl_count[Y]--,Rt-=2}while(Rt>0);for(St=Y;St!==0;St--)for(Be=tt.bl_count[St];Be!==0;){if(J=tt.heap[--Pe],J>kt)continue;jt[J*2+1]!==St&&(tt.opt_len+=(St-jt[J*2+1])*jt[J*2],jt[J*2+1]=St),Be--}}function He(tt,Mt,jt){var kt=new Array(E+1),Tt=0,Dt,Ue;for(Dt=1;Dt<=E;Dt++)kt[Dt]=Tt=Tt+jt[Dt-1]<<1;for(Ue=0;Ue<=Mt;Ue++){var G=tt[Ue*2+1];if(G===0)continue;tt[Ue*2]=Fe(kt[G]++,G)}}function se(){var tt,Mt,jt,kt,Tt,Dt=new Array(E+1);for(jt=0,kt=0;kt<r-1;kt++)for(P[kt]=jt,tt=0;tt<1<<_[kt];tt++)U[jt++]=kt;for(U[jt-1]=kt,Tt=0,kt=0;kt<16;kt++)for(H[kt]=Tt,tt=0;tt<1<<I[kt];tt++)M[Tt++]=kt;for(Tt>>=7;kt<h;kt++)for(H[kt]=Tt<<7,tt=0;tt<1<<I[kt]-7;tt++)M[256+Tt++]=kt;for(Mt=0;Mt<=E;Mt++)Dt[Mt]=0;for(tt=0;tt<=143;)j[tt*2+1]=8,tt++,Dt[8]++;for(;tt<=255;)j[tt*2+1]=9,tt++,Dt[9]++;for(;tt<=279;)j[tt*2+1]=7,tt++,Dt[7]++;for(;tt<=287;)j[tt*2+1]=8,tt++,Dt[8]++;for(He(j,u+1,Dt),tt=0;tt<h;tt++)z[tt*2+1]=5,z[tt*2]=Fe(tt,5);X=new W(j,_,o+1,u,E),K=new W(z,I,0,h,E),$=new W(new Array(0),k,0,y,w)}function Ce(tt){var Mt;for(Mt=0;Mt<u;Mt++)tt.dyn_ltree[Mt*2]=0;for(Mt=0;Mt<h;Mt++)tt.dyn_dtree[Mt*2]=0;for(Mt=0;Mt<y;Mt++)tt.bl_tree[Mt*2]=0;tt.dyn_ltree[O*2]=1,tt.opt_len=tt.static_len=0,tt.last_lit=tt.matches=0}function mt(tt){tt.bi_valid>8?te(tt,tt.bi_buf):tt.bi_valid>0&&(tt.pending_buf[tt.pending++]=tt.bi_buf),tt.bi_buf=0,tt.bi_valid=0}function Ne(tt,Mt,jt,kt){mt(tt),kt&&(te(tt,jt),te(tt,~jt)),f.arraySet(tt.pending_buf,tt.window,Mt,jt,tt.pending),tt.pending+=jt}function ae(tt,Mt,jt,kt){var Tt=Mt*2,Dt=jt*2;return tt[Tt]<tt[Dt]||tt[Tt]===tt[Dt]&&kt[Mt]<=kt[jt]}function ce(tt,Mt,jt){for(var kt=tt.heap[jt],Tt=jt<<1;Tt<=tt.heap_len&&!(Tt<tt.heap_len&&ae(Mt,tt.heap[Tt+1],tt.heap[Tt],tt.depth)&&Tt++,ae(Mt,kt,tt.heap[Tt],tt.depth));)tt.heap[jt]=tt.heap[Tt],jt=Tt,Tt<<=1;tt.heap[jt]=kt}function le(tt,Mt,jt){var kt,Tt,Dt=0,Ue,G;if(tt.last_lit!==0)do kt=tt.pending_buf[tt.d_buf+Dt*2]<<8|tt.pending_buf[tt.d_buf+Dt*2+1],Tt=tt.pending_buf[tt.l_buf+Dt],Dt++,kt===0?Ie(tt,Tt,Mt):(Ue=U[Tt],Ie(tt,Ue+o+1,Mt),G=_[Ue],G!==0&&(Tt-=P[Ue],Te(tt,Tt,G)),kt--,Ue=be(kt),Ie(tt,Ue,jt),G=I[Ue],G!==0&&(kt-=H[Ue],Te(tt,kt,G)));while(Dt<tt.last_lit);Ie(tt,O,Mt)}function je(tt,Mt){var jt=Mt.dyn_tree,kt=Mt.stat_desc.static_tree,Tt=Mt.stat_desc.has_stree,Dt=Mt.stat_desc.elems,Ue,G,Y=-1,Pe;for(tt.heap_len=0,tt.heap_max=b,Ue=0;Ue<Dt;Ue++)jt[Ue*2]!==0?(tt.heap[++tt.heap_len]=Y=Ue,tt.depth[Ue]=0):jt[Ue*2+1]=0;for(;tt.heap_len<2;)Pe=tt.heap[++tt.heap_len]=Y<2?++Y:0,jt[Pe*2]=1,tt.depth[Pe]=0,tt.opt_len--,Tt&&(tt.static_len-=kt[Pe*2+1]);for(Mt.max_code=Y,Ue=tt.heap_len>>1;Ue>=1;Ue--)ce(tt,jt,Ue);Pe=Dt;do Ue=tt.heap[1],tt.heap[1]=tt.heap[tt.heap_len--],ce(tt,jt,1),G=tt.heap[1],tt.heap[--tt.heap_max]=Ue,tt.heap[--tt.heap_max]=G,jt[Pe*2]=jt[Ue*2]+jt[G*2],tt.depth[Pe]=(tt.depth[Ue]>=tt.depth[G]?tt.depth[Ue]:tt.depth[G])+1,jt[Ue*2+1]=jt[G*2+1]=Pe,tt.heap[1]=Pe++,ce(tt,jt,1);while(tt.heap_len>=2);tt.heap[--tt.heap_max]=tt.heap[1],fe(tt,Mt),He(jt,Y,tt.bl_count)}function Re(tt,Mt,jt){var kt,Tt=-1,Dt,Ue=Mt[0*2+1],G=0,Y=7,Pe=4;for(Ue===0&&(Y=138,Pe=3),Mt[(jt+1)*2+1]=65535,kt=0;kt<=jt;kt++){if(Dt=Ue,Ue=Mt[(kt+1)*2+1],++G<Y&&Dt===Ue)continue;G<Pe?tt.bl_tree[Dt*2]+=G:Dt!==0?(Dt!==Tt&&tt.bl_tree[Dt*2]++,tt.bl_tree[T*2]++):G<=10?tt.bl_tree[S*2]++:tt.bl_tree[C*2]++,G=0,Tt=Dt,Ue===0?(Y=138,Pe=3):Dt===Ue?(Y=6,Pe=3):(Y=7,Pe=4)}}function Ze(tt,Mt,jt){var kt,Tt=-1,Dt,Ue=Mt[0*2+1],G=0,Y=7,Pe=4;for(Ue===0&&(Y=138,Pe=3),kt=0;kt<=jt;kt++){if(Dt=Ue,Ue=Mt[(kt+1)*2+1],++G<Y&&Dt===Ue)continue;if(G<Pe)do Ie(tt,Dt,tt.bl_tree);while(--G!==0);else Dt!==0?(Dt!==Tt&&(Ie(tt,Dt,tt.bl_tree),G--),Ie(tt,T,tt.bl_tree),Te(tt,G-3,2)):G<=10?(Ie(tt,S,tt.bl_tree),Te(tt,G-3,3)):(Ie(tt,C,tt.bl_tree),Te(tt,G-11,7));G=0,Tt=Dt,Ue===0?(Y=138,Pe=3):Dt===Ue?(Y=6,Pe=3):(Y=7,Pe=4)}}function De(tt){var Mt;for(Re(tt,tt.dyn_ltree,tt.l_desc.max_code),Re(tt,tt.dyn_dtree,tt.d_desc.max_code),je(tt,tt.bl_desc),Mt=y-1;Mt>=3&&!(tt.bl_tree[F[Mt]*2+1]!==0);Mt--);return tt.opt_len+=3*(Mt+1)+5+5+4,Mt}function ne(tt,Mt,jt,kt){var Tt;for(Te(tt,Mt-257,5),Te(tt,jt-1,5),Te(tt,kt-4,4),Tt=0;Tt<kt;Tt++)Te(tt,tt.bl_tree[F[Tt]*2+1],3);Ze(tt,tt.dyn_ltree,Mt-1),Ze(tt,tt.dyn_dtree,jt-1)}function he(tt){var Mt=4093624447,jt;for(jt=0;jt<=31;jt++,Mt>>>=1)if(Mt&1&&tt.dyn_ltree[jt*2]!==0)return p;if(tt.dyn_ltree[9*2]!==0||tt.dyn_ltree[10*2]!==0||tt.dyn_ltree[13*2]!==0)return c;for(jt=32;jt<o;jt++)if(tt.dyn_ltree[jt*2]!==0)return c;return p}var pe=!1;function Xe(tt){pe||(se(),pe=!0),tt.l_desc=new ie(tt.dyn_ltree,X),tt.d_desc=new ie(tt.dyn_dtree,K),tt.bl_desc=new ie(tt.bl_tree,$),tt.bi_buf=0,tt.bi_valid=0,Ce(tt)}function lt(tt,Mt,jt,kt){Te(tt,(n<<1)+(kt?1:0),3),Ne(tt,Mt,jt,!0)}function At(tt){Te(tt,i<<1,3),Ie(tt,O,j),Qe(tt)}function Me(tt,Mt,jt,kt){var Tt,Dt,Ue=0;tt.level>0?(tt.strm.data_type===s&&(tt.strm.data_type=he(tt)),je(tt,tt.l_desc),je(tt,tt.d_desc),Ue=De(tt),Tt=tt.opt_len+3+7>>>3,Dt=tt.static_len+3+7>>>3,Dt<=Tt&&(Tt=Dt)):Tt=Dt=jt+5,jt+4<=Tt&&Mt!==-1?lt(tt,Mt,jt,kt):tt.strategy===g||Dt===Tt?(Te(tt,(i<<1)+(kt?1:0),3),le(tt,j,z)):(Te(tt,(d<<1)+(kt?1:0),3),ne(tt,tt.l_desc.max_code+1,tt.d_desc.max_code+1,Ue+1),le(tt,tt.dyn_ltree,tt.dyn_dtree)),Ce(tt),kt&&mt(tt)}function Ht(tt,Mt,jt){return tt.pending_buf[tt.d_buf+tt.last_lit*2]=Mt>>>8&255,tt.pending_buf[tt.d_buf+tt.last_lit*2+1]=Mt&255,tt.pending_buf[tt.l_buf+tt.last_lit]=jt&255,tt.last_lit++,Mt===0?tt.dyn_ltree[jt*2]++:(tt.matches++,Mt--,tt.dyn_ltree[(U[jt]+o+1)*2]++,tt.dyn_dtree[be(Mt)*2]++),tt.last_lit===tt.lit_bufsize-1}},c8qY:function(R,N,e){var A=e("IwbS"),f=e("fls0");function x(d){this._ctor=d||f,this.group=new A.Group}var m=x.prototype;m.isPersistent=function(){return!0},m.updateData=function(d){var t=this,l=t.group,r=t._lineData;t._lineData=d,r||l.removeAll();var o=s(d);d.diff(r).add(function(u){g(t,d,u,o)}).update(function(u,h){p(t,r,d,h,u,o)}).remove(function(u){l.remove(r.getItemGraphicEl(u))}).execute()};function g(d,t,l,r){var o=t.getItemLayout(l);if(!n(o))return;var u=new d._ctor(t,l,r);t.setItemGraphicEl(l,u),d.group.add(u)}function p(d,t,l,r,o,u){var h=t.getItemGraphicEl(r);if(!n(l.getItemLayout(o))){d.group.remove(h);return}h?h.updateData(l,o,u):h=new d._ctor(l,o,u),l.setItemGraphicEl(o,h),d.group.add(h)}m.updateLayout=function(){var d=this._lineData;if(!d)return;d.eachItemGraphicEl(function(t,l){t.updateLayout(d,l)},this)},m.incrementalPrepareUpdate=function(d){this._seriesScope=s(d),this._lineData=null,this.group.removeAll()};function c(d){return d.animators&&d.animators.length>0}m.incrementalUpdate=function(d,t){function l(h){!h.isGroup&&!c(h)&&(h.incremental=h.useHoverLayer=!0)}for(var r=d.start;r<d.end;r++){var o=t.getItemLayout(r);if(n(o)){var u=new this._ctor(t,r,this._seriesScope);u.traverse(l),this.group.add(u),t.setItemGraphicEl(r,u)}}};function s(d){var t=d.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var d=this._incremental;d&&d.clearDisplaybles()};function a(d){return isNaN(d[0])||isNaN(d[1])}function n(d){return!a(d[0])&&!a(d[1])}var i=x;R.exports=i},cCMj:function(R,N,e){var A=e("bYtY"),f={updateSelectedMap:function(x){this._targetList=A.isArray(x)?x.slice():[],this._selectTargetMap=A.reduce(x||[],function(m,g){return m.set(g.name,g),m},A.createHashMap())},select:function(x,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(x),p=this.get("selectedMode");p==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),g&&(g.selected=!0)},unSelect:function(x,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(x);g&&(g.selected=!1)},toggleSelected:function(x,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(x);if(g!=null)return this[g.selected?"unSelect":"select"](x,m),g.selected},isSelected:function(x,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(x);return g&&g.selected}};R.exports=f},cVA7:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=e("MT78"),f=g(A),x=e("t3Fx"),m=g(x);function g(n){return n&&n.__esModule?n:{default:n}}function p(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function c(n,i){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:n}function s(n,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(n,i):n.__proto__=i)}var a=function(n){s(i,n);function i(d){p(this,i);var t=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,d));return t.echartsLib=f.default,t}return i}(m.default);N.default=a},cWXX:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("oIFs"),m=e.n(x)},ca2m:function(R,N,e){var A=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)"]}}},x={};x.categoryAxis=A.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),x.valueAxis=A.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),x.timeAxis=A.defaults({scale:!0,min:"dataMin",max:"dataMax"},x.valueAxis),x.logAxis=A.defaults({scale:!0,logBase:10},x.valueAxis);var m=x;R.exports=m},cbJ4:function(R,N,e){var A=e("bYtY"),f=A.createHashMap;function x(m){m.eachSeriesByType("themeRiver",function(g){var p=g.getData(),c=g.getRawData(),s=g.get("color"),a=f();p.each(function(n){a.set(p.getRawIndex(n),n)}),c.each(function(n){var i=c.getName(n),d=s[(g.nameMap.get(i)-1)%s.length];c.setItemVisual(n,"color",d);var t=a.get(n);t!=null&&p.setItemVisual(t,"color",d)})})}R.exports=x},chpo:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=1,f=function(){return"".concat(A++)};N.default=f},cpOr:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("T4UG"),m=e("YXkt"),g=e("bYtY"),p=g.concatArray,c=g.mergeAll,s=g.map,a=e("7aKB"),n=a.encodeHTML,i=e("IDmD"),d=typeof Uint32Array=="undefined"?Array:Uint32Array,t=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var h=u.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(u.data=s(h,function(y){var b=[y[0].coord,y[1].coord],E={coords:b};return y[0].name&&(E.fromName=y[0].name),y[1].name&&(E.toName=y[1].name),c([E,y[0],y[1]])}))}var r=x.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count)),r.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count))}r.superApply(this,"mergeOption",arguments)},appendData:function(u){var h=this._processFlatCoordsArray(u.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=p(this._flatCoords,h.flatCoords),this._flatCoordsOffset=p(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),u.data=new Float32Array(h.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var h=this.getData().getItemModel(u),y=h.option instanceof Array?h.option:h.getShallow("coords");return y},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,h){if(this._flatCoordsOffset){for(var y=this._flatCoordsOffset[u*2],b=this._flatCoordsOffset[u*2+1],E=0;E<b;E++)h[E]=h[E]||[],h[E][0]=this._flatCoords[y+E*2],h[E][1]=this._flatCoords[y+E*2+1];return b}else{for(var v=this._getCoordsFromItemModel(u),E=0;E<v.length;E++)h[E]=h[E]||[],h[E][0]=v[E][0],h[E][1]=v[E][1];return v.length}},_processFlatCoordsArray:function(u){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof u[0]=="number"){for(var y=u.length,b=new d(y),E=new t(y),v=0,w=0,O=0,T=0;T<y;){O++;var S=u[T++];b[w++]=v+h,b[w++]=S;for(var C=0;C<S;C++){var _=u[T++],I=u[T++];E[v++]=_,E[v++]=I,T>y}}return{flatCoordsOffset:new Uint32Array(b.buffer,0,w),flatCoords:E,count:O}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,h){var y=new m(["value"],this);return y.hasItemOption=!1,y.initData(u.data,[],function(b,E,v,w){if(b instanceof Array)return NaN;y.hasItemOption=!0;var O=b.value;if(O!=null)return O instanceof Array?O[w]:O}),y},formatTooltip:function(u){var h=this.getData(),y=h.getItemModel(u),b=y.get("name");if(b)return b;var E=y.get("fromName"),v=y.get("toName"),w=[];return E!=null&&w.push(E),v!=null&&w.push(v),n(w.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),o=r;R.exports=o},crZl:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS"),m=e("7aKB"),g=e("+TT/"),p=e("XxSj"),c=A.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(s,a){this.ecModel=s,this.api=a,this.visualMapModel},render:function(s,a,n,i){if(this.visualMapModel=s,s.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(s){var a=this.visualMapModel,n=m.normalizeCssArray(a.get("padding")||0),i=s.getBoundingRect();s.add(new x.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},getControllerVisual:function(s,a,n){n=n||{};var i=n.forceState,d=this.visualMapModel,t={};if(a==="symbol"&&(t.symbol=d.get("itemSymbol")),a==="color"){var l=d.get("contentColor");t.color=l}function r(y){return t[y]}function o(y,b){t[y]=b}var u=d.controllerVisuals[i||d.getValueState(s)],h=p.prepareVisualTypes(u);return f.each(h,function(y){var b=u[y];n.convertOpacityToAlpha&&y==="opacity"&&(y="colorAlpha",b=u.__alphaForOpacity),p.dependsOn(y,a)&&(b&&b.applyVisual(s,r,o))}),t[a]},positionGroup:function(s){var a=this.visualMapModel,n=this.api;g.positionElement(s,a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:f.noop});R.exports=c},czTT:function(R,N,e){},d4KN:function(R,N,e){var A=e("ProS"),f=e("bYtY");function x(m,g){f.each(g,function(p){p.update="updateView",A.registerAction(p,function(c,s){var a={};return s.eachComponent({mainType:"series",subType:m,query:c},function(n){n[p.method]&&n[p.method](c.name,c.dataIndex);var i=n.getData();i.each(function(d){var t=i.getName(d);a[t]=n.isSelected(t)||!1})}),{name:c.name,selected:a,seriesId:c.seriesId}})})}R.exports=x},dBmv:function(R,N,e){var A=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),A.registerPreprocessor(f)},"dF/Y":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="DownloadOutlined";var c=N.a=f.forwardRef(p)},dMvE:function(R,N){var e={linear:function(x){return x},quadraticIn:function(x){return x*x},quadraticOut:function(x){return x*(2-x)},quadraticInOut:function(x){return(x*=2)<1?.5*x*x:-.5*(--x*(x-2)-1)},cubicIn:function(x){return x*x*x},cubicOut:function(x){return--x*x*x+1},cubicInOut:function(x){return(x*=2)<1?.5*x*x*x:.5*((x-=2)*x*x+2)},quarticIn:function(x){return x*x*x*x},quarticOut:function(x){return 1- --x*x*x*x},quarticInOut:function(x){return(x*=2)<1?.5*x*x*x*x:-.5*((x-=2)*x*x*x-2)},quinticIn:function(x){return x*x*x*x*x},quinticOut:function(x){return--x*x*x*x*x+1},quinticInOut:function(x){return(x*=2)<1?.5*x*x*x*x*x:.5*((x-=2)*x*x*x*x+2)},sinusoidalIn:function(x){return 1-Math.cos(x*Math.PI/2)},sinusoidalOut:function(x){return Math.sin(x*Math.PI/2)},sinusoidalInOut:function(x){return .5*(1-Math.cos(Math.PI*x))},exponentialIn:function(x){return x===0?0:Math.pow(1024,x-1)},exponentialOut:function(x){return x===1?1:1-Math.pow(2,-10*x)},exponentialInOut:function(x){return x===0?0:x===1?1:(x*=2)<1?.5*Math.pow(1024,x-1):.5*(-Math.pow(2,-10*(x-1))+2)},circularIn:function(x){return 1-Math.sqrt(1-x*x)},circularOut:function(x){return Math.sqrt(1- --x*x)},circularInOut:function(x){return(x*=2)<1?-.5*(Math.sqrt(1-x*x)-1):.5*(Math.sqrt(1-(x-=2)*x)+1)},elasticIn:function(x){var m,g=.1,p=.4;return x===0?0:x===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),-(g*Math.pow(2,10*(x-=1))*Math.sin((x-m)*(2*Math.PI)/p)))},elasticOut:function(x){var m,g=.1,p=.4;return x===0?0:x===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),g*Math.pow(2,-10*x)*Math.sin((x-m)*(2*Math.PI)/p)+1)},elasticInOut:function(x){var m,g=.1,p=.4;return x===0?0:x===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),(x*=2)<1?-.5*(g*Math.pow(2,10*(x-=1))*Math.sin((x-m)*(2*Math.PI)/p)):g*Math.pow(2,-10*(x-=1))*Math.sin((x-m)*(2*Math.PI)/p)*.5+1)},backIn:function(x){var m=1.70158;return x*x*((m+1)*x-m)},backOut:function(x){var m=1.70158;return--x*x*((m+1)*x+m)+1},backInOut:function(x){var m=1.70158*1.525;return(x*=2)<1?.5*(x*x*((m+1)*x-m)):.5*((x-=2)*x*((m+1)*x+m)+2)},bounceIn:function(x){return 1-e.bounceOut(1-x)},bounceOut:function(x){return x<1/2.75?7.5625*x*x:x<2/2.75?7.5625*(x-=1.5/2.75)*x+.75:x<2.5/2.75?7.5625*(x-=2.25/2.75)*x+.9375:7.5625*(x-=2.625/2.75)*x+.984375},bounceInOut:function(x){return x<.5?e.bounceIn(x*2)*.5:e.bounceOut(x*2-1)*.5+.5}},A=e;R.exports=A},diRs:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("q1tI"),m=e.n(x),g=e("3S7+"),p=e("H84U"),c=e("bogI"),s=function(n,i){var d={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&i.indexOf(t)<0&&(d[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(n);l<t.length;l++)i.indexOf(t[l])<0&&Object.prototype.propertyIsEnumerable.call(n,t[l])&&(d[t[l]]=n[t[l]]);return d},a=x.forwardRef(function(n,i){var d=n.prefixCls,t=n.title,l=n.content,r=s(n,["prefixCls","title","content"]),o=x.useContext(p.b),u=o.getPrefixCls,h=function(E){return x.createElement(x.Fragment,null,t&&x.createElement("div",{className:"".concat(E,"-title")},Object(c.a)(t)),x.createElement("div",{className:"".concat(E,"-inner-content")},Object(c.a)(l)))},y=u("popover",d);return x.createElement(g.a,f()({},r,{prefixCls:y,ref:i,overlay:h(y)}))});a.displayName="Popover",a.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},N.a=a},digP:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={icon:function(x,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:x}}]}},name:"file",theme:"twotone"};N.default=A},dmGj:function(R,N,e){var A=e("DEFe"),f=e("ProS"),x=f.extendComponentView({type:"geo",init:function(m,g){var p=new A(g,!0);this._mapDraw=p,this.group.add(p.group)},render:function(m,g,p,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var s=this._mapDraw;m.get("show")?s.draw(m,g,p,this,c):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});R.exports=x},dnwI:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("YH21"),m=e("Kagy"),g=e("IUWy"),p=m.toolbox.dataView,c=new Array(60).join("-"),s=" ";function a(v){var w={},O=[],T=[];return v.eachRawSeries(function(S){var C=S.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var _=C.getBaseAxis();if(_.type==="category"){var I=_.dim+"_"+_.index;w[I]||(w[I]={categoryAxis:_,valueAxis:C.getOtherAxis(_),series:[]},T.push({axisDim:_.dim,axisIndex:_.index})),w[I].series.push(S)}else O.push(S)}else O.push(S)}),{seriesGroupByCategoryAxis:w,other:O,meta:T}}function n(v){var w=[];return f.each(v,function(O,T){var S=O.categoryAxis,C=O.valueAxis,_=C.dim,I=[" "].concat(f.map(O.series,function(M){return M.name})),k=[S.model.getCategories()];f.each(O.series,function(M){k.push(M.getRawData().mapArray(_,function(U){return U}))});for(var F=[I.join(s)],B=0;B<k[0].length;B++){for(var j=[],z=0;z<k.length;z++)j.push(k[z][B]);F.push(j.join(s))}w.push(F.join(`
|
|
|
`))}),w.join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function i(v){return f.map(v,function(w){var O=w.getRawData(),T=[w.name],S=[];return O.each(O.dimensions,function(){for(var C=arguments.length,_=arguments[C-1],I=O.getName(_),k=0;k<C-1;k++)S[k]=arguments[k];T.push((I?I+s:"")+S.join(s))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function d(v){var w=a(v);return{value:f.filter([n(w.seriesGroupByCategoryAxis),i(w.other)],function(O){return O.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`),meta:w.meta}}function t(v){return v.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(v){var w=v.slice(0,v.indexOf(`
|
|
|
`));if(w.indexOf(s)>=0)return!0}var r=new RegExp("["+s+"]+","g");function o(v){for(var w=v.split(/\n+/g),O=t(w.shift()).split(r),T=[],S=f.map(O,function(k){return{name:k,data:[]}}),C=0;C<w.length;C++){var _=t(w[C]).split(r);T.push(_.shift());for(var I=0;I<_.length;I++)S[I]&&(S[I].data[C]=_[I])}return{series:S,categories:T}}function u(v){for(var w=v.split(/\n+/g),O=t(w.shift()),T=[],S=0;S<w.length;S++){var C=t(w[S]).split(r),_="",I,k=!1;isNaN(C[0])?(k=!0,_=C[0],C=C.slice(1),T[S]={name:_,value:[]},I=T[S].value):I=T[S]=[];for(var F=0;F<C.length;F++)I.push(+C[F]);I.length===1&&(k?T[S].value=I[0]:T[S]=I[0])}return{name:O,data:T}}function h(v,w){var O=v.split(new RegExp(`
|
|
|
*`+c+`
|
|
|
*`,"g")),T={series:[]};return f.each(O,function(S,C){if(l(S)){var _=o(S),I=w[C],k=I.axisDim+"Axis";I&&(T[k]=T[k]||[],T[k][I.axisIndex]={data:_.categories},T.series=T.series.concat(_.series))}else{var _=u(S);T.series.push(_)}}),T}function y(v){this._dom=null,this.model=v}y.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(p.title),lang:f.clone(p.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},y.prototype.onclick=function(v,w){var O=w.getDom(),T=this.model;this._dom&&O.removeChild(this._dom);var S=document.createElement("div");S.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",S.style.backgroundColor=T.get("backgroundColor")||"#fff";var C=document.createElement("h4"),_=T.get("lang")||[];C.innerHTML=_[0]||T.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=T.get("textColor");var I=document.createElement("div"),k=document.createElement("textarea");I.style.cssText="display:block;width:100%;overflow:auto;";var F=T.get("optionToContent"),B=T.get("contentToOption"),j=d(v);if(typeof F=="function"){var z=F(w.getOption());typeof z=="string"?I.innerHTML=z:f.isDom(z)&&I.appendChild(z)}else I.appendChild(k),k.readOnly=T.get("readOnly"),k.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",k.style.color=T.get("textColor"),k.style.borderColor=T.get("textareaBorderColor"),k.style.backgroundColor=T.get("textareaColor"),k.value=j.value;var M=j.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var P="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),W=document.createElement("div");P+=";background-color:"+T.get("buttonColor"),P+=";color:"+T.get("buttonTextColor");var X=this;function K(){O.removeChild(S),X._dom=null}x.addEventListener(H,"click",K),x.addEventListener(W,"click",function(){var $;try{typeof B=="function"?$=B(I,w.getOption()):$=h(k.value,M)}catch(ie){throw K(),new Error("Data view format error "+ie)}$&&w.dispatchAction({type:"changeDataView",newOption:$}),K()}),H.innerHTML=_[1],W.innerHTML=_[2],W.style.cssText=P,H.style.cssText=P,!T.get("readOnly")&&U.appendChild(W),U.appendChild(H),S.appendChild(C),S.appendChild(I),S.appendChild(U),I.style.height=O.clientHeight-80+"px",O.appendChild(S),this._dom=S},y.prototype.remove=function(v,w){this._dom&&w.getDom().removeChild(this._dom)},y.prototype.dispose=function(v,w){this.remove(v,w)};function b(v,w){return f.map(v,function(O,T){var S=w&&w[T];return f.isObject(S)&&!f.isArray(S)?(f.isObject(O)&&!f.isArray(O)&&(O=O.value),f.defaults({value:O},S)):O})}g.register("dataView",y),A.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(v,w){var O=[];f.each(v.newOption.series,function(T){var S=w.getSeriesByName(T.name)[0];if(!S)O.push(f.extend({type:"scatter"},T));else{var C=S.get("data");O.push({name:T.name,data:b(T.data,C)})}}),w.mergeOption(f.defaults({series:O},v.newOption))});var E=y;R.exports=E},dqUG:function(R,N,e){var A=e("Gev7"),f=e("bYtY"),x=e("6GrX"),m=e("pzxd"),g=e("gut8"),p=g.ContextCachedBy,c=function(n){A.call(this,n)};c.prototype={constructor:c,type:"text",brush:function(n,i){var d=this.style;this.__dirty&&m.normalizeTextStyle(d,!0),d.fill=d.stroke=d.shadowBlur=d.shadowColor=d.shadowOffsetX=d.shadowOffsetY=null;var t=d.text;if(t!=null&&(t+=""),!m.needDrawText(t,d)){n.__attrCachedBy=p.NONE;return}this.setTransform(n),m.renderText(this,n,t,d,null,i),this.restoreTransform(n)},getBoundingRect:function(){var n=this.style;if(this.__dirty&&m.normalizeTextStyle(n,!0),!this._rect){var i=n.text;i!=null?i+="":i="";var d=x.getBoundingRect(n.text+"",n.font,n.textAlign,n.textVerticalAlign,n.textPadding,n.textLineHeight,n.rich);if(d.x+=n.x||0,d.y+=n.y||0,m.getStroke(n.textStroke,n.textStrokeWidth)){var t=n.textStrokeWidth;d.x-=t/2,d.y-=t/2,d.width+=t,d.height+=t}this._rect=d}return this._rect}},f.inherits(c,A);var s=c;R.exports=s},dt0z:function(R,N,e){var A=e("zoYe");function f(x){return x==null?"":A(x)}R.exports=f},e5VY:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},eIcI:function(R,N,e){var A=e("bYtY"),f=e("hM6l");function x(g,p,c){f.call(this,g,p,c),this.type="value",this.angle=0,this.name="",this.model}A.inherits(x,f);var m=x;R.exports=m},eJH7:function(R,N,e){var A=e("bYtY");function f(x){var m=x.polar;if(m){A.isArray(m)||(m=[m]);var g=[];A.each(m,function(p,c){p.indicator?(p.type&&!p.shape&&(p.shape=p.type),x.radar=x.radar||[],A.isArray(x.radar)||(x.radar=[x.radar]),x.radar.push(p)):g.push(p)}),x.polar=g}A.each(x.series,function(p){p&&p.type==="radar"&&p.polarIndex&&(p.radarIndex=p.polarIndex)})}R.exports=f},eMSv:function(R,N,e){(function(A){var f,x,x;!function(m){!(f=m,x=typeof f=="function"?f.call(N,e,N,R):f,x!==void 0&&(R.exports=x))}(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(ge){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye})(ge)}!function(ge){if(m(ge.console)!=="object"){ge.console={};for(var ye,Le,we=ge.console,Ke=function(){},Je=["memory"],ut="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(",");ye=Je.pop();)we[ye]||(we[ye]={});for(;Le=ut.pop();)we[Le]||(we[Le]=Ke)}var vt,_t,Ut,Bt,dr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";ge.btoa===void 0&&(ge.btoa=function(Oe){var xe,V,q,ue,me,Ee=0,Ge=0,dt="",Kt=[];if(!Oe)return Oe;for(;xe=(me=Oe.charCodeAt(Ee++)<<16|Oe.charCodeAt(Ee++)<<8|Oe.charCodeAt(Ee++))>>18&63,V=me>>12&63,q=me>>6&63,ue=63&me,Kt[Ge++]=dr.charAt(xe)+dr.charAt(V)+dr.charAt(q)+dr.charAt(ue),Ee<Oe.length;);dt=Kt.join("");var tr=Oe.length%3;return(tr?dt.slice(0,tr-3):dt)+"===".slice(tr||3)}),ge.atob===void 0&&(ge.atob=function(Oe){var xe,V,q,ue,me,Ee,Ge=0,dt=0,Kt=[];if(!Oe)return Oe;for(Oe+="";xe=(Ee=dr.indexOf(Oe.charAt(Ge++))<<18|dr.indexOf(Oe.charAt(Ge++))<<12|(ue=dr.indexOf(Oe.charAt(Ge++)))<<6|(me=dr.indexOf(Oe.charAt(Ge++))))>>16&255,V=Ee>>8&255,q=255&Ee,Kt[dt++]=ue==64?String.fromCharCode(xe):me==64?String.fromCharCode(xe,V):String.fromCharCode(xe,V,q),Ge<Oe.length;);return Kt.join("")}),Array.prototype.map||(Array.prototype.map=function(Oe){if(this==null||typeof Oe!="function")throw new TypeError;for(var xe=Object(this),V=xe.length>>>0,q=new Array(V),ue=1<arguments.length?arguments[1]:void 0,me=0;me<V;me++)me in xe&&(q[me]=Oe.call(ue,xe[me],me,xe));return q}),Array.isArray||(Array.isArray=function(Oe){return Object.prototype.toString.call(Oe)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(Oe,xe){if(this==null||typeof Oe!="function")throw new TypeError;for(var V=Object(this),q=V.length>>>0,ue=0;ue<q;ue++)ue in V&&Oe.call(xe,V[ue],ue,V)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(xe){if(this==null)throw new TypeError('"this" is null or not defined');var V=Object(this),q=V.length>>>0;if(typeof xe!="function")throw new TypeError("predicate must be a function");for(var ue=arguments[1],me=0;me<q;){var Ee=V[me];if(xe.call(ue,Ee,me,V))return Ee;me++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(vt=Object.prototype.hasOwnProperty,_t=!{toString:null}.propertyIsEnumerable("toString"),Bt=(Ut=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(Oe){if(m(Oe)!=="object"&&(typeof Oe!="function"||Oe===null))throw new TypeError;var xe,V,q=[];for(xe in Oe)vt.call(Oe,xe)&&q.push(xe);if(_t)for(V=0;V<Bt;V++)vt.call(Oe,Ut[V])&&q.push(Ut[V]);return q})),typeof Object.assign!="function"&&(Object.assign=function(Oe){if(Oe==null)throw new TypeError("Cannot convert undefined or null to object");Oe=Object(Oe);for(var xe=1;xe<arguments.length;xe++){var V=arguments[xe];if(V!=null)for(var q in V)Object.prototype.hasOwnProperty.call(V,q)&&(Oe[q]=V[q])}return Oe}),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(Oe){return typeof Oe=="number"&&isFinite(Oe)&&Math.floor(Oe)===Oe}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")());var g,p,c,s,a,n,i,d,t,l,r,o,u,h,y,b,E,v,w,O,T,S,C,_,I,k,F,B,j,z,M,U,P,H,W,X,K,$,ie,be,te,Te,Ie,Fe,Qe,fe,He,se,Ce,mt,Ne,ae,ce,le,je,Re,Ze,De,ne,he,pe,Xe,lt=function(ge){function ye(we){if(m(we)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Ke={};this.subscribe=function(Je,ut,vt){if(vt=vt||!1,typeof Je!="string"||typeof ut!="function"||typeof vt!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Ke.hasOwnProperty(Je)||(Ke[Je]={});var _t=Math.random().toString(35);return Ke[Je][_t]=[ut,!!vt],_t},this.unsubscribe=function(Je){for(var ut in Ke)if(Ke[ut][Je])return delete Ke[ut][Je],Object.keys(Ke[ut]).length===0&&delete Ke[ut],!0;return!1},this.publish=function(Je){if(Ke.hasOwnProperty(Je)){var ut=Array.prototype.slice.call(arguments,1),vt=[];for(var _t in Ke[Je]){var Ut=Ke[Je][_t];try{Ut[0].apply(we,ut)}catch(Bt){ge.console&&console.error("jsPDF PubSub Error",Bt.message,Bt)}Ut[1]&&vt.push(_t)}vt.length&&vt.forEach(this.unsubscribe)}},this.getTopics=function(){return Ke}}function Le(we,Ke,Je,ut){var vt={},_t=[],Ut=1;m(we)==="object"&&(we=(vt=we).orientation,Ke=vt.unit||Ke,Je=vt.format||Je,ut=vt.compress||vt.compressPdf||ut,_t=vt.filters||(ut===!0?["FlateEncode"]:_t),Ut=typeof vt.userUnit=="number"?Math.abs(vt.userUnit):1),Ke=Ke||"mm",we=(""+(we||"P")).toLowerCase();var Bt=vt.putOnlyUsedFonts||!0,dr={},Oe={internal:{},__private__:{}};Oe.__private__.PubSub=ye;var xe="1.3",V=Oe.__private__.getPdfVersion=function(){return xe},q=(Oe.__private__.setPdfVersion=function(gt){xe=gt},{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]}),ue=(Oe.__private__.getPageFormats=function(){return q},Oe.__private__.getPageFormat=function(gt){return q[gt]});typeof Je=="string"&&(Je=ue(Je)),Je=Je||ue("a4");var me,Ee=Oe.f2=Oe.__private__.f2=function(gt){if(isNaN(gt))throw new Error("Invalid argument passed to jsPDF.f2");return gt.toFixed(2)},Ge=Oe.__private__.f3=function(gt){if(isNaN(gt))throw new Error("Invalid argument passed to jsPDF.f3");return gt.toFixed(3)},dt="00000000000000000000000000000000",Kt=Oe.__private__.getFileId=function(){return dt},tr=Oe.__private__.setFileId=function(gt){return gt=gt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),dt=gt};Oe.setFileId=function(gt){return tr(gt),this},Oe.getFileId=function(){return Kt()};var wt=Oe.__private__.convertDateToPDFDate=function(gt){var Gt=gt.getTimezoneOffset(),Sr=Gt<0?"+":"-",Zr=Math.floor(Math.abs(Gt/60)),en=Math.abs(Gt%60),xn=[Sr,st(Zr),"'",st(en),"'"].join("");return["D:",gt.getFullYear(),st(gt.getMonth()+1),st(gt.getDate()),st(gt.getHours()),st(gt.getMinutes()),st(gt.getSeconds()),xn].join("")},It=Oe.__private__.convertPDFDateToDate=function(gt){var Gt=parseInt(gt.substr(2,4),10),Sr=parseInt(gt.substr(6,2),10)-1,Zr=parseInt(gt.substr(8,2),10),en=parseInt(gt.substr(10,2),10),xn=parseInt(gt.substr(12,2),10),kn=parseInt(gt.substr(14,2),10);return parseInt(gt.substr(16,2),10),parseInt(gt.substr(20,2),10),new Date(Gt,Sr,Zr,en,xn,kn,0)},Lt=Oe.__private__.setCreationDate=function(gt){var Gt;if(gt===void 0&&(gt=new Date),m(gt)==="object"&&Object.prototype.toString.call(gt)==="[object Date]")Gt=wt(gt);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(gt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Gt=gt}return me=Gt},Nt=Oe.__private__.getCreationDate=function(gt){var Gt=me;return gt==="jsDate"&&(Gt=It(me)),Gt};Oe.setCreationDate=function(gt){return Lt(gt),this},Oe.getCreationDate=function(gt){return Nt(gt)};var $e,ot,ft,ze,Ye,qe,rt,ct,st=Oe.__private__.padd2=function(gt){return("0"+parseInt(gt)).slice(-2)},et=!1,Ft=[],Ct=[],ir=0,Xt=(Oe.__private__.setCustomOutputDestination=function(gt){ot=gt},Oe.__private__.resetCustomOutputDestination=function(gt){ot=void 0},Oe.__private__.out=function(gt){var Gt;return gt=typeof gt=="string"?gt:gt.toString(),(Gt=ot===void 0?et?Ft[$e]:Ct:ot).push(gt),et||(ir+=gt.length+1),Gt}),_r=Oe.__private__.write=function(gt){return Xt(arguments.length===1?gt.toString():Array.prototype.join.call(arguments," "))},Br=Oe.__private__.getArrayBuffer=function(gt){for(var Gt=gt.length,Sr=new ArrayBuffer(Gt),Zr=new Uint8Array(Sr);Gt--;)Zr[Gt]=gt.charCodeAt(Gt);return Sr},Gr=[["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]],un=(Oe.__private__.getStandardFonts=function(gt){return Gr},vt.fontSize||16),mn=(Oe.__private__.setFontSize=Oe.setFontSize=function(gt){return un=gt,this},Oe.__private__.getFontSize=Oe.getFontSize=function(){return un}),_n=vt.R2L||!1,qr=(Oe.__private__.setR2L=Oe.setR2L=function(gt){return _n=gt,this},Oe.__private__.getR2L=Oe.getR2L=function(gt){return _n},Oe.__private__.setZoomMode=function(gt){var Gt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(gt))ft=gt;else if(isNaN(gt)){if(Gt.indexOf(gt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+gt+'" is not recognized.');ft=gt}else ft=parseInt(gt,10)}),yn=(Oe.__private__.getZoomMode=function(){return ft},Oe.__private__.setPageMode=function(gt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(gt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+gt+'" is not recognized.');ze=gt}),nn=(Oe.__private__.getPageMode=function(){return ze},Oe.__private__.setLayoutMode=function(gt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(gt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+gt+'" is not recognized.');Ye=gt}),cr=(Oe.__private__.getLayoutMode=function(){return Ye},Oe.__private__.setDisplayMode=Oe.setDisplayMode=function(gt,Gt,Sr){return qr(gt),nn(Gt),yn(Sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),Pr=(Oe.__private__.getDocumentProperty=function(gt){if(Object.keys(cr).indexOf(gt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return cr[gt]},Oe.__private__.getDocumentProperties=function(gt){return cr},Oe.__private__.setDocumentProperties=Oe.setProperties=Oe.setDocumentProperties=function(gt){for(var Gt in cr)cr.hasOwnProperty(Gt)&>[Gt]&&(cr[Gt]=gt[Gt]);return this},Oe.__private__.setDocumentProperty=function(gt,Gt){if(Object.keys(cr).indexOf(gt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return cr[gt]=Gt},0),Ar=[],Mr={},fn={},En=0,Rn=[],oi=[],An=new ye(Oe),mi=vt.hotfixes||[],ai=Oe.__private__.newObject=function(){var gt=Xr();return pn(gt,!0),gt},Xr=Oe.__private__.newObjectDeferred=function(){return Ar[++Pr]=function(){return ir},Pr},pn=function(Gt,Sr){return Sr=typeof Sr=="boolean"&&Sr,Ar[Gt]=ir,Sr&&Xt(Gt+" 0 obj"),Gt},Ln=Oe.__private__.newAdditionalObject=function(){var gt={objId:Xr(),content:""};return oi.push(gt),gt},tn=Xr(),$t=Xr(),yr=Oe.__private__.decodeColorString=function(gt){var Gt=gt.split(" ");if(Gt.length===2&&(Gt[1]==="g"||Gt[1]==="G")){var Sr=parseFloat(Gt[0]);Gt=[Sr,Sr,Sr,"r"]}for(var Zr="#",en=0;en<3;en++)Zr+=("0"+Math.floor(255*parseFloat(Gt[en])).toString(16)).slice(-2);return Zr},kr=Oe.__private__.encodeColorString=function(gt){var Gt;typeof gt=="string"&&(gt={ch1:gt});var Sr=gt.ch1,Zr=gt.ch2,en=gt.ch3,xn=gt.ch4,kn=(gt.precision,gt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof Sr=="string"&&Sr.charAt(0)!=="#"){var Zn=new RGBColor(Sr);if(Zn.ok)Sr=Zn.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 ui=parseInt(Sr.substr(1),16);Sr=ui>>16&255,Zr=ui>>8&255,en=255&ui}if(Zr===void 0||xn===void 0&&Sr===Zr&&Zr===en)if(typeof Sr=="string")Gt=Sr+" "+kn[0];else switch(gt.precision){case 2:Gt=Ee(Sr/255)+" "+kn[0];break;case 3:default:Gt=Ge(Sr/255)+" "+kn[0]}else if(xn===void 0||m(xn)==="object"){if(xn&&!isNaN(xn.a)&&xn.a===0)return Gt=["1.000","1.000","1.000",kn[1]].join(" ");if(typeof Sr=="string")Gt=[Sr,Zr,en,kn[1]].join(" ");else switch(gt.precision){case 2:Gt=[Ee(Sr/255),Ee(Zr/255),Ee(en/255),kn[1]].join(" ");break;default:case 3:Gt=[Ge(Sr/255),Ge(Zr/255),Ge(en/255),kn[1]].join(" ")}}else if(typeof Sr=="string")Gt=[Sr,Zr,en,xn,kn[2]].join(" ");else switch(gt.precision){case 2:Gt=[Ee(Sr/255),Ee(Zr/255),Ee(en/255),Ee(xn/255),kn[2]].join(" ");break;case 3:default:Gt=[Ge(Sr/255),Ge(Zr/255),Ge(en/255),Ge(xn/255),kn[2]].join(" ")}return Gt},gr=Oe.__private__.getFilters=function(){return _t},Kr=Oe.__private__.putStream=function(gt){var Gt=(gt=gt||{}).data||"",Sr=gt.filters||gr(),Zr=gt.alreadyAppliedFilters||[],en=gt.addLength1||!1,xn=Gt.length,kn={};Sr===!0&&(Sr=["FlateEncode"]);var Zn=gt.additionalKeyValues||[],ui=(kn=Le.API.processDataByFilters!==void 0?Le.API.processDataByFilters(Gt,Sr):{data:Gt,reverseChain:[]}).reverseChain+(Array.isArray(Zr)?Zr.join(" "):Zr.toString());kn.data.length!==0&&(Zn.push({key:"Length",value:kn.data.length}),en===!0&&Zn.push({key:"Length1",value:xn})),ui.length!=0&&(ui.split("/").length-1==1?Zn.push({key:"Filter",value:ui}):Zn.push({key:"Filter",value:"["+ui+"]"})),Xt("<<");for(var ti=0;ti<Zn.length;ti++)Xt("/"+Zn[ti].key+" "+Zn[ti].value);Xt(">>"),kn.data.length!==0&&(Xt("stream"),Xt(kn.data),Xt("endstream"))},sn=Oe.__private__.putPage=function(gt){gt.mediaBox;var Gt=gt.number,Sr=gt.data,Zr=gt.objId,en=gt.contentsObjId;pn(Zr,!0),Rn[$e].mediaBox.topRightX,Rn[$e].mediaBox.bottomLeftX,Rn[$e].mediaBox.topRightY,Rn[$e].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+gt.rootDictionaryObjId+" 0 R"),Xt("/Resources "+gt.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Ee(gt.mediaBox.bottomLeftX))+" "+parseFloat(Ee(gt.mediaBox.bottomLeftY))+" "+Ee(gt.mediaBox.topRightX)+" "+Ee(gt.mediaBox.topRightY)+"]"),gt.cropBox!==null&&Xt("/CropBox ["+Ee(gt.cropBox.bottomLeftX)+" "+Ee(gt.cropBox.bottomLeftY)+" "+Ee(gt.cropBox.topRightX)+" "+Ee(gt.cropBox.topRightY)+"]"),gt.bleedBox!==null&&Xt("/BleedBox ["+Ee(gt.bleedBox.bottomLeftX)+" "+Ee(gt.bleedBox.bottomLeftY)+" "+Ee(gt.bleedBox.topRightX)+" "+Ee(gt.bleedBox.topRightY)+"]"),gt.trimBox!==null&&Xt("/TrimBox ["+Ee(gt.trimBox.bottomLeftX)+" "+Ee(gt.trimBox.bottomLeftY)+" "+Ee(gt.trimBox.topRightX)+" "+Ee(gt.trimBox.topRightY)+"]"),gt.artBox!==null&&Xt("/ArtBox ["+Ee(gt.artBox.bottomLeftX)+" "+Ee(gt.artBox.bottomLeftY)+" "+Ee(gt.artBox.topRightX)+" "+Ee(gt.artBox.topRightY)+"]"),typeof gt.userUnit=="number"&>.userUnit!==1&&Xt("/UserUnit "+gt.userUnit),An.publish("putPage",{objId:Zr,pageContext:Rn[Gt],pageNumber:Gt,page:Sr}),Xt("/Contents "+en+" 0 R"),Xt(">>"),Xt("endobj");var xn=Sr.join(`
|
|
|
`);return pn(en,!0),Kr({data:xn,filters:gr()}),Xt("endobj"),Zr},Ir=Oe.__private__.putPages=function(){var gt,Gt,Sr=[];for(gt=1;gt<=En;gt++)Rn[gt].objId=Xr(),Rn[gt].contentsObjId=Xr();for(gt=1;gt<=En;gt++)Sr.push(sn({number:gt,data:Ft[gt],objId:Rn[gt].objId,contentsObjId:Rn[gt].contentsObjId,mediaBox:Rn[gt].mediaBox,cropBox:Rn[gt].cropBox,bleedBox:Rn[gt].bleedBox,trimBox:Rn[gt].trimBox,artBox:Rn[gt].artBox,userUnit:Rn[gt].userUnit,rootDictionaryObjId:tn,resourceDictionaryObjId:$t}));pn(tn,!0),Xt("<</Type /Pages");var Zr="/Kids [";for(Gt=0;Gt<En;Gt++)Zr+=Sr[Gt]+" 0 R ";Xt(Zr+"]"),Xt("/Count "+En),Xt(">>"),Xt("endobj"),An.publish("postPutPages")},Rr=function(){!function(){for(var Gt in Mr)Mr.hasOwnProperty(Gt)&&(Bt===!1||Bt===!0&&dr.hasOwnProperty(Gt))&&(Sr=Mr[Gt],An.publish("putFont",{font:Sr,out:Xt,newObject:ai,putStream:Kr}),Sr.isAlreadyPutted!==!0&&(Sr.objectNumber=ai(),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}(),An.publish("putResources"),pn($t,!0),Xt("<<"),function(){for(var Gt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),Mr)Mr.hasOwnProperty(Gt)&&(Bt===!1||Bt===!0&&dr.hasOwnProperty(Gt))&&Xt("/"+Gt+" "+Mr[Gt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),An.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),An.publish("postPutResources")},ar=function(Gt,Sr,Zr){fn.hasOwnProperty(Sr)||(fn[Sr]={}),fn[Sr][Zr]=Gt},Tr=function(Gt,Sr,Zr,en,xn){xn=xn||!1;var kn="F"+(Object.keys(Mr).length+1).toString(10),Zn={id:kn,postScriptName:Gt,fontName:Sr,fontStyle:Zr,encoding:en,isStandardFont:xn,metadata:{}};return An.publish("addFont",{font:Zn,instance:this}),kn!==void 0&&(Mr[kn]=Zn,ar(kn,Sr,Zr)),kn},br=Oe.__private__.pdfEscape=Oe.pdfEscape=function(gt,Gt){return function(Sr,Zr){var en,xn,kn,Zn,ui,ti,Qn,$n,Si;if(kn=(Zr=Zr||{}).sourceEncoding||"Unicode",ui=Zr.outputEncoding,(Zr.autoencode||ui)&&Mr[qe].metadata&&Mr[qe].metadata[kn]&&Mr[qe].metadata[kn].encoding&&(Zn=Mr[qe].metadata[kn].encoding,!ui&&Mr[qe].encoding&&(ui=Mr[qe].encoding),!ui&&Zn.codePages&&(ui=Zn.codePages[0]),typeof ui=="string"&&(ui=Zn[ui]),ui)){for(Qn=!1,ti=[],en=0,xn=Sr.length;en<xn;en++)($n=ui[Sr.charCodeAt(en)])?ti.push(String.fromCharCode($n)):ti.push(Sr[en]),ti[en].charCodeAt(0)>>8&&(Qn=!0);Sr=ti.join("")}for(en=Sr.length;Qn===void 0&&en!==0;)Sr.charCodeAt(en-1)>>8&&(Qn=!0),en--;if(!Qn)return Sr;for(ti=Zr.noBOM?[]:[254,255],en=0,xn=Sr.length;en<xn;en++){if((Si=($n=Sr.charCodeAt(en))>>8)>>8)throw new Error("Character at position "+en+" of string '"+Sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ti.push(Si),ti.push($n-(Si<<8))}return String.fromCharCode.apply(void 0,ti)}(gt,Gt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},fr=Oe.__private__.beginPage=function(gt,Gt){var Sr,Zr=typeof Gt=="string"&&Gt.toLowerCase();if(typeof gt=="string"&&(Sr=ue(gt.toLowerCase()))&&(gt=Sr[0],Gt=Sr[1]),Array.isArray(gt)&&(Gt=gt[1],gt=gt[0]),(isNaN(gt)||isNaN(Gt))&&(gt=Je[0],Gt=Je[1]),Zr){switch(Zr.substr(0,1)){case"l":gt<Gt&&(Zr="s");break;case"p":Gt<gt&&(Zr="s")}Zr==="s"&&(Sr=gt,gt=Gt,Gt=Sr)}(14400<gt||14400<Gt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),gt=Math.min(14400,gt),Gt=Math.min(14400,Gt)),Je=[gt,Gt],et=!0,Ft[++En]=[],Rn[En]={objId:0,contentsObjId:0,userUnit:Number(Ut),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(gt),topRightY:Number(Gt)}},wn(En)},zr=function(){fr.apply(this,arguments),Za(Va),Xt(Dr),Cr!==0&&Xt(Cr+" J"),cn!==0&&Xt(cn+" j"),An.publish("addPage",{pageNumber:En})},wn=function(Gt){0<Gt&&Gt<=En&&($e=Gt)},On=Oe.__private__.getNumberOfPages=Oe.getNumberOfPages=function(){return Ft.length-1},Wn=function(Gt,Sr,Zr){var en,xn=void 0;return Zr=Zr||{},Gt=Gt!==void 0?Gt:Mr[qe].fontName,Sr=Sr!==void 0?Sr:Mr[qe].fontStyle,en=Gt.toLowerCase(),fn[en]!==void 0&&fn[en][Sr]!==void 0?xn=fn[en][Sr]:fn[Gt]!==void 0&&fn[Gt][Sr]!==void 0?xn=fn[Gt][Sr]:Zr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Gt+"', '"+Sr+"'. Refer to getFontList() for available fonts."),xn||Zr.noFallback||(xn=fn.times[Sr])==null&&(xn=fn.times.normal),xn},Xn=Oe.__private__.putInfo=function(){for(var gt in ai(),Xt("<<"),Xt("/Producer (jsPDF "+Le.version+")"),cr)cr.hasOwnProperty(gt)&&cr[gt]&&Xt("/"+gt.substr(0,1).toUpperCase()+gt.substr(1)+" ("+br(cr[gt])+")");Xt("/CreationDate ("+me+")"),Xt(">>"),Xt("endobj")},ii=Oe.__private__.putCatalog=function(gt){var Gt=(gt=gt||{}).rootDictionaryObjId||tn;switch(ai(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Gt+" 0 R"),ft||(ft="fullwidth"),ft){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=""+ft;Sr.substr(Sr.length-1)==="%"&&(ft=parseInt(ft)/100),typeof ft=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Ee(ft)+"]")}switch(Ye||(Ye="continuous"),Ye){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")}ze&&Xt("/PageMode /"+ze),An.publish("putCatalog"),Xt(">>"),Xt("endobj")},li=Oe.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(Pr+1)),Xt("/Root "+Pr+" 0 R"),Xt("/Info "+(Pr-1)+" 0 R"),Xt("/ID [ <"+dt+"> <"+dt+"> ]"),Xt(">>")},bi=Oe.__private__.putHeader=function(){Xt("%PDF-"+xe),Xt("%\xBA\xDF\xAC\xE0")},gi=Oe.__private__.putXRef=function(){var gt=1,Gt="0000000000";for(Xt("xref"),Xt("0 "+(Pr+1)),Xt("0000000000 65535 f "),gt=1;gt<=Pr;gt++)typeof Ar[gt]=="function"?Xt((Gt+Ar[gt]()).slice(-10)+" 00000 n "):Ar[gt]!==void 0?Xt((Gt+Ar[gt]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Ni=Oe.__private__.buildDocument=function(){et=!1,ir=Pr=0,Ct=[],Ar=[],oi=[],tn=Xr(),$t=Xr(),An.publish("buildDocument"),bi(),Ir(),function(){An.publish("putAdditionalObjects");for(var Gt=0;Gt<oi.length;Gt++){var Sr=oi[Gt];pn(Sr.objId,!0),Xt(Sr.content),Xt("endobj")}An.publish("postPutAdditionalObjects")}(),Rr(),Xn(),ii();var gt=ir;return gi(),li(),Xt("startxref"),Xt(""+gt),Xt("%%EOF"),et=!0,Ct.join(`
|
|
|
`)},ki=Oe.__private__.getBlob=function(gt){return new Blob([Br(gt)],{type:"application/pdf"})},sa=Oe.output=Oe.__private__.output=((ct=function(Gt,Sr){Sr=Sr||{};var Zr=Ni();switch(typeof Sr=="string"?Sr={filename:Sr}:Sr.filename=Sr.filename||"generated.pdf",Gt){case void 0:return Zr;case"save":Oe.save(Sr.filename);break;case"arraybuffer":return Br(Zr);case"blob":return ki(Zr);case"bloburi":case"bloburl":if(ge.URL!==void 0&&typeof ge.URL.createObjectURL=="function")return ge.URL&&ge.URL.createObjectURL(ki(Zr))||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(Zr);case"dataurlnewwindow":var en='<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>',xn=ge.open();if(xn!==null&&xn.document.write(en),xn||typeof safari=="undefined")return xn;case"datauri":case"dataurl":return ge.document.location.href="data:application/pdf;filename="+Sr.filename+";base64,"+btoa(Zr);default:return null}}).foo=function(){try{return ct.apply(this,arguments)}catch(Sr){var gt=Sr.stack||"";~gt.indexOf(" at ")&&(gt=gt.split(" at ")[1]);var Gt="Error in function "+gt.split(`
|
|
|
`)[0].split("<")[0]+": "+Sr.message;if(!ge.console)throw new Error(Gt);ge.console.error(Gt,Sr),ge.alert&&alert(Gt)}},(ct.foo.bar=ct).foo),Wi=function(Gt){return Array.isArray(mi)===!0&&-1<mi.indexOf(Gt)};switch(Ke){case"pt":rt=1;break;case"mm":rt=72/25.4;break;case"cm":rt=72/2.54;break;case"in":rt=72;break;case"px":rt=Wi("px_scaling")==1?.75:96/72;break;case"pc":case"em":rt=12;break;case"ex":rt=6;break;default:throw new Error("Invalid unit: "+Ke)}Lt(),tr();var Ta=Oe.__private__.getPageInfo=function(gt){if(isNaN(gt)||gt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Rn[gt].objId,pageNumber:gt,pageContext:Rn[gt]}},La=Oe.__private__.getPageInfoByObjId=function(gt){for(var Gt in Rn)if(Rn[Gt].objId===gt)break;if(isNaN(gt)||gt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Ta(Gt)},ta=Oe.__private__.getCurrentPageInfo=function(){return{objId:Rn[$e].objId,pageNumber:$e,pageContext:Rn[$e]}};Oe.addPage=function(){return zr.apply(this,arguments),this},Oe.setPage=function(){return wn.apply(this,arguments),this},Oe.insertPage=function(gt){return this.addPage(),this.movePage($e,gt),this},Oe.movePage=function(gt,Gt){if(Gt<gt){for(var Sr=Ft[gt],Zr=Rn[gt],en=gt;Gt<en;en--)Ft[en]=Ft[en-1],Rn[en]=Rn[en-1];Ft[Gt]=Sr,Rn[Gt]=Zr,this.setPage(Gt)}else if(gt<Gt){for(Sr=Ft[gt],Zr=Rn[gt],en=gt;en<Gt;en++)Ft[en]=Ft[en+1],Rn[en]=Rn[en+1];Ft[Gt]=Sr,Rn[Gt]=Zr,this.setPage(Gt)}return this},Oe.deletePage=function(){return function(gt){0<gt&><=En&&(Ft.splice(gt,1),--En<$e&&($e=En),this.setPage($e))}.apply(this,arguments),this},Oe.__private__.text=Oe.text=function(gt,Gt,Sr,Zr){var en;typeof gt!="number"||typeof Gt!="number"||typeof Sr!="string"&&!Array.isArray(Sr)||(en=Sr,Sr=Gt,Gt=gt,gt=en);var xn=arguments[3],kn=arguments[4],Zn=arguments[5];if(m(xn)==="object"&&xn!==null||(typeof kn=="string"&&(Zn=kn,kn=null),typeof xn=="string"&&(Zn=xn,xn=null),typeof xn=="number"&&(kn=xn,xn=null),Zr={flags:xn,angle:kn,align:Zn}),(xn=xn||{}).noBOM=xn.noBOM||!0,xn.autoencode=xn.autoencode||!0,isNaN(Gt)||isNaN(Sr)||gt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(gt.length===0)return $n;var ui,ti="",Qn=typeof Zr.lineHeightFactor=="number"?Zr.lineHeightFactor:zi,$n=Zr.scope||this;function Si(pr){for(var ur,$r=pr.concat(),Er=[],sr=$r.length;sr--;)typeof(ur=$r.shift())=="string"?Er.push(ur):Array.isArray(pr)&&ur.length===1?Er.push(ur[0]):Er.push([ur[0],ur[1],ur[2]]);return Er}function Ci(pr,ur){var $r;if(typeof pr=="string")$r=ur(pr)[0];else if(Array.isArray(pr)){for(var Er,sr,dn=pr.concat(),wr=[],rn=dn.length;rn--;)typeof(Er=dn.shift())=="string"?wr.push(ur(Er)[0]):Array.isArray(Er)&&Er[0]==="string"&&(sr=ur(Er[0],Er[1],Er[2]),wr.push([sr[0],sr[1],sr[2]]));$r=wr}return $r}var vi=!1,xi=!0;if(typeof gt=="string")vi=!0;else if(Array.isArray(gt)){for(var Ei,di=gt.concat(),pi=[],_i=di.length;_i--;)(typeof(Ei=di.shift())!="string"||Array.isArray(Ei)&&typeof Ei[0]!="string")&&(xi=!1);vi=xi}if(vi===!1)throw new Error('Type of text must be string or Array. "'+gt+'" is not recognized.');var Ri=Mr[qe].encoding;Ri!=="WinAnsiEncoding"&&Ri!=="StandardEncoding"||(gt=Ci(gt,function(pr,ur,$r){return[(Er=pr,Er=Er.split(" ").join(Array(Zr.TabLen||9).join(" ")),br(Er,xn)),ur,$r];var Er})),typeof gt=="string"&&(gt=gt.match(/[\r?\n]/)?gt.split(/\r\n|\r|\n/g):[gt]);var Vi=un/$n.internal.scaleFactor,Ii=Vi*(zi-1);switch(Zr.baseline){case"bottom":Sr-=Ii;break;case"top":Sr+=Vi-Ii;break;case"hanging":Sr+=Vi-2*Ii;break;case"middle":Sr+=Vi/2-Ii}0<(wa=Zr.maxWidth||0)&&(typeof gt=="string"?gt=$n.splitTextToSize(gt,wa):Object.prototype.toString.call(gt)==="[object Array]"&&(gt=$n.splitTextToSize(gt.join(" "),wa)));var ba={text:gt,x:Gt,y:Sr,options:Zr,mutex:{pdfEscape:br,activeFontKey:qe,fonts:Mr,activeFontSize:un}};An.publish("preProcessText",ba),gt=ba.text,kn=(Zr=ba.options).angle;var ga=$n.internal.scaleFactor,Aa=[];if(kn){kn*=Math.PI/180;var ha=Math.cos(kn),vo=Math.sin(kn);Aa=[Ee(ha),Ee(vo),Ee(-1*vo),Ee(ha)]}(Ya=Zr.charSpace)!==void 0&&(ti+=Ge(Ya*ga)+` Tc
|
|
|
`),Zr.lang;var la=-1,Ba=Zr.renderingMode!==void 0?Zr.renderingMode:Zr.stroke,pa=$n.internal.getCurrentPageInfo().pageContext;switch(Ba){case 0:case!1:case"fill":la=0;break;case 1:case!0:case"stroke":la=1;break;case 2:case"fillThenStroke":la=2;break;case 3:case"invisible":la=3;break;case 4:case"fillAndAddForClipping":la=4;break;case 5:case"strokeAndAddPathForClipping":la=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":la=6;break;case 7:case"addToPathForClipping":la=7}var to=pa.usedRenderingMode!==void 0?pa.usedRenderingMode:-1;la!==-1?ti+=la+` Tr
|
|
|
`:to!==-1&&(ti+=`0 Tr
|
|
|
`),la!==-1&&(pa.usedRenderingMode=la),Zn=Zr.align||"left";var qa=un*Qn,Yi=$n.internal.pageSize.getWidth(),oo=(ga=$n.internal.scaleFactor,Mr[qe]),Ya=Zr.charSpace||lr,wa=Zr.maxWidth||0,$a=(xn={},[]);if(Object.prototype.toString.call(gt)==="[object Array]"){var Fi,Sa;pi=Si(gt),Zn!=="left"&&(Sa=pi.map(function(pr){return $n.getStringUnitWidth(pr,{font:oo,charSpace:Ya,fontSize:un})*un/ga}));var Ea,yo=Math.max.apply(Math,Sa),_a=0;if(Zn==="right"){Gt-=Sa[0],gt=[];var Hi=0;for(_i=pi.length;Hi<_i;Hi++)yo-Sa[Hi],Fi=Hi===0?(Ea=nr(Gt),ln(Sr)):(Ea=(_a-Sa[Hi])*ga,-qa),gt.push([pi[Hi],Ea,Fi]),_a=Sa[Hi]}else if(Zn==="center")for(Gt-=Sa[0]/2,gt=[],Hi=0,_i=pi.length;Hi<_i;Hi++)(yo-Sa[Hi])/2,Fi=Hi===0?(Ea=nr(Gt),ln(Sr)):(Ea=(_a-Sa[Hi])/2*ga,-qa),gt.push([pi[Hi],Ea,Fi]),_a=Sa[Hi];else if(Zn==="left")for(gt=[],Hi=0,_i=pi.length;Hi<_i;Hi++)Fi=Hi===0?ln(Sr):-qa,Ea=Hi===0?nr(Gt):0,gt.push(pi[Hi]);else{if(Zn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(gt=[],wa=wa!==0?wa:Yi,Hi=0,_i=pi.length;Hi<_i;Hi++)Fi=Hi===0?ln(Sr):-qa,Ea=Hi===0?nr(Gt):0,Hi<_i-1&&$a.push(((wa-Sa[Hi])/(pi[Hi].split(" ").length-1)*ga).toFixed(2)),gt.push([pi[Hi],Ea,Fi])}}(typeof Zr.R2L=="boolean"?Zr.R2L:_n)===!0&&(gt=Ci(gt,function(pr,ur,$r){return[pr.split("").reverse().join(""),ur,$r]})),ba={text:gt,x:Gt,y:Sr,options:Zr,mutex:{pdfEscape:br,activeFontKey:qe,fonts:Mr,activeFontSize:un}},An.publish("postProcessText",ba),gt=ba.text,ui=ba.mutex.isHex,pi=Si(gt),gt=[];var Xa,Da,va,Di=0,at=(_i=pi.length,"");for(Hi=0;Hi<_i;Hi++)at="",Array.isArray(pi[Hi])?(Xa=parseFloat(pi[Hi][1]),Da=parseFloat(pi[Hi][2]),va=(ui?"<":"(")+pi[Hi][0]+(ui?">":")"),Di=1):(Xa=nr(Gt),Da=ln(Sr),va=(ui?"<":"(")+pi[Hi]+(ui?">":")")),$a!==void 0&&$a[Hi]!==void 0&&(at=$a[Hi]+` Tw
|
|
|
`),Aa.length!==0&&Hi===0?gt.push(at+Aa.join(" ")+" "+Xa.toFixed(2)+" "+Da.toFixed(2)+` Tm
|
|
|
`+va):Di===1||Di===0&&Hi===0?gt.push(at+Xa.toFixed(2)+" "+Da.toFixed(2)+` Td
|
|
|
`+va):gt.push(at+va);gt=Di===0?gt.join(` Tj
|
|
|
T* `):gt.join(` Tj
|
|
|
`),gt+=` Tj
|
|
|
`;var qt=`BT
|
|
|
/`+qe+" "+un+` Tf
|
|
|
`+(un*Qn).toFixed(2)+` TL
|
|
|
`+an+`
|
|
|
`;return qt+=ti,qt+=gt,Xt(qt+="ET"),dr[qe]=!0,$n},Oe.__private__.lstext=Oe.lstext=function(gt,Gt,Sr,Zr){return console.warn("jsPDF.lstext is deprecated"),this.text(gt,Gt,Sr,{charSpace:Zr})},Oe.__private__.clip=Oe.clip=function(gt){Xt(gt==="evenodd"?"W*":"W"),Xt("n")},Oe.__private__.clip_fixed=Oe.clip_fixed=function(gt){console.log("clip_fixed is deprecated"),Oe.clip(gt)};var Ka=Oe.__private__.isValidStyle=function(gt){var Gt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(gt)!==-1&&(Gt=!0),Gt},ni=Oe.__private__.getStyle=function(gt){var Gt="S";return gt==="F"?Gt="f":gt==="FD"||gt==="DF"?Gt="B":gt!=="f"&>!=="f*"&>!=="B"&>!=="B*"||(Gt=gt),Gt};Oe.__private__.line=Oe.line=function(gt,Gt,Sr,Zr){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||isNaN(Zr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[Sr-gt,Zr-Gt]],gt,Gt)},Oe.__private__.lines=Oe.lines=function(gt,Gt,Sr,Zr,en,xn){var kn,Zn,ui,ti,Qn,$n,Si,Ci,vi,xi,Ei,di;if(typeof gt=="number"&&(di=Sr,Sr=Gt,Gt=gt,gt=di),Zr=Zr||[1,1],xn=xn||!1,isNaN(Gt)||isNaN(Sr)||!Array.isArray(gt)||!Array.isArray(Zr)||!Ka(en)||typeof xn!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt(Ge(nr(Gt))+" "+Ge(ln(Sr))+" m "),kn=Zr[0],Zn=Zr[1],ti=gt.length,xi=Gt,Ei=Sr,ui=0;ui<ti;ui++)(Qn=gt[ui]).length===2?(xi=Qn[0]*kn+xi,Ei=Qn[1]*Zn+Ei,Xt(Ge(nr(xi))+" "+Ge(ln(Ei))+" l")):($n=Qn[0]*kn+xi,Si=Qn[1]*Zn+Ei,Ci=Qn[2]*kn+xi,vi=Qn[3]*Zn+Ei,xi=Qn[4]*kn+xi,Ei=Qn[5]*Zn+Ei,Xt(Ge(nr($n))+" "+Ge(ln(Si))+" "+Ge(nr(Ci))+" "+Ge(ln(vi))+" "+Ge(nr(xi))+" "+Ge(ln(Ei))+" c"));return xn&&Xt(" h"),en!==null&&Xt(ni(en)),this},Oe.__private__.rect=Oe.rect=function(gt,Gt,Sr,Zr,en){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||isNaN(Zr)||!Ka(en))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Ee(nr(gt)),Ee(ln(Gt)),Ee(Sr*rt),Ee(-Zr*rt),"re"].join(" ")),en!==null&&Xt(ni(en)),this},Oe.__private__.triangle=Oe.triangle=function(gt,Gt,Sr,Zr,en,xn,kn){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||isNaN(Zr)||isNaN(en)||isNaN(xn)||!Ka(kn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Sr-gt,Zr-Gt],[en-Sr,xn-Zr],[gt-en,Gt-xn]],gt,Gt,[1,1],kn,!0),this},Oe.__private__.roundedRect=Oe.roundedRect=function(gt,Gt,Sr,Zr,en,xn,kn){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||isNaN(Zr)||isNaN(en)||isNaN(xn)||!Ka(kn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Zn=4/3*(Math.SQRT2-1);return this.lines([[Sr-2*en,0],[en*Zn,0,en,xn-xn*Zn,en,xn],[0,Zr-2*xn],[0,xn*Zn,-en*Zn,xn,-en,xn],[2*en-Sr,0],[-en*Zn,0,-en,-xn*Zn,-en,-xn],[0,2*xn-Zr],[0,-xn*Zn,en*Zn,-xn,en,-xn]],gt+en,Gt,[1,1],kn),this},Oe.__private__.ellipse=Oe.ellipse=function(gt,Gt,Sr,Zr,en){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||isNaN(Zr)||!Ka(en))throw new Error("Invalid arguments passed to jsPDF.ellipse");var xn=4/3*(Math.SQRT2-1)*Sr,kn=4/3*(Math.SQRT2-1)*Zr;return Xt([Ee(nr(gt+Sr)),Ee(ln(Gt)),"m",Ee(nr(gt+Sr)),Ee(ln(Gt-kn)),Ee(nr(gt+xn)),Ee(ln(Gt-Zr)),Ee(nr(gt)),Ee(ln(Gt-Zr)),"c"].join(" ")),Xt([Ee(nr(gt-xn)),Ee(ln(Gt-Zr)),Ee(nr(gt-Sr)),Ee(ln(Gt-kn)),Ee(nr(gt-Sr)),Ee(ln(Gt)),"c"].join(" ")),Xt([Ee(nr(gt-Sr)),Ee(ln(Gt+kn)),Ee(nr(gt-xn)),Ee(ln(Gt+Zr)),Ee(nr(gt)),Ee(ln(Gt+Zr)),"c"].join(" ")),Xt([Ee(nr(gt+xn)),Ee(ln(Gt+Zr)),Ee(nr(gt+Sr)),Ee(ln(Gt+kn)),Ee(nr(gt+Sr)),Ee(ln(Gt)),"c"].join(" ")),en!==null&&Xt(ni(en)),this},Oe.__private__.circle=Oe.circle=function(gt,Gt,Sr,Zr){if(isNaN(gt)||isNaN(Gt)||isNaN(Sr)||!Ka(Zr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(gt,Gt,Sr,Sr,Zr)},Oe.setFont=function(gt,Gt){return qe=Wn(gt,Gt,{disableWarning:!1}),this},Oe.setFontStyle=Oe.setFontType=function(gt){return qe=Wn(void 0,gt),this},Oe.__private__.getFontList=Oe.getFontList=function(){var gt,Gt,Sr,Zr={};for(gt in fn)if(fn.hasOwnProperty(gt))for(Gt in Zr[gt]=Sr=[],fn[gt])fn[gt].hasOwnProperty(Gt)&&Sr.push(Gt);return Zr},Oe.addFont=function(gt,Gt,Sr,Zr){Tr.call(this,gt,Gt,Sr,Zr=Zr||"Identity-H")};var zi,Va=vt.lineWidth||.200025,Za=Oe.__private__.setLineWidth=Oe.setLineWidth=function(gt){return Xt((gt*rt).toFixed(2)+" w"),this},Oa=(Oe.__private__.setLineDash=Le.API.setLineDash=function(gt,Gt){if(gt=gt||[],Gt=Gt||0,isNaN(Gt)||!Array.isArray(gt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return gt=gt.map(function(Sr){return(Sr*rt).toFixed(3)}).join(" "),Gt=parseFloat((Gt*rt).toFixed(3)),Xt("["+gt+"] "+Gt+" d"),this},Oe.__private__.getLineHeight=Oe.getLineHeight=function(){return un*zi}),ma=(Oa=Oe.__private__.getLineHeight=Oe.getLineHeight=function(){return un*zi},Oe.__private__.setLineHeightFactor=Oe.setLineHeightFactor=function(gt){return typeof(gt=gt||1.15)=="number"&&(zi=gt),this}),xr=Oe.__private__.getLineHeightFactor=Oe.getLineHeightFactor=function(){return zi};ma(vt.lineHeight);var nr=Oe.__private__.getHorizontalCoordinate=function(gt){return gt*rt},ln=Oe.__private__.getVerticalCoordinate=function(gt){return Rn[$e].mediaBox.topRightY-Rn[$e].mediaBox.bottomLeftY-gt*rt},er=Oe.__private__.getHorizontalCoordinateString=function(gt){return Ee(gt*rt)},hr=Oe.__private__.getVerticalCoordinateString=function(gt){return Ee(Rn[$e].mediaBox.topRightY-Rn[$e].mediaBox.bottomLeftY-gt*rt)},Dr=vt.strokeColor||"0 G",Vr=(Oe.__private__.getStrokeColor=Oe.getDrawColor=function(){return yr(Dr)},Oe.__private__.setStrokeColor=Oe.setDrawColor=function(gt,Gt,Sr,Zr){return Dr=kr({ch1:gt,ch2:Gt,ch3:Sr,ch4:Zr,pdfColorType:"draw",precision:2}),Xt(Dr),this},vt.fillColor||"0 g"),an=(Oe.__private__.getFillColor=Oe.getFillColor=function(){return yr(Vr)},Oe.__private__.setFillColor=Oe.setFillColor=function(gt,Gt,Sr,Zr){return Vr=kr({ch1:gt,ch2:Gt,ch3:Sr,ch4:Zr,pdfColorType:"fill",precision:2}),Xt(Vr),this},vt.textColor||"0 g"),Ot=Oe.__private__.getTextColor=Oe.getTextColor=function(){return yr(an)},lr=(Oe.__private__.setTextColor=Oe.setTextColor=function(gt,Gt,Sr,Zr){return an=kr({ch1:gt,ch2:Gt,ch3:Sr,ch4:Zr,pdfColorType:"text",precision:3}),this},vt.charSpace||0),vr=Oe.__private__.getCharSpace=Oe.getCharSpace=function(){return lr},Cr=(Oe.__private__.setCharSpace=Oe.setCharSpace=function(gt){if(isNaN(gt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return lr=gt,this},0);Oe.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},Oe.__private__.setLineCap=Oe.setLineCap=function(gt){var Gt=Oe.CapJoinStyles[gt];if(Gt===void 0)throw new Error("Line cap style of '"+gt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Cr=Gt)+" J"),this};var Hr,cn=0;Oe.__private__.setLineJoin=Oe.setLineJoin=function(gt){var Gt=Oe.CapJoinStyles[gt];if(Gt===void 0)throw new Error("Line join style of '"+gt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((cn=Gt)+" j"),this},Oe.__private__.setMiterLimit=Oe.setMiterLimit=function(gt){if(gt=gt||0,isNaN(gt))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Hr=parseFloat(Ee(gt*rt)),Xt(Hr+" M"),this};for(var Qr in Oe.save=function(gt,Gt){if(gt=gt||"generated.pdf",(Gt=Gt||{}).returnPromise=Gt.returnPromise||!1,Gt.returnPromise!==!1)return new Promise(function(Sr,Zr){try{var en=St(ki(Ni()),gt);typeof St.unload=="function"&&ge.setTimeout&&setTimeout(St.unload,911),Sr(en)}catch(xn){Zr(xn.message)}});St(ki(Ni()),gt),typeof St.unload=="function"&&ge.setTimeout&&setTimeout(St.unload,911)},Le.API)Le.API.hasOwnProperty(Qr)&&(Qr==="events"&&Le.API.events.length?function(gt,Gt){var Sr,Zr,en;for(en=Gt.length-1;en!==-1;en--)Sr=Gt[en][0],Zr=Gt[en][1],gt.subscribe.apply(gt,[Sr].concat(typeof Zr=="function"?[Zr]:Zr))}(An,Le.API.events):Oe[Qr]=Le.API[Qr]);return Oe.internal={pdfEscape:br,getStyle:ni,getFont:function(){return Mr[Wn.apply(Oe,arguments)]},getFontSize:mn,getCharSpace:vr,getTextColor:Ot,getLineHeight:Oa,getLineHeightFactor:xr,write:_r,getHorizontalCoordinate:nr,getVerticalCoordinate:ln,getCoordinateString:er,getVerticalCoordinateString:hr,collections:{},newObject:ai,newAdditionalObject:Ln,newObjectDeferred:Xr,newObjectDeferredBegin:pn,getFilters:gr,putStream:Kr,events:An,scaleFactor:rt,pageSize:{getWidth:function(){return(Rn[$e].mediaBox.topRightX-Rn[$e].mediaBox.bottomLeftX)/rt},setWidth:function(Gt){Rn[$e].mediaBox.topRightX=Gt*rt+Rn[$e].mediaBox.bottomLeftX},getHeight:function(){return(Rn[$e].mediaBox.topRightY-Rn[$e].mediaBox.bottomLeftY)/rt},setHeight:function(Gt){Rn[$e].mediaBox.topRightY=Gt*rt+Rn[$e].mediaBox.bottomLeftY}},output:sa,getNumberOfPages:On,pages:Ft,out:Xt,f2:Ee,f3:Ge,getPageInfo:Ta,getPageInfoByObjId:La,getCurrentPageInfo:ta,getPDFVersion:V,hasHotfix:Wi},Object.defineProperty(Oe.internal.pageSize,"width",{get:function(){return(Rn[$e].mediaBox.topRightX-Rn[$e].mediaBox.bottomLeftX)/rt},set:function(Gt){Rn[$e].mediaBox.topRightX=Gt*rt+Rn[$e].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(Oe.internal.pageSize,"height",{get:function(){return(Rn[$e].mediaBox.topRightY-Rn[$e].mediaBox.bottomLeftY)/rt},set:function(Gt){Rn[$e].mediaBox.topRightY=Gt*rt+Rn[$e].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(gt){for(var Gt=0,Sr=Gr.length;Gt<Sr;Gt++){var Zr=Tr(gt[Gt][0],gt[Gt][1],gt[Gt][2],Gr[Gt][3],!0);dr[Zr]=!0;var en=gt[Gt][0].split("-");ar(Zr,en[0],en[1]||"")}An.publish("addFonts",{fonts:Mr,dictionary:fn})}(Gr),qe="F1",zr(Je,we),An.publish("initialized"),Oe}return Le.API={events:[]},Le.version="1.5.3",!(x=function(){return Le}.call(N,e,N,R),x!==void 0&&(R.exports=x)),Le}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||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(ge,ye){var Le,we=1,Ke=function(cr){return cr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Je=function(cr){return cr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ut=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(2)},vt=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(5)};ge.__acroform__={};var _t=function(cr,Pr){cr.prototype=Object.create(Pr.prototype),cr.prototype.constructor=cr},Ut=function(cr){return cr*we},Bt=function(cr){return cr/we},dr=function(cr){var Pr=new rt,Ar=qr.internal.getHeight(cr)||0,Mr=qr.internal.getWidth(cr)||0;return Pr.BBox=[0,0,Number(ut(Mr)),Number(ut(Ar))],Pr},Oe=ge.__acroform__.setBit=function(nn,cr){if(nn=nn||0,cr=cr||0,isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return nn|=1<<cr},xe=ge.__acroform__.clearBit=function(nn,cr){if(nn=nn||0,cr=cr||0,isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return nn&=~(1<<cr)},V=ge.__acroform__.getBit=function(nn,cr){if(isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(nn&1<<cr)==0?0:1},q=ge.__acroform__.getBitForPdf=function(nn,cr){if(isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(nn,cr-1)},ue=ge.__acroform__.setBitForPdf=function(nn,cr){if(isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Oe(nn,cr-1)},me=ge.__acroform__.clearBitForPdf=function(nn,cr,Pr){if(isNaN(nn)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return xe(nn,cr-1)},Ee=ge.__acroform__.calculateCoordinates=function(nn){var cr=this.internal.getHorizontalCoordinate,Pr=this.internal.getVerticalCoordinate,Ar=nn[0],Mr=nn[1],fn=nn[2],En=nn[3],Rn={};return Rn.lowerLeft_X=cr(Ar)||0,Rn.lowerLeft_Y=Pr(Mr+En)||0,Rn.upperRight_X=cr(Ar+fn)||0,Rn.upperRight_Y=Pr(Mr)||0,[Number(ut(Rn.lowerLeft_X)),Number(ut(Rn.lowerLeft_Y)),Number(ut(Rn.upperRight_X)),Number(ut(Rn.upperRight_Y))]},Ge=function(cr){if(cr.appearanceStreamContent)return cr.appearanceStreamContent;if(cr.V||cr.DV){var Pr=[],Ar=cr.V||cr.DV,Mr=dt(cr,Ar),fn=Le.internal.getFont(cr.fontName,cr.fontStyle).id;Pr.push("/Tx BMC"),Pr.push("q"),Pr.push("BT"),Pr.push(Le.__private__.encodeColorString(cr.color)),Pr.push("/"+fn+" "+ut(Mr.fontSize)+" Tf"),Pr.push("1 0 0 1 0 0 Tm"),Pr.push(Mr.text),Pr.push("ET"),Pr.push("Q"),Pr.push("EMC");var En=new dr(cr);return En.stream=Pr.join(`
|
|
|
`),En}},dt=function(cr,Pr){var Ar=cr.maxFontSize||12,Mr=(cr.fontName,{text:"",fontSize:""}),fn=(Pr=(Pr=Pr.substr(0,1)=="("?Pr.substr(1):Pr).substr(Pr.length-1)==")"?Pr.substr(0,Pr.length-1):Pr).split(" "),En=(Le.__private__.encodeColorString(cr.color),Ar),Rn=qr.internal.getHeight(cr)||0;Rn=Rn<0?-Rn:Rn;var oi=qr.internal.getWidth(cr)||0;oi=oi<0?-oi:oi;var An=function(br,fr,zr){if(br+1<fn.length){var wn=fr+" "+fn[br+1];return Kt(wn,cr,zr).width<=oi-4}return!1};En++;e:for(;;){Pr="";var mi=Kt("3",cr,--En).height,ai=cr.multiline?Rn-En:(Rn-mi)/2,Xr=-2,pn=ai+=2,Ln=0,tn=0,$t=0;if(En<=0){Pr=`(...) Tj
|
|
|
`,Pr+="% Width of Text: "+Kt(Pr,cr,En=12).width+", FieldWidth:"+oi+`
|
|
|
`;break}$t=Kt(fn[0]+" ",cr,En).width;var yr="",kr=0;for(var gr in fn)if(fn.hasOwnProperty(gr)){yr=(yr+=fn[gr]+" ").substr(yr.length-1)==" "?yr.substr(0,yr.length-1):yr;var Kr=parseInt(gr);$t=Kt(yr+" ",cr,En).width;var sn=An(Kr,yr,En),Ir=gr>=fn.length-1;if(sn&&!Ir){yr+=" ";continue}if(sn||Ir){if(Ir)tn=Kr;else if(cr.multiline&&Rn<(mi+2)*(kr+2)+2)continue e}else{if(!cr.multiline)continue e;if(Rn<(mi+2)*(kr+2)+2)continue e;tn=Kr}for(var Rr="",ar=Ln;ar<=tn;ar++)Rr+=fn[ar]+" ";switch(Rr=Rr.substr(Rr.length-1)==" "?Rr.substr(0,Rr.length-1):Rr,$t=Kt(Rr,cr,En).width,cr.textAlign){case"right":Xr=oi-$t-2;break;case"center":Xr=(oi-$t)/2;break;case"left":default:Xr=2}Pr+=ut(Xr)+" "+ut(pn)+` Td
|
|
|
`,Pr+="("+Ke(Rr)+`) Tj
|
|
|
`,Pr+=-ut(Xr)+` 0 Td
|
|
|
`,pn=-(En+2),$t=0,Ln=tn+1,kr++,yr=""}break}return Mr.text=Pr,Mr.fontSize=En,Mr},Kt=function(cr,Pr,Ar){var Mr=Le.internal.getFont(Pr.fontName,Pr.fontStyle),fn=Le.getStringUnitWidth(cr,{font:Mr,fontSize:parseFloat(Ar),charSpace:0})*parseFloat(Ar);return{height:Le.getStringUnitWidth("3",{font:Mr,fontSize:parseFloat(Ar),charSpace:0})*parseFloat(Ar)*1.5,width:fn}},tr={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},wt=function(){Le.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var cr=Le.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Pr in cr)if(cr.hasOwnProperty(Pr)){var Ar=cr[Pr];Ar.objId=void 0,Ar.hasAnnotation&&It.call(Le,Ar)}},It=function(cr){var Pr={type:"reference",object:cr};Le.internal.getPageInfo(cr.page).pageContext.annotations.find(function(Ar){return Ar.type===Pr.type&&Ar.object===Pr.object})===void 0&&Le.internal.getPageInfo(cr.page).pageContext.annotations.push(Pr)},Lt=function(){if(Le.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Le.internal.write("/AcroForm "+Le.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Nt=function(){Le.internal.events.unsubscribe(Le.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Le.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Le.internal.acroformPlugin.printedOut=!0},$e=function(cr){var Pr=!cr;cr||(Le.internal.newObjectDeferredBegin(Le.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Le.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),cr=cr||Le.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var Ar in cr)if(cr.hasOwnProperty(Ar)){var Mr=cr[Ar],fn=[],En=Mr.Rect;if(Mr.Rect&&(Mr.Rect=Ee.call(this,Mr.Rect)),Le.internal.newObjectDeferredBegin(Mr.objId,!0),Mr.DA=qr.createDefaultAppearanceStream(Mr),m(Mr)==="object"&&typeof Mr.getKeyValueListForStream=="function"&&(fn=Mr.getKeyValueListForStream()),Mr.Rect=En,Mr.hasAppearanceStream&&!Mr.appearanceStreamContent){var Rn=Ge.call(this,Mr);fn.push({key:"AP",value:"<</N "+Rn+">>"}),Le.internal.acroformPlugin.xForms.push(Rn)}if(Mr.appearanceStreamContent){var oi="";for(var An in Mr.appearanceStreamContent)if(Mr.appearanceStreamContent.hasOwnProperty(An)){var mi=Mr.appearanceStreamContent[An];if(oi+="/"+An+" ",oi+="<<",1<=Object.keys(mi).length||Array.isArray(mi))for(var Ar in mi){var ai;mi.hasOwnProperty(Ar)&&(typeof(ai=mi[Ar])=="function"&&(ai=ai.call(this,Mr)),oi+="/"+Ar+" "+ai+" ",0<=Le.internal.acroformPlugin.xForms.indexOf(ai)||Le.internal.acroformPlugin.xForms.push(ai))}else typeof(ai=mi)=="function"&&(ai=ai.call(this,Mr)),oi+="/"+Ar+" "+ai,0<=Le.internal.acroformPlugin.xForms.indexOf(ai)||Le.internal.acroformPlugin.xForms.push(ai);oi+=">>"}fn.push({key:"AP",value:`<<
|
|
|
`+oi+">>"})}Le.internal.putStream({additionalKeyValues:fn}),Le.internal.out("endobj")}Pr&&ot.call(this,Le.internal.acroformPlugin.xForms)},ot=function(cr){for(var Pr in cr)if(cr.hasOwnProperty(Pr)){var Ar=Pr,Mr=cr[Pr];Le.internal.newObjectDeferredBegin(Mr&&Mr.objId,!0),m(Mr)==="object"&&typeof Mr.putStream=="function"&&Mr.putStream(),delete cr[Ar]}},ft=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(Le=this,st.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(tr)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");we=Le.internal.scaleFactor,Le.internal.acroformPlugin.acroFormDictionaryRoot=new ct,Le.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Le.internal.events.subscribe("postPutResources",Nt),Le.internal.events.subscribe("buildDocument",wt),Le.internal.events.subscribe("putCatalog",Lt),Le.internal.events.subscribe("postPutPages",$e),Le.internal.acroformPlugin.isInitialized=!0}},ze=ge.__acroform__.arrayToPdfArray=function(nn){if(Array.isArray(nn)){for(var cr="[",Pr=0;Pr<nn.length;Pr++)switch(Pr!==0&&(cr+=" "),m(nn[Pr])){case"boolean":case"number":case"object":cr+=nn[Pr].toString();break;case"string":nn[Pr].substr(0,1)!=="/"?cr+="("+Ke(nn[Pr].toString())+")":cr+=nn[Pr].toString()}return cr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ye=function(cr){return(cr=cr||"").toString(),cr="("+Ke(cr)+")"},qe=function(){var cr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(cr||(cr=Le.internal.newObjectDeferred()),!cr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return cr},set:function(Ar){cr=Ar}})};qe.prototype.toString=function(){return this.objId+" 0 R"},qe.prototype.putStream=function(){var nn=this.getKeyValueListForStream();Le.internal.putStream({data:this.stream,additionalKeyValues:nn}),Le.internal.out("endobj")},qe.prototype.getKeyValueListForStream=function(){return function(nn){var cr=[],Pr=Object.getOwnPropertyNames(nn).filter(function(En){return En!="content"&&En!="appearanceStreamContent"&&En.substring(0,1)!="_"});for(var Ar in Pr)if(Object.getOwnPropertyDescriptor(nn,Pr[Ar]).configurable===!1){var Mr=Pr[Ar],fn=nn[Mr];fn&&(Array.isArray(fn)?cr.push({key:Mr,value:ze(fn)}):fn instanceof qe?cr.push({key:Mr,value:fn.objId+" 0 R"}):typeof fn!="function"&&cr.push({key:Mr,value:fn}))}return cr}(this)};var rt=function(){qe.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var cr,Pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return Pr},set:function(Mr){Pr=Mr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Mr){cr=Mr.trim()},get:function(){return cr||null}})};_t(rt,qe);var ct=function(){qe.call(this);var cr,Pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<Pr.length?Pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(cr)return"("+cr+")"},set:function(Mr){cr=Mr}})};_t(ct,qe);var st=function nn(){qe.call(this);var cr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(kr){if(isNaN(kr))throw new Error('Invalid value "'+kr+'" for attribute F supplied.');cr=kr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(cr,3))},set:function(kr){Boolean(kr)===!0?this.F=ue(cr,3):this.F=me(cr,3)}});var Pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Pr},set:function(kr){if(isNaN(kr))throw new Error('Invalid value "'+kr+'" for attribute Ff supplied.');Pr=kr}});var Ar=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Ar.length!==0)return Ar},set:function(kr){Ar=kr!==void 0?kr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Ar||isNaN(Ar[0])?0:Bt(Ar[0])},set:function(kr){Ar[0]=Ut(kr)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Ar||isNaN(Ar[1])?0:Bt(Ar[1])},set:function(kr){Ar[1]=Ut(kr)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Ar||isNaN(Ar[2])?0:Bt(Ar[2])},set:function(kr){Ar[2]=Ut(kr)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Ar||isNaN(Ar[3])?0:Bt(Ar[3])},set:function(kr){Ar[3]=Ut(kr)}});var Mr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Mr},set:function(kr){switch(kr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Mr=kr;break;default:throw new Error('Invalid value "'+kr+'" for attribute FT supplied.')}}});var fn=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!fn||fn.length<1){if(this instanceof Gr)return;fn="FieldObject"+nn.FieldNum++}return"("+Ke(fn)+")"},set:function(kr){fn=kr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return fn},set:function(kr){fn=kr}});var En="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return En},set:function(kr){En=kr}});var Rn="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Rn},set:function(kr){Rn=kr}});var oi=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Bt(oi)},set:function(kr){oi=Ut(kr)}});var An=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Bt(An)},set:function(kr){An=Ut(kr)}});var mi="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return mi},set:function(kr){mi=kr}});var ai="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!ai||this instanceof Gr||this instanceof mn))return Ye(ai)},set:function(kr){kr=kr.toString(),ai=kr}});var Xr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Xr)return this instanceof Xt==!1?Ye(Xr):Xr},set:function(kr){kr=kr.toString(),Xr=this instanceof Xt==!1?kr.substr(0,1)==="("?Je(kr.substr(1,kr.length-2)):Je(kr):kr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Je(Xr.substr(1,Xr.length-1)):Xr},set:function(kr){kr=kr.toString(),Xr=this instanceof Xt==!0?"/"+kr:kr}});var pn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(pn)return this instanceof Xt==!1?Ye(pn):pn},set:function(kr){kr=kr.toString(),pn=this instanceof Xt==!1?kr.substr(0,1)==="("?Je(kr.substr(1,kr.length-2)):Je(kr):kr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Je(pn.substr(1,pn.length-1)):pn},set:function(kr){kr=kr.toString(),pn=this instanceof Xt==!0?"/"+kr:kr}}),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 Ln,tn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return tn},set:function(kr){kr=Boolean(kr),tn=kr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(Ln)return Ln},set:function(kr){Ln=kr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(kr){Boolean(kr)===!0?this.Ff=ue(this.Ff,1):this.Ff=me(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(kr){Boolean(kr)===!0?this.Ff=ue(this.Ff,2):this.Ff=me(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(kr){Boolean(kr)===!0?this.Ff=ue(this.Ff,3):this.Ff=me(this.Ff,3)}});var $t=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if($t!==null)return $t},set:function(kr){if([0,1,2].indexOf(kr)===-1)throw new Error('Invalid value "'+kr+'" for attribute Q supplied.');$t=kr}}),Object.defineProperty(this,"textAlign",{get:function(){var kr="left";switch($t){case 0:default:kr="left";break;case 1:kr="center";break;case 2:kr="right"}return kr},configurable:!0,enumerable:!0,set:function(kr){switch(kr){case"right":case 2:$t=2;break;case"center":case 1:$t=1;break;case"left":case 0:default:$t=0}}})};_t(st,qe);var et=function(){st.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var cr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(Mr){cr=Mr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(Mr){cr=Mr}});var Pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ze(Pr)},set:function(Mr){var fn,En;En=[],typeof(fn=Mr)=="string"&&(En=function(Rn,oi,An){An||(An=1);for(var mi,ai=[];mi=oi.exec(Rn);)ai.push(mi[An]);return ai}(fn,/\((.*?)\)/g)),Pr=En}}),this.getOptions=function(){return Pr},this.setOptions=function(Ar){Pr=Ar,this.sort&&Pr.sort()},this.addOption=function(Ar){Ar=(Ar=Ar||"").toString(),Pr.push(Ar),this.sort&&Pr.sort()},this.removeOption=function(Ar,Mr){for(Mr=Mr||!1,Ar=(Ar=Ar||"").toString();Pr.indexOf(Ar)!==-1&&(Pr.splice(Pr.indexOf(Ar),1),Mr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,18):this.Ff=me(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(Mr){this.combo===!0&&(Boolean(Mr)===!0?this.Ff=ue(this.Ff,19):this.Ff=me(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(Mr){Boolean(Mr)===!0?(this.Ff=ue(this.Ff,20),Pr.sort()):this.Ff=me(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,22):this.Ff=me(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,23):this.Ff=me(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,27):this.Ff=me(this.Ff,27)}}),this.hasAppearanceStream=!1};_t(et,st);var Ft=function(){et.call(this),this.fontName="helvetica",this.combo=!1};_t(Ft,et);var Ct=function(){Ft.call(this),this.combo=!0};_t(Ct,Ft);var ir=function(){Ct.call(this),this.edit=!0};_t(ir,Ct);var Xt=function(){st.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,15):this.Ff=me(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,16):this.Ff=me(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,17):this.Ff=me(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(Mr){Boolean(Mr)===!0?this.Ff=ue(this.Ff,26):this.Ff=me(this.Ff,26)}});var cr,Pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(Pr).length!==0){var Mr,fn=[];for(Mr in fn.push("<<"),Pr)fn.push("/"+Mr+" ("+Pr[Mr]+")");return fn.push(">>"),fn.join(`
|
|
|
`)}},set:function(Mr){m(Mr)==="object"&&(Pr=Mr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Pr.CA||""},set:function(Mr){typeof Mr=="string"&&(Pr.CA=Mr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Mr){cr=Mr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Mr){cr="/"+Mr}})};_t(Xt,st);var _r=function(){Xt.call(this),this.pushButton=!0};_t(_r,Xt);var Br=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var cr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(Ar){cr=Ar!==void 0?Ar:[]}})};_t(Br,Xt);var Gr=function(){var cr,Pr;st.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(En){cr=En}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Pr},set:function(En){Pr=En}});var Ar,Mr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var En,Rn=[];for(En in Rn.push("<<"),Mr)Rn.push("/"+En+" ("+Mr[En]+")");return Rn.push(">>"),Rn.join(`
|
|
|
`)},set:function(En){m(En)==="object"&&(Mr=En)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Mr.CA||""},set:function(En){typeof En=="string"&&(Mr.CA=En)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Ar},set:function(En){Ar=En}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Ar.substr(1,Ar.length-1)},set:function(En){Ar="/"+En}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=qr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};_t(Gr,st),Br.prototype.setAppearance=function(nn){if(!("createAppearanceStream"in nn&&"getCA"in nn))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var cr in this.Kids)if(this.Kids.hasOwnProperty(cr)){var Pr=this.Kids[cr];Pr.appearanceStreamContent=nn.createAppearanceStream(Pr.optionName),Pr.caption=nn.getCA()}},Br.prototype.createOption=function(nn){this.Kids.length;var cr=new Gr;return cr.Parent=this,cr.optionName=nn,this.Kids.push(cr),yn.call(this,cr),cr};var un=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=qr.CheckBox.createAppearanceStream()};_t(un,Xt);var mn=function(){st.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,13):this.Ff=me(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,21):this.Ff=me(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,23):this.Ff=me(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,24):this.Ff=me(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,25):this.Ff=me(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(Ar){Boolean(Ar)===!0?this.Ff=ue(this.Ff,26):this.Ff=me(this.Ff,26)}});var cr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(Ar){cr=Ar}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(Ar){Number.isInteger(Ar)&&(cr=Ar)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};_t(mn,st);var _n=function(){mn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(Pr){Boolean(Pr)===!0?this.Ff=ue(this.Ff,14):this.Ff=me(this.Ff,14)}}),this.password=!0};_t(_n,mn);var qr={CheckBox:{createAppearanceStream:function(){return{N:{On:qr.CheckBox.YesNormal},D:{On:qr.CheckBox.YesPushDown,Off:qr.CheckBox.OffPushDown}}},YesPushDown:function(cr){var Pr=dr(cr),Ar=[],Mr=Le.internal.getFont(cr.fontName,cr.fontStyle).id,fn=Le.__private__.encodeColorString(cr.color),En=dt(cr,cr.caption);return Ar.push("0.749023 g"),Ar.push("0 0 "+ut(qr.internal.getWidth(cr))+" "+ut(qr.internal.getHeight(cr))+" re"),Ar.push("f"),Ar.push("BMC"),Ar.push("q"),Ar.push("0 0 1 rg"),Ar.push("/"+Mr+" "+ut(En.fontSize)+" Tf "+fn),Ar.push("BT"),Ar.push(En.text),Ar.push("ET"),Ar.push("Q"),Ar.push("EMC"),Pr.stream=Ar.join(`
|
|
|
`),Pr},YesNormal:function(cr){var Pr=dr(cr),Ar=Le.internal.getFont(cr.fontName,cr.fontStyle).id,Mr=Le.__private__.encodeColorString(cr.color),fn=[],En=qr.internal.getHeight(cr),Rn=qr.internal.getWidth(cr),oi=dt(cr,cr.caption);return fn.push("1 g"),fn.push("0 0 "+ut(Rn)+" "+ut(En)+" re"),fn.push("f"),fn.push("q"),fn.push("0 0 1 rg"),fn.push("0 0 "+ut(Rn-1)+" "+ut(En-1)+" re"),fn.push("W"),fn.push("n"),fn.push("0 g"),fn.push("BT"),fn.push("/"+Ar+" "+ut(oi.fontSize)+" Tf "+Mr),fn.push(oi.text),fn.push("ET"),fn.push("Q"),Pr.stream=fn.join(`
|
|
|
`),Pr},OffPushDown:function(cr){var Pr=dr(cr),Ar=[];return Ar.push("0.749023 g"),Ar.push("0 0 "+ut(qr.internal.getWidth(cr))+" "+ut(qr.internal.getHeight(cr))+" re"),Ar.push("f"),Pr.stream=Ar.join(`
|
|
|
`),Pr}},RadioButton:{Circle:{createAppearanceStream:function(cr){var Pr={D:{Off:qr.RadioButton.Circle.OffPushDown},N:{}};return Pr.N[cr]=qr.RadioButton.Circle.YesNormal,Pr.D[cr]=qr.RadioButton.Circle.YesPushDown,Pr},getCA:function(){return"l"},YesNormal:function(cr){var Pr=dr(cr),Ar=[],Mr=qr.internal.getWidth(cr)<=qr.internal.getHeight(cr)?qr.internal.getWidth(cr)/4:qr.internal.getHeight(cr)/4;Mr=Number((.9*Mr).toFixed(5));var fn=qr.internal.Bezier_C,En=Number((Mr*fn).toFixed(5));return Ar.push("q"),Ar.push("1 0 0 1 "+vt(qr.internal.getWidth(cr)/2)+" "+vt(qr.internal.getHeight(cr)/2)+" cm"),Ar.push(Mr+" 0 m"),Ar.push(Mr+" "+En+" "+En+" "+Mr+" 0 "+Mr+" c"),Ar.push("-"+En+" "+Mr+" -"+Mr+" "+En+" -"+Mr+" 0 c"),Ar.push("-"+Mr+" -"+En+" -"+En+" -"+Mr+" 0 -"+Mr+" c"),Ar.push(En+" -"+Mr+" "+Mr+" -"+En+" "+Mr+" 0 c"),Ar.push("f"),Ar.push("Q"),Pr.stream=Ar.join(`
|
|
|
`),Pr},YesPushDown:function(cr){var Pr=dr(cr),Ar=[],Mr=qr.internal.getWidth(cr)<=qr.internal.getHeight(cr)?qr.internal.getWidth(cr)/4:qr.internal.getHeight(cr)/4,fn=(Mr=Number((.9*Mr).toFixed(5)),Number((2*Mr).toFixed(5))),En=Number((fn*qr.internal.Bezier_C).toFixed(5)),Rn=Number((Mr*qr.internal.Bezier_C).toFixed(5));return Ar.push("0.749023 g"),Ar.push("q"),Ar.push("1 0 0 1 "+vt(qr.internal.getWidth(cr)/2)+" "+vt(qr.internal.getHeight(cr)/2)+" cm"),Ar.push(fn+" 0 m"),Ar.push(fn+" "+En+" "+En+" "+fn+" 0 "+fn+" c"),Ar.push("-"+En+" "+fn+" -"+fn+" "+En+" -"+fn+" 0 c"),Ar.push("-"+fn+" -"+En+" -"+En+" -"+fn+" 0 -"+fn+" c"),Ar.push(En+" -"+fn+" "+fn+" -"+En+" "+fn+" 0 c"),Ar.push("f"),Ar.push("Q"),Ar.push("0 g"),Ar.push("q"),Ar.push("1 0 0 1 "+vt(qr.internal.getWidth(cr)/2)+" "+vt(qr.internal.getHeight(cr)/2)+" cm"),Ar.push(Mr+" 0 m"),Ar.push(Mr+" "+Rn+" "+Rn+" "+Mr+" 0 "+Mr+" c"),Ar.push("-"+Rn+" "+Mr+" -"+Mr+" "+Rn+" -"+Mr+" 0 c"),Ar.push("-"+Mr+" -"+Rn+" -"+Rn+" -"+Mr+" 0 -"+Mr+" c"),Ar.push(Rn+" -"+Mr+" "+Mr+" -"+Rn+" "+Mr+" 0 c"),Ar.push("f"),Ar.push("Q"),Pr.stream=Ar.join(`
|
|
|
`),Pr},OffPushDown:function(cr){var Pr=dr(cr),Ar=[],Mr=qr.internal.getWidth(cr)<=qr.internal.getHeight(cr)?qr.internal.getWidth(cr)/4:qr.internal.getHeight(cr)/4,fn=(Mr=Number((.9*Mr).toFixed(5)),Number((2*Mr).toFixed(5))),En=Number((fn*qr.internal.Bezier_C).toFixed(5));return Ar.push("0.749023 g"),Ar.push("q"),Ar.push("1 0 0 1 "+vt(qr.internal.getWidth(cr)/2)+" "+vt(qr.internal.getHeight(cr)/2)+" cm"),Ar.push(fn+" 0 m"),Ar.push(fn+" "+En+" "+En+" "+fn+" 0 "+fn+" c"),Ar.push("-"+En+" "+fn+" -"+fn+" "+En+" -"+fn+" 0 c"),Ar.push("-"+fn+" -"+En+" -"+En+" -"+fn+" 0 -"+fn+" c"),Ar.push(En+" -"+fn+" "+fn+" -"+En+" "+fn+" 0 c"),Ar.push("f"),Ar.push("Q"),Pr.stream=Ar.join(`
|
|
|
`),Pr}},Cross:{createAppearanceStream:function(cr){var Pr={D:{Off:qr.RadioButton.Cross.OffPushDown},N:{}};return Pr.N[cr]=qr.RadioButton.Cross.YesNormal,Pr.D[cr]=qr.RadioButton.Cross.YesPushDown,Pr},getCA:function(){return"8"},YesNormal:function(cr){var Pr=dr(cr),Ar=[],Mr=qr.internal.calculateCross(cr);return Ar.push("q"),Ar.push("1 1 "+ut(qr.internal.getWidth(cr)-2)+" "+ut(qr.internal.getHeight(cr)-2)+" re"),Ar.push("W"),Ar.push("n"),Ar.push(ut(Mr.x1.x)+" "+ut(Mr.x1.y)+" m"),Ar.push(ut(Mr.x2.x)+" "+ut(Mr.x2.y)+" l"),Ar.push(ut(Mr.x4.x)+" "+ut(Mr.x4.y)+" m"),Ar.push(ut(Mr.x3.x)+" "+ut(Mr.x3.y)+" l"),Ar.push("s"),Ar.push("Q"),Pr.stream=Ar.join(`
|
|
|
`),Pr},YesPushDown:function(cr){var Pr=dr(cr),Ar=qr.internal.calculateCross(cr),Mr=[];return Mr.push("0.749023 g"),Mr.push("0 0 "+ut(qr.internal.getWidth(cr))+" "+ut(qr.internal.getHeight(cr))+" re"),Mr.push("f"),Mr.push("q"),Mr.push("1 1 "+ut(qr.internal.getWidth(cr)-2)+" "+ut(qr.internal.getHeight(cr)-2)+" re"),Mr.push("W"),Mr.push("n"),Mr.push(ut(Ar.x1.x)+" "+ut(Ar.x1.y)+" m"),Mr.push(ut(Ar.x2.x)+" "+ut(Ar.x2.y)+" l"),Mr.push(ut(Ar.x4.x)+" "+ut(Ar.x4.y)+" m"),Mr.push(ut(Ar.x3.x)+" "+ut(Ar.x3.y)+" l"),Mr.push("s"),Mr.push("Q"),Pr.stream=Mr.join(`
|
|
|
`),Pr},OffPushDown:function(cr){var Pr=dr(cr),Ar=[];return Ar.push("0.749023 g"),Ar.push("0 0 "+ut(qr.internal.getWidth(cr))+" "+ut(qr.internal.getHeight(cr))+" re"),Ar.push("f"),Pr.stream=Ar.join(`
|
|
|
`),Pr}}},createDefaultAppearanceStream:function(cr){var Pr=Le.internal.getFont(cr.fontName,cr.fontStyle).id,Ar=Le.__private__.encodeColorString(cr.color);return"/"+Pr+" "+cr.fontSize+" Tf "+Ar}};qr.internal={Bezier_C:.551915024494,calculateCross:function(cr){var Pr=qr.internal.getWidth(cr),Ar=qr.internal.getHeight(cr),Mr=Math.min(Pr,Ar);return{x1:{x:(Pr-Mr)/2,y:(Ar-Mr)/2+Mr},x2:{x:(Pr-Mr)/2+Mr,y:(Ar-Mr)/2},x3:{x:(Pr-Mr)/2,y:(Ar-Mr)/2},x4:{x:(Pr-Mr)/2+Mr,y:(Ar-Mr)/2+Mr}}}},qr.internal.getWidth=function(nn){var cr=0;return m(nn)==="object"&&(cr=Ut(nn.Rect[2])),cr},qr.internal.getHeight=function(nn){var cr=0;return m(nn)==="object"&&(cr=Ut(nn.Rect[3])),cr};var yn=ge.addField=function(nn){if(ft.call(this),!(nn instanceof st))throw new Error("Invalid argument passed to jsPDF.addField.");return function(cr){Le.internal.acroformPlugin.printedOut&&(Le.internal.acroformPlugin.printedOut=!1,Le.internal.acroformPlugin.acroFormDictionaryRoot=null),Le.internal.acroformPlugin.acroFormDictionaryRoot||ft.call(Le),Le.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(cr)}.call(this,nn),nn.page=Le.internal.getCurrentPageInfo().pageNumber,this};ge.addButton=function(nn){if(nn instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return yn.call(this,nn)},ge.addTextField=function(nn){if(nn instanceof mn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return yn.call(this,nn)},ge.addChoiceField=function(nn){if(nn instanceof et==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return yn.call(this,nn)},m(ye)=="object"&&ye.ChoiceField===void 0&&ye.ListBox===void 0&&ye.ComboBox===void 0&&ye.EditBox===void 0&&ye.Button===void 0&&ye.PushButton===void 0&&ye.RadioButton===void 0&&ye.CheckBox===void 0&&ye.TextField===void 0&&ye.PasswordField===void 0?(ye.ChoiceField=et,ye.ListBox=Ft,ye.ComboBox=Ct,ye.EditBox=ir,ye.Button=Xt,ye.PushButton=_r,ye.RadioButton=Br,ye.CheckBox=un,ye.TextField=mn,ye.PasswordField=_n,ye.AcroForm={Appearance:qr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),ge.AcroFormChoiceField=et,ge.AcroFormListBox=Ft,ge.AcroFormComboBox=Ct,ge.AcroFormEditBox=ir,ge.AcroFormButton=Xt,ge.AcroFormPushButton=_r,ge.AcroFormRadioButton=Br,ge.AcroFormCheckBox=un,ge.AcroFormTextField=mn,ge.AcroFormPasswordField=_n,ge.AcroFormAppearance=qr,ge.AcroForm={ChoiceField:et,ListBox:Ft,ComboBox:Ct,EditBox:ir,Button:Xt,PushButton:_r,RadioButton:Br,CheckBox:un,TextField:mn,PasswordField:_n,Appearance:qr}})((window.tmp=lt).API,typeof window!="undefined"&&window||typeof A!="undefined"&&A),function(ge){var ye="addImage_",Le={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},we=ge.getImageFileTypeByImageData=function(Oe,xe){var V,q;xe=xe||"UNKNOWN";var ue,me,Ee,Ge="UNKNOWN";for(Ee in ge.isArrayBufferView(Oe)&&(Oe=ge.arrayBufferToBinaryString(Oe)),Le)for(ue=Le[Ee],V=0;V<ue.length;V+=1){for(me=!0,q=0;q<ue[V].length;q+=1)if(ue[V][q]!==void 0&&ue[V][q]!==Oe.charCodeAt(q)){me=!1;break}if(me===!0){Ge=Ee;break}}return Ge==="UNKNOWN"&&xe!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+xe+'".'),Ge=xe),Ge},Ke=function Oe(xe){for(var V=this.internal.newObject(),q=this.internal.write,ue=this.internal.putStream,me=(0,this.internal.getFilters)();me.indexOf("FlateEncode")!==-1;)me.splice(me.indexOf("FlateEncode"),1);xe.n=V;var Ee=[];if(Ee.push({key:"Type",value:"/XObject"}),Ee.push({key:"Subtype",value:"/Image"}),Ee.push({key:"Width",value:xe.w}),Ee.push({key:"Height",value:xe.h}),xe.cs===this.color_spaces.INDEXED?Ee.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(xe.pal.length/3-1)+" "+("smask"in xe?V+2:V+1)+" 0 R]"}):(Ee.push({key:"ColorSpace",value:"/"+xe.cs}),xe.cs===this.color_spaces.DEVICE_CMYK&&Ee.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ee.push({key:"BitsPerComponent",value:xe.bpc}),"dp"in xe&&Ee.push({key:"DecodeParms",value:"<<"+xe.dp+">>"}),"trns"in xe&&xe.trns.constructor==Array){for(var Ge="",dt=0,Kt=xe.trns.length;dt<Kt;dt++)Ge+=xe.trns[dt]+" "+xe.trns[dt]+" ";Ee.push({key:"Mask",value:"["+Ge+"]"})}"smask"in xe&&Ee.push({key:"SMask",value:V+1+" 0 R"});var tr=xe.f!==void 0?["/"+xe.f]:void 0;if(ue({data:xe.data,additionalKeyValues:Ee,alreadyAppliedFilters:tr}),q("endobj"),"smask"in xe){var wt="/Predictor "+xe.p+" /Colors 1 /BitsPerComponent "+xe.bpc+" /Columns "+xe.w,It={w:xe.w,h:xe.h,cs:"DeviceGray",bpc:xe.bpc,dp:wt,data:xe.smask};"f"in xe&&(It.f=xe.f),Oe.call(this,It)}xe.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),ue({data:this.arrayBufferToBinaryString(new Uint8Array(xe.pal))}),q("endobj"))},Je=function(){var xe=this.internal.collections[ye+"images"];for(var V in xe)Ke.call(this,xe[V])},ut=function(){var xe,V=this.internal.collections[ye+"images"],q=this.internal.write;for(var ue in V)q("/I"+(xe=V[ue]).i,xe.n,"0","R")},vt=function(xe){return typeof ge["process"+xe.toUpperCase()]=="function"},_t=function(xe){return m(xe)==="object"&&xe.nodeType===1},Ut=function(xe,V){if(xe.nodeName==="IMG"&&xe.hasAttribute("src")){var q=""+xe.getAttribute("src");if(q.indexOf("data:image/")===0)return unescape(q);var ue=ge.loadFile(q);if(ue!==void 0)return btoa(ue)}if(xe.nodeName==="CANVAS"){var me=xe;return xe.toDataURL("image/jpeg",1)}(me=document.createElement("canvas")).width=xe.clientWidth||xe.width,me.height=xe.clientHeight||xe.height;var Ee=me.getContext("2d");if(!Ee)throw"addImage requires canvas to be supported by browser.";return Ee.drawImage(xe,0,0,me.width,me.height),me.toDataURL((""+V).toLowerCase()=="png"?"image/png":"image/jpeg")},Bt=function(xe,V){var q;if(V){for(var ue in V)if(xe===V[ue].alias){q=V[ue];break}}return q};ge.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},ge.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},ge.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},ge.sHashCode=function(Oe){var xe,V=0;if((Oe=Oe||"").length===0)return V;for(xe=0;xe<Oe.length;xe++)V=(V<<5)-V+Oe.charCodeAt(xe),V|=0;return V},ge.isString=function(Oe){return typeof Oe=="string"},ge.validateStringAsBase64=function(Oe){(Oe=Oe||"").toString().trim();var xe=!0;return Oe.length===0&&(xe=!1),Oe.length%4!=0&&(xe=!1),/^[A-Za-z0-9+\/]+$/.test(Oe.substr(0,Oe.length-2))===!1&&(xe=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(Oe.substr(-2))===!1&&(xe=!1),xe},ge.extractInfoFromBase64DataURI=function(Oe){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(Oe)},ge.extractImageFromDataUrl=function(Oe){var xe=(Oe=Oe||"").split("base64,"),V=null;if(xe.length===2){var q=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(xe[0]);Array.isArray(q)&&(V={mimeType:q[1],charset:q[2],data:xe[1]})}return V},ge.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},ge.isArrayBuffer=function(Oe){return!!this.supportsArrayBuffer()&&Oe instanceof ArrayBuffer},ge.isArrayBufferView=function(Oe){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(Oe instanceof Int8Array||Oe instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Oe instanceof Uint8ClampedArray||Oe instanceof Int16Array||Oe instanceof Uint16Array||Oe instanceof Int32Array||Oe instanceof Uint32Array||Oe instanceof Float32Array||Oe instanceof Float64Array)},ge.binaryStringToUint8Array=function(Oe){for(var xe=Oe.length,V=new Uint8Array(xe),q=0;q<xe;q++)V[q]=Oe.charCodeAt(q);return V},ge.arrayBufferToBinaryString=function(Oe){if(typeof atob=="function")return atob(this.arrayBufferToBase64(Oe))},ge.arrayBufferToBase64=function(Oe){for(var xe,V="",q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=new Uint8Array(Oe),me=ue.byteLength,Ee=me%3,Ge=me-Ee,dt=0;dt<Ge;dt+=3)V+=q[(16515072&(xe=ue[dt]<<16|ue[dt+1]<<8|ue[dt+2]))>>18]+q[(258048&xe)>>12]+q[(4032&xe)>>6]+q[63&xe];return Ee==1?V+=q[(252&(xe=ue[Ge]))>>2]+q[(3&xe)<<4]+"==":Ee==2&&(V+=q[(64512&(xe=ue[Ge]<<8|ue[Ge+1]))>>10]+q[(1008&xe)>>4]+q[(15&xe)<<2]+"="),V},ge.createImageInfo=function(Oe,xe,V,q,ue,me,Ee,Ge,dt,Kt,tr,wt,It){var Lt={alias:Ge,w:xe,h:V,cs:q,bpc:ue,i:Ee,data:Oe};return me&&(Lt.f=me),dt&&(Lt.dp=dt),Kt&&(Lt.trns=Kt),tr&&(Lt.pal=tr),wt&&(Lt.smask=wt),It&&(Lt.p=It),Lt},ge.addImage=function(Oe,xe,V,q,ue,me,Ee,Ge,dt){var Kt="";if(typeof xe!="string"){var tr=me;me=ue,ue=q,q=V,V=xe,xe=tr}if(m(Oe)==="object"&&!_t(Oe)&&"imageData"in Oe){var wt=Oe;Oe=wt.imageData,xe=wt.format||xe||"UNKNOWN",V=wt.x||V||0,q=wt.y||q||0,ue=wt.w||ue,me=wt.h||me,Ee=wt.alias||Ee,Ge=wt.compression||Ge,dt=wt.rotation||wt.angle||dt}var It=this.internal.getFilters();if(Ge===void 0&&It.indexOf("FlateEncode")!==-1&&(Ge="SLOW"),typeof Oe=="string"&&(Oe=unescape(Oe)),isNaN(V)||isNaN(q))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Lt,Nt,$e,ot,ft,ze,Ye,qe=function(){var rt=this.internal.collections[ye+"images"];return rt||(this.internal.collections[ye+"images"]=rt={},this.internal.events.subscribe("putResources",Je),this.internal.events.subscribe("putXobjectDict",ut)),rt}.call(this);if(!((Lt=Bt(Oe,qe))||(_t(Oe)&&(Oe=Ut(Oe,xe)),((Ye=Ee)==null||Ye.length===0)&&(Ee=typeof(ze=Oe)=="string"?ge.sHashCode(ze):ge.isArrayBufferView(ze)?ge.sHashCode(ge.arrayBufferToBinaryString(ze)):null),Lt=Bt(Ee,qe)))){if(this.isString(Oe)&&((Kt=this.convertStringToImageData(Oe))!==""||(Kt=ge.loadFile(Oe))!==void 0)&&(Oe=Kt),xe=this.getImageFileTypeByImageData(Oe,xe),!vt(xe))throw new Error("addImage does not support files of type '"+xe+"', please ensure that a plugin for '"+xe+"' support is added.");if(this.supportsArrayBuffer()&&(Oe instanceof Uint8Array||(Nt=Oe,Oe=this.binaryStringToUint8Array(Oe))),!(Lt=this["process"+xe.toUpperCase()](Oe,(ft=0,(ot=qe)&&(ft=Object.keys?Object.keys(ot).length:function(rt){var ct=0;for(var st in rt)rt.hasOwnProperty(st)&&ct++;return ct}(ot)),ft),Ee,(($e=Ge)&&typeof $e=="string"&&($e=$e.toUpperCase()),$e in ge.image_compression?$e:ge.image_compression.NONE),Nt)))throw new Error("An unknown error occurred whilst processing the image")}return function(rt,ct,st,et,Ft,Ct,ir,Xt){var _r=function(yn,nn,cr){return yn||nn||(nn=yn=-96),yn<0&&(yn=-1*cr.w*72/yn/this.internal.scaleFactor),nn<0&&(nn=-1*cr.h*72/nn/this.internal.scaleFactor),yn===0&&(yn=nn*cr.w/cr.h),nn===0&&(nn=yn*cr.h/cr.w),[yn,nn]}.call(this,st,et,Ft),Br=this.internal.getCoordinateString,Gr=this.internal.getVerticalCoordinateString;if(st=_r[0],et=_r[1],ir[Ct]=Ft,Xt){Xt*=Math.PI/180;var un=Math.cos(Xt),mn=Math.sin(Xt),_n=function(nn){return nn.toFixed(4)},qr=[_n(un),_n(mn),_n(-1*mn),_n(un),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Br(rt),Gr(ct+et),"cm"].join(" ")),this.internal.write(qr.join(" ")),this.internal.write([Br(st),"0","0",Br(et),"0","0","cm"].join(" "))):this.internal.write([Br(st),"0","0",Br(et),Br(rt),Gr(ct+et),"cm"].join(" ")),this.internal.write("/I"+Ft.i+" Do"),this.internal.write("Q")}.call(this,V,q,ue,me,Lt,Lt.i,qe,dt),this},ge.convertStringToImageData=function(Oe){var xe,V="";if(this.isString(Oe)){var q;xe=(q=this.extractImageFromDataUrl(Oe))!==null?q.data:Oe;try{V=atob(xe)}catch(ue){throw ge.validateStringAsBase64(xe)?new Error("atob-Error in jsPDF.convertStringToImageData "+ue.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return V};var dr=function(xe,V){return xe.subarray(V,V+5)};ge.processJPEG=function(Oe,xe,V,q,ue,me){var Ee,Ge=this.decode.DCT_DECODE;if(!this.isString(Oe)&&!this.isArrayBuffer(Oe)&&!this.isArrayBufferView(Oe))return null;if(this.isString(Oe)&&(Ee=function(dt){var Kt;if(we(dt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var tr=256*dt.charCodeAt(4)+dt.charCodeAt(5),wt=4,It=dt.length;wt<It;){if(wt+=tr,dt.charCodeAt(wt)!==255)throw new Error("getJpegSize could not find the size of the image");if(dt.charCodeAt(wt+1)===192||dt.charCodeAt(wt+1)===193||dt.charCodeAt(wt+1)===194||dt.charCodeAt(wt+1)===195||dt.charCodeAt(wt+1)===196||dt.charCodeAt(wt+1)===197||dt.charCodeAt(wt+1)===198||dt.charCodeAt(wt+1)===199)return Kt=256*dt.charCodeAt(wt+5)+dt.charCodeAt(wt+6),[256*dt.charCodeAt(wt+7)+dt.charCodeAt(wt+8),Kt,dt.charCodeAt(wt+9)];wt+=2,tr=256*dt.charCodeAt(wt)+dt.charCodeAt(wt+1)}}(Oe)),this.isArrayBuffer(Oe)&&(Oe=new Uint8Array(Oe)),this.isArrayBufferView(Oe)&&(Ee=function(dt){if((dt[0]<<8|dt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Kt,tr=dt.length,wt=(dt[4]<<8)+dt[5],It=4;It<tr;){if(wt=((Kt=dr(dt,It+=wt))[2]<<8)+Kt[3],(Kt[1]===192||Kt[1]===194)&&Kt[0]===255&&7<wt)return{width:((Kt=dr(dt,It+5))[2]<<8)+Kt[3],height:(Kt[0]<<8)+Kt[1],numcomponents:Kt[4]};It+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(Oe),Oe=ue||this.arrayBufferToBinaryString(Oe)),me===void 0)switch(Ee.numcomponents){case 1:me=this.color_spaces.DEVICE_GRAY;break;case 4:me=this.color_spaces.DEVICE_CMYK;break;default:case 3:me=this.color_spaces.DEVICE_RGB}return this.createImageInfo(Oe,Ee.width,Ee.height,me,8,Ge,xe,V)},ge.processJPG=function(){return this.processJPEG.apply(this,arguments)},ge.getImageProperties=function(Oe){var xe,V,q="";if(_t(Oe)&&(Oe=Ut(Oe)),this.isString(Oe)&&((q=this.convertStringToImageData(Oe))!==""||(q=ge.loadFile(Oe))!==void 0)&&(Oe=q),V=this.getImageFileTypeByImageData(Oe),!vt(V))throw new Error("addImage does not support files of type '"+V+"', please ensure that a plugin for '"+V+"' support is added.");if(this.supportsArrayBuffer()&&(Oe instanceof Uint8Array||(Oe=this.binaryStringToUint8Array(Oe))),!(xe=this["process"+V.toUpperCase()](Oe)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:V,width:xe.w,height:xe.h,colorSpace:xe.cs,compressionMode:xe.f,bitsPerComponent:xe.bpc}}}(lt.API),g=lt.API,lt.API.events.push(["addPage",function(ge){this.internal.getPageInfo(ge.pageNumber).pageContext.annotations=[]}]),g.events.push(["putPage",function(ge){for(var ye=this.internal.getPageInfoByObjId(ge.objId),Le=ge.pageContext.annotations,we=function(Ge){if(Ge!==void 0&&Ge!="")return!0},Ke=!1,Je=0;Je<Le.length&&!Ke;Je++)switch((_t=Le[Je]).type){case"link":if(we(_t.options.url)||we(_t.options.pageNumber)){Ke=!0;break}case"reference":case"text":case"freetext":Ke=!0}if(Ke!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var ut=this.internal.getCoordinateString,vt=this.internal.getVerticalCoordinateString;for(Je=0;Je<Le.length;Je++){var _t;switch((_t=Le[Je]).type){case"reference":this.internal.write(" "+_t.object.objId+" 0 R ");break;case"text":var Ut=this.internal.newAdditionalObject(),Bt=this.internal.newAdditionalObject(),dr=_t.title||"Note";ue="<</Type /Annot /Subtype /Text "+(xe="/Rect ["+ut(_t.bounds.x)+" "+vt(_t.bounds.y+_t.bounds.h)+" "+ut(_t.bounds.x+_t.bounds.w)+" "+vt(_t.bounds.y)+"] ")+"/Contents ("+_t.contents+")",ue+=" /Popup "+Bt.objId+" 0 R",ue+=" /P "+ye.objId+" 0 R",ue+=" /T ("+dr+") >>",Ut.content=ue;var Oe=Ut.objId+" 0 R";ue="<</Type /Annot /Subtype /Popup "+(xe="/Rect ["+ut(_t.bounds.x+30)+" "+vt(_t.bounds.y+_t.bounds.h)+" "+ut(_t.bounds.x+_t.bounds.w+30)+" "+vt(_t.bounds.y)+"] ")+" /Parent "+Oe,_t.open&&(ue+=" /Open true"),ue+=" >>",Bt.content=ue,this.internal.write(Ut.objId,"0 R",Bt.objId,"0 R");break;case"freetext":var xe="/Rect ["+ut(_t.bounds.x)+" "+vt(_t.bounds.y)+" "+ut(_t.bounds.x+_t.bounds.w)+" "+vt(_t.bounds.y+_t.bounds.h)+"] ",V=_t.color||"#000000";ue="<</Type /Annot /Subtype /FreeText "+xe+"/Contents ("+_t.contents+")",ue+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+V+")",ue+=" /Border [0 0 0]",ue+=" >>",this.internal.write(ue);break;case"link":if(_t.options.name){var q=this.annotations._nameMap[_t.options.name];_t.options.pageNumber=q.page,_t.options.top=q.y}else _t.options.top||(_t.options.top=0);xe="/Rect ["+ut(_t.x)+" "+vt(_t.y)+" "+ut(_t.x+_t.w)+" "+vt(_t.y+_t.h)+"] ";var ue="";if(_t.options.url)ue="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /A <</S /URI /URI ("+_t.options.url+") >>";else if(_t.options.pageNumber)switch(ue="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(_t.options.pageNumber).objId+" 0 R",_t.options.magFactor=_t.options.magFactor||"XYZ",_t.options.magFactor){case"Fit":ue+=" /Fit]";break;case"FitH":ue+=" /FitH "+_t.options.top+"]";break;case"FitV":_t.options.left=_t.options.left||0,ue+=" /FitV "+_t.options.left+"]";break;case"XYZ":default:var me=vt(_t.options.top);_t.options.left=_t.options.left||0,_t.options.zoom===void 0&&(_t.options.zoom=0),ue+=" /XYZ "+_t.options.left+" "+me+" "+_t.options.zoom+"]"}ue!=""&&(ue+=" >>",this.internal.write(ue))}}this.internal.write("]")}}]),g.createAnnotation=function(ge){var ye=this.internal.getCurrentPageInfo();switch(ge.type){case"link":this.link(ge.bounds.x,ge.bounds.y,ge.bounds.w,ge.bounds.h,ge);break;case"text":case"freetext":ye.pageContext.annotations.push(ge)}},g.link=function(ge,ye,Le,we,Ke){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:ge,y:ye,w:Le,h:we,options:Ke,type:"link"})},g.textWithLink=function(ge,ye,Le,we){var Ke=this.getTextWidth(ge),Je=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(ge,ye,Le),Le+=.2*Je,this.link(ye,Le-Je,Ke,Je,we),Ke},g.getTextWidth=function(ge){var ye=this.internal.getFontSize();return this.getStringUnitWidth(ge)*ye/this.internal.scaleFactor},function(ge){var ye={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},Le={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},we={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ke=[1570,1571,1573,1575];ge.__arabicParser__={};var Je=ge.__arabicParser__.isInArabicSubstitutionA=function(V){return ye[V.charCodeAt(0)]!==void 0},ut=ge.__arabicParser__.isArabicLetter=function(V){return typeof V=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(V)},vt=ge.__arabicParser__.isArabicEndLetter=function(V){return ut(V)&&Je(V)&&ye[V.charCodeAt(0)].length<=2},_t=ge.__arabicParser__.isArabicAlfLetter=function(V){return ut(V)&&0<=Ke.indexOf(V.charCodeAt(0))},Ut=(ge.__arabicParser__.arabicLetterHasIsolatedForm=function(V){return ut(V)&&Je(V)&&1<=ye[V.charCodeAt(0)].length},ge.__arabicParser__.arabicLetterHasFinalForm=function(V){return ut(V)&&Je(V)&&2<=ye[V.charCodeAt(0)].length}),Bt=(ge.__arabicParser__.arabicLetterHasInitialForm=function(V){return ut(V)&&Je(V)&&3<=ye[V.charCodeAt(0)].length},ge.__arabicParser__.arabicLetterHasMedialForm=function(V){return ut(V)&&Je(V)&&ye[V.charCodeAt(0)].length==4}),dr=ge.__arabicParser__.resolveLigatures=function(V){var q=0,ue=Le,me=0,Ee="",Ge=0;for(q=0;q<V.length;q+=1)ue[V.charCodeAt(q)]!==void 0?(Ge++,typeof(ue=ue[V.charCodeAt(q)])=="number"&&(me=(me=Oe(V.charAt(q),V.charAt(q-Ge),V.charAt(q+1)))!==-1?me:0,Ee+=String.fromCharCode(ue),ue=Le,Ge=0),q===V.length-1&&(ue=Le,Ee+=V.charAt(q-(Ge-1)),q-=Ge-1,Ge=0)):(ue=Le,Ee+=V.charAt(q-Ge),q-=Ge,Ge=0);return Ee},Oe=(ge.__arabicParser__.isArabicDiacritic=function(V){return V!==void 0&&we[V.charCodeAt(0)]!==void 0},ge.__arabicParser__.getCorrectForm=function(V,q,ue){return ut(V)?Je(V)===!1?-1:!Ut(V)||!ut(q)&&!ut(ue)||!ut(ue)&&vt(q)||vt(V)&&!ut(q)||vt(V)&&_t(q)||vt(V)&&vt(q)?0:Bt(V)&&ut(q)&&!vt(q)&&ut(ue)&&Ut(ue)?3:vt(V)||!ut(ue)?1:2:-1}),xe=ge.__arabicParser__.processArabic=ge.processArabic=function(V){var q=0,ue=0,me=0,Ee="",Ge="",dt="",Kt=(V=V||"").split("\\s+"),tr=[];for(q=0;q<Kt.length;q+=1){for(tr.push(""),ue=0;ue<Kt[q].length;ue+=1)Ee=Kt[q][ue],Ge=Kt[q][ue-1],dt=Kt[q][ue+1],ut(Ee)?(me=Oe(Ee,Ge,dt),tr[q]+=me!==-1?String.fromCharCode(ye[Ee.charCodeAt(0)][me]):Ee):tr[q]+=Ee;tr[q]=dr(tr[q])}return tr.join(" ")};ge.events.push(["preProcessText",function(V){var q=V.text,ue=(V.x,V.y,V.options||{}),me=(V.mutex,ue.lang,[]);if(Object.prototype.toString.call(q)==="[object Array]"){var Ee=0;for(me=[],Ee=0;Ee<q.length;Ee+=1)Object.prototype.toString.call(q[Ee])==="[object Array]"?me.push([xe(q[Ee][0]),q[Ee][1],q[Ee][2]]):me.push([xe(q[Ee])]);V.text=me}else V.text=xe(q)}])}(lt.API),lt.API.autoPrint=function(ge){var ye;switch((ge=ge||{}).variant=ge.variant||"non-conform",ge.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ye=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 "+ye+" 0 R")})}return this},p=lt.API,(c=function(){var ye=void 0;Object.defineProperty(this,"pdf",{get:function(){return ye},set:function(vt){ye=vt}});var Le=150;Object.defineProperty(this,"width",{get:function(){return Le},set:function(vt){Le=isNaN(vt)||Number.isInteger(vt)===!1||vt<0?150:vt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Le+1)}});var we=300;Object.defineProperty(this,"height",{get:function(){return we},set:function(vt){we=isNaN(vt)||Number.isInteger(vt)===!1||vt<0?300:vt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=we+1)}});var Ke=[];Object.defineProperty(this,"childNodes",{get:function(){return Ke},set:function(vt){Ke=vt}});var Je={};Object.defineProperty(this,"style",{get:function(){return Je},set:function(vt){Je=vt}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(ge,ye){var Le;if((ge=ge||"2d")!=="2d")return null;for(Le in ye)this.pdf.context2d.hasOwnProperty(Le)&&(this.pdf.context2d[Le]=ye[Le]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},p.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),s=lt.API,n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},i=1,d=function(ye,Le,we,Ke,Je){n={x:ye,y:Le,w:we,h:Ke,ln:Je}},t=function(){return n},l={left:0,top:0,bottom:0},s.setHeaderFunction=function(ge){a=ge},s.getTextDimensions=function(ge,ye){var Le=this.table_font_size||this.internal.getFontSize(),we=(this.internal.getFont().fontStyle,(ye=ye||{}).scaleFactor||this.internal.scaleFactor),Ke=0,Je=0,ut=0;if(typeof ge=="string")(Ke=this.getStringUnitWidth(ge)*Le)!=0&&(Je=1);else{if(Object.prototype.toString.call(ge)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var vt=0;vt<ge.length;vt++)Ke<(ut=this.getStringUnitWidth(ge[vt])*Le)&&(Ke=ut);Ke!==0&&(Je=ge.length)}return{w:Ke/=we,h:Math.max((Je*Le*this.getLineHeightFactor()-Le*(this.getLineHeightFactor()-1))/we,0)}},s.cellAddPage=function(){var ge=this.margins||l;this.addPage(),d(ge.left,ge.top,void 0,void 0),i+=1},s.cellInitialize=function(){n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},i=1},s.cell=function(ge,ye,Le,we,Ke,Je,ut){var vt=t(),_t=!1;if(vt.ln!==void 0)if(vt.ln===Je)ge=vt.x+vt.w,ye=vt.y;else{var Ut=this.margins||l;vt.y+vt.h+we+13>=this.internal.pageSize.getHeight()-Ut.bottom&&(this.cellAddPage(),_t=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Je,!0)),ye=t().y+t().h,_t&&(ye=23)}if(Ke[0]!==void 0)if(this.printingHeaderRow?this.rect(ge,ye,Le,we,"FD"):this.rect(ge,ye,Le,we),ut==="right"){Ke instanceof Array||(Ke=[Ke]);for(var Bt=0;Bt<Ke.length;Bt++){var dr=Ke[Bt],Oe=this.getStringUnitWidth(dr)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(dr,ge+Le-Oe-3,ye+this.internal.getLineHeight()*(Bt+1))}}else this.text(Ke,ge+3,ye+this.internal.getLineHeight());return d(ge,ye,Le,we,Je),this},s.arrayMax=function(ge,ye){var Le,we,Ke,Je=ge[0];for(Le=0,we=ge.length;Le<we;Le+=1)Ke=ge[Le],ye?ye(Je,Ke)===-1&&(Je=Ke):Je<Ke&&(Je=Ke);return Je},s.table=function(ge,ye,Le,we,Ke){if(!Le)throw"No data for PDF table";var Je,ut,vt,_t,Ut,Bt,dr,Oe,xe,V,q=[],ue=[],me={},Ee={},Ge=[],dt=[],Kt=!1,tr=!0,wt=12,It=l;if(It.width=this.internal.pageSize.getWidth(),Ke&&(Ke.autoSize===!0&&(Kt=!0),Ke.printHeaders===!1&&(tr=!1),Ke.fontSize&&(wt=Ke.fontSize),Ke.css&&Ke.css["font-size"]!==void 0&&(wt=16*Ke.css["font-size"]),Ke.margins&&(It=Ke.margins)),this.lnMod=0,n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},i=1,this.printHeaders=tr,this.margins=It,this.setFontSize(wt),this.table_font_size=wt,we==null)q=Object.keys(Le[0]);else if(we[0]&&typeof we[0]!="string")for(ut=0,vt=we.length;ut<vt;ut+=1)Je=we[ut],q.push(Je.name),ue.push(Je.prompt),Ee[Je.name]=Je.width*(19.049976/25.4);else q=we;if(Kt)for(V=function($e){return $e[Je]},ut=0,vt=q.length;ut<vt;ut+=1){for(me[Je=q[ut]]=Le.map(V),Ge.push(this.getTextDimensions(ue[ut]||Je,{scaleFactor:1}).w),dr=0,_t=(Bt=me[Je]).length;dr<_t;dr+=1)Ut=Bt[dr],Ge.push(this.getTextDimensions(Ut,{scaleFactor:1}).w);Ee[Je]=s.arrayMax(Ge),Ge=[]}if(tr){var Lt=this.calculateLineHeight(q,Ee,ue.length?ue:q);for(ut=0,vt=q.length;ut<vt;ut+=1)Je=q[ut],dt.push([ge,ye,Ee[Je],Lt,String(ue.length?ue[ut]:Je)]);this.setTableHeaderRow(dt),this.printHeaderRow(1,!1)}for(ut=0,vt=Le.length;ut<vt;ut+=1)for(Oe=Le[ut],Lt=this.calculateLineHeight(q,Ee,Oe),dr=0,xe=q.length;dr<xe;dr+=1)Je=q[dr],this.cell(ge,ye,Ee[Je],Lt,Oe[Je],ut+2,Je.align);return this.lastCellPos=n,this.table_x=ge,this.table_y=ye,this},s.calculateLineHeight=function(ge,ye,Le){for(var we,Ke=0,Je=0;Je<ge.length;Je++){Le[we=ge[Je]]=this.splitTextToSize(String(Le[we]),ye[we]-3);var ut=this.internal.getLineHeight()*Le[we].length+3;Ke<ut&&(Ke=ut)}return Ke},s.setTableHeaderRow=function(ge){this.tableHeaderRow=ge},s.printHeaderRow=function(ge,ye){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var Le,we,Ke,Je;if(this.printingHeaderRow=!0,a!==void 0){var ut=a(this,i);d(ut[0],ut[1],ut[2],ut[3],-1)}this.setFontStyle("bold");var vt=[];for(Ke=0,Je=this.tableHeaderRow.length;Ke<Je;Ke+=1)this.setFillColor(200,200,200),Le=this.tableHeaderRow[Ke],ye&&(this.margins.top=13,Le[1]=this.margins&&this.margins.top||0,vt.push(Le)),we=[].concat(Le),this.cell.apply(this,we.concat(ge));0<vt.length&&this.setTableHeaderRow(vt),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(ge,ye){var Le,we,Ke,Je,ut,vt=function(et){return et=et||{},this.isStrokeTransparent=et.isStrokeTransparent||!1,this.strokeOpacity=et.strokeOpacity||1,this.strokeStyle=et.strokeStyle||"#000000",this.fillStyle=et.fillStyle||"#000000",this.isFillTransparent=et.isFillTransparent||!1,this.fillOpacity=et.fillOpacity||1,this.font=et.font||"10px sans-serif",this.textBaseline=et.textBaseline||"alphabetic",this.textAlign=et.textAlign||"left",this.lineWidth=et.lineWidth||1,this.lineJoin=et.lineJoin||"miter",this.lineCap=et.lineCap||"butt",this.path=et.path||[],this.transform=et.transform!==void 0?et.transform.clone():new ct,this.globalCompositeOperation=et.globalCompositeOperation||"normal",this.globalAlpha=et.globalAlpha||1,this.clip_path=et.clip_path||[],this.currentPoint=et.currentPoint||new qe,this.miterLimit=et.miterLimit||10,this.lastPoint=et.lastPoint||new qe,this.ignoreClearRect=typeof et.ignoreClearRect!="boolean"||et.ignoreClearRect,this};ge.events.push(["initialized",function(){this.context2d=new _t(this),Le=this.internal.f2,this.internal.f3,we=this.internal.getCoordinateString,Ke=this.internal.getVerticalCoordinateString,Je=this.internal.getHorizontalCoordinate,ut=this.internal.getVerticalCoordinate}]);var _t=function(et){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return et}});var Ft=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ft},set:function(qr){Ft=Boolean(qr)}});var Ct=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Ct},set:function(qr){Ct=Boolean(qr)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(qr){isNaN(qr)||(ir=qr)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(qr){isNaN(qr)||(Xt=qr)}});var _r=!1;Object.defineProperty(this,"autoPaging",{get:function(){return _r},set:function(qr){_r=Boolean(qr)}});var Br=0;Object.defineProperty(this,"lastBreak",{get:function(){return Br},set:function(qr){Br=qr}});var Gr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Gr},set:function(qr){Gr=qr}});var un=new vt;Object.defineProperty(this,"ctx",{get:function(){return un},set:function(qr){qr instanceof vt&&(un=qr)}}),Object.defineProperty(this,"path",{get:function(){return un.path},set:function(qr){un.path=qr}});var mn=[];Object.defineProperty(this,"ctxStack",{get:function(){return mn},set:function(qr){mn=qr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(qr){var yn;yn=Ut(qr),this.ctx.fillStyle=yn.style,this.ctx.isFillTransparent=yn.a===0,this.ctx.fillOpacity=yn.a,this.pdf.setFillColor(yn.r,yn.g,yn.b,{a:yn.a}),this.pdf.setTextColor(yn.r,yn.g,yn.b,{a:yn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(qr){var yn=Ut(qr);this.ctx.strokeStyle=yn.style,this.ctx.isStrokeTransparent=yn.a===0,this.ctx.strokeOpacity=yn.a,yn.a===0?this.pdf.setDrawColor(255,255,255):(yn.a,this.pdf.setDrawColor(yn.r,yn.g,yn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(qr){["butt","round","square"].indexOf(qr)!==-1&&(this.ctx.lineCap=qr,this.pdf.setLineCap(qr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(qr){isNaN(qr)||(this.ctx.lineWidth=qr,this.pdf.setLineWidth(qr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(qr){["bevel","round","miter"].indexOf(qr)!==-1&&(this.ctx.lineJoin=qr,this.pdf.setLineJoin(qr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(qr){isNaN(qr)||(this.ctx.miterLimit=qr,this.pdf.setMiterLimit(qr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(qr){this.ctx.textBaseline=qr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(qr){["right","end","center","left","start"].indexOf(qr)!==-1&&(this.ctx.textAlign=qr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(qr){var yn;if(this.ctx.font=qr,(yn=/^\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(qr))!==null){var nn=yn[1],cr=(yn[2],yn[3]),Pr=yn[4],Ar=yn[5],Mr=yn[6];Pr=Ar==="px"?Math.floor(parseFloat(Pr)):Ar==="em"?Math.floor(parseFloat(Pr)*this.pdf.getFontSize()):Math.floor(parseFloat(Pr)),this.pdf.setFontSize(Pr);var fn="";(cr==="bold"||700<=parseInt(cr,10)||nn==="bold")&&(fn="bold"),nn==="italic"&&(fn+="italic"),fn.length===0&&(fn="normal");for(var En="",Rn=Mr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),oi={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"},An=0;An<Rn.length;An++){if(this.pdf.internal.getFont(Rn[An],fn,{noFallback:!0,disableWarning:!0})!==void 0){En=Rn[An];break}if(fn==="bolditalic"&&this.pdf.internal.getFont(Rn[An],"bold",{noFallback:!0,disableWarning:!0})!==void 0)En=Rn[An],fn="bold";else if(this.pdf.internal.getFont(Rn[An],"normal",{noFallback:!0,disableWarning:!0})!==void 0){En=Rn[An],fn="normal";break}}if(En===""){for(An=0;An<Rn.length;An++)if(oi[Rn[An]]){En=oi[Rn[An]];break}}En=En===""?"Times":En,this.pdf.setFont(En,fn)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(qr){this.ctx.globalCompositeOperation=qr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(qr){this.ctx.globalAlpha=qr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(qr){this.ctx.ignoreClearRect=Boolean(qr)}})};_t.prototype.fill=function(){q.call(this,"fill",!1)},_t.prototype.stroke=function(){q.call(this,"stroke",!1)},_t.prototype.beginPath=function(){this.path=[{type:"begin"}]},_t.prototype.moveTo=function(st,et){if(isNaN(st)||isNaN(et))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ft=this.ctx.transform.applyToPoint(new qe(st,et));this.path.push({type:"mt",x:Ft.x,y:Ft.y}),this.ctx.lastPoint=new qe(st,et)},_t.prototype.closePath=function(){var st=new qe(0,0),et=0;for(et=this.path.length-1;et!==-1;et--)if(this.path[et].type==="begin"&&m(this.path[et+1])==="object"&&typeof this.path[et+1].x=="number"){st=new qe(this.path[et+1].x,this.path[et+1].y),this.path.push({type:"lt",x:st.x,y:st.y});break}m(this.path[et+2])==="object"&&typeof this.path[et+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[et+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new qe(st.x,st.y)},_t.prototype.lineTo=function(st,et){if(isNaN(st)||isNaN(et))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ft=this.ctx.transform.applyToPoint(new qe(st,et));this.path.push({type:"lt",x:Ft.x,y:Ft.y}),this.ctx.lastPoint=new qe(Ft.x,Ft.y)},_t.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),q.call(this,null,!0)},_t.prototype.quadraticCurveTo=function(st,et,Ft,Ct){if(isNaN(Ft)||isNaN(Ct)||isNaN(st)||isNaN(et))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 qe(Ft,Ct)),Xt=this.ctx.transform.applyToPoint(new qe(st,et));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new qe(ir.x,ir.y)},_t.prototype.bezierCurveTo=function(st,et,Ft,Ct,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var _r=this.ctx.transform.applyToPoint(new qe(ir,Xt)),Br=this.ctx.transform.applyToPoint(new qe(st,et)),Gr=this.ctx.transform.applyToPoint(new qe(Ft,Ct));this.path.push({type:"bct",x1:Br.x,y1:Br.y,x2:Gr.x,y2:Gr.y,x:_r.x,y:_r.y}),this.ctx.lastPoint=new qe(_r.x,_r.y)},_t.prototype.arc=function(st,et,Ft,Ct,ir,Xt){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct)||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 _r=this.ctx.transform.applyToPoint(new qe(st,et));st=_r.x,et=_r.y;var Br=this.ctx.transform.applyToPoint(new qe(0,Ft)),Gr=this.ctx.transform.applyToPoint(new qe(0,0));Ft=Math.sqrt(Math.pow(Br.x-Gr.x,2)+Math.pow(Br.y-Gr.y,2))}Math.abs(ir-Ct)>=2*Math.PI&&(Ct=0,ir=2*Math.PI),this.path.push({type:"arc",x:st,y:et,radius:Ft,startAngle:Ct,endAngle:ir,counterclockwise:Xt})},_t.prototype.arcTo=function(st,et,Ft,Ct,ir){throw new Error("arcTo not implemented.")},_t.prototype.rect=function(st,et,Ft,Ct){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(st,et),this.lineTo(st+Ft,et),this.lineTo(st+Ft,et+Ct),this.lineTo(st,et+Ct),this.lineTo(st,et),this.lineTo(st+Ft,et),this.lineTo(st,et)},_t.prototype.fillRect=function(st,et,Ft,Ct){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Bt.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(st,et,Ft,Ct),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},_t.prototype.strokeRect=function(st,et,Ft,Ct){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");dr.call(this)||(this.beginPath(),this.rect(st,et,Ft,Ct),this.stroke())},_t.prototype.clearRect=function(st,et,Ft,Ct){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct))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(st,et,Ft,Ct))},_t.prototype.save=function(st){st=typeof st!="boolean"||st;for(var et=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft<this.pdf.internal.getNumberOfPages();Ft++)this.pdf.setPage(Ft+1),this.pdf.internal.out("q");if(this.pdf.setPage(et),st){this.ctx.fontSize=this.pdf.internal.getFontSize();var Ct=new vt(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Ct}},_t.prototype.restore=function(st){st=typeof st!="boolean"||st;for(var et=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft<this.pdf.internal.getNumberOfPages();Ft++)this.pdf.setPage(Ft+1),this.pdf.internal.out("Q");this.pdf.setPage(et),st&&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)},_t.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Ut=function(et){var Ft,Ct,ir,Xt;if(et.isCanvasGradient===!0&&(et=et.getColor()),!et)return{r:0,g:0,b:0,a:0,style:et};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(et))Xt=ir=Ct=Ft=0;else{var _r=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(et);if(_r!==null)Ft=parseInt(_r[1]),Ct=parseInt(_r[2]),ir=parseInt(_r[3]),Xt=1;else if((_r=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(et))!==null)Ft=parseInt(_r[1]),Ct=parseInt(_r[2]),ir=parseInt(_r[3]),Xt=parseFloat(_r[4]);else{if(Xt=1,typeof et=="string"&&et.charAt(0)!=="#"){var Br=new RGBColor(et);et=Br.ok?Br.toHex():"#000000"}et.length===4?(Ft=et.substring(1,2),Ft+=Ft,Ct=et.substring(2,3),Ct+=Ct,ir=et.substring(3,4),ir+=ir):(Ft=et.substring(1,3),Ct=et.substring(3,5),ir=et.substring(5,7)),Ft=parseInt(Ft,16),Ct=parseInt(Ct,16),ir=parseInt(ir,16)}}return{r:Ft,g:Ct,b:ir,a:Xt,style:et}},Bt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},dr=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};_t.prototype.fillText=function(st,et,Ft,Ct){if(isNaN(et)||isNaN(Ft)||typeof st!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Ct=isNaN(Ct)?void 0:Ct,!Bt.call(this)){Ft=me.call(this,Ft);var ir=ot(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;tr.call(this,{text:st,x:et,y:Ft,scale:Xt,angle:ir,align:this.textAlign,maxWidth:Ct})}},_t.prototype.strokeText=function(st,et,Ft,Ct){if(isNaN(et)||isNaN(Ft)||typeof st!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!dr.call(this)){Ct=isNaN(Ct)?void 0:Ct,Ft=me.call(this,Ft);var ir=ot(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;tr.call(this,{text:st,x:et,y:Ft,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:Ct})}},_t.prototype.measureText=function(st){if(typeof st!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var et=this.pdf,Ft=this.pdf.internal.scaleFactor,Ct=et.internal.getFontSize(),ir=et.getStringUnitWidth(st)*Ct/et.internal.scaleFactor;return new function(Xt){var _r=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return _r}}),this}({width:ir*=Math.round(96*Ft/72*1e4)/1e4})},_t.prototype.scale=function(st,et){if(isNaN(st)||isNaN(et))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ft=new ct(st,0,0,et,0,0);this.ctx.transform=this.ctx.transform.multiply(Ft)},_t.prototype.rotate=function(st){if(isNaN(st))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var et=new ct(Math.cos(st),Math.sin(st),-Math.sin(st),Math.cos(st),0,0);this.ctx.transform=this.ctx.transform.multiply(et)},_t.prototype.translate=function(st,et){if(isNaN(st)||isNaN(et))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ft=new ct(1,0,0,1,st,et);this.ctx.transform=this.ctx.transform.multiply(Ft)},_t.prototype.transform=function(st,et,Ft,Ct,ir,Xt){if(isNaN(st)||isNaN(et)||isNaN(Ft)||isNaN(Ct)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var _r=new ct(st,et,Ft,Ct,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(_r)},_t.prototype.setTransform=function(st,et,Ft,Ct,ir,Xt){st=isNaN(st)?1:st,et=isNaN(et)?0:et,Ft=isNaN(Ft)?0:Ft,Ct=isNaN(Ct)?1:Ct,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new ct(st,et,Ft,Ct,ir,Xt)},_t.prototype.drawImage=function(st,et,Ft,Ct,ir,Xt,_r,Br,Gr){var un=this.pdf.getImageProperties(st),mn=1,_n=1,qr=1,yn=1;Ct!==void 0&&Br!==void 0&&(qr=Br/Ct,yn=Gr/ir,mn=un.width/Ct*Br/Ct,_n=un.height/ir*Gr/ir),Xt===void 0&&(Xt=et,_r=Ft,Ft=et=0),Ct!==void 0&&Br===void 0&&(Br=Ct,Gr=ir),Ct===void 0&&Br===void 0&&(Br=un.width,Gr=un.height);var nn=this.ctx.transform.decompose(),cr=ot(nn.rotate.shx);nn.scale.sx,nn.scale.sy;for(var Pr,Ar=new ct,Mr=((Ar=(Ar=(Ar=Ar.multiply(nn.translate)).multiply(nn.skew)).multiply(nn.scale)).applyToPoint(new qe(Br,Gr)),Ar.applyToRectangle(new rt(Xt-et*qr,_r-Ft*yn,Ct*mn,ir*_n))),fn=Oe.call(this,Mr),En=[],Rn=0;Rn<fn.length;Rn+=1)En.indexOf(fn[Rn])===-1&&En.push(fn[Rn]);if(En.sort(),this.autoPaging)for(var oi=En[0],An=En[En.length-1],mi=oi;mi<An+1;mi++){if(this.pdf.setPage(mi),this.ctx.clip_path.length!==0){var ai=this.path;Pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(Pr,this.posX,-1*this.pdf.internal.pageSize.height*(mi-1)+this.posY),ue.call(this,"fill",!0),this.path=ai}var Xr=JSON.parse(JSON.stringify(Mr));Xr=V([Xr],this.posX,-1*this.pdf.internal.pageSize.height*(mi-1)+this.posY)[0],this.pdf.addImage(st,"jpg",Xr.x,Xr.y,Xr.w,Xr.h,null,null,cr)}else this.pdf.addImage(st,"jpg",Mr.x,Mr.y,Mr.w,Mr.h,null,null,cr)};var Oe=function(et,Ft,Ct){var ir=[];switch(Ft=Ft||this.pdf.internal.pageSize.width,Ct=Ct||this.pdf.internal.pageSize.height,et.type){default:case"mt":case"lt":ir.push(Math.floor((et.y+this.posY)/Ct)+1);break;case"arc":ir.push(Math.floor((et.y+this.posY-et.radius)/Ct)+1),ir.push(Math.floor((et.y+this.posY+et.radius)/Ct)+1);break;case"qct":var Xt=ze(this.ctx.lastPoint.x,this.ctx.lastPoint.y,et.x1,et.y1,et.x,et.y);ir.push(Math.floor(Xt.y/Ct)+1),ir.push(Math.floor((Xt.y+Xt.h)/Ct)+1);break;case"bct":var _r=Ye(this.ctx.lastPoint.x,this.ctx.lastPoint.y,et.x1,et.y1,et.x2,et.y2,et.x,et.y);ir.push(Math.floor(_r.y/Ct)+1),ir.push(Math.floor((_r.y+_r.h)/Ct)+1);break;case"rect":ir.push(Math.floor((et.y+this.posY)/Ct)+1),ir.push(Math.floor((et.y+et.h+this.posY)/Ct)+1)}for(var Br=0;Br<ir.length;Br+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Br];)xe.call(this);return ir},xe=function(){var et=this.fillStyle,Ft=this.strokeStyle,Ct=this.font,ir=this.lineCap,Xt=this.lineWidth,_r=this.lineJoin;this.pdf.addPage(),this.fillStyle=et,this.strokeStyle=Ft,this.font=Ct,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=_r},V=function(et,Ft,Ct){for(var ir=0;ir<et.length;ir++)switch(et[ir].type){case"bct":et[ir].x2+=Ft,et[ir].y2+=Ct;case"qct":et[ir].x1+=Ft,et[ir].y1+=Ct;case"mt":case"lt":case"arc":default:et[ir].x+=Ft,et[ir].y+=Ct}return et},q=function(et,Ft){for(var Ct,ir,Xt=this.fillStyle,_r=this.strokeStyle,Br=(this.font,this.lineCap),Gr=this.lineWidth,un=this.lineJoin,mn=JSON.parse(JSON.stringify(this.path)),_n=JSON.parse(JSON.stringify(this.path)),qr=[],yn=0;yn<_n.length;yn++)if(_n[yn].x!==void 0)for(var nn=Oe.call(this,_n[yn]),cr=0;cr<nn.length;cr+=1)qr.indexOf(nn[cr])===-1&&qr.push(nn[cr]);for(yn=0;yn<qr.length;yn++)for(;this.pdf.internal.getNumberOfPages()<qr[yn];)xe.call(this);if(qr.sort(),this.autoPaging){var Pr=qr[0],Ar=qr[qr.length-1];for(yn=Pr;yn<Ar+1;yn++){if(this.pdf.setPage(yn),this.fillStyle=Xt,this.strokeStyle=_r,this.lineCap=Br,this.lineWidth=Gr,this.lineJoin=un,this.ctx.clip_path.length!==0){var Mr=this.path;Ct=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(Ct,this.posX,-1*this.pdf.internal.pageSize.height*(yn-1)+this.posY),ue.call(this,et,!0),this.path=Mr}ir=JSON.parse(JSON.stringify(mn)),this.path=V(ir,this.posX,-1*this.pdf.internal.pageSize.height*(yn-1)+this.posY),Ft!==!1&&yn!==0||ue.call(this,et,Ft)}}else ue.call(this,et,Ft);this.path=mn},ue=function(et,Ft){if((et!=="stroke"||Ft||!dr.call(this))&&(et==="stroke"||Ft||!Bt.call(this))){var Ct=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,_r=0;_r<Xt.length;_r++){var Br=Xt[_r];switch(Br.type){case"begin":Ct.push({begin:!0});break;case"close":Ct.push({close:!0});break;case"mt":Ct.push({start:Br,deltas:[],abs:[]});break;case"lt":var Gr=Ct.length;if(!isNaN(Xt[_r-1].x)){var un=[Br.x-Xt[_r-1].x,Br.y-Xt[_r-1].y];if(0<Gr){for(;0<=Gr;Gr--)if(Ct[Gr-1].close!==!0&&Ct[Gr-1].begin!==!0){Ct[Gr-1].deltas.push(un),Ct[Gr-1].abs.push(Br);break}}}break;case"bct":un=[Br.x1-Xt[_r-1].x,Br.y1-Xt[_r-1].y,Br.x2-Xt[_r-1].x,Br.y2-Xt[_r-1].y,Br.x-Xt[_r-1].x,Br.y-Xt[_r-1].y],Ct[Ct.length-1].deltas.push(un);break;case"qct":var mn=Xt[_r-1].x+2/3*(Br.x1-Xt[_r-1].x),_n=Xt[_r-1].y+2/3*(Br.y1-Xt[_r-1].y),qr=Br.x+2/3*(Br.x1-Br.x),yn=Br.y+2/3*(Br.y1-Br.y),nn=Br.x,cr=Br.y;un=[mn-Xt[_r-1].x,_n-Xt[_r-1].y,qr-Xt[_r-1].x,yn-Xt[_r-1].y,nn-Xt[_r-1].x,cr-Xt[_r-1].y],Ct[Ct.length-1].deltas.push(un);break;case"arc":Ct.push({deltas:[],abs:[],arc:!0}),Array.isArray(Ct[Ct.length-1].abs)&&Ct[Ct.length-1].abs.push(Br)}}for(ir=Ft?null:et==="stroke"?"stroke":"fill",_r=0;_r<Ct.length;_r++){if(Ct[_r].arc)for(var Pr=Ct[_r].abs,Ar=0;Ar<Pr.length;Ar++){var Mr=Pr[Ar];if(Mr.startAngle!==void 0){var fn=ot(Mr.startAngle),En=ot(Mr.endAngle),Rn=Mr.x,oi=Mr.y;Ee.call(this,Rn,oi,Mr.radius,fn,En,Mr.counterclockwise,ir,Ft)}else wt.call(this,Mr.x,Mr.y)}!Ct[_r].arc&&Ct[_r].close!==!0&&Ct[_r].begin!==!0&&(Rn=Ct[_r].start.x,oi=Ct[_r].start.y,It.call(this,Ct[_r].deltas,Rn,oi,null,null))}ir&&Ge.call(this,ir),Ft&&dt.call(this)}},me=function(et){var Ft=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Ct=Ft*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return et-Ct;case"top":return et+Ft-Ct;case"hanging":return et+Ft-2*Ct;case"middle":return et+Ft/2-Ct;case"ideographic":return et;case"alphabetic":default:return et}};_t.prototype.createLinearGradient=function(){var st=function(){};return st.colorStops=[],st.addColorStop=function(et,Ft){this.colorStops.push([et,Ft])},st.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},st.isCanvasGradient=!0,st},_t.prototype.createPattern=function(){return this.createLinearGradient()},_t.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ee=function(et,Ft,Ct,ir,Xt,_r,Br,Gr){this.pdf.internal.scaleFactor;for(var un=ft(ir),mn=ft(Xt),_n=Nt.call(this,Ct,un,mn,_r),qr=0;qr<_n.length;qr++){var yn=_n[qr];qr===0&&Kt.call(this,yn.x1+et,yn.y1+Ft),Lt.call(this,et,Ft,yn.x2,yn.y2,yn.x3,yn.y3,yn.x4,yn.y4)}Gr?dt.call(this):Ge.call(this,Br)},Ge=function(et){switch(et){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},dt=function(){this.pdf.clip()},Kt=function(et,Ft){this.pdf.internal.out(we(et)+" "+Ke(Ft)+" m")},tr=function(et){var Ft;switch(et.align){case"right":case"end":Ft="right";break;case"center":Ft="center";break;case"left":case"start":default:Ft="left"}var Ct=this.ctx.transform.applyToPoint(new qe(et.x,et.y)),ir=this.ctx.transform.decompose(),Xt=new ct;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var _r,Br=this.pdf.getTextDimensions(et.text),Gr=this.ctx.transform.applyToRectangle(new rt(et.x,et.y,Br.w,Br.h)),un=Xt.applyToRectangle(new rt(et.x,et.y-Br.h,Br.w,Br.h)),mn=Oe.call(this,un),_n=[],qr=0;qr<mn.length;qr+=1)_n.indexOf(mn[qr])===-1&&_n.push(mn[qr]);if(_n.sort(),this.autoPaging===!0)for(var yn=_n[0],nn=_n[_n.length-1],cr=yn;cr<nn+1;cr++){if(this.pdf.setPage(cr),this.ctx.clip_path.length!==0){var Pr=this.path;_r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(_r,this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY),ue.call(this,"fill",!0),this.path=Pr}var Ar=JSON.parse(JSON.stringify(Gr));if(Ar=V([Ar],this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY)[0],.01<=et.scale){var Mr=this.pdf.internal.getFontSize();this.pdf.setFontSize(Mr*et.scale)}this.pdf.text(et.text,Ar.x,Ar.y,{angle:et.angle,align:Ft,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),.01<=et.scale&&this.pdf.setFontSize(Mr)}else .01<=et.scale&&(Mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Mr*et.scale)),this.pdf.text(et.text,Ct.x+this.posX,Ct.y+this.posY,{angle:et.angle,align:Ft,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),.01<=et.scale&&this.pdf.setFontSize(Mr)},wt=function(et,Ft,Ct,ir){Ct=Ct||0,ir=ir||0,this.pdf.internal.out(we(et+Ct)+" "+Ke(Ft+ir)+" l")},It=function(et,Ft,Ct){return this.pdf.lines(et,Ft,Ct,null,null)},Lt=function(et,Ft,Ct,ir,Xt,_r,Br,Gr){this.pdf.internal.out([Le(Je(Ct+et)),Le(ut(ir+Ft)),Le(Je(Xt+et)),Le(ut(_r+Ft)),Le(Je(Br+et)),Le(ut(Gr+Ft)),"c"].join(" "))},Nt=function(et,Ft,Ct,ir){var Xt=2*Math.PI,_r=Ft;(_r<Xt||Xt<_r)&&(_r%=Xt);var Br=Ct;(Br<Xt||Xt<Br)&&(Br%=Xt);for(var Gr=[],un=Math.PI/2,mn=ir?-1:1,_n=Ft,qr=Math.min(Xt,Math.abs(Br-_r));1e-5<qr;){var yn=_n+mn*Math.min(qr,un);Gr.push($e.call(this,et,_n,yn)),qr-=Math.abs(yn-_n),_n=yn}return Gr},$e=function(et,Ft,Ct){var ir=(Ct-Ft)/2,Xt=et*Math.cos(ir),_r=et*Math.sin(ir),Br=Xt,Gr=-_r,un=Br*Br+Gr*Gr,mn=un+Br*Xt+Gr*_r,_n=4/3*(Math.sqrt(2*un*mn)-mn)/(Br*_r-Gr*Xt),qr=Br-_n*Gr,yn=Gr+_n*Br,nn=qr,cr=-yn,Pr=ir+Ft,Ar=Math.cos(Pr),Mr=Math.sin(Pr);return{x1:et*Math.cos(Ft),y1:et*Math.sin(Ft),x2:qr*Ar-yn*Mr,y2:qr*Mr+yn*Ar,x3:nn*Ar-cr*Mr,y3:nn*Mr+cr*Ar,x4:et*Math.cos(Ct),y4:et*Math.sin(Ct)}},ot=function(et){return 180*et/Math.PI},ft=function(et){return et*Math.PI/180},ze=function(et,Ft,Ct,ir,Xt,_r){var Br=et+.5*(Ct-et),Gr=Ft+.5*(ir-Ft),un=Xt+.5*(Ct-Xt),mn=_r+.5*(ir-_r),_n=Math.min(et,Xt,Br,un),qr=Math.max(et,Xt,Br,un),yn=Math.min(Ft,_r,Gr,mn),nn=Math.max(Ft,_r,Gr,mn);return new rt(_n,yn,qr-_n,nn-yn)},Ye=function(et,Ft,Ct,ir,Xt,_r,Br,Gr){for(var un,mn,_n,qr,yn,nn,cr,Pr,Ar,Mr,fn,En,Rn,oi=Ct-et,An=ir-Ft,mi=Xt-Ct,ai=_r-ir,Xr=Br-Xt,pn=Gr-_r,Ln=0;Ln<41;Ln++)Pr=(nn=(mn=et+(un=Ln/40)*oi)+un*((qr=Ct+un*mi)-mn))+un*(qr+un*(Xt+un*Xr-qr)-nn),Ar=(cr=(_n=Ft+un*An)+un*((yn=ir+un*ai)-_n))+un*(yn+un*(_r+un*pn-yn)-cr),Rn=Ln==0?(En=Mr=Pr,fn=Ar):(Mr=Math.min(Mr,Pr),fn=Math.min(fn,Ar),En=Math.max(En,Pr),Math.max(Rn,Ar));return new rt(Math.round(Mr),Math.round(fn),Math.round(En-Mr),Math.round(Rn-fn))},qe=function(et,Ft){var Ct=et||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ct},set:function(Br){isNaN(Br)||(Ct=parseFloat(Br))}});var ir=Ft||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Br){isNaN(Br)||(ir=parseFloat(Br))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Br){Xt=Br.toString()}}),this},rt=function(et,Ft,Ct,ir){qe.call(this,et,Ft),this.type="rect";var Xt=Ct||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Gr){isNaN(Gr)||(Xt=parseFloat(Gr))}});var _r=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return _r},set:function(Gr){isNaN(Gr)||(_r=parseFloat(Gr))}}),this},ct=function(et,Ft,Ct,ir,Xt,_r){var Br=[];return Object.defineProperty(this,"sx",{get:function(){return Br[0]},set:function(un){Br[0]=Math.round(1e5*un)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Br[1]},set:function(un){Br[1]=Math.round(1e5*un)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Br[2]},set:function(un){Br[2]=Math.round(1e5*un)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Br[3]},set:function(un){Br[3]=Math.round(1e5*un)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Br[4]},set:function(un){Br[4]=Math.round(1e5*un)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Br[5]},set:function(un){Br[5]=Math.round(1e5*un)/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(et)?1:et,this.shy=isNaN(Ft)?0:Ft,this.shx=isNaN(Ct)?0:Ct,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(_r)?0:_r,this};ct.prototype.multiply=function(st){var et=st.sx*this.sx+st.shy*this.shx,Ft=st.sx*this.shy+st.shy*this.sy,Ct=st.shx*this.sx+st.sy*this.shx,ir=st.shx*this.shy+st.sy*this.sy,Xt=st.tx*this.sx+st.ty*this.shx+this.tx,_r=st.tx*this.shy+st.ty*this.sy+this.ty;return new ct(et,Ft,Ct,ir,Xt,_r)},ct.prototype.decompose=function(){var st=this.sx,et=this.shy,Ft=this.shx,Ct=this.sy,ir=this.tx,Xt=this.ty,_r=Math.sqrt(st*st+et*et),Br=(st/=_r)*Ft+(et/=_r)*Ct;Ft-=st*Br,Ct-=et*Br;var Gr=Math.sqrt(Ft*Ft+Ct*Ct);return Br/=Gr,st*(Ct/=Gr)<et*(Ft/=Gr)&&(st=-st,et=-et,Br=-Br,_r=-_r),{scale:new ct(_r,0,0,Gr,0,0),translate:new ct(1,0,0,1,ir,Xt),rotate:new ct(st,et,-et,st,0,0),skew:new ct(1,0,Br,1,0,0)}},ct.prototype.applyToPoint=function(st){var et=st.x*this.sx+st.y*this.shx+this.tx,Ft=st.x*this.shy+st.y*this.sy+this.ty;return new qe(et,Ft)},ct.prototype.applyToRectangle=function(st){var et=this.applyToPoint(st),Ft=this.applyToPoint(new qe(st.x+st.w,st.y+st.h));return new rt(et.x,et.y,Ft.x-et.x,Ft.y-et.y)},ct.prototype.clone=function(){var st=this.sx,et=this.shy,Ft=this.shx,Ct=this.sy,ir=this.tx,Xt=this.ty;return new ct(st,et,Ft,Ct,ir,Xt)}}(lt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")()),r=lt.API,o=function(ye){var Le,we,Ke,Je,ut,vt,_t,Ut,Bt,dr;for(/[^\x00-\xFF]/.test(ye),we=[],Ke=0,Je=(ye+=Le="\0\0\0\0".slice(ye.length%4||4)).length;Ke<Je;Ke+=4)(ut=(ye.charCodeAt(Ke)<<24)+(ye.charCodeAt(Ke+1)<<16)+(ye.charCodeAt(Ke+2)<<8)+ye.charCodeAt(Ke+3))!==0?(vt=(ut=((ut=((ut=((ut=(ut-(dr=ut%85))/85)-(Bt=ut%85))/85)-(Ut=ut%85))/85)-(_t=ut%85))/85)%85,we.push(vt+33,_t+33,Ut+33,Bt+33,dr+33)):we.push(122);return function(Oe,xe){for(var V=Le.length;0<V;V--)Oe.pop()}(we),String.fromCharCode.apply(String,we)+"~>"},u=function(ye){var Le,we,Ke,Je,ut,vt=String,_t="length",Ut="charCodeAt",Bt="slice",dr="replace";for(ye[Bt](-2),ye=ye[Bt](0,-2)[dr](/\s/g,"")[dr]("z","!!!!!"),Ke=[],Je=0,ut=(ye+=Le="uuuuu"[Bt](ye[_t]%5||5))[_t];Je<ut;Je+=5)we=52200625*(ye[Ut](Je)-33)+614125*(ye[Ut](Je+1)-33)+7225*(ye[Ut](Je+2)-33)+85*(ye[Ut](Je+3)-33)+(ye[Ut](Je+4)-33),Ke.push(255&we>>24,255&we>>16,255&we>>8,255&we);return function(Oe,xe){for(var V=Le[_t];0<V;V--)Oe.pop()}(Ke),vt.fromCharCode.apply(vt,Ke)},h=function(ye){for(var Le="",we=0;we<ye.length;we+=1)Le+=("0"+ye.charCodeAt(we).toString(16)).slice(-2);return Le+=">"},y=function(ye){var Le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ye=ye.replace(/\s/g,"")).indexOf(">")!==-1&&(ye=ye.substr(0,ye.indexOf(">"))),ye.length%2&&(ye+="0"),Le.test(ye)===!1)return"";for(var we="",Ke=0;Ke<ye.length;Ke+=2)we+=String.fromCharCode("0x"+(ye[Ke]+ye[Ke+1]));return we},b=function(ye,Le){Le=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},Le);for(var we,Ke,Je=[],ut=ye.length;ut--;)Je[ut]=ye.charCodeAt(ut);return we=r.adler32cs.from(ye),(Ke=new Deflater(6)).append(new Uint8Array(Je)),ye=Ke.flush(),(Je=new Uint8Array(ye.length+6)).set(new Uint8Array([120,156])),Je.set(ye,2),Je.set(new Uint8Array([255&we,we>>8&255,we>>16&255,we>>24&255]),ye.length+2),ye=String.fromCharCode.apply(null,Je)},r.processDataByFilters=function(ge,ye){var Le=0,we=ge||"",Ke=[];for(typeof(ye=ye||[])=="string"&&(ye=[ye]),Le=0;Le<ye.length;Le+=1)switch(ye[Le]){case"ASCII85Decode":case"/ASCII85Decode":we=u(we),Ke.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":we=o(we),Ke.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":we=y(we),Ke.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":we=h(we),Ke.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":we=b(we),Ke.push("/FlateDecode");break;default:throw'The filter: "'+ye[Le]+'" is not implemented'}return{data:we,reverseChain:Ke.reverse().join(" ")}},(E=lt.API).loadFile=function(ge,ye,Le){var we;ye=ye||!0,Le=Le||function(){};try{we=function(Ke,Je,ut){var vt=new XMLHttpRequest,_t=[],Ut=0,Bt=function(Oe){var xe=Oe.length,V=String.fromCharCode;for(Ut=0;Ut<xe;Ut+=1)_t.push(V(255&Oe.charCodeAt(Ut)));return _t.join("")};if(vt.open("GET",Ke,!Je),vt.overrideMimeType("text/plain; charset=x-user-defined"),Je===!1&&(vt.onload=function(){return Bt(this.responseText)}),vt.send(null),vt.status===200)return Je?Bt(vt.responseText):void 0;console.warn('Unable to load file "'+Ke+'"')}(ge,ye)}catch(Ke){we=void 0}return we},E.loadImageFile=E.loadFile,v=lt.API,w=typeof window!="undefined"&&window||typeof A!="undefined"&&A,O=function(ye){var Le=m(ye);return Le==="undefined"?"undefined":Le==="string"||ye instanceof String?"string":Le==="number"||ye instanceof Number?"number":Le==="function"||ye instanceof Function?"function":ye&&ye.constructor===Array?"array":ye&&ye.nodeType===1?"element":Le==="object"?"object":"unknown"},T=function(ye,Le){var we=document.createElement(ye);if(Le.className&&(we.className=Le.className),Le.innerHTML){we.innerHTML=Le.innerHTML;for(var Ke=we.getElementsByTagName("script"),Je=Ke.length;0<Je--;null)Ke[Je].parentNode.removeChild(Ke[Je])}for(var ut in Le.style)we.style[ut]=Le.style[ut];return we},(((S=function ge(ye){var Le=Object.assign(ge.convert(Promise.resolve()),JSON.parse(JSON.stringify(ge.template))),we=ge.convert(Promise.resolve(),Le);return we=(we=we.setProgress(1,ge,1,[ge])).set(ye)}).prototype=Object.create(Promise.prototype)).constructor=S).convert=function(ge,ye){return ge.__proto__=ye||S.prototype,ge},S.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:{}}},S.prototype.from=function(ge,ye){return this.then(function(){switch(ye=ye||function(Le){switch(O(Le)){case"string":return"string";case"element":return Le.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(ge)){case"string":return this.set({src:T("div",{innerHTML:ge})});case"element":return this.set({src:ge});case"canvas":return this.set({canvas:ge});case"img":return this.set({img:ge});default:return this.error("Unknown source type.")}})},S.prototype.to=function(ge){switch(ge){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.")}},S.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 ge={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"},ye=function Le(we,Ke){for(var Je=we.nodeType===3?document.createTextNode(we.nodeValue):we.cloneNode(!1),ut=we.firstChild;ut;ut=ut.nextSibling)Ke!==!0&&ut.nodeType===1&&ut.nodeName==="SCRIPT"||Je.appendChild(Le(ut,Ke));return we.nodeType===1&&(we.nodeName==="CANVAS"?(Je.width=we.width,Je.height=we.height,Je.getContext("2d").drawImage(we,0,0)):we.nodeName!=="TEXTAREA"&&we.nodeName!=="SELECT"||(Je.value=we.value),Je.addEventListener("load",function(){Je.scrollTop=we.scrollTop,Je.scrollLeft=we.scrollLeft},!0)),Je}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ye.tagName==="BODY"&&(ge.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=T("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=T("div",{className:"html2pdf__container",style:ge}),this.prop.container.appendChild(ye),this.prop.container.firstChild.appendChild(T("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"})},S.prototype.toCanvas=function(){var ge=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ge).then(function(){var ye=Object.assign({},this.opt.html2canvas);if(delete ye.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ye)}).then(function(ye){(this.opt.html2canvas.onrendered||function(){})(ye),this.prop.canvas=ye,document.body.removeChild(this.prop.overlay)})},S.prototype.toContext2d=function(){var ge=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ge).then(function(){var ye=this.opt.jsPDF,Le=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 Le.onrendered,ye.context2d.autoPaging=!0,ye.context2d.posX=this.opt.x,ye.context2d.posY=this.opt.y,Le.windowHeight=Le.windowHeight||0,Le.windowHeight=Le.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Le.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,Le)}).then(function(ye){(this.opt.html2canvas.onrendered||function(){})(ye),this.prop.canvas=ye,document.body.removeChild(this.prop.overlay)})},S.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var ge=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ge})},S.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},S.prototype.output=function(ge,ye,Le){return(Le=Le||"pdf").toLowerCase()==="img"||Le.toLowerCase()==="image"?this.outputImg(ge,ye):this.outputPdf(ge,ye)},S.prototype.outputPdf=function(ge,ye){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(ge,ye)})},S.prototype.outputImg=function(ge,ye){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(ge){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 "'+ge+'" is not supported.'}})},S.prototype.isHtml2CanvasLoaded=function(){var ge=w.html2canvas!==void 0;return ge||console.error("html2canvas not loaded."),ge},S.prototype.save=function(ge){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(ge?{filename:ge}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},S.prototype.doCallback=function(ge){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},S.prototype.set=function(ge){if(O(ge)!=="object")return this;var ye=Object.keys(ge||{}).map(function(Le){if(Le in S.template.prop)return function(){this.prop[Le]=ge[Le]};switch(Le){case"margin":return this.setMargin.bind(this,ge.margin);case"jsPDF":return function(){return this.opt.jsPDF=ge.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,ge.pageSize);default:return function(){this.opt[Le]=ge[Le]}}},this);return this.then(function(){return this.thenList(ye)})},S.prototype.get=function(ge,ye){return this.then(function(){var Le=ge in S.template.prop?this.prop[ge]:this.opt[ge];return ye?ye(Le):Le})},S.prototype.setMargin=function(ge){return this.then(function(){switch(O(ge)){case"number":ge=[ge,ge,ge,ge];case"array":if(ge.length===2&&(ge=[ge[0],ge[1],ge[0],ge[1]]),ge.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=ge}).then(this.setPageSize)},S.prototype.setPageSize=function(ge){function ye(Le,we){return Math.floor(Le*we/72*96)}return this.then(function(){(ge=ge||lt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(ge.inner={width:ge.width-this.opt.margin[1]-this.opt.margin[3],height:ge.height-this.opt.margin[0]-this.opt.margin[2]},ge.inner.px={width:ye(ge.inner.width,ge.k),height:ye(ge.inner.height,ge.k)},ge.inner.ratio=ge.inner.height/ge.inner.width),this.prop.pageSize=ge})},S.prototype.setProgress=function(ge,ye,Le,we){return ge!=null&&(this.progress.val=ge),ye!=null&&(this.progress.state=ye),Le!=null&&(this.progress.n=Le),we!=null&&(this.progress.stack=we),this.progress.ratio=this.progress.val/this.progress.state,this},S.prototype.updateProgress=function(ge,ye,Le,we){return this.setProgress(ge?this.progress.val+ge:null,ye||null,Le?this.progress.n+Le:null,we?this.progress.stack.concat(we):null)},S.prototype.then=function(ge,ye){var Le=this;return this.thenCore(ge,ye,function(we,Ke){return Le.updateProgress(null,null,1,[we]),Promise.prototype.then.call(this,function(Je){return Le.updateProgress(null,we),Je}).then(we,Ke).then(function(Je){return Le.updateProgress(1),Je})})},S.prototype.thenCore=function(ge,ye,Le){Le=Le||Promise.prototype.then;var we=this;ge&&(ge=ge.bind(we)),ye&&(ye=ye.bind(we));var Ke=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?we:S.convert(Object.assign({},we),Promise.prototype),Je=Le.call(Ke,ge,ye);return S.convert(Je,we.__proto__)},S.prototype.thenExternal=function(ge,ye){return Promise.prototype.then.call(this,ge,ye)},S.prototype.thenList=function(ge){var ye=this;return ge.forEach(function(Le){ye=ye.thenCore(Le)}),ye},S.prototype.catch=function(ge){ge&&(ge=ge.bind(this));var ye=Promise.prototype.catch.call(this,ge);return S.convert(ye,this)},S.prototype.catchExternal=function(ge){return Promise.prototype.catch.call(this,ge)},S.prototype.error=function(ge){return this.then(function(){throw new Error(ge)})},S.prototype.using=S.prototype.set,S.prototype.saveAs=S.prototype.save,S.prototype.export=S.prototype.output,S.prototype.run=S.prototype.then,lt.getPageSize=function(ge,ye,Le){if(m(ge)==="object"){var we=ge;ge=we.orientation,ye=we.unit||ye,Le=we.format||Le}ye=ye||"mm",Le=Le||"a4",ge=(""+(ge||"P")).toLowerCase();var Ke=(""+Le).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(ye){case"pt":var ut=1;break;case"mm":ut=72/25.4;break;case"cm":ut=72/2.54;break;case"in":ut=72;break;case"px":ut=.75;break;case"pc":case"em":ut=12;break;case"ex":ut=6;break;default:throw"Invalid unit: "+ye}if(Je.hasOwnProperty(Ke))var vt=Je[Ke][1]/ut,_t=Je[Ke][0]/ut;else try{vt=Le[1],_t=Le[0]}catch(Bt){throw new Error("Invalid format: "+Le)}if(ge==="p"||ge==="portrait"){if(ge="p",vt<_t){var Ut=_t;_t=vt,vt=Ut}}else{if(ge!=="l"&&ge!=="landscape")throw"Invalid orientation: "+ge;ge="l",_t<vt&&(Ut=_t,_t=vt,vt=Ut)}return{width:_t,height:vt,unit:ye,k:ut}},v.html=function(ge,ye){(ye=ye||{}).callback=ye.callback||function(){},ye.html2canvas=ye.html2canvas||{},ye.html2canvas.canvas=ye.html2canvas.canvas||this.canvas,ye.jsPDF=ye.jsPDF||this,ye.jsPDF;var Le=new S(ye);return ye.worker?Le:Le.from(ge).doCallback()},lt.API.addJS=function(ge){return I=ge,this.internal.events.subscribe("postPutResources",function(ye){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),_=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+I+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&_!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(k=lt.API).events.push(["postPutResources",function(){var ge=this,ye=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var Le=ge.outline.render().split(/\r\n/),we=0;we<Le.length;we++){var Ke=Le[we],Je=ye.exec(Ke);if(Je!=null){var ut=Je[1];ge.internal.newObjectDeferredBegin(ut,!1)}ge.internal.write(Ke)}if(this.outline.createNamedDestinations){var vt=this.internal.pages.length,_t=[];for(we=0;we<vt;we++){var Ut=ge.internal.newObject();_t.push(Ut);var Bt=ge.internal.getPageInfo(we+1);ge.internal.write("<< /D["+Bt.objId+" 0 R /XYZ null null null]>> endobj")}var dr=ge.internal.newObject();for(ge.internal.write("<< /Names [ "),we=0;we<_t.length;we++)ge.internal.write("(page_"+(we+1)+")"+_t[we]+" 0 R");ge.internal.write(" ] >>","endobj"),ge.internal.newObject(),ge.internal.write("<< /Dests "+dr+" 0 R"),ge.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 ge=this;ge.outline={createNamedDestinations:!1,root:{children:[]}},ge.outline.add=function(ye,Le,we){var Ke={title:Le,options:we,children:[]};return ye==null&&(ye=this.root),ye.children.push(Ke),Ke},ge.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=ge,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},ge.outline.genIds_r=function(ye){ye.id=ge.internal.newObjectDeferred();for(var Le=0;Le<ye.children.length;Le++)this.genIds_r(ye.children[Le])},ge.outline.renderRoot=function(ye){this.objStart(ye),this.line("/Type /Outlines"),0<ye.children.length&&(this.line("/First "+this.makeRef(ye.children[0])),this.line("/Last "+this.makeRef(ye.children[ye.children.length-1]))),this.line("/Count "+this.count_r({count:0},ye)),this.objEnd()},ge.outline.renderItems=function(ye){this.ctx.pdf.internal.getCoordinateString;for(var Le=this.ctx.pdf.internal.getVerticalCoordinateString,we=0;we<ye.children.length;we++){var Ke=ye.children[we];this.objStart(Ke),this.line("/Title "+this.makeString(Ke.title)),this.line("/Parent "+this.makeRef(ye)),0<we&&this.line("/Prev "+this.makeRef(ye.children[we-1])),we<ye.children.length-1&&this.line("/Next "+this.makeRef(ye.children[we+1])),0<Ke.children.length&&(this.line("/First "+this.makeRef(Ke.children[0])),this.line("/Last "+this.makeRef(Ke.children[Ke.children.length-1])));var Je=this.count=this.count_r({count:0},Ke);if(0<Je&&this.line("/Count "+Je),Ke.options&&Ke.options.pageNumber){var ut=ge.internal.getPageInfo(Ke.options.pageNumber);this.line("/Dest ["+ut.objId+" 0 R /XYZ 0 "+Le(0)+" 0]")}this.objEnd()}for(we=0;we<ye.children.length;we++)Ke=ye.children[we],this.renderItems(Ke)},ge.outline.line=function(ye){this.ctx.val+=ye+`\r
|
|
|
`},ge.outline.makeRef=function(ye){return ye.id+" 0 R"},ge.outline.makeString=function(ye){return"("+ge.internal.pdfEscape(ye)+")"},ge.outline.objStart=function(ye){this.ctx.val+=`\r
|
|
|
`+ye.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},ge.outline.objEnd=function(ye){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},ge.outline.count_r=function(ye,Le){for(var we=0;we<Le.children.length;we++)ye.count++,this.count_r(ye,Le.children[we]);return ye.count}}]),F=lt.API,B=function(){var ye=typeof Deflater=="function";if(!ye)throw new Error("requires deflate.js for compression");return ye},j=function(ye,Le,we,Ke){var Je=5,ut=W;switch(Ke){case F.image_compression.FAST:Je=3,ut=H;break;case F.image_compression.MEDIUM:Je=6,ut=X;break;case F.image_compression.SLOW:Je=9,ut=K}ye=U(ye,Le,we,ut);var vt=new Uint8Array(z(Je)),_t=M(ye),Ut=new Deflater(Je),Bt=Ut.append(ye),dr=Ut.flush(),Oe=vt.length+Bt.length+dr.length,xe=new Uint8Array(Oe+4);return xe.set(vt),xe.set(Bt,vt.length),xe.set(dr,vt.length+Bt.length),xe[Oe++]=_t>>>24&255,xe[Oe++]=_t>>>16&255,xe[Oe++]=_t>>>8&255,xe[Oe++]=255&_t,F.arrayBufferToBinaryString(xe)},z=function(ye,Le){var we=Math.LOG2E*Math.log(32768)-8<<4|8,Ke=we<<8;return Ke|=Math.min(3,(Le-1&255)>>1)<<6,Ke|=0,[we,255&(Ke+=31-Ke%31)]},M=function(ye,Le){for(var we,Ke=1,Je=0,ut=ye.length,vt=0;0<ut;){for(ut-=we=Le<ut?Le:ut;Je+=Ke+=ye[vt++],--we;);Ke%=65521,Je%=65521}return(Je<<16|Ke)>>>0},U=function(ye,Le,we,Ke){for(var Je,ut,vt,_t=ye.length/Le,Ut=new Uint8Array(ye.length+_t),Bt=ie(),dr=0;dr<_t;dr++){if(vt=dr*Le,Je=ye.subarray(vt,vt+Le),Ke)Ut.set(Ke(Je,we,ut),vt+dr);else{for(var Oe=0,xe=Bt.length,V=[];Oe<xe;Oe++)V[Oe]=Bt[Oe](Je,we,ut);var q=be(V.concat());Ut.set(V[q],vt+dr)}ut=Je}return Ut},P=function(ye,Le,we){var Ke=Array.apply([],ye);return Ke.unshift(0),Ke},H=function(ye,Le,we){var Ke,Je=[],ut=0,vt=ye.length;for(Je[0]=1;ut<vt;ut++)Ke=ye[ut-Le]||0,Je[ut+1]=ye[ut]-Ke+256&255;return Je},W=function(ye,Le,we){var Ke,Je=[],ut=0,vt=ye.length;for(Je[0]=2;ut<vt;ut++)Ke=we&&we[ut]||0,Je[ut+1]=ye[ut]-Ke+256&255;return Je},X=function(ye,Le,we){var Ke,Je,ut=[],vt=0,_t=ye.length;for(ut[0]=3;vt<_t;vt++)Ke=ye[vt-Le]||0,Je=we&&we[vt]||0,ut[vt+1]=ye[vt]+256-(Ke+Je>>>1)&255;return ut},K=function(ye,Le,we){var Ke,Je,ut,vt,_t=[],Ut=0,Bt=ye.length;for(_t[0]=4;Ut<Bt;Ut++)Ke=ye[Ut-Le]||0,Je=we&&we[Ut]||0,ut=we&&we[Ut-Le]||0,vt=$(Ke,Je,ut),_t[Ut+1]=ye[Ut]-vt+256&255;return _t},$=function(ye,Le,we){var Ke=ye+Le-we,Je=Math.abs(Ke-ye),ut=Math.abs(Ke-Le),vt=Math.abs(Ke-we);return Je<=ut&&Je<=vt?ye:ut<=vt?Le:we},ie=function(){return[P,H,W,X,K]},be=function(ye){for(var Le,we,Ke,Je=0,ut=ye.length;Je<ut;)((Le=te(ye[Je].slice(1)))<we||!we)&&(we=Le,Ke=Je),Je++;return Ke},te=function(ye){for(var Le=0,we=ye.length,Ke=0;Le<we;)Ke+=Math.abs(ye[Le++]);return Ke},F.processPNG=function(ge,ye,Le,we,Ke){var Je,ut,vt,_t,Ut,Bt,dr=this.color_spaces.DEVICE_RGB,Oe=this.decode.FLATE_DECODE,xe=8;if(this.isArrayBuffer(ge)&&(ge=new Uint8Array(ge)),this.isArrayBufferView(ge)){if(typeof PNG!="function"||typeof Jt!="function")throw new Error("PNG support requires png.js and zlib.js");if(ge=(Je=new PNG(ge)).imgData,xe=Je.bits,dr=Je.colorSpace,_t=Je.colors,[4,6].indexOf(Je.colorType)!==-1){if(Je.bits===8)for(var V,q=(Nt=Je.pixelBitlength==32?new Uint32Array(Je.decodePixels().buffer):Je.pixelBitlength==16?new Uint16Array(Je.decodePixels().buffer):new Uint8Array(Je.decodePixels().buffer)).length,ue=new Uint8Array(q*Je.colors),me=new Uint8Array(q),Ee=Je.pixelBitlength-Je.bits,Ge=0,dt=0;Ge<q;Ge++){for(Kt=Nt[Ge],V=0;V<Ee;)ue[dt++]=Kt>>>V&255,V+=Je.bits;me[Ge]=Kt>>>V&255}if(Je.bits===16){q=(Nt=new Uint32Array(Je.decodePixels().buffer)).length,ue=new Uint8Array(q*(32/Je.pixelBitlength)*Je.colors),me=new Uint8Array(q*(32/Je.pixelBitlength));for(var Kt,tr=1<Je.colors,wt=dt=Ge=0;Ge<q;)Kt=Nt[Ge++],ue[dt++]=Kt>>>0&255,tr&&(ue[dt++]=Kt>>>16&255,Kt=Nt[Ge++],ue[dt++]=Kt>>>0&255),me[wt++]=Kt>>>16&255;xe=8}we!==F.image_compression.NONE&&B()?(ge=j(ue,Je.width*Je.colors,Je.colors,we),Bt=j(me,Je.width,1,we)):(ge=ue,Bt=me,Oe=null)}if(Je.colorType===3&&(dr=this.color_spaces.INDEXED,Ut=Je.palette,Je.transparency.indexed)){var It=Je.transparency.indexed,Lt=0;for(Ge=0,q=It.length;Ge<q;++Ge)Lt+=It[Ge];if((Lt/=255)==q-1&&It.indexOf(0)!==-1)vt=[It.indexOf(0)];else if(Lt!==q){var Nt=Je.decodePixels();for(me=new Uint8Array(Nt.length),Ge=0,q=Nt.length;Ge<q;Ge++)me[Ge]=It[Nt[Ge]];Bt=j(me,Je.width,1)}}var $e=function(ot){var ft;switch(ot){case F.image_compression.FAST:ft=11;break;case F.image_compression.MEDIUM:ft=13;break;case F.image_compression.SLOW:ft=14;break;default:ft=12}return ft}(we);return ut=Oe===this.decode.FLATE_DECODE?"/Predictor "+$e+" /Colors "+_t+" /BitsPerComponent "+xe+" /Columns "+Je.width:"/Colors "+_t+" /BitsPerComponent "+xe+" /Columns "+Je.width,(this.isArrayBuffer(ge)||this.isArrayBufferView(ge))&&(ge=this.arrayBufferToBinaryString(ge)),(Bt&&this.isArrayBuffer(Bt)||this.isArrayBufferView(Bt))&&(Bt=this.arrayBufferToBinaryString(Bt)),this.createImageInfo(ge,Je.width,Je.height,dr,xe,Oe,ye,Le,ut,vt,Ut,Bt,$e)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(Te=lt.API).processGIF89A=function(ge,ye,Le,we,Ke){var Je=new bt(ge),ut=Je.width,vt=Je.height,_t=[];Je.decodeAndBlitFrameRGBA(0,_t);var Ut={data:_t,width:ut,height:vt},Bt=new Rt(100).encode(Ut,100);return Te.processJPEG.call(this,Bt,ye,Le,we)},Te.processGIF87A=Te.processGIF89A,(Ie=lt.API).processBMP=function(ge,ye,Le,we,Ke){var Je=new zt(ge,!1),ut=Je.width,vt=Je.height,_t={data:Je.getData(),width:ut,height:vt},Ut=new Rt(100).encode(_t,100);return Ie.processJPEG.call(this,Ut,ye,Le,we)},lt.API.setLanguage=function(ge){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"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"}[ge]!==void 0&&(this.internal.languageSettings.languageCode=ge,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Fe=lt.API,Qe=Fe.getCharWidthsArray=function(ge,ye){var Le,we,Ke,Je=(ye=ye||{}).font||this.internal.getFont(),ut=ye.fontSize||this.internal.getFontSize(),vt=ye.charSpace||this.internal.getCharSpace(),_t=ye.widths?ye.widths:Je.metadata.Unicode.widths,Ut=_t.fof?_t.fof:1,Bt=ye.kerning?ye.kerning:Je.metadata.Unicode.kerning,dr=Bt.fof?Bt.fof:1,Oe=0,xe=_t[0]||Ut,V=[];for(Le=0,we=ge.length;Le<we;Le++)Ke=ge.charCodeAt(Le),typeof Je.metadata.widthOfString=="function"?V.push((Je.metadata.widthOfGlyph(Je.metadata.characterToGlyph(Ke))+vt*(1e3/ut)||0)/1e3):V.push((_t[Ke]||xe)/Ut+(Bt[Ke]&&Bt[Ke][Oe]||0)/dr),Oe=Ke;return V},fe=Fe.getArraySum=function(ge){for(var ye=ge.length,Le=0;ye;)Le+=ge[--ye];return Le},He=Fe.getStringUnitWidth=function(ge,ye){var Le=(ye=ye||{}).fontSize||this.internal.getFontSize(),we=ye.font||this.internal.getFont(),Ke=ye.charSpace||this.internal.getCharSpace();return typeof we.metadata.widthOfString=="function"?we.metadata.widthOfString(ge,Le,Ke)/Le:fe(Qe.apply(this,arguments))},se=function(ye,Le,we,Ke){for(var Je=[],ut=0,vt=ye.length,_t=0;ut!==vt&&_t+Le[ut]<we;)_t+=Le[ut],ut++;Je.push(ye.slice(0,ut));var Ut=ut;for(_t=0;ut!==vt;)_t+Le[ut]>Ke&&(Je.push(ye.slice(Ut,ut)),_t=0,Ut=ut),_t+=Le[ut],ut++;return Ut!==ut&&Je.push(ye.slice(Ut,ut)),Je},Ce=function(ye,Le,we){we||(we={});var Ke,Je,ut,vt,_t,Ut,Bt=[],dr=[Bt],Oe=we.textIndent||0,xe=0,V=0,q=ye.split(" "),ue=Qe.apply(this,[" ",we])[0];if(Ut=we.lineIndent===-1?q[0].length+2:we.lineIndent||0){var me=Array(Ut).join(" "),Ee=[];q.map(function(Kt){1<(Kt=Kt.split(/\s*\n/)).length?Ee=Ee.concat(Kt.map(function(tr,wt){return(wt&&tr.length?`
|
|
|
`:"")+tr})):Ee.push(Kt[0])}),q=Ee,Ut=He.apply(this,[me,we])}for(ut=0,vt=q.length;ut<vt;ut++){var Ge=0;if(Ke=q[ut],Ut&&Ke[0]==`
|
|
|
`&&(Ke=Ke.substr(1),Ge=1),Je=Qe.apply(this,[Ke,we]),Le<Oe+xe+(V=fe(Je))||Ge){if(Le<V){for(_t=se.apply(this,[Ke,Je,Le-(Oe+xe),Le]),Bt.push(_t.shift()),Bt=[_t.pop()];_t.length;)dr.push([_t.shift()]);V=fe(Je.slice(Ke.length-(Bt[0]?Bt[0].length:0)))}else Bt=[Ke];dr.push(Bt),Oe=V+Ut,xe=ue}else Bt.push(Ke),Oe+=xe+V,xe=ue}if(Ut)var dt=function(tr,wt){return(wt?me:"")+tr.join(" ")};else dt=function(tr){return tr.join(" ")};return dr.map(dt)},Fe.splitTextToSize=function(ge,ye,Le){var we,Ke=(Le=Le||{}).fontSize||this.internal.getFontSize(),Je=function(Bt){var dr={0:1},Oe={};if(Bt.widths&&Bt.kerning)return{widths:Bt.widths,kerning:Bt.kerning};var xe=this.internal.getFont(Bt.fontName,Bt.fontStyle),V="Unicode";return xe.metadata[V]?{widths:xe.metadata[V].widths||dr,kerning:xe.metadata[V].kerning||Oe}:{font:xe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Le);we=Array.isArray(ge)?ge:ge.split(/\r?\n/);var ut=1*this.internal.scaleFactor*ye/Ke;Je.textIndent=Le.textIndent?1*Le.textIndent*this.internal.scaleFactor/Ke:0,Je.lineIndent=Le.lineIndent;var vt,_t,Ut=[];for(vt=0,_t=we.length;vt<_t;vt++)Ut=Ut.concat(Ce.apply(this,[we[vt],ut,Je]));return Ut},mt=lt.API,ae={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(Ne=function(ye){for(var Le="klmnopqrstuvwxyz",we={},Ke=0;Ke<Le.length;Ke++)we[Le[Ke]]="0123456789abcdef"[Ke];var Je,ut,vt,_t,Ut,Bt={},dr=1,Oe=Bt,xe=[],V="",q="",ue=ye.length-1;for(Ke=1;Ke!=ue;)Ut=ye[Ke],Ke+=1,Ut=="'"?ut=ut?(_t=ut.join(""),Je):[]:ut?ut.push(Ut):Ut=="{"?(xe.push([Oe,_t]),Oe={},_t=Je):Ut=="}"?((vt=xe.pop())[0][vt[1]]=Oe,_t=Je,Oe=vt[0]):Ut=="-"?dr=-1:_t===Je?we.hasOwnProperty(Ut)?(V+=we[Ut],_t=parseInt(V,16)*dr,dr=1,V=""):V+=Ut:we.hasOwnProperty(Ut)?(q+=we[Ut],Oe[_t]=parseInt(q,16)*dr,dr=1,_t=Je,q=""):q+=Ut;return Bt})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},ce={Unicode:{Courier:ae,"Courier-Bold":ae,"Courier-BoldOblique":ae,"Courier-Oblique":ae,Helvetica:ae,"Helvetica-Bold":ae,"Helvetica-BoldOblique":ae,"Helvetica-Oblique":ae,"Times-Roman":ae,"Times-Bold":ae,"Times-BoldItalic":ae,"Times-Italic":ae}},le={Unicode:{"Courier-Oblique":Ne("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Ne("{'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":Ne("{'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:Ne("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Ne("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Ne("{'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:Ne("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Ne("{'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":Ne("{'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:Ne("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Ne("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Ne("{'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":Ne("{'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":Ne("{'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}}}")}},mt.events.push(["addFont",function(ge){var ye,Le,we,Ke=ge.font,Je="Unicode";(ye=le[Je][Ke.postScriptName])&&((Le=Ke.metadata[Je]?Ke.metadata[Je]:Ke.metadata[Je]={}).widths=ye.widths,Le.kerning=ye.kerning),(we=ce[Je][Ke.postScriptName])&&((Le=Ke.metadata[Je]?Ke.metadata[Je]:Ke.metadata[Je]={}).encoding=we).codePages&&we.codePages.length&&(Ke.encoding=we.codePages[0])}]),je=lt,typeof self!="undefined"&&self||typeof A!="undefined"&&A||typeof window!="undefined"&&window||Function("return this")(),je.API.events.push(["addFont",function(ge){var ye=ge.font,Le=ge.instance;if(Le!==void 0&&Le.existsFileInVFS(ye.postScriptName)){var we=Le.getFileFromVFS(ye.postScriptName);if(typeof we!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ye.postScriptName+"').");ye.metadata=je.API.TTFFont.open(ye.postScriptName,ye.fontName,we,ye.encoding),ye.metadata.Unicode=ye.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ye.metadata.glyIdsUsed=[0]}else if(ye.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ye.postScriptName+"').")}]),(Re=lt.API).addSvg=function(ge,ye,Le,we,Ke){if(ye===void 0||Le===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Je(It){for(var Lt=parseFloat(It[1]),Nt=parseFloat(It[2]),$e=[],ot=3,ft=It.length;ot<ft;)It[ot]==="c"?($e.push([parseFloat(It[ot+1]),parseFloat(It[ot+2]),parseFloat(It[ot+3]),parseFloat(It[ot+4]),parseFloat(It[ot+5]),parseFloat(It[ot+6])]),ot+=7):It[ot]==="l"?($e.push([parseFloat(It[ot+1]),parseFloat(It[ot+2])]),ot+=3):ot+=1;return[Lt,Nt,$e]}var ut,vt,_t,Ut,Bt,dr,Oe,xe,V=(Ut=document,xe=Ut.createElement("iframe"),Bt=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(Oe=(dr=Ut).createElement("style")).type="text/css",Oe.styleSheet?Oe.styleSheet.cssText=Bt:Oe.appendChild(dr.createTextNode(Bt)),dr.getElementsByTagName("head")[0].appendChild(Oe),xe.name="childframe",xe.setAttribute("width",0),xe.setAttribute("height",0),xe.setAttribute("frameborder","0"),xe.setAttribute("scrolling","no"),xe.setAttribute("seamless","seamless"),xe.setAttribute("class","jsPDF_sillysvg_iframe"),Ut.body.appendChild(xe),xe),q=(ut=ge,(_t=((vt=V).contentWindow||vt.contentDocument).document).write(ut),_t.close(),_t.getElementsByTagName("svg")[0]),ue=[1,1],me=parseFloat(q.getAttribute("width")),Ee=parseFloat(q.getAttribute("height"));me&&Ee&&(we&&Ke?ue=[we/me,Ke/Ee]:we?ue=[we/me,we/me]:Ke&&(ue=[Ke/Ee,Ke/Ee]));var Ge,dt,Kt,tr,wt=q.childNodes;for(Ge=0,dt=wt.length;Ge<dt;Ge++)(Kt=wt[Ge]).tagName&&Kt.tagName.toUpperCase()==="PATH"&&((tr=Je(Kt.getAttribute("d").split(" ")))[0]=tr[0]*ue[0]+ye,tr[1]=tr[1]*ue[1]+Le,this.lines.call(this,tr[2],tr[0],tr[1],ue));return this},Re.addSVG=Re.addSvg,Re.addSvgAsImage=function(ge,ye,Le,we,Ke,Je,ut,vt){if(isNaN(ye)||isNaN(Le))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(we)||isNaN(Ke))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var _t=document.createElement("canvas");_t.width=we,_t.height=Ke;var Ut=_t.getContext("2d");return Ut.fillStyle="#fff",Ut.fillRect(0,0,_t.width,_t.height),canvg(_t,ge,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(_t.toDataURL("image/jpeg",1),ye,Le,we,Ke,ut,vt),this},lt.API.putTotalPages=function(ge){var ye,Le=0;Le=parseInt(this.internal.getFont().id.substr(1),10)<15?(ye=new RegExp(ge,"g"),this.internal.getNumberOfPages()):(ye=new RegExp(this.pdfEscape16(ge,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var we=1;we<=this.internal.getNumberOfPages();we++)for(var Ke=0;Ke<this.internal.pages[we].length;Ke++)this.internal.pages[we][Ke]=this.internal.pages[we][Ke].replace(ye,Le);return this},lt.API.viewerPreferences=function(ge,ye){var Le;ge=ge||{},ye=ye||!1;var we,Ke,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}},ut=Object.keys(Je),vt=[],_t=0,Ut=0,Bt=0,dr=!0;function Oe(V,q){var ue,me=!1;for(ue=0;ue<V.length;ue+=1)V[ue]===q&&(me=!0);return me}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Je)),this.internal.viewerpreferences.isSubscribed=!1),Le=this.internal.viewerpreferences.configuration,ge==="reset"||ye===!0){var xe=ut.length;for(Bt=0;Bt<xe;Bt+=1)Le[ut[Bt]].value=Le[ut[Bt]].defaultValue,Le[ut[Bt]].explicitSet=!1}if(m(ge)==="object"){for(we in ge)if(Ke=ge[we],Oe(ut,we)&&Ke!==void 0){if(Le[we].type==="boolean"&&typeof Ke=="boolean")Le[we].value=Ke;else if(Le[we].type==="name"&&Oe(Le[we].valueSet,Ke))Le[we].value=Ke;else if(Le[we].type==="integer"&&Number.isInteger(Ke))Le[we].value=Ke;else if(Le[we].type==="array"){for(_t=0;_t<Ke.length;_t+=1)if(dr=!0,Ke[_t].length===1&&typeof Ke[_t][0]=="number")vt.push(String(Ke[_t]-1));else if(1<Ke[_t].length){for(Ut=0;Ut<Ke[_t].length;Ut+=1)typeof Ke[_t][Ut]!="number"&&(dr=!1);dr===!0&&vt.push([Ke[_t][0]-1,Ke[_t][1]-1].join(" "))}Le[we].value="["+vt.join(" ")+"]"}else Le[we].value=Le[we].defaultValue;Le[we].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var V,q=[];for(V in Le)Le[V].explicitSet===!0&&(Le[V].type==="name"?q.push("/"+V+" /"+Le[V].value):q.push("/"+V+" "+Le[V].value));q.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+q.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Le,this},Ze=lt.API,he=ne=De="",Ze.addMetadata=function(ge,ye){return ne=ye||"http://jspdf.default.namespaceuri/",De=ge,this.internal.events.subscribe("postPutResources",function(){if(De){var Le='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ne+'"><jspdf:metadata>',we=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ke=unescape(encodeURIComponent(Le)),Je=unescape(encodeURIComponent(De)),ut=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),vt=unescape(encodeURIComponent("</x:xmpmeta>")),_t=Ke.length+Je.length+ut.length+we.length+vt.length;he=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+_t+" >>"),this.internal.write("stream"),this.internal.write(we+Ke+Je+ut+vt),this.internal.write("endstream"),this.internal.write("endobj")}else he=""}),this.internal.events.subscribe("putCatalog",function(){he&&this.internal.write("/Metadata "+he+" 0 R")}),this},function(ge,ye){var Le=ge.API,we=Le.pdfEscape16=function(ut,vt){for(var _t,Ut=vt.metadata.Unicode.widths,Bt=["","0","00","000","0000"],dr=[""],Oe=0,xe=ut.length;Oe<xe;++Oe){if(_t=vt.metadata.characterToGlyph(ut.charCodeAt(Oe)),vt.metadata.glyIdsUsed.push(_t),vt.metadata.toUnicode[_t]=ut.charCodeAt(Oe),Ut.indexOf(_t)==-1&&(Ut.push(_t),Ut.push([parseInt(vt.metadata.widthOfGlyph(_t),10)])),_t=="0")return dr.join("");_t=_t.toString(16),dr.push(Bt[4-_t.length],_t)}return dr.join("")},Ke=function(vt){var _t,Ut,Bt,dr,Oe,xe,V;for(Oe=`/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`,Bt=[],xe=0,V=(Ut=Object.keys(vt).sort(function(q,ue){return q-ue})).length;xe<V;xe++)_t=Ut[xe],100<=Bt.length&&(Oe+=`
|
|
|
`+Bt.length+` beginbfchar
|
|
|
`+Bt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,Bt=[]),dr=("0000"+vt[_t].toString(16)).slice(-4),_t=("0000"+(+_t).toString(16)).slice(-4),Bt.push("<"+_t+"><"+dr+">");return Bt.length&&(Oe+=`
|
|
|
`+Bt.length+` beginbfchar
|
|
|
`+Bt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),Oe+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Le.events.push(["putFont",function(ut){!function(vt,_t,Ut,Bt){if(vt.metadata instanceof ge.API.TTFFont&&vt.encoding==="Identity-H"){for(var dr=vt.metadata.Unicode.widths,Oe=vt.metadata.subset.encode(vt.metadata.glyIdsUsed,1),xe="",V=0;V<Oe.length;V++)xe+=String.fromCharCode(Oe[V]);var q=Ut();Bt({data:xe,addLength1:!0}),_t("endobj");var ue=Ut();Bt({data:Ke(vt.metadata.toUnicode),addLength1:!0}),_t("endobj");var me=Ut();_t("<<"),_t("/Type /FontDescriptor"),_t("/FontName /"+vt.fontName),_t("/FontFile2 "+q+" 0 R"),_t("/FontBBox "+ge.API.PDFObject.convert(vt.metadata.bbox)),_t("/Flags "+vt.metadata.flags),_t("/StemV "+vt.metadata.stemV),_t("/ItalicAngle "+vt.metadata.italicAngle),_t("/Ascent "+vt.metadata.ascender),_t("/Descent "+vt.metadata.decender),_t("/CapHeight "+vt.metadata.capHeight),_t(">>"),_t("endobj");var Ee=Ut();_t("<<"),_t("/Type /Font"),_t("/BaseFont /"+vt.fontName),_t("/FontDescriptor "+me+" 0 R"),_t("/W "+ge.API.PDFObject.convert(dr)),_t("/CIDToGIDMap /Identity"),_t("/DW 1000"),_t("/Subtype /CIDFontType2"),_t("/CIDSystemInfo"),_t("<<"),_t("/Supplement 0"),_t("/Registry (Adobe)"),_t("/Ordering ("+vt.encoding+")"),_t(">>"),_t(">>"),_t("endobj"),vt.objectNumber=Ut(),_t("<<"),_t("/Type /Font"),_t("/Subtype /Type0"),_t("/ToUnicode "+ue+" 0 R"),_t("/BaseFont /"+vt.fontName),_t("/Encoding /"+vt.encoding),_t("/DescendantFonts ["+Ee+" 0 R]"),_t(">>"),_t("endobj"),vt.isAlreadyPutted=!0}}(ut.font,ut.out,ut.newObject,ut.putStream)}]),Le.events.push(["putFont",function(ut){!function(vt,_t,Ut,Bt){if(vt.metadata instanceof ge.API.TTFFont&&vt.encoding==="WinAnsiEncoding"){vt.metadata.Unicode.widths;for(var dr=vt.metadata.rawData,Oe="",xe=0;xe<dr.length;xe++)Oe+=String.fromCharCode(dr[xe]);var V=Ut();Bt({data:Oe,addLength1:!0}),_t("endobj");var q=Ut();Bt({data:Ke(vt.metadata.toUnicode),addLength1:!0}),_t("endobj");var ue=Ut();for(_t("<<"),_t("/Descent "+vt.metadata.decender),_t("/CapHeight "+vt.metadata.capHeight),_t("/StemV "+vt.metadata.stemV),_t("/Type /FontDescriptor"),_t("/FontFile2 "+V+" 0 R"),_t("/Flags 96"),_t("/FontBBox "+ge.API.PDFObject.convert(vt.metadata.bbox)),_t("/FontName /"+vt.fontName),_t("/ItalicAngle "+vt.metadata.italicAngle),_t("/Ascent "+vt.metadata.ascender),_t(">>"),_t("endobj"),vt.objectNumber=Ut(),xe=0;xe<vt.metadata.hmtx.widths.length;xe++)vt.metadata.hmtx.widths[xe]=parseInt(vt.metadata.hmtx.widths[xe]*(1e3/vt.metadata.head.unitsPerEm));_t("<</Subtype/TrueType/Type/Font/ToUnicode "+q+" 0 R/BaseFont/"+vt.fontName+"/FontDescriptor "+ue+" 0 R/Encoding/"+vt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+ge.API.PDFObject.convert(vt.metadata.hmtx.widths)+">>"),_t("endobj"),vt.isAlreadyPutted=!0}}(ut.font,ut.out,ut.newObject,ut.putStream)}]);var Je=function(vt){var _t,Ut,Bt=vt.text||"",dr=vt.x,Oe=vt.y,xe=vt.options||{},V=vt.mutex||{},q=V.pdfEscape,ue=V.activeFontKey,me=V.fonts,Ee=(V.activeFontSize,""),Ge=0,dt="",Kt=me[Ut=ue].encoding;if(me[Ut].encoding!=="Identity-H")return{text:Bt,x:dr,y:Oe,options:xe,mutex:V};for(dt=Bt,Ut=ue,Object.prototype.toString.call(Bt)==="[object Array]"&&(dt=Bt[0]),Ge=0;Ge<dt.length;Ge+=1)me[Ut].metadata.hasOwnProperty("cmap")&&(_t=me[Ut].metadata.cmap.unicode.codeMap[dt[Ge].charCodeAt(0)]),_t||dt[Ge].charCodeAt(0)<256&&me[Ut].metadata.hasOwnProperty("Unicode")?Ee+=dt[Ge]:Ee+="";var tr="";return parseInt(Ut.slice(1))<14||Kt==="WinAnsiEncoding"?tr=function(wt){for(var It="",Lt=0;Lt<wt.length;Lt++)It+=""+wt.charCodeAt(Lt).toString(16);return It}(q(Ee,Ut)):Kt==="Identity-H"&&(tr=we(Ee,me[Ut])),V.isHex=!0,{text:tr,x:dr,y:Oe,options:xe,mutex:V}};Le.events.push(["postProcessText",function(ut){var vt=ut.text||"",_t=ut.x,Ut=ut.y,Bt=ut.options,dr=ut.mutex,Oe=(Bt.lang,[]),xe={text:vt,x:_t,y:Ut,options:Bt,mutex:dr};if(Object.prototype.toString.call(vt)==="[object Array]"){var V=0;for(V=0;V<vt.length;V+=1)Object.prototype.toString.call(vt[V])==="[object Array]"&&vt[V].length===3?Oe.push([Je(Object.assign({},xe,{text:vt[V][0]})).text,vt[V][1],vt[V][2]]):Oe.push(Je(Object.assign({},xe,{text:vt[V]})).text);ut.text=Oe}else ut.text=Je(Object.assign({},xe,{text:vt})).text}])}(lt,typeof self!="undefined"&&self||typeof A!="undefined"&&A||typeof window!="undefined"&&window||Function("return this")()),pe=lt.API,Xe=function(ye){return ye!==void 0&&(ye.vFS===void 0&&(ye.vFS={}),!0)},pe.existsFileInVFS=function(ge){return!!Xe(this.internal)&&this.internal.vFS[ge]!==void 0},pe.addFileToVFS=function(ge,ye){return Xe(this.internal),this.internal.vFS[ge]=ye,this},pe.getFileFromVFS=function(ge){return Xe(this.internal),this.internal.vFS[ge]!==void 0?this.internal.vFS[ge]:null},lt.API.addHTML=function(ge,ye,Le,we,Ke){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 ye!="number"&&(we=ye,Ke=Le),typeof we=="function"&&(Ke=we,we=null),typeof Ke!="function"&&(Ke=function(){});var Je=this.internal,ut=Je.scaleFactor,vt=Je.pageSize.getWidth(),_t=Je.pageSize.getHeight();if((we=we||{}).onrendered=function(Bt){ye=parseInt(ye)||0,Le=parseInt(Le)||0;var dr=we.dim||{},Oe=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},we.margin),xe=dr.h||Math.min(_t,Bt.height/ut),V=dr.w||Math.min(vt,Bt.width/ut)-ye,q=we.format||"JPEG",ue=we.imageCompression||"SLOW";if(Bt.height>_t-Oe.top-Oe.bottom&&we.pagesplit){var me=function(wt,It,Lt,Nt,$e){var ot=document.createElement("canvas");ot.height=$e,ot.width=Nt;var ft=ot.getContext("2d");return ft.mozImageSmoothingEnabled=!1,ft.webkitImageSmoothingEnabled=!1,ft.msImageSmoothingEnabled=!1,ft.imageSmoothingEnabled=!1,ft.fillStyle=we.backgroundColor||"#ffffff",ft.fillRect(0,0,Nt,$e),ft.drawImage(wt,It,Lt,Nt,$e,0,0,Nt,$e),ot},Ee=function(){for(var tr,wt,It=0,Lt=0,Nt={},$e=!1;;){var ot;if(Lt=0,Nt.top=It!==0?Oe.top:Le,Nt.left=It!==0?Oe.left:ye,$e=(vt-Oe.left-Oe.right)*ut<Bt.width,Oe.useFor==="content"?It===0?(tr=Math.min((vt-Oe.left)*ut,Bt.width),wt=Math.min((_t-Oe.top)*ut,Bt.height-It)):(tr=Math.min(vt*ut,Bt.width),wt=Math.min(_t*ut,Bt.height-It),Nt.top=0):(tr=Math.min((vt-Oe.left-Oe.right)*ut,Bt.width),wt=Math.min((_t-Oe.bottom-Oe.top)*ut,Bt.height-It)),$e)for(;;){Oe.useFor==="content"&&(Lt===0?tr=Math.min((vt-Oe.left)*ut,Bt.width):(tr=Math.min(vt*ut,Bt.width-Lt),Nt.left=0));var ft=[ot=me(Bt,Lt,It,tr,wt),Nt.left,Nt.top,ot.width/ut,ot.height/ut,q,null,ue];if(this.addImage.apply(this,ft),(Lt+=tr)>=Bt.width)break;this.addPage()}else ft=[ot=me(Bt,0,It,tr,wt),Nt.left,Nt.top,ot.width/ut,ot.height/ut,q,null,ue],this.addImage.apply(this,ft);if((It+=wt)>=Bt.height)break;this.addPage()}Ke(V,It,null,ft)}.bind(this);if(Bt.nodeName==="CANVAS"){var Ge=new Image;Ge.onload=Ee,Ge.src=Bt.toDataURL("image/png"),Bt=Ge}else Ee()}else{var dt=Math.random().toString(35),Kt=[Bt,ye,Le,V,xe,q,dt,ue];this.addImage.apply(this,Kt),Ke(V,xe,dt,Kt)}}.bind(this),typeof html2canvas!="undefined"&&!we.rstz)return html2canvas(ge,we);if(typeof rasterizeHTML=="undefined")return null;var Ut="drawDocument";return typeof ge=="string"&&(Ut=/^http/.test(ge)?"drawURL":"drawHTML"),we.width=we.width||vt*ut,rasterizeHTML[Ut](ge,void 0,we).then(function(Bt){we.onrendered(Bt.image)},function(Bt){Ke(null,Bt)})},function(ge){var ye,Le,we,Ke,Je,ut,vt,_t,Ut,Bt,dr,Oe,xe,V,q,ue,me,Ee,Ge,dt;ye=function(){return function(It){return wt.prototype=It,new wt};function wt(){}}(),Bt=function(It){var Lt,Nt,$e,ot,ft,ze,Ye;for(Nt=0,$e=It.length,Lt=void 0,ze=ot=!1;!ot&&Nt!==$e;)(Lt=It[Nt]=It[Nt].trimLeft())&&(ot=!0),Nt++;for(Nt=$e-1;$e&&!ze&&Nt!==-1;)(Lt=It[Nt]=It[Nt].trimRight())&&(ze=!0),Nt--;for(ft=/\s+$/g,Ye=!0,Nt=0;Nt!==$e;)It[Nt]!="\u2028"&&(Lt=It[Nt].replace(/\s+/g," "),Ye&&(Lt=Lt.trimLeft()),Lt&&(Ye=ft.test(Lt)),It[Nt]=Lt),Nt++;return It},Oe=function(It){var Lt,Nt,$e;for(Lt=void 0,Nt=($e=It.split(",")).shift();!Lt&&Nt;)Lt=we[Nt.trim().toLowerCase()],Nt=$e.shift();return Lt},xe=function(It){var Lt;return-1<(It=It==="auto"?"0px":It).indexOf("em")&&!isNaN(Number(It.replace("em","")))&&(It=18.719*Number(It.replace("em",""))+"px"),-1<It.indexOf("pt")&&!isNaN(Number(It.replace("pt","")))&&(It=1.333*Number(It.replace("pt",""))+"px"),(Lt=V[It])?Lt:(Lt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[It])!==void 0||(Lt=parseFloat(It))?V[It]=Lt/16:(Lt=It.match(/([\d\.]+)(px)/),Array.isArray(Lt)&&Lt.length===3?V[It]=parseFloat(Lt[1])/16:V[It]=1)},Ut=function(It){var Lt,Nt,$e,ot,ft;return ft=It,ot=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(ft,null):ft.currentStyle?ft.currentStyle:ft.style,Nt=void 0,(Lt={})["font-family"]=Oe(($e=function(Ye){return Ye=Ye.replace(/-\D/g,function(qe){return qe.charAt(1).toUpperCase()}),ot[Ye]})("font-family"))||"times",Lt["font-style"]=Ke[$e("font-style")]||"normal",Lt["text-align"]=Je[$e("text-align")]||"left",(Nt=ut[$e("font-weight")]||"normal")==="bold"&&(Lt["font-style"]==="normal"?Lt["font-style"]=Nt:Lt["font-style"]=Nt+Lt["font-style"]),Lt["font-size"]=xe($e("font-size"))||1,Lt["line-height"]=xe($e("line-height"))||1,Lt.display=$e("display")==="inline"?"inline":"block",Nt=Lt.display==="block",Lt["margin-top"]=Nt&&xe($e("margin-top"))||0,Lt["margin-bottom"]=Nt&&xe($e("margin-bottom"))||0,Lt["padding-top"]=Nt&&xe($e("padding-top"))||0,Lt["padding-bottom"]=Nt&&xe($e("padding-bottom"))||0,Lt["margin-left"]=Nt&&xe($e("margin-left"))||0,Lt["margin-right"]=Nt&&xe($e("margin-right"))||0,Lt["padding-left"]=Nt&&xe($e("padding-left"))||0,Lt["padding-right"]=Nt&&xe($e("padding-right"))||0,Lt["page-break-before"]=$e("page-break-before")||"auto",Lt.float=vt[$e("cssFloat")]||"none",Lt.clear=_t[$e("clear")]||"none",Lt.color=$e("color"),Lt},q=function(It,Lt,Nt){var $e,ot,ft,ze,Ye;if(ft=!1,ze=ot=void 0,$e=Nt["#"+It.id])if(typeof $e=="function")ft=$e(It,Lt);else for(ot=0,ze=$e.length;!ft&&ot!==ze;)ft=$e[ot](It,Lt),ot++;if($e=Nt[It.nodeName],!ft&&$e)if(typeof $e=="function")ft=$e(It,Lt);else for(ot=0,ze=$e.length;!ft&&ot!==ze;)ft=$e[ot](It,Lt),ot++;for(Ye=typeof It.className=="string"?It.className.split(" "):[],ot=0;ot<Ye.length;ot++)if($e=Nt["."+Ye[ot]],!ft&&$e)if(typeof $e=="function")ft=$e(It,Lt);else for(ot=0,ze=$e.length;!ft&&ot!==ze;)ft=$e[ot](It,Lt),ot++;return ft},dt=function(It,Lt){var Nt,$e,ot,ft,ze,Ye,qe,rt,ct;for(Nt=[],$e=[],ot=0,ct=It.rows[0].cells.length,qe=It.clientWidth;ot<ct;)rt=It.rows[0].cells[ot],$e[ot]={name:rt.textContent.toLowerCase().replace(/\s+/g,""),prompt:rt.textContent.replace(/\r?\n/g,""),width:rt.clientWidth/qe*Lt.pdf.internal.pageSize.getWidth()},ot++;for(ot=1;ot<It.rows.length;){for(Ye=It.rows[ot],ze={},ft=0;ft<Ye.cells.length;)ze[$e[ft].name]=Ye.cells[ft].textContent.replace(/\r?\n/g,""),ft++;Nt.push(ze),ot++}return{rows:Nt,headers:$e}};var Kt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},tr=1;Le=function(It,Lt,Nt){var $e,ot,ft,ze,Ye,qe,rt,ct;for(ot=It.childNodes,$e=void 0,(Ye=(ft=Ut(It)).display==="block")&&(Lt.setBlockBoundary(),Lt.setBlockStyle(ft)),ze=0,qe=ot.length;ze<qe;){if(m($e=ot[ze])==="object"){if(Lt.executeWatchFunctions($e),$e.nodeType===1&&$e.nodeName==="HEADER"){var st=$e,et=Lt.pdf.margins_doc.top;Lt.pdf.internal.events.subscribe("addPage",function(Ar){Lt.y=et,Le(st,Lt,Nt),Lt.pdf.margins_doc.top=Lt.y+10,Lt.y+=10},!1)}if($e.nodeType===8&&$e.nodeName==="#comment")~$e.textContent.indexOf("ADD_PAGE")&&(Lt.pdf.addPage(),Lt.y=Lt.pdf.margins_doc.top);else if($e.nodeType!==1||Kt[$e.nodeName])if($e.nodeType===3){var Ft=$e.nodeValue;if($e.nodeValue&&$e.parentNode.nodeName==="LI")if($e.parentNode.parentNode.nodeName==="OL")Ft=tr+++". "+Ft;else{var Ct=ft["font-size"],ir=(3-.75*Ct)*Lt.pdf.internal.scaleFactor,Xt=.75*Ct*Lt.pdf.internal.scaleFactor,_r=1.74*Ct/Lt.pdf.internal.scaleFactor;ct=function(Mr,fn){this.pdf.circle(Mr+ir,fn+Xt,_r,"FD")}}16&$e.ownerDocument.body.compareDocumentPosition($e)&&Lt.addText(Ft,ft)}else typeof $e=="string"&&Lt.addText($e,ft);else{var Br;if($e.nodeName==="IMG"){var Gr=$e.getAttribute("src");Br=ue[Lt.pdf.sHashCode(Gr)||Gr]}if(Br){Lt.pdf.internal.pageSize.getHeight()-Lt.pdf.margins_doc.bottom<Lt.y+$e.height&&Lt.y>Lt.pdf.margins_doc.top&&(Lt.pdf.addPage(),Lt.y=Lt.pdf.margins_doc.top,Lt.executeWatchFunctions($e));var un=Ut($e),mn=Lt.x,_n=12/Lt.pdf.internal.scaleFactor,qr=(un["margin-left"]+un["padding-left"])*_n,yn=(un["margin-right"]+un["padding-right"])*_n,nn=(un["margin-top"]+un["padding-top"])*_n,cr=(un["margin-bottom"]+un["padding-bottom"])*_n;un.float!==void 0&&un.float==="right"?mn+=Lt.settings.width-$e.width-yn:mn+=qr,Lt.pdf.addImage(Br,mn,Lt.y+nn,$e.width,$e.height),Br=void 0,un.float==="right"||un.float==="left"?(Lt.watchFunctions.push(function(Ar,Mr,fn,En){return Lt.y>=Mr?(Lt.x+=Ar,Lt.settings.width+=fn,!0):!!(En&&En.nodeType===1&&!Kt[En.nodeName]&&Lt.x+En.width>Lt.pdf.margins_doc.left+Lt.pdf.margins_doc.width)&&(Lt.x+=Ar,Lt.y=Mr,Lt.settings.width+=fn,!0)}.bind(this,un.float==="left"?-$e.width-qr-yn:0,Lt.y+$e.height+nn+cr,$e.width)),Lt.watchFunctions.push(function(Ar,Mr,fn){return!(Lt.y<Ar&&Mr===Lt.pdf.internal.getNumberOfPages())||fn.nodeType===1&&Ut(fn).clear==="both"&&(Lt.y=Ar,!0)}.bind(this,Lt.y+$e.height,Lt.pdf.internal.getNumberOfPages())),Lt.settings.width-=$e.width+qr+yn,un.float==="left"&&(Lt.x+=$e.width+qr+yn)):Lt.y+=$e.height+nn+cr}else if($e.nodeName==="TABLE")rt=dt($e,Lt),Lt.y+=10,Lt.pdf.table(Lt.x,Lt.y,rt.rows,rt.headers,{autoSize:!1,printHeaders:Nt.printHeaders,margins:Lt.pdf.margins_doc,css:Ut($e)}),Lt.y=Lt.pdf.lastCellPos.y+Lt.pdf.lastCellPos.h+20;else if($e.nodeName==="OL"||$e.nodeName==="UL")tr=1,q($e,Lt,Nt)||Le($e,Lt,Nt),Lt.y+=10;else if($e.nodeName==="LI"){var Pr=Lt.x;Lt.x+=20/Lt.pdf.internal.scaleFactor,Lt.y+=3,q($e,Lt,Nt)||Le($e,Lt,Nt),Lt.x=Pr}else $e.nodeName==="BR"?(Lt.y+=ft["font-size"]*Lt.pdf.internal.scaleFactor,Lt.addText("\u2028",ye(ft))):q($e,Lt,Nt)||Le($e,Lt,Nt)}}ze++}if(Nt.outY=Lt.y,Ye)return Lt.setBlockBoundary(ct)},ue={},me=function(It,Lt,Nt,$e){var ot,ft=It.getElementsByTagName("img"),ze=ft.length,Ye=0;function qe(){Lt.pdf.internal.events.publish("imagesLoaded"),$e(ot)}function rt(ct,st,et){if(ct){var Ft=new Image;ot=++Ye,Ft.crossOrigin="",Ft.onerror=Ft.onload=function(){if(Ft.complete&&(Ft.src.indexOf("data:image/")===0&&(Ft.width=st||Ft.width||0,Ft.height=et||Ft.height||0),Ft.width+Ft.height)){var Ct=Lt.pdf.sHashCode(ct)||ct;ue[Ct]=ue[Ct]||Ft}--Ye||qe()},Ft.src=ct}}for(;ze--;)rt(ft[ze].getAttribute("src"),ft[ze].width,ft[ze].height);return Ye||qe()},Ee=function(It,Lt,Nt){var $e=It.getElementsByTagName("footer");if(0<$e.length){$e=$e[0];var ot=Lt.pdf.internal.write,ft=Lt.y;Lt.pdf.internal.write=function(){},Le($e,Lt,Nt);var ze=Math.ceil(Lt.y-ft)+5;Lt.y=ft,Lt.pdf.internal.write=ot,Lt.pdf.margins_doc.bottom+=ze;for(var Ye=function(st){var et=st!==void 0?st.pageNumber:1,Ft=Lt.y;Lt.y=Lt.pdf.internal.pageSize.getHeight()-Lt.pdf.margins_doc.bottom,Lt.pdf.margins_doc.bottom-=ze;for(var Ct=$e.getElementsByTagName("span"),ir=0;ir<Ct.length;++ir)-1<(" "+Ct[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(Ct[ir].innerHTML=et),-1<(" "+Ct[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(Ct[ir].innerHTML="###jsPDFVarTotalPages###");Le($e,Lt,Nt),Lt.pdf.margins_doc.bottom+=ze,Lt.y=Ft},qe=$e.getElementsByTagName("span"),rt=0;rt<qe.length;++rt)-1<(" "+qe[rt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Lt.pdf.internal.events.subscribe("htmlRenderingFinished",Lt.pdf.putTotalPages.bind(Lt.pdf,"###jsPDFVarTotalPages###"),!0);Lt.pdf.internal.events.subscribe("addPage",Ye,!1),Ye(),Kt.FOOTER=1}},Ge=function(It,Lt,Nt,$e,ot,ft){if(!Lt)return!1;var ze,Ye,qe,rt;typeof Lt=="string"||Lt.parentNode||(Lt=""+Lt.innerHTML),typeof Lt=="string"&&(ze=Lt.replace(/<\/?script[^>]*?>/gi,""),rt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(qe=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;",qe.innerHTML='<iframe style="height:1px;width:1px" name="'+rt+'" />',document.body.appendChild(qe),(Ye=window.frames[rt]).document.open(),Ye.document.writeln(ze),Ye.document.close(),Lt=Ye.document.body);var ct,st=new dr(It,Nt,$e,ot);return me.call(this,Lt,st,ot.elementHandlers,function(et){Ee(Lt,st,ot.elementHandlers),Le(Lt,st,ot.elementHandlers),st.pdf.internal.events.publish("htmlRenderingFinished"),ct=st.dispose(),typeof ft=="function"?ft(ct):et&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),ct||{x:st.x,y:st.y}},(dr=function(It,Lt,Nt,$e){return this.pdf=It,this.x=Lt,this.y=Nt,this.settings=$e,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},dr.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},dr.prototype.executeWatchFunctions=function(wt){var It=!1,Lt=[];if(0<this.watchFunctions.length){for(var Nt=0;Nt<this.watchFunctions.length;++Nt)this.watchFunctions[Nt](wt)===!0?It=!0:Lt.push(this.watchFunctions[Nt]);this.watchFunctions=Lt}return It},dr.prototype.splitFragmentsIntoLines=function(wt,It){var Lt,Nt,$e,ot,ft,ze,Ye,qe,rt,ct,st,et,Ft,Ct;for(ct=this.pdf.internal.scaleFactor,ot={},ze=Ye=qe=Ct=ft=$e=rt=Nt=void 0,et=[st=[]],Lt=0,Ft=this.settings.width;wt.length;)if(ft=wt.shift(),Ct=It.shift(),ft)if(($e=ot[(Nt=Ct["font-family"])+(rt=Ct["font-style"])])||($e=this.pdf.internal.getFont(Nt,rt).metadata.Unicode,ot[Nt+rt]=$e),qe={widths:$e.widths,kerning:$e.kerning,fontSize:12*Ct["font-size"],textIndent:Lt},Ye=this.pdf.getStringUnitWidth(ft,qe)*qe.fontSize/ct,ft=="\u2028")st=[],et.push(st);else if(Ft<Lt+Ye){for(ze=this.pdf.splitTextToSize(ft,Ft,qe),st.push([ze.shift(),Ct]);ze.length;)st=[[ze.shift(),Ct]],et.push(st);Lt=this.pdf.getStringUnitWidth(st[0][0],qe)*qe.fontSize/ct}else st.push([ft,Ct]),Lt+=Ye;if(Ct["text-align"]!==void 0&&(Ct["text-align"]==="center"||Ct["text-align"]==="right"||Ct["text-align"]==="justify"))for(var ir=0;ir<et.length;++ir){var Xt=this.pdf.getStringUnitWidth(et[ir][0][0],qe)*qe.fontSize/ct;0<ir&&(et[ir][0][1]=ye(et[ir][0][1]));var _r=Ft-Xt;if(Ct["text-align"]==="right")et[ir][0][1]["margin-left"]=_r;else if(Ct["text-align"]==="center")et[ir][0][1]["margin-left"]=_r/2;else if(Ct["text-align"]==="justify"){var Br=et[ir][0][0].split(" ").length-1;et[ir][0][1]["word-spacing"]=_r/Br,ir===et.length-1&&(et[ir][0][1]["word-spacing"]=0)}}return et},dr.prototype.RenderTextFragment=function(wt,It){var Lt,Nt;Nt=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(It.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Nt=Math.max(Nt,It["line-height"],It["font-size"]),this.pdf.internal.write(0,(-12*Nt).toFixed(2),"Td")),Lt=this.pdf.internal.getFont(It["font-family"],It["font-style"]);var $e=this.getPdfColor(It.color);$e!==this.lastTextColor&&(this.pdf.internal.write($e),this.lastTextColor=$e),It["word-spacing"]!==void 0&&0<It["word-spacing"]&&this.pdf.internal.write(It["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Lt.id,(12*It["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(wt)+") Tj"),It["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},dr.prototype.getPdfColor=function(wt){var It,Lt,Nt,$e=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(wt);if($e!=null)It=parseInt($e[1]),Lt=parseInt($e[2]),Nt=parseInt($e[3]);else{if(typeof wt=="string"&&wt.charAt(0)!="#"){var ot=new RGBColor(wt);wt=ot.ok?ot.toHex():"#000000"}It=wt.substring(1,3),It=parseInt(It,16),Lt=wt.substring(3,5),Lt=parseInt(Lt,16),Nt=wt.substring(5,7),Nt=parseInt(Nt,16)}if(typeof It=="string"&&/^#[0-9A-Fa-f]{6}$/.test(It)){var ft=parseInt(It.substr(1),16);It=ft>>16&255,Lt=ft>>8&255,Nt=255&ft}var ze=this.f3;return It===0&&Lt===0&&Nt===0||Lt===void 0?ze(It/255)+" g":[ze(It/255),ze(Lt/255),ze(Nt/255),"rg"].join(" ")},dr.prototype.f3=function(wt){return wt.toFixed(3)},dr.prototype.renderParagraph=function(wt){var It,Lt,Nt,$e,ot,ft,ze,Ye,qe,rt,ct,st,et;if(Nt=Bt(this.paragraph.text),st=this.paragraph.style,It=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:It},Nt.join("").trim()){ze=this.splitFragmentsIntoLines(Nt,st),Ye=ft=void 0,Lt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,ct=(Math.max((It["margin-top"]||0)-this.priorMarginBottom,0)+(It["padding-top"]||0))*Lt,rt=((It["margin-bottom"]||0)+(It["padding-bottom"]||0))*Lt,this.priorMarginBottom=It["margin-bottom"]||0,It["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,ct=((It["margin-top"]||0)+(It["padding-top"]||0))*Lt),qe=this.pdf.internal.write,ot=$e=void 0,this.y+=ct,qe("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ft=0;ze.length;){for($e=Ye=0,ot=(ft=ze.shift()).length;$e!==ot;)ft[$e][0].trim()&&(Ye=Math.max(Ye,ft[$e][1]["line-height"],ft[$e][1]["font-size"]),et=7*ft[$e][1]["font-size"]),$e++;var Ct=0,ir=0;for(ft[0][1]["margin-left"]!==void 0&&0<ft[0][1]["margin-left"]&&(Ct=(ir=this.pdf.internal.getCoordinateString(ft[0][1]["margin-left"]))-Ft,Ft=ir),qe(Ct+Math.max(It["margin-left"]||0,0)*Lt,(-12*Ye).toFixed(2),"Td"),$e=0,ot=ft.length;$e!==ot;)ft[$e][0]&&this.RenderTextFragment(ft[$e][0],ft[$e][1]),$e++;if(this.y+=Ye*Lt,this.executeWatchFunctions(ft[0][1])&&0<ze.length){var Xt=[],_r=[];ze.forEach(function(Br){for(var Gr=0,un=Br.length;Gr!==un;)Br[Gr][0]&&(Xt.push(Br[Gr][0]+" "),_r.push(Br[Gr][1])),++Gr}),ze=this.splitFragmentsIntoLines(Bt(Xt),_r),qe("ET","Q"),qe("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return wt&&typeof wt=="function"&&wt.call(this,this.x-9,this.y-et/2),qe("ET","Q"),this.y+=rt}},dr.prototype.setBlockBoundary=function(wt){return this.renderParagraph(wt)},dr.prototype.setBlockStyle=function(wt){return this.paragraph.blockstyle=wt},dr.prototype.addText=function(wt,It){return this.paragraph.text.push(wt),this.paragraph.style.push(It)},we={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},ut={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"},Ke={normal:"normal",italic:"italic",oblique:"italic"},Je={left:"left",right:"right",center:"center",justify:"justify"},vt={none:"none",right:"right",left:"left"},_t={none:"none",both:"both"},V={normal:1},ge.fromHTML=function(wt,It,Lt,Nt,$e,ot){return this.margins_doc=ot||{top:0,bottom:0},Nt||(Nt={}),Nt.elementHandlers||(Nt.elementHandlers={}),Ge(this,wt,isNaN(It)?4:It,isNaN(Lt)?4:Lt,Nt,$e)}}(lt.API),lt.API,(typeof window!="undefined"&&window||typeof A!="undefined"&&A).html2pdf=function(ge,ye,Le){var we=ye.canvas;if(we){var Ke,Je;if((we.pdf=ye).annotations={_nameMap:[],createAnnotation:function(dr,Oe){var xe,V=ye.context2d._wrapX(Oe.left),q=ye.context2d._wrapY(Oe.top),ue=(ye.context2d._page(Oe.top),dr.indexOf("#"));xe=0<=ue?{name:dr.substring(ue+1)}:{url:dr},ye.link(V,q,Oe.right-Oe.left,Oe.bottom-Oe.top,xe)},setName:function(dr,Oe){var xe=ye.context2d._wrapX(Oe.left),V=ye.context2d._wrapY(Oe.top),q=ye.context2d._page(Oe.top);this._nameMap[dr]={page:q,x:xe,y:V}}},we.annotations=ye.annotations,ye.context2d._pageBreakAt=function(Bt){this.pageBreaks.push(Bt)},ye.context2d._gotoPage=function(Bt){for(;ye.internal.getNumberOfPages()<Bt;)ye.addPage();ye.setPage(Bt)},typeof ge=="string"){ge=ge.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var ut,vt,_t=document.createElement("iframe");document.body.appendChild(_t),(ut=_t.contentDocument)!=null&&ut!=null||(ut=_t.contentWindow.document),ut.open(),ut.write(ge),ut.close(),Ke=ut.body,vt=ut.body||{},ge=ut.documentElement||{},Je=Math.max(vt.scrollHeight,vt.offsetHeight,ge.clientHeight,ge.scrollHeight,ge.offsetHeight)}else vt=(Ke=ge).body||{},Je=Math.max(vt.scrollHeight,vt.offsetHeight,ge.clientHeight,ge.scrollHeight,ge.offsetHeight);var Ut={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:we,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Je=ye.internal.pageSize.getHeight(),scrollY:Je};ye.context2d.pageWrapYEnabled=!0,ye.context2d.pageWrapY=ye.internal.pageSize.getHeight(),html2canvas(Ke,Ut).then(function(Bt){Le&&(_t&&_t.parentElement.removeChild(_t),Le(ye))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(ge){var ye=ge.BlobBuilder||ge.WebKitBlobBuilder||ge.MSBlobBuilder||ge.MozBlobBuilder;ge.URL=ge.URL||ge.webkitURL||function(V,q){return(q=document.createElement("a")).href=V,q};var Le=ge.Blob,we=URL.createObjectURL,Ke=URL.revokeObjectURL,Je=ge.Symbol&&ge.Symbol.toStringTag,ut=!1,vt=!1,_t=!!ge.ArrayBuffer,Ut=ye&&ye.prototype.append&&ye.prototype.getBlob;try{ut=new Blob(["\xE4"]).size===2,vt=new Blob([new Uint8Array([1,2])]).size===2}catch(V){}function Bt(V){return V.map(function(q){if(q.buffer instanceof ArrayBuffer){var ue=q.buffer;if(q.byteLength!==ue.byteLength){var me=new Uint8Array(q.byteLength);me.set(new Uint8Array(ue,q.byteOffset,q.byteLength)),ue=me.buffer}return ue}return q})}function dr(V,q){q=q||{};var ue=new ye;return Bt(V).forEach(function(me){ue.append(me)}),q.type?ue.getBlob(q.type):ue.getBlob()}function Oe(V,q){return new Le(Bt(V),q||{})}if(ge.Blob&&(dr.prototype=Blob.prototype,Oe.prototype=Blob.prototype),Je)try{File.prototype[Je]="File",Blob.prototype[Je]="Blob",FileReader.prototype[Je]="FileReader"}catch(V){}function xe(){var V=!!ge.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,q=ge.XMLHttpRequest&&ge.XMLHttpRequest.prototype.send;V&&q&&(XMLHttpRequest.prototype.send=function(me){me instanceof Blob&&this.setRequestHeader("Content-Type",me.type),q.call(this,me)});try{new File([],"")}catch(me){try{var ue=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')();ge.File=ue}catch(Ee){ue=function(dt,Kt,tr){var wt=new Blob(dt,tr),It=tr&&tr.lastModified!==void 0?new Date(tr.lastModified):new Date;return wt.name=Kt,wt.lastModifiedDate=It,wt.lastModified=+It,wt.toString=function(){return"[object File]"},Je&&(wt[Je]="File"),wt},ge.File=ue}}}ut?(xe(),ge.Blob=vt?ge.Blob:Oe):Ut?(xe(),ge.Blob=dr):function(){function V(Nt){for(var $e=[],ot=0;ot<Nt.length;ot++){var ft=Nt.charCodeAt(ot);ft<128?$e.push(ft):ft<2048?$e.push(192|ft>>6,128|63&ft):ft<55296||57344<=ft?$e.push(224|ft>>12,128|ft>>6&63,128|63&ft):(ot++,ft=65536+((1023&ft)<<10|1023&Nt.charCodeAt(ot)),$e.push(240|ft>>18,128|ft>>12&63,128|ft>>6&63,128|63&ft))}return $e}function q(Nt){var $e,ot,ft,ze,Ye,qe;for($e="",ft=Nt.length,ot=0;ot<ft;)switch((ze=Nt[ot++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:$e+=String.fromCharCode(ze);break;case 12:case 13:Ye=Nt[ot++],$e+=String.fromCharCode((31&ze)<<6|63&Ye);break;case 14:Ye=Nt[ot++],qe=Nt[ot++],$e+=String.fromCharCode((15&ze)<<12|(63&Ye)<<6|(63&qe)<<0)}return $e}function ue(Nt){for(var $e=new Array(Nt.byteLength),ot=new Uint8Array(Nt),ft=$e.length;ft--;)$e[ft]=ot[ft];return $e}function me(Nt){for(var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ot=[],ft=0;ft<Nt.length;ft+=3){var ze=Nt[ft],Ye=ft+1<Nt.length,qe=Ye?Nt[ft+1]:0,rt=ft+2<Nt.length,ct=rt?Nt[ft+2]:0,st=ze>>2,et=(3&ze)<<4|qe>>4,Ft=(15&qe)<<2|ct>>6,Ct=63&ct;rt||(Ct=64,Ye||(Ft=64)),ot.push($e[st],$e[et],$e[Ft],$e[Ct])}return ot.join("")}var Ee=Object.create||function(Nt){function $e(){}return $e.prototype=Nt,new $e};if(_t)var Ge=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],dt=ArrayBuffer.isView||function(Nt){return Nt&&-1<Ge.indexOf(Object.prototype.toString.call(Nt))};function Kt(Nt,$e){for(var ot=0,ft=(Nt=Nt||[]).length;ot<ft;ot++){var ze=Nt[ot];ze instanceof Kt?Nt[ot]=ze._buffer:typeof ze=="string"?Nt[ot]=V(ze):_t&&(ArrayBuffer.prototype.isPrototypeOf(ze)||dt(ze))?Nt[ot]=ue(ze):_t&&(Ye=ze)&&DataView.prototype.isPrototypeOf(Ye)?Nt[ot]=ue(ze.buffer):Nt[ot]=V(String(ze))}var Ye;this._buffer=[].concat.apply([],Nt),this.size=this._buffer.length,this.type=$e&&$e.type||""}function tr(Nt,$e,ot){var ft=Kt.call(this,Nt,ot=ot||{})||this;return ft.name=$e,ft.lastModifiedDate=ot.lastModified?new Date(ot.lastModified):new Date,ft.lastModified=+ft.lastModifiedDate,ft}if(Kt.prototype.slice=function(Nt,$e,ot){return new Kt([this._buffer.slice(Nt||0,$e||this._buffer.length)],{type:ot})},Kt.prototype.toString=function(){return"[object Blob]"},(tr.prototype=Ee(Kt.prototype)).constructor=tr,Object.setPrototypeOf)Object.setPrototypeOf(tr,Kt);else try{tr.__proto__=Kt}catch(Nt){}function wt(){if(!(this instanceof wt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Nt=document.createDocumentFragment();this.addEventListener=Nt.addEventListener,this.dispatchEvent=function($e){var ot=this["on"+$e.type];typeof ot=="function"&&ot($e),Nt.dispatchEvent($e)},this.removeEventListener=Nt.removeEventListener}function It(Nt,$e,ot){if(!($e instanceof Kt))throw new TypeError("Failed to execute '"+ot+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Nt.result="",setTimeout(function(){this.readyState=wt.LOADING,Nt.dispatchEvent(new Event("load")),Nt.dispatchEvent(new Event("loadend"))})}tr.prototype.toString=function(){return"[object File]"},wt.EMPTY=0,wt.LOADING=1,wt.DONE=2,wt.prototype.error=null,wt.prototype.onabort=null,wt.prototype.onerror=null,wt.prototype.onload=null,wt.prototype.onloadend=null,wt.prototype.onloadstart=null,wt.prototype.onprogress=null,wt.prototype.readAsDataURL=function(Nt){It(this,Nt,"readAsDataURL"),this.result="data:"+Nt.type+";base64,"+me(Nt._buffer)},wt.prototype.readAsText=function(Nt){It(this,Nt,"readAsText"),this.result=q(Nt._buffer)},wt.prototype.readAsArrayBuffer=function(Nt){It(this,Nt,"readAsText"),this.result=Nt._buffer.slice()},wt.prototype.abort=function(){},URL.createObjectURL=function(Nt){return Nt instanceof Kt?"data:"+Nt.type+";base64,"+me(Nt._buffer):we.call(URL,Nt)},URL.revokeObjectURL=function(Nt){Ke&&Ke.call(URL,Nt)};var Lt=ge.XMLHttpRequest&&ge.XMLHttpRequest.prototype.send;Lt&&(XMLHttpRequest.prototype.send=function(Nt){Nt instanceof Kt?(this.setRequestHeader("Content-Type",Nt.type),Lt.call(this,q(Nt._buffer))):Lt.call(this,Nt)}),ge.FileReader=wt,ge.File=tr,ge.Blob=Kt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")());var At,Me,Ht,tt,Mt,jt,kt,Tt,Dt,Ue,G,Y,Pe,Be,J,St=St||function(ge){if(!(ge===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ye=ge.document,Le=function(){return ge.URL||ge.webkitURL||ge},we=ye.createElementNS("http://www.w3.org/1999/xhtml","a"),Ke="download"in we,Je=/constructor/i.test(ge.HTMLElement)||ge.safari,ut=/CriOS\/[\d]+/.test(navigator.userAgent),vt=ge.setImmediate||ge.setTimeout,_t=function(V){vt(function(){throw V},0)},Ut=function(V){setTimeout(function(){typeof V=="string"?Le().revokeObjectURL(V):V.remove()},4e4)},Bt=function(V){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(V.type)?new Blob([String.fromCharCode(65279),V],{type:V.type}):V},dr=function(V,q,ue){ue||(V=Bt(V));var me,Ee=this,Ge=V.type==="application/octet-stream",dt=function(){!function(tr,wt,It){for(var Lt=(wt=[].concat(wt)).length;Lt--;){var Nt=tr["on"+wt[Lt]];if(typeof Nt=="function")try{Nt.call(tr,It||tr)}catch($e){_t($e)}}}(Ee,"writestart progress write writeend".split(" "))};if(Ee.readyState=Ee.INIT,Ke)return me=Le().createObjectURL(V),void vt(function(){var Kt,tr;we.href=me,we.download=q,Kt=we,tr=new MouseEvent("click"),Kt.dispatchEvent(tr),dt(),Ut(me),Ee.readyState=Ee.DONE},0);!function(){if((ut||Ge&&Je)&&ge.FileReader){var Kt=new FileReader;return Kt.onloadend=function(){var tr=ut?Kt.result:Kt.result.replace(/^data:[^;]*;/,"data:attachment/file;");ge.open(tr,"_blank")||(ge.location.href=tr),tr=void 0,Ee.readyState=Ee.DONE,dt()},Kt.readAsDataURL(V),Ee.readyState=Ee.INIT}me||(me=Le().createObjectURL(V)),Ge?ge.location.href=me:ge.open(me,"_blank")||(ge.location.href=me),Ee.readyState=Ee.DONE,dt(),Ut(me)}()},Oe=dr.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(xe,V,q){return V=V||xe.name||"download",q||(xe=Bt(xe)),navigator.msSaveOrOpenBlob(xe,V)}:(Oe.abort=function(){},Oe.readyState=Oe.INIT=0,Oe.WRITING=1,Oe.DONE=2,Oe.error=Oe.onwritestart=Oe.onprogress=Oe.onwrite=Oe.onabort=Oe.onerror=Oe.onwriteend=null,function(xe,V,q){return new dr(xe,V||xe.name||"download",q)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function bt(ge){var ye=0;if(ge[ye++]!==71||ge[ye++]!==73||ge[ye++]!==70||ge[ye++]!==56||(ge[ye++]+1&253)!=56||ge[ye++]!==97)throw"Invalid GIF 87a/89a header.";var Le=ge[ye++]|ge[ye++]<<8,we=ge[ye++]|ge[ye++]<<8,Ke=ge[ye++],Je=Ke>>7,ut=1<<(7&Ke)+1;ge[ye++],ge[ye++];var vt=null;Je&&(vt=ye,ye+=3*ut);var _t=!0,Ut=[],Bt=0,dr=null,Oe=0,xe=null;for(this.width=Le,this.height=we;_t&&ye<ge.length;)switch(ge[ye++]){case 33:switch(ge[ye++]){case 255:if(ge[ye]!==11||ge[ye+1]==78&&ge[ye+2]==69&&ge[ye+3]==84&&ge[ye+4]==83&&ge[ye+5]==67&&ge[ye+6]==65&&ge[ye+7]==80&&ge[ye+8]==69&&ge[ye+9]==50&&ge[ye+10]==46&&ge[ye+11]==48&&ge[ye+12]==3&&ge[ye+13]==1&&ge[ye+16]==0)ye+=14,xe=ge[ye++]|ge[ye++]<<8,ye++;else for(ye+=12;!((It=ge[ye++])===0);)ye+=It;break;case 249:if(ge[ye++]!==4||ge[ye+4]!==0)throw"Invalid graphics extension block.";var V=ge[ye++];Bt=ge[ye++]|ge[ye++]<<8,dr=ge[ye++],(1&V)==0&&(dr=null),Oe=V>>2&7,ye++;break;case 254:for(;!((It=ge[ye++])===0);)ye+=It;break;default:throw"Unknown graphic control label: 0x"+ge[ye-1].toString(16)}break;case 44:var q=ge[ye++]|ge[ye++]<<8,ue=ge[ye++]|ge[ye++]<<8,me=ge[ye++]|ge[ye++]<<8,Ee=ge[ye++]|ge[ye++]<<8,Ge=ge[ye++],dt=Ge>>6&1,Kt=vt,tr=!1;Ge>>7&&(tr=!0,Kt=ye,ye+=3*(1<<(7&Ge)+1));var wt=ye;for(ye++;;){var It;if((It=ge[ye++])===0)break;ye+=It}Ut.push({x:q,y:ue,width:me,height:Ee,has_local_palette:tr,palette_offset:Kt,data_offset:wt,data_length:ye-wt,transparent_index:dr,interlaced:!!dt,delay:Bt,disposal:Oe});break;case 59:_t=!1;break;default:throw"Unknown gif block: 0x"+ge[ye-1].toString(16)}this.numFrames=function(){return Ut.length},this.loopCount=function(){return xe},this.frameInfo=function(Lt){if(Lt<0||Lt>=Ut.length)throw"Frame index out of range.";return Ut[Lt]},this.decodeAndBlitFrameBGRA=function(Lt,Nt){var $e=this.frameInfo(Lt),ot=$e.width*$e.height,ft=new Uint8Array(ot);nt(ge,$e.data_offset,ft,ot);var ze=$e.palette_offset,Ye=$e.transparent_index;Ye===null&&(Ye=256);var qe=$e.width,rt=Le-qe,ct=qe,st=4*($e.y*Le+$e.x),et=4*(($e.y+$e.height)*Le+$e.x),Ft=st,Ct=4*rt;$e.interlaced===!0&&(Ct+=4*(qe+rt)*7);for(var ir=8,Xt=0,_r=ft.length;Xt<_r;++Xt){var Br=ft[Xt];if(ct===0&&(ct=qe,et<=(Ft+=Ct)&&(Ct=rt+4*(qe+rt)*(ir-1),Ft=st+(qe+rt)*(ir<<1),ir>>=1)),Br===Ye)Ft+=4;else{var Gr=ge[ze+3*Br],un=ge[ze+3*Br+1],mn=ge[ze+3*Br+2];Nt[Ft++]=mn,Nt[Ft++]=un,Nt[Ft++]=Gr,Nt[Ft++]=255}--ct}},this.decodeAndBlitFrameRGBA=function(Lt,Nt){var $e=this.frameInfo(Lt),ot=$e.width*$e.height,ft=new Uint8Array(ot);nt(ge,$e.data_offset,ft,ot);var ze=$e.palette_offset,Ye=$e.transparent_index;Ye===null&&(Ye=256);var qe=$e.width,rt=Le-qe,ct=qe,st=4*($e.y*Le+$e.x),et=4*(($e.y+$e.height)*Le+$e.x),Ft=st,Ct=4*rt;$e.interlaced===!0&&(Ct+=4*(qe+rt)*7);for(var ir=8,Xt=0,_r=ft.length;Xt<_r;++Xt){var Br=ft[Xt];if(ct===0&&(ct=qe,et<=(Ft+=Ct)&&(Ct=rt+4*(qe+rt)*(ir-1),Ft=st+(qe+rt)*(ir<<1),ir>>=1)),Br===Ye)Ft+=4;else{var Gr=ge[ze+3*Br],un=ge[ze+3*Br+1],mn=ge[ze+3*Br+2];Nt[Ft++]=Gr,Nt[Ft++]=un,Nt[Ft++]=mn,Nt[Ft++]=255}--ct}}}function nt(ge,ye,Le,we){for(var Ke=ge[ye++],Je=1<<Ke,ut=Je+1,vt=ut+1,_t=Ke+1,Ut=(1<<_t)-1,Bt=0,dr=0,Oe=0,xe=ge[ye++],V=new Int32Array(4096),q=null;;){for(;Bt<16&&xe!==0;)dr|=ge[ye++]<<Bt,Bt+=8,xe===1?xe=ge[ye++]:--xe;if(Bt<_t)break;var ue=dr&Ut;if(dr>>=_t,Bt-=_t,ue!==Je){if(ue===ut)break;for(var me=ue<vt?ue:q,Ee=0,Ge=me;Je<Ge;)Ge=V[Ge]>>8,++Ee;var dt=Ge;if(we<Oe+Ee+(me!==ue?1:0))return void console.log("Warning, gif stream longer than expected.");Le[Oe++]=dt;var Kt=Oe+=Ee;for(me!==ue&&(Le[Oe++]=dt),Ge=me;Ee--;)Ge=V[Ge],Le[--Kt]=255&Ge,Ge>>=8;q!==null&&vt<4096&&(V[vt++]=q<<8|dt,Ut+1<=vt&&_t<12&&(++_t,Ut=Ut<<1|1)),q=ue}else vt=ut+1,Ut=(1<<(_t=Ke+1))-1,q=null}return Oe!==we&&console.log("Warning, gif stream shorter than expected."),Le}try{N.GifWriter=function(ge,ye,Le,we){var Ke=0,Je=(we=we===void 0?{}:we).loop===void 0?null:we.loop,ut=we.palette===void 0?null:we.palette;if(ye<=0||Le<=0||65535<ye||65535<Le)throw"Width/Height invalid.";function vt(q){var ue=q.length;if(ue<2||256<ue||ue&ue-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return ue}ge[Ke++]=71,ge[Ke++]=73,ge[Ke++]=70,ge[Ke++]=56,ge[Ke++]=57,ge[Ke++]=97;var _t=0,Ut=0;if(ut!==null){for(var Bt=vt(ut);Bt>>=1;)++_t;if(Bt=1<<_t,--_t,we.background!==void 0){if(Bt<=(Ut=we.background))throw"Background index out of range.";if(Ut===0)throw"Background index explicitly passed as 0."}}if(ge[Ke++]=255&ye,ge[Ke++]=ye>>8&255,ge[Ke++]=255&Le,ge[Ke++]=Le>>8&255,ge[Ke++]=(ut!==null?128:0)|_t,ge[Ke++]=Ut,ge[Ke++]=0,ut!==null)for(var dr=0,Oe=ut.length;dr<Oe;++dr){var xe=ut[dr];ge[Ke++]=xe>>16&255,ge[Ke++]=xe>>8&255,ge[Ke++]=255&xe}if(Je!==null){if(Je<0||65535<Je)throw"Loop count invalid.";ge[Ke++]=33,ge[Ke++]=255,ge[Ke++]=11,ge[Ke++]=78,ge[Ke++]=69,ge[Ke++]=84,ge[Ke++]=83,ge[Ke++]=67,ge[Ke++]=65,ge[Ke++]=80,ge[Ke++]=69,ge[Ke++]=50,ge[Ke++]=46,ge[Ke++]=48,ge[Ke++]=3,ge[Ke++]=1,ge[Ke++]=255&Je,ge[Ke++]=Je>>8&255,ge[Ke++]=0}var V=!1;this.addFrame=function(q,ue,me,Ee,Ge,dt){if(V===!0&&(--Ke,V=!1),dt=dt===void 0?{}:dt,q<0||ue<0||65535<q||65535<ue)throw"x/y invalid.";if(me<=0||Ee<=0||65535<me||65535<Ee)throw"Width/Height invalid.";if(Ge.length<me*Ee)throw"Not enough pixels for the frame size.";var Kt=!0,tr=dt.palette;if(tr==null&&(Kt=!1,tr=ut),tr==null)throw"Must supply either a local or global palette.";for(var wt=vt(tr),It=0;wt>>=1;)++It;wt=1<<It;var Lt=dt.delay===void 0?0:dt.delay,Nt=dt.disposal===void 0?0:dt.disposal;if(Nt<0||3<Nt)throw"Disposal out of range.";var $e=!1,ot=0;if(dt.transparent!==void 0&&dt.transparent!==null&&($e=!0,(ot=dt.transparent)<0||wt<=ot))throw"Transparent color index.";if((Nt!==0||$e||Lt!==0)&&(ge[Ke++]=33,ge[Ke++]=249,ge[Ke++]=4,ge[Ke++]=Nt<<2|($e===!0?1:0),ge[Ke++]=255&Lt,ge[Ke++]=Lt>>8&255,ge[Ke++]=ot,ge[Ke++]=0),ge[Ke++]=44,ge[Ke++]=255&q,ge[Ke++]=q>>8&255,ge[Ke++]=255&ue,ge[Ke++]=ue>>8&255,ge[Ke++]=255&me,ge[Ke++]=me>>8&255,ge[Ke++]=255&Ee,ge[Ke++]=Ee>>8&255,ge[Ke++]=Kt===!0?128|It-1:0,Kt===!0)for(var ft=0,ze=tr.length;ft<ze;++ft){var Ye=tr[ft];ge[Ke++]=Ye>>16&255,ge[Ke++]=Ye>>8&255,ge[Ke++]=255&Ye}Ke=function(qe,rt,ct,st){qe[rt++]=ct;var et=rt++,Ft=1<<ct,Ct=Ft-1,ir=Ft+1,Xt=ir+1,_r=ct+1,Br=0,Gr=0;function un(Mr){for(;Mr<=Br;)qe[rt++]=255&Gr,Gr>>=8,Br-=8,rt===et+256&&(qe[et]=255,et=rt++)}function mn(Mr){Gr|=Mr<<Br,Br+=_r,un(8)}var _n=st[0]&Ct,qr={};mn(Ft);for(var yn=1,nn=st.length;yn<nn;++yn){var cr=st[yn]&Ct,Pr=_n<<8|cr,Ar=qr[Pr];if(Ar===void 0){for(Gr|=_n<<Br,Br+=_r;8<=Br;)qe[rt++]=255&Gr,Gr>>=8,Br-=8,rt===et+256&&(qe[et]=255,et=rt++);Xt===4096?(mn(Ft),Xt=ir+1,_r=ct+1,qr={}):(1<<_r<=Xt&&++_r,qr[Pr]=Xt++),_n=cr}else _n=Ar}return mn(_n),mn(ir),un(1),et+1===rt?qe[et]=0:(qe[et]=rt-et-1,qe[rt++]=0),rt}(ge,Ke,It<2?2:It,Ge)},this.end=function(){return V===!1&&(ge[Ke++]=59,V=!0),Ke}},N.GifReader=bt}catch(ge){}function Rt(ge){var ye,Le,we,Ke,Je,ut=Math.floor,vt=new Array(64),_t=new Array(64),Ut=new Array(64),Bt=new Array(64),dr=new Array(65535),Oe=new Array(65535),xe=new Array(64),V=new Array(64),q=[],ue=0,me=7,Ee=new Array(64),Ge=new Array(64),dt=new Array(64),Kt=new Array(256),tr=new Array(2048),wt=[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],It=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Lt=[0,1,2,3,4,5,6,7,8,9,10,11],Nt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],$e=[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],ot=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ft=[0,1,2,3,4,5,6,7,8,9,10,11],ze=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ye=[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 qe(Ct,ir){for(var Xt=0,_r=0,Br=new Array,Gr=1;Gr<=16;Gr++){for(var un=1;un<=Ct[Gr];un++)Br[ir[_r]]=[],Br[ir[_r]][0]=Xt,Br[ir[_r]][1]=Gr,_r++,Xt++;Xt*=2}return Br}function rt(Ct){for(var ir=Ct[0],Xt=Ct[1]-1;0<=Xt;)ir&1<<Xt&&(ue|=1<<me),Xt--,--me<0&&(ue==255?(ct(255),ct(0)):ct(ue),me=7,ue=0)}function ct(Ct){q.push(Ct)}function st(Ct){ct(Ct>>8&255),ct(255&Ct)}function et(Ct,ir,Xt,_r,Br){for(var Gr,un=Br[0],mn=Br[240],_n=function(En,Rn){var oi,An,mi,ai,Xr,pn,Ln,tn,$t,yr,kr=0;for($t=0;$t<8;++$t){oi=En[kr],An=En[kr+1],mi=En[kr+2],ai=En[kr+3],Xr=En[kr+4],pn=En[kr+5],Ln=En[kr+6];var gr=oi+(tn=En[kr+7]),Kr=oi-tn,sn=An+Ln,Ir=An-Ln,Rr=mi+pn,ar=mi-pn,Tr=ai+Xr,br=ai-Xr,fr=gr+Tr,zr=gr-Tr,wn=sn+Rr,On=sn-Rr;En[kr]=fr+wn,En[kr+4]=fr-wn;var Wn=.707106781*(On+zr);En[kr+2]=zr+Wn,En[kr+6]=zr-Wn;var Xn=.382683433*((fr=br+ar)-(On=Ir+Kr)),ii=.5411961*fr+Xn,li=1.306562965*On+Xn,bi=.707106781*(wn=ar+Ir),gi=Kr+bi,Ni=Kr-bi;En[kr+5]=Ni+ii,En[kr+3]=Ni-ii,En[kr+1]=gi+li,En[kr+7]=gi-li,kr+=8}for($t=kr=0;$t<8;++$t){oi=En[kr],An=En[kr+8],mi=En[kr+16],ai=En[kr+24],Xr=En[kr+32],pn=En[kr+40],Ln=En[kr+48];var ki=oi+(tn=En[kr+56]),sa=oi-tn,Wi=An+Ln,Ta=An-Ln,La=mi+pn,ta=mi-pn,Ka=ai+Xr,ni=ai-Xr,zi=ki+Ka,Va=ki-Ka,Za=Wi+La,Oa=Wi-La;En[kr]=zi+Za,En[kr+32]=zi-Za;var ma=.707106781*(Oa+Va);En[kr+16]=Va+ma,En[kr+48]=Va-ma;var xr=.382683433*((zi=ni+ta)-(Oa=Ta+sa)),nr=.5411961*zi+xr,ln=1.306562965*Oa+xr,er=.707106781*(Za=ta+Ta),hr=sa+er,Dr=sa-er;En[kr+40]=Dr+nr,En[kr+24]=Dr-nr,En[kr+8]=hr+ln,En[kr+56]=hr-ln,kr++}for($t=0;$t<64;++$t)yr=En[$t]*Rn[$t],xe[$t]=0<yr?yr+.5|0:yr-.5|0;return xe}(Ct,ir),qr=0;qr<64;++qr)V[wt[qr]]=_n[qr];var yn=V[0]-Xt;Xt=V[0],yn==0?rt(_r[0]):(rt(_r[Oe[Gr=32767+yn]]),rt(dr[Gr]));for(var nn=63;0<nn&&V[nn]==0;nn--);if(nn==0)return rt(un),Xt;for(var cr,Pr=1;Pr<=nn;){for(var Ar=Pr;V[Pr]==0&&Pr<=nn;++Pr);var Mr=Pr-Ar;if(16<=Mr){cr=Mr>>4;for(var fn=1;fn<=cr;++fn)rt(mn);Mr&=15}Gr=32767+V[Pr],rt(Br[(Mr<<4)+Oe[Gr]]),rt(dr[Gr]),Pr++}return nn!=63&&rt(un),Xt}function Ft(Ct){(Ct<=0&&(Ct=1),100<Ct&&(Ct=100),Je!=Ct)&&(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],_r=0;_r<64;_r++){var Br=ut((Xt[_r]*ir+50)/100);Br<1?Br=1:255<Br&&(Br=255),vt[wt[_r]]=Br}for(var Gr=[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],un=0;un<64;un++){var mn=ut((Gr[un]*ir+50)/100);mn<1?mn=1:255<mn&&(mn=255),_t[wt[un]]=mn}for(var _n=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],qr=0,yn=0;yn<8;yn++)for(var nn=0;nn<8;nn++)Ut[qr]=1/(vt[wt[qr]]*_n[yn]*_n[nn]*8),Bt[qr]=1/(_t[wt[qr]]*_n[yn]*_n[nn]*8),qr++}(Ct<50?Math.floor(5e3/Ct):Math.floor(200-2*Ct)),Je=Ct)}this.encode=function(Ct,ir){var Xt,_r;new Date().getTime(),ir&&Ft(ir),q=new Array,ue=0,me=7,st(65496),st(65504),st(16),ct(74),ct(70),ct(73),ct(70),ct(0),ct(1),ct(1),ct(0),st(1),st(1),ct(0),ct(0),function(){st(65499),st(132),ct(0);for(var ai=0;ai<64;ai++)ct(vt[ai]);ct(1);for(var Xr=0;Xr<64;Xr++)ct(_t[Xr])}(),Xt=Ct.width,_r=Ct.height,st(65472),st(17),ct(8),st(_r),st(Xt),ct(3),ct(1),ct(17),ct(0),ct(2),ct(17),ct(1),ct(3),ct(17),ct(1),function(){st(65476),st(418),ct(0);for(var ai=0;ai<16;ai++)ct(It[ai+1]);for(var Xr=0;Xr<=11;Xr++)ct(Lt[Xr]);ct(16);for(var pn=0;pn<16;pn++)ct(Nt[pn+1]);for(var Ln=0;Ln<=161;Ln++)ct($e[Ln]);ct(1);for(var tn=0;tn<16;tn++)ct(ot[tn+1]);for(var $t=0;$t<=11;$t++)ct(ft[$t]);ct(17);for(var yr=0;yr<16;yr++)ct(ze[yr+1]);for(var kr=0;kr<=161;kr++)ct(Ye[kr])}(),st(65498),st(12),ct(3),ct(1),ct(0),ct(2),ct(17),ct(3),ct(17),ct(0),ct(63),ct(0);var Br=0,Gr=0,un=0;ue=0,me=7,this.encode.displayName="_encode_";for(var mn,_n,qr,yn,nn,cr,Pr,Ar,Mr,fn=Ct.data,En=Ct.width,Rn=Ct.height,oi=4*En,An=0;An<Rn;){for(mn=0;mn<oi;){for(cr=nn=oi*An+mn,Pr=-1,Mr=Ar=0;Mr<64;Mr++)cr=nn+(Ar=Mr>>3)*oi+(Pr=4*(7&Mr)),Rn<=An+Ar&&(cr-=oi*(An+1+Ar-Rn)),oi<=mn+Pr&&(cr-=mn+Pr-oi+4),_n=fn[cr++],qr=fn[cr++],yn=fn[cr++],Ee[Mr]=(tr[_n]+tr[qr+256>>0]+tr[yn+512>>0]>>16)-128,Ge[Mr]=(tr[_n+768>>0]+tr[qr+1024>>0]+tr[yn+1280>>0]>>16)-128,dt[Mr]=(tr[_n+1280>>0]+tr[qr+1536>>0]+tr[yn+1792>>0]>>16)-128;Br=et(Ee,Ut,Br,ye,we),Gr=et(Ge,Bt,Gr,Le,Ke),un=et(dt,Bt,un,Le,Ke),mn+=32}An+=8}if(0<=me){var mi=[];mi[1]=me+1,mi[0]=(1<<me+1)-1,rt(mi)}return st(65497),new Uint8Array(q)},function(){new Date().getTime(),ge||(ge=50),function(){for(var Ct=String.fromCharCode,ir=0;ir<256;ir++)Kt[ir]=Ct(ir)}(),ye=qe(It,Lt),Le=qe(ot,ft),we=qe(Nt,$e),Ke=qe(ze,Ye),function(){for(var Ct=1,ir=2,Xt=1;Xt<=15;Xt++){for(var _r=Ct;_r<ir;_r++)Oe[32767+_r]=Xt,dr[32767+_r]=[],dr[32767+_r][1]=Xt,dr[32767+_r][0]=_r;for(var Br=-(ir-1);Br<=-Ct;Br++)Oe[32767+Br]=Xt,dr[32767+Br]=[],dr[32767+Br][1]=Xt,dr[32767+Br][0]=ir-1+Br;Ct<<=1,ir<<=1}}(),function(){for(var Ct=0;Ct<256;Ct++)tr[Ct]=19595*Ct,tr[Ct+256>>0]=38470*Ct,tr[Ct+512>>0]=7471*Ct+32768,tr[Ct+768>>0]=-11059*Ct,tr[Ct+1024>>0]=-21709*Ct,tr[Ct+1280>>0]=32768*Ct+8421375,tr[Ct+1536>>0]=-27439*Ct,tr[Ct+1792>>0]=-5329*Ct}(),Ft(ge),new Date().getTime()}()}function zt(ge,ye){if(this.pos=0,this.buffer=ge,this.datav=new DataView(ge.buffer),this.is_with_alpha=!!ye,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=bt,lt.API.adler32cs=(jt=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",kt=null,Tt=function(){if(!jt)return function(){return!1};try{var ge={};typeof ge.Buffer=="function"&&(kt=ge.Buffer)}catch(ye){}return function(ye){return ye instanceof ArrayBuffer||kt!==null&&ye instanceof kt}}(),Dt=kt!==null?function(ge){return new kt(ge,"utf8").toString("binary")}:function(ge){return unescape(encodeURIComponent(ge))},Ue=function(ye,Le){for(var we=65535&ye,Ke=ye>>>16,Je=0,ut=Le.length;Je<ut;Je++)we=(we+(255&Le.charCodeAt(Je)))%65521,Ke=(Ke+we)%65521;return(Ke<<16|we)>>>0},G=function(ye,Le){for(var we=65535&ye,Ke=ye>>>16,Je=0,ut=Le.length;Je<ut;Je++)we=(we+Le[Je])%65521,Ke=(Ke+we)%65521;return(Ke<<16|we)>>>0},Pe=(Y={}).Adler32=(((Mt=(tt=function(ye){if(!(this instanceof tt))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ye=ye==null?1:+ye))throw new Error("First arguments needs to be a finite number.");this.checksum=ye>>>0}).prototype={}).constructor=tt).from=((At=function(ye){if(!(this instanceof tt))throw new TypeError("Constructor cannot called be as a function.");if(ye==null)throw new Error("First argument needs to be a string.");this.checksum=Ue(1,ye.toString())}).prototype=Mt,At),tt.fromUtf8=((Me=function(ye){if(!(this instanceof tt))throw new TypeError("Constructor cannot called be as a function.");if(ye==null)throw new Error("First argument needs to be a string.");var Le=Dt(ye.toString());this.checksum=Ue(1,Le)}).prototype=Mt,Me),jt&&(tt.fromBuffer=((Ht=function(ye){if(!(this instanceof tt))throw new TypeError("Constructor cannot called be as a function.");if(!Tt(ye))throw new Error("First argument needs to be ArrayBuffer.");var Le=new Uint8Array(ye);return this.checksum=G(1,Le)}).prototype=Mt,Ht)),Mt.update=function(ge){if(ge==null)throw new Error("First argument needs to be a string.");return ge=ge.toString(),this.checksum=Ue(this.checksum,ge)},Mt.updateUtf8=function(ge){if(ge==null)throw new Error("First argument needs to be a string.");var ye=Dt(ge.toString());return this.checksum=Ue(this.checksum,ye)},jt&&(Mt.updateBuffer=function(ge){if(!Tt(ge))throw new Error("First argument needs to be ArrayBuffer.");var ye=new Uint8Array(ge);return this.checksum=G(this.checksum,ye)}),Mt.clone=function(){return new Pe(this.checksum)},tt),Y.from=function(ge){if(ge==null)throw new Error("First argument needs to be a string.");return Ue(1,ge.toString())},Y.fromUtf8=function(ge){if(ge==null)throw new Error("First argument needs to be a string.");var ye=Dt(ge.toString());return Ue(1,ye)},jt&&(Y.fromBuffer=function(ge){if(!Tt(ge))throw new Error("First argument need to be ArrayBuffer.");var ye=new Uint8Array(ge);return G(1,ye)}),Y),function(ge){ge.__bidiEngine__=ge.prototype.__bidiEngine__=function(we){var Ke,Je,ut,vt,_t,Ut,Bt,dr=ye,Oe=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],xe=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],V={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},q={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},ue=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],me=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)$/),Ee=!1,Ge=0;this.__bidiEngine__={};var dt=function(ot){var ft=ot.charCodeAt(),ze=ft>>8,Ye=q[ze];return Ye!==void 0?dr[256*Ye+(255&ft)]:ze===252||ze===253?"AL":me.test(ze)?"L":ze===8?"R":"N"},Kt=function(ot){for(var ft,ze=0;ze<ot.length;ze++){if((ft=dt(ot.charAt(ze)))==="L")return!1;if(ft==="R")return!0}return!1},tr=function(ot,ft,ze,Ye){var qe,rt,ct,st,et=ft[Ye];switch(et){case"L":case"R":Ee=!1;break;case"N":case"AN":break;case"EN":Ee&&(et="AN");break;case"AL":Ee=!0,et="R";break;case"WS":et="N";break;case"CS":Ye<1||Ye+1>=ft.length||(qe=ze[Ye-1])!=="EN"&&qe!=="AN"||(rt=ft[Ye+1])!=="EN"&&rt!=="AN"?et="N":Ee&&(rt="AN"),et=rt===qe?rt:"N";break;case"ES":et=(qe=0<Ye?ze[Ye-1]:"B")==="EN"&&Ye+1<ft.length&&ft[Ye+1]==="EN"?"EN":"N";break;case"ET":if(0<Ye&&ze[Ye-1]==="EN"){et="EN";break}if(Ee){et="N";break}for(ct=Ye+1,st=ft.length;ct<st&&ft[ct]==="ET";)ct++;et=ct<st&&ft[ct]==="EN"?"EN":"N";break;case"NSM":if(ut&&!vt){for(st=ft.length,ct=Ye+1;ct<st&&ft[ct]==="NSM";)ct++;if(ct<st){var Ft=ot[Ye],Ct=1425<=Ft&&Ft<=2303||Ft===64286;if(qe=ft[ct],Ct&&(qe==="R"||qe==="AL")){et="R";break}}}et=Ye<1||(qe=ft[Ye-1])==="B"?"N":ze[Ye-1];break;case"B":Ke=!(Ee=!1),et=Ge;break;case"S":Je=!0,et="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ee=!1;break;case"BN":et="N"}return et},wt=function(ot,ft,ze){var Ye=ot.split("");return ze&&It(Ye,ze,{hiLevel:Ge}),Ye.reverse(),ft&&ft.reverse(),Ye.join("")},It=function(ot,ft,ze){var Ye,qe,rt,ct,st,et=-1,Ft=ot.length,Ct=0,ir=[],Xt=Ge?xe:Oe,_r=[];for(Je=Ke=Ee=!1,qe=0;qe<Ft;qe++)_r[qe]=dt(ot[qe]);for(rt=0;rt<Ft;rt++){if(st=Ct,ir[rt]=tr(ot,_r,ir,rt),Ye=240&(Ct=Xt[st][V[ir[rt]]]),Ct&=15,ft[rt]=ct=Xt[Ct][5],0<Ye)if(Ye===16){for(qe=et;qe<rt;qe++)ft[qe]=1;et=-1}else et=-1;if(Xt[Ct][6])et===-1&&(et=rt);else if(-1<et){for(qe=et;qe<rt;qe++)ft[qe]=ct;et=-1}_r[rt]==="B"&&(ft[rt]=0),ze.hiLevel|=ct}Je&&function(Br,Gr,un){for(var mn=0;mn<un;mn++)if(Br[mn]==="S"){Gr[mn]=Ge;for(var _n=mn-1;0<=_n&&Br[_n]==="WS";_n--)Gr[_n]=Ge}}(_r,ft,Ft)},Lt=function(ot,ft,ze,Ye,qe){if(!(qe.hiLevel<ot)){if(ot===1&&Ge===1&&!Ke)return ft.reverse(),void(ze&&ze.reverse());for(var rt,ct,st,et,Ft=ft.length,Ct=0;Ct<Ft;){if(Ye[Ct]>=ot){for(st=Ct+1;st<Ft&&Ye[st]>=ot;)st++;for(et=Ct,ct=st-1;et<ct;et++,ct--)rt=ft[et],ft[et]=ft[ct],ft[ct]=rt,ze&&(rt=ze[et],ze[et]=ze[ct],ze[ct]=rt);Ct=st}Ct++}}},Nt=function(ot,ft,ze){var Ye=ot.split(""),qe={hiLevel:Ge};return ze||(ze=[]),It(Ye,ze,qe),function(rt,ct,st){if(st.hiLevel!==0&&Bt)for(var et,Ft=0;Ft<rt.length;Ft++)ct[Ft]===1&&0<=(et=ue.indexOf(rt[Ft]))&&(rt[Ft]=ue[et+1])}(Ye,ze,qe),Lt(2,Ye,ft,ze,qe),Lt(1,Ye,ft,ze,qe),Ye.join("")};return this.__bidiEngine__.doBidiReorder=function($e,ot,ft){if(function(Ye,qe){if(qe)for(var rt=0;rt<Ye.length;rt++)qe[rt]=rt;vt===void 0&&(vt=Kt(Ye)),Ut===void 0&&(Ut=Kt(Ye))}($e,ot),ut||!_t||Ut)if(ut&&_t&&vt^Ut)Ge=vt?1:0,$e=wt($e,ot,ft);else if(!ut&&_t&&Ut)Ge=vt?1:0,$e=Nt($e,ot,ft),$e=wt($e,ot);else if(!ut||vt||_t||Ut){if(ut&&!_t&&vt^Ut)$e=wt($e,ot),$e=vt?(Ge=0,Nt($e,ot,ft)):(Ge=1,$e=Nt($e,ot,ft),wt($e,ot));else if(ut&&vt&&!_t&&Ut)Ge=1,$e=Nt($e,ot,ft),$e=wt($e,ot);else if(!ut&&!_t&&vt^Ut){var ze=Bt;vt?(Ge=1,$e=Nt($e,ot,ft),Ge=0,Bt=!1,$e=Nt($e,ot,ft),Bt=ze):(Ge=0,$e=Nt($e,ot,ft),$e=wt($e,ot),Bt=!(Ge=1),$e=Nt($e,ot,ft),Bt=ze,$e=wt($e,ot))}}else Ge=0,$e=Nt($e,ot,ft);else Ge=vt?1:0,$e=Nt($e,ot,ft);return $e},this.__bidiEngine__.setOptions=function($e){$e&&(ut=$e.isInputVisual,_t=$e.isOutputVisual,vt=$e.isInputRtl,Ut=$e.isOutputRtl,Bt=$e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(we),this.__bidiEngine__};var ye=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],Le=new ge.__bidiEngine__({isInputVisual:!0});ge.API.events.push(["postProcessText",function(we){var Ke=we.text,Je=(we.x,we.y,we.options||{}),ut=(we.mutex,Je.lang,[]);if(Object.prototype.toString.call(Ke)==="[object Array]"){var vt=0;for(ut=[],vt=0;vt<Ke.length;vt+=1)Object.prototype.toString.call(Ke[vt])==="[object Array]"?ut.push([Le.doBidiReorder(Ke[vt][0]),Ke[vt][1],Ke[vt][2]]):ut.push([Le.doBidiReorder(Ke[vt])]);we.text=ut}else we.text=Le.doBidiReorder(Ke)}])}(lt),window.tmp=Rt,zt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var ge=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(ge);for(var ye=0;ye<ge;ye++){var Le=this.datav.getUint8(this.pos++,!0),we=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0);this.palette[ye]={red:Ke,green:we,blue:Le,quad:Je}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},zt.prototype.parseBGR=function(){this.pos=this.offset;try{var ge="bit"+this.bitPP,ye=this.width*this.height*4;this.data=new Uint8Array(ye),this[ge]()}catch(Le){console.log("bit decode error:"+Le)}},zt.prototype.bit1=function(){var ge=Math.ceil(this.width/8),ye=ge%4,Le=0<=this.height?this.height-1:-this.height;for(Le=this.height-1;0<=Le;Le--){for(var we=this.bottom_up?Le:this.height-1-Le,Ke=0;Ke<ge;Ke++)for(var Je=this.datav.getUint8(this.pos++,!0),ut=we*this.width*4+8*Ke*4,vt=0;vt<8&&8*Ke+vt<this.width;vt++){var _t=this.palette[Je>>7-vt&1];this.data[ut+4*vt]=_t.blue,this.data[ut+4*vt+1]=_t.green,this.data[ut+4*vt+2]=_t.red,this.data[ut+4*vt+3]=255}ye!=0&&(this.pos+=4-ye)}},zt.prototype.bit4=function(){for(var ge=Math.ceil(this.width/2),ye=ge%4,Le=this.height-1;0<=Le;Le--){for(var we=this.bottom_up?Le:this.height-1-Le,Ke=0;Ke<ge;Ke++){var Je=this.datav.getUint8(this.pos++,!0),ut=we*this.width*4+2*Ke*4,vt=Je>>4,_t=15&Je,Ut=this.palette[vt];if(this.data[ut]=Ut.blue,this.data[ut+1]=Ut.green,this.data[ut+2]=Ut.red,this.data[ut+3]=255,2*Ke+1>=this.width)break;Ut=this.palette[_t],this.data[ut+4]=Ut.blue,this.data[ut+4+1]=Ut.green,this.data[ut+4+2]=Ut.red,this.data[ut+4+3]=255}ye!=0&&(this.pos+=4-ye)}},zt.prototype.bit8=function(){for(var ge=this.width%4,ye=this.height-1;0<=ye;ye--){for(var Le=this.bottom_up?ye:this.height-1-ye,we=0;we<this.width;we++){var Ke=this.datav.getUint8(this.pos++,!0),Je=Le*this.width*4+4*we;if(Ke<this.palette.length){var ut=this.palette[Ke];this.data[Je]=ut.red,this.data[Je+1]=ut.green,this.data[Je+2]=ut.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}ge!=0&&(this.pos+=4-ge)}},zt.prototype.bit15=function(){for(var ge=this.width%3,ye=parseInt("11111",2),Le=this.height-1;0<=Le;Le--){for(var we=this.bottom_up?Le:this.height-1-Le,Ke=0;Ke<this.width;Ke++){var Je=this.datav.getUint16(this.pos,!0);this.pos+=2;var ut=(Je&ye)/ye*255|0,vt=(Je>>5&ye)/ye*255|0,_t=(Je>>10&ye)/ye*255|0,Ut=Je>>15?255:0,Bt=we*this.width*4+4*Ke;this.data[Bt]=_t,this.data[Bt+1]=vt,this.data[Bt+2]=ut,this.data[Bt+3]=Ut}this.pos+=ge}},zt.prototype.bit16=function(){for(var ge=this.width%3,ye=parseInt("11111",2),Le=parseInt("111111",2),we=this.height-1;0<=we;we--){for(var Ke=this.bottom_up?we:this.height-1-we,Je=0;Je<this.width;Je++){var ut=this.datav.getUint16(this.pos,!0);this.pos+=2;var vt=(ut&ye)/ye*255|0,_t=(ut>>5&Le)/Le*255|0,Ut=(ut>>11)/ye*255|0,Bt=Ke*this.width*4+4*Je;this.data[Bt]=Ut,this.data[Bt+1]=_t,this.data[Bt+2]=vt,this.data[Bt+3]=255}this.pos+=ge}},zt.prototype.bit24=function(){for(var ge=this.height-1;0<=ge;ge--){for(var ye=this.bottom_up?ge:this.height-1-ge,Le=0;Le<this.width;Le++){var we=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),ut=ye*this.width*4+4*Le;this.data[ut]=Je,this.data[ut+1]=Ke,this.data[ut+2]=we,this.data[ut+3]=255}this.pos+=this.width%4}},zt.prototype.bit32=function(){for(var ge=this.height-1;0<=ge;ge--)for(var ye=this.bottom_up?ge:this.height-1-ge,Le=0;Le<this.width;Le++){var we=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),ut=this.datav.getUint8(this.pos++,!0),vt=ye*this.width*4+4*Le;this.data[vt]=Je,this.data[vt+1]=Ke,this.data[vt+2]=we,this.data[vt+3]=ut}},zt.prototype.getData=function(){return this.data},window.tmp=zt,function(ge){var ye=15,Le=573,we=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Ke(){var xe=this;function V(q,ue){for(var me=0;me|=1&q,q>>>=1,me<<=1,0<--ue;);return me>>>1}xe.build_tree=function(q){var ue,me,Ee,Ge=xe.dyn_tree,dt=xe.stat_desc.static_tree,Kt=xe.stat_desc.elems,tr=-1;for(q.heap_len=0,q.heap_max=Le,ue=0;ue<Kt;ue++)Ge[2*ue]!==0?(q.heap[++q.heap_len]=tr=ue,q.depth[ue]=0):Ge[2*ue+1]=0;for(;q.heap_len<2;)Ge[2*(Ee=q.heap[++q.heap_len]=tr<2?++tr:0)]=1,q.depth[Ee]=0,q.opt_len--,dt&&(q.static_len-=dt[2*Ee+1]);for(xe.max_code=tr,ue=Math.floor(q.heap_len/2);1<=ue;ue--)q.pqdownheap(Ge,ue);for(Ee=Kt;ue=q.heap[1],q.heap[1]=q.heap[q.heap_len--],q.pqdownheap(Ge,1),me=q.heap[1],q.heap[--q.heap_max]=ue,q.heap[--q.heap_max]=me,Ge[2*Ee]=Ge[2*ue]+Ge[2*me],q.depth[Ee]=Math.max(q.depth[ue],q.depth[me])+1,Ge[2*ue+1]=Ge[2*me+1]=Ee,q.heap[1]=Ee++,q.pqdownheap(Ge,1),2<=q.heap_len;);q.heap[--q.heap_max]=q.heap[1],function(wt){var It,Lt,Nt,$e,ot,ft,ze=xe.dyn_tree,Ye=xe.stat_desc.static_tree,qe=xe.stat_desc.extra_bits,rt=xe.stat_desc.extra_base,ct=xe.stat_desc.max_length,st=0;for($e=0;$e<=ye;$e++)wt.bl_count[$e]=0;for(ze[2*wt.heap[wt.heap_max]+1]=0,It=wt.heap_max+1;It<Le;It++)ct<($e=ze[2*ze[2*(Lt=wt.heap[It])+1]+1]+1)&&($e=ct,st++),ze[2*Lt+1]=$e,Lt>xe.max_code||(wt.bl_count[$e]++,ot=0,rt<=Lt&&(ot=qe[Lt-rt]),ft=ze[2*Lt],wt.opt_len+=ft*($e+ot),Ye&&(wt.static_len+=ft*(Ye[2*Lt+1]+ot)));if(st!==0){do{for($e=ct-1;wt.bl_count[$e]===0;)$e--;wt.bl_count[$e]--,wt.bl_count[$e+1]+=2,wt.bl_count[ct]--,st-=2}while(0<st);for($e=ct;$e!==0;$e--)for(Lt=wt.bl_count[$e];Lt!==0;)(Nt=wt.heap[--It])>xe.max_code||(ze[2*Nt+1]!=$e&&(wt.opt_len+=($e-ze[2*Nt+1])*ze[2*Nt],ze[2*Nt+1]=$e),Lt--)}}(q),function(wt,It,Lt){var Nt,$e,ot,ft=[],ze=0;for(Nt=1;Nt<=ye;Nt++)ft[Nt]=ze=ze+Lt[Nt-1]<<1;for($e=0;$e<=It;$e++)(ot=wt[2*$e+1])!==0&&(wt[2*$e]=V(ft[ot]++,ot))}(Ge,xe.max_code,q.bl_count)}}function Je(xe,V,q,ue,me){this.static_tree=xe,this.extra_bits=V,this.extra_base=q,this.elems=ue,this.max_length=me}Ke._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],Ke.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],Ke.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],Ke.d_code=function(xe){return xe<256?we[xe]:we[256+(xe>>>7)]},Ke.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],Ke.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],Ke.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ke.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,Ke.extra_lbits,257,286,ye),Je.static_d_desc=new Je(Je.static_dtree,Ke.extra_dbits,0,30,ye),Je.static_bl_desc=new Je(null,Ke.extra_blbits,0,19,7);function ut(xe,V,q,ue,me){this.good_length=xe,this.max_lazy=V,this.nice_length=q,this.max_chain=ue,this.func=me}var vt=[new ut(0,0,0,0,0),new ut(4,4,8,4,1),new ut(4,5,16,8,1),new ut(4,6,32,32,1),new ut(4,4,16,16,2),new ut(8,16,32,32,2),new ut(8,16,128,128,2),new ut(8,32,128,256,2),new ut(32,128,258,1024,2),new ut(32,258,258,4096,2)],_t=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function Ut(xe,V,q,ue){var me=xe[2*V],Ee=xe[2*q];return me<Ee||me==Ee&&ue[V]<=ue[q]}function Bt(){var xe,V,q,ue,me,Ee,Ge,dt,Kt,tr,wt,It,Lt,Nt,$e,ot,ft,ze,Ye,qe,rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un,mn,_n,qr,yn,nn,cr,Pr,Ar,Mr,fn=this,En=new Ke,Rn=new Ke,oi=new Ke;function An(){var br;for(br=0;br<286;br++)Gr[2*br]=0;for(br=0;br<30;br++)un[2*br]=0;for(br=0;br<19;br++)mn[2*br]=0;Gr[512]=1,fn.opt_len=fn.static_len=0,yn=cr=0}function mi(br,fr){var zr,wn,On=-1,Wn=br[1],Xn=0,ii=7,li=4;for(Wn===0&&(ii=138,li=3),br[2*(fr+1)+1]=65535,zr=0;zr<=fr;zr++)wn=Wn,Wn=br[2*(zr+1)+1],++Xn<ii&&wn==Wn||(Xn<li?mn[2*wn]+=Xn:wn!==0?(wn!=On&&mn[2*wn]++,mn[32]++):Xn<=10?mn[34]++:mn[36]++,On=wn,li=(Xn=0)===Wn?(ii=138,3):wn==Wn?(ii=6,3):(ii=7,4))}function ai(br){fn.pending_buf[fn.pending++]=br}function Xr(br){ai(255&br),ai(br>>>8&255)}function pn(br,fr){var zr,wn=fr;16-wn<Mr?(Xr(Ar|=(zr=br)<<Mr&65535),Ar=zr>>>16-Mr,Mr+=wn-16):(Ar|=br<<Mr&65535,Mr+=wn)}function Ln(br,fr){var zr=2*br;pn(65535&fr[zr],65535&fr[zr+1])}function tn(br,fr){var zr,wn,On=-1,Wn=br[1],Xn=0,ii=7,li=4;for(Wn===0&&(ii=138,li=3),zr=0;zr<=fr;zr++)if(wn=Wn,Wn=br[2*(zr+1)+1],!(++Xn<ii&&wn==Wn)){if(Xn<li)for(;Ln(wn,mn),--Xn!=0;);else wn!==0?(wn!=On&&(Ln(wn,mn),Xn--),Ln(16,mn),pn(Xn-3,2)):Xn<=10?(Ln(17,mn),pn(Xn-3,3)):(Ln(18,mn),pn(Xn-11,7));On=wn,li=(Xn=0)===Wn?(ii=138,3):wn==Wn?(ii=6,3):(ii=7,4)}}function $t(){Mr==16?(Xr(Ar),Mr=Ar=0):8<=Mr&&(ai(255&Ar),Ar>>>=8,Mr-=8)}function yr(br,fr){var zr,wn,On;if(fn.pending_buf[nn+2*yn]=br>>>8&255,fn.pending_buf[nn+2*yn+1]=255&br,fn.pending_buf[_n+yn]=255&fr,yn++,br===0?Gr[2*fr]++:(cr++,br--,Gr[2*(Ke._length_code[fr]+256+1)]++,un[2*Ke.d_code(br)]++),(8191&yn)==0&&2<ir){for(zr=8*yn,wn=rt-ft,On=0;On<30;On++)zr+=un[2*On]*(5+Ke.extra_dbits[On]);if(zr>>>=3,cr<Math.floor(yn/2)&&zr<Math.floor(wn/2))return!0}return yn==qr-1}function kr(br,fr){var zr,wn,On,Wn,Xn=0;if(yn!==0)for(;zr=fn.pending_buf[nn+2*Xn]<<8&65280|255&fn.pending_buf[nn+2*Xn+1],wn=255&fn.pending_buf[_n+Xn],Xn++,zr===0?Ln(wn,br):(Ln((On=Ke._length_code[wn])+256+1,br),(Wn=Ke.extra_lbits[On])!==0&&pn(wn-=Ke.base_length[On],Wn),Ln(On=Ke.d_code(--zr),fr),(Wn=Ke.extra_dbits[On])!==0&&pn(zr-=Ke.base_dist[On],Wn)),Xn<yn;);Ln(256,br),Pr=br[513]}function gr(){8<Mr?Xr(Ar):0<Mr&&ai(255&Ar),Mr=Ar=0}function Kr(br,fr,zr){var wn,On,Wn;pn(0+(zr?1:0),3),wn=br,On=fr,Wn=!0,gr(),Pr=8,Wn&&(Xr(On),Xr(~On)),fn.pending_buf.set(dt.subarray(wn,wn+On),fn.pending),fn.pending+=On}function sn(br,fr,zr){var wn,On,Wn=0;0<ir?(En.build_tree(fn),Rn.build_tree(fn),Wn=function(){var Xn;for(mi(Gr,En.max_code),mi(un,Rn.max_code),oi.build_tree(fn),Xn=18;3<=Xn&&mn[2*Ke.bl_order[Xn]+1]===0;Xn--);return fn.opt_len+=3*(Xn+1)+5+5+4,Xn}(),wn=fn.opt_len+3+7>>>3,(On=fn.static_len+3+7>>>3)<=wn&&(wn=On)):wn=On=fr+5,fr+4<=wn&&br!=-1?Kr(br,fr,zr):On==wn?(pn(2+(zr?1:0),3),kr(Je.static_ltree,Je.static_dtree)):(pn(4+(zr?1:0),3),function(Xn,ii,li){var bi;for(pn(Xn-257,5),pn(ii-1,5),pn(li-4,4),bi=0;bi<li;bi++)pn(mn[2*Ke.bl_order[bi]+1],3);tn(Gr,Xn-1),tn(un,ii-1)}(En.max_code+1,Rn.max_code+1,Wn+1),kr(Gr,un)),An(),zr&&gr()}function Ir(br){sn(0<=ft?ft:-1,rt-ft,br),ft=rt,xe.flush_pending()}function Rr(){var br,fr,zr,wn;do{if((wn=Kt-st-rt)===0&&rt===0&&st===0)wn=me;else if(wn==-1)wn--;else if(me+me-262<=rt){for(dt.set(dt.subarray(me,me+me),0),ct-=me,rt-=me,ft-=me,zr=br=Lt;fr=65535&wt[--zr],wt[zr]=me<=fr?fr-me:0,--br!=0;);for(zr=br=me;fr=65535&tr[--zr],tr[zr]=me<=fr?fr-me:0,--br!=0;);wn+=me}if(xe.avail_in===0)return;br=xe.read_buf(dt,rt+st,wn),3<=(st+=br)&&(It=((It=255&dt[rt])<<ot^255&dt[rt+1])&$e)}while(st<262&&xe.avail_in!==0)}function ar(br){var fr,zr,wn=Ft,On=rt,Wn=et,Xn=me-262<rt?rt-(me-262):0,ii=Br,li=Ge,bi=rt+258,gi=dt[On+Wn-1],Ni=dt[On+Wn];_r<=et&&(wn>>=2),st<ii&&(ii=st);do if(dt[(fr=br)+Wn]==Ni&&dt[fr+Wn-1]==gi&&dt[fr]==dt[On]&&dt[++fr]==dt[On+1]){On+=2,fr++;do;while(dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&dt[++On]==dt[++fr]&&On<bi);if(zr=258-(bi-On),On=bi-258,Wn<zr){if(ct=br,ii<=(Wn=zr))break;gi=dt[On+Wn-1],Ni=dt[On+Wn]}}while((br=65535&tr[br&li])>Xn&&--wn!=0);return Wn<=st?Wn:st}function Tr(br){return br.total_in=br.total_out=0,br.msg=null,fn.pending=0,fn.pending_out=0,V=113,ue=0,En.dyn_tree=Gr,En.stat_desc=Je.static_l_desc,Rn.dyn_tree=un,Rn.stat_desc=Je.static_d_desc,oi.dyn_tree=mn,oi.stat_desc=Je.static_bl_desc,Mr=Ar=0,Pr=8,An(),function(){var fr;for(Kt=2*me,fr=wt[Lt-1]=0;fr<Lt-1;fr++)wt[fr]=0;Ct=vt[ir].max_lazy,_r=vt[ir].good_length,Br=vt[ir].nice_length,Ft=vt[ir].max_chain,ze=et=2,It=qe=st=ft=rt=0}(),0}fn.depth=[],fn.bl_count=[],fn.heap=[],Gr=[],un=[],mn=[],fn.pqdownheap=function(br,fr){for(var zr=fn.heap,wn=zr[fr],On=fr<<1;On<=fn.heap_len&&(On<fn.heap_len&&Ut(br,zr[On+1],zr[On],fn.depth)&&On++,!Ut(br,wn,zr[On],fn.depth));)zr[fr]=zr[On],fr=On,On<<=1;zr[fr]=wn},fn.deflateInit=function(br,fr,zr,wn,On,Wn){return wn||(wn=8),On||(On=8),Wn||(Wn=0),br.msg=null,fr==-1&&(fr=6),On<1||9<On||wn!=8||zr<9||15<zr||fr<0||9<fr||Wn<0||2<Wn?-2:(br.dstate=fn,Ge=(me=1<<(Ee=zr))-1,$e=(Lt=1<<(Nt=On+7))-1,ot=Math.floor((Nt+3-1)/3),dt=new Uint8Array(2*me),tr=[],wt=[],qr=1<<On+6,fn.pending_buf=new Uint8Array(4*qr),q=4*qr,nn=Math.floor(qr/2),_n=3*qr,ir=fr,Xt=Wn,Tr(br))},fn.deflateEnd=function(){return V!=42&&V!=113&&V!=666?-2:(fn.pending_buf=null,dt=tr=wt=null,fn.dstate=null,V==113?-3:0)},fn.deflateParams=function(br,fr,zr){var wn=0;return fr==-1&&(fr=6),fr<0||9<fr||zr<0||2<zr?-2:(vt[ir].func!=vt[fr].func&&br.total_in!==0&&(wn=br.deflate(1)),ir!=fr&&(Ct=vt[ir=fr].max_lazy,_r=vt[ir].good_length,Br=vt[ir].nice_length,Ft=vt[ir].max_chain),Xt=zr,wn)},fn.deflateSetDictionary=function(br,fr,zr){var wn,On=zr,Wn=0;if(!fr||V!=42)return-2;if(On<3)return 0;for(me-262<On&&(Wn=zr-(On=me-262)),dt.set(fr.subarray(Wn,Wn+On),0),ft=rt=On,It=((It=255&dt[0])<<ot^255&dt[1])&$e,wn=0;wn<=On-3;wn++)It=(It<<ot^255&dt[wn+2])&$e,tr[wn&Ge]=wt[It],wt[It]=wn;return 0},fn.deflate=function(br,fr){var zr,wn,On,Wn,Xn,ii;if(4<fr||fr<0)return-2;if(!br.next_out||!br.next_in&&br.avail_in!==0||V==666&&fr!=4)return br.msg=_t[4],-2;if(br.avail_out===0)return br.msg=_t[7],-5;if(xe=br,Wn=ue,ue=fr,V==42&&(wn=8+(Ee-8<<4)<<8,3<(On=(ir-1&255)>>1)&&(On=3),wn|=On<<6,rt!==0&&(wn|=32),V=113,ai((ii=wn+=31-wn%31)>>8&255),ai(255&ii)),fn.pending!==0){if(xe.flush_pending(),xe.avail_out===0)return ue=-1,0}else if(xe.avail_in===0&&fr<=Wn&&fr!=4)return xe.msg=_t[7],-5;if(V==666&&xe.avail_in!==0)return br.msg=_t[7],-5;if(xe.avail_in!==0||st!==0||fr!=0&&V!=666){switch(Xn=-1,vt[ir].func){case 0:Xn=function(li){var bi,gi=65535;for(q-5<gi&&(gi=q-5);;){if(st<=1){if(Rr(),st===0&&li==0)return 0;if(st===0)break}if(rt+=st,bi=ft+gi,((st=0)===rt||bi<=rt)&&(st=rt-bi,rt=bi,Ir(!1),xe.avail_out===0))return 0;if(me-262<=rt-ft&&(Ir(!1),xe.avail_out===0))return 0}return Ir(li==4),xe.avail_out===0?li==4?2:0:li==4?3:1}(fr);break;case 1:Xn=function(li){for(var bi,gi=0;;){if(st<262){if(Rr(),st<262&&li==0)return 0;if(st===0)break}if(3<=st&&(It=(It<<ot^255&dt[rt+2])&$e,gi=65535&wt[It],tr[rt&Ge]=wt[It],wt[It]=rt),gi!==0&&(rt-gi&65535)<=me-262&&Xt!=2&&(ze=ar(gi)),3<=ze)if(bi=yr(rt-ct,ze-3),st-=ze,ze<=Ct&&3<=st){for(ze--;It=(It<<ot^255&dt[++rt+2])&$e,gi=65535&wt[It],tr[rt&Ge]=wt[It],wt[It]=rt,--ze!=0;);rt++}else rt+=ze,ze=0,It=((It=255&dt[rt])<<ot^255&dt[rt+1])&$e;else bi=yr(0,255&dt[rt]),st--,rt++;if(bi&&(Ir(!1),xe.avail_out===0))return 0}return Ir(li==4),xe.avail_out===0?li==4?2:0:li==4?3:1}(fr);break;case 2:Xn=function(li){for(var bi,gi,Ni=0;;){if(st<262){if(Rr(),st<262&&li==0)return 0;if(st===0)break}if(3<=st&&(It=(It<<ot^255&dt[rt+2])&$e,Ni=65535&wt[It],tr[rt&Ge]=wt[It],wt[It]=rt),et=ze,Ye=ct,ze=2,Ni!==0&&et<Ct&&(rt-Ni&65535)<=me-262&&(Xt!=2&&(ze=ar(Ni)),ze<=5&&(Xt==1||ze==3&&4096<rt-ct)&&(ze=2)),3<=et&&ze<=et){for(gi=rt+st-3,bi=yr(rt-1-Ye,et-3),st-=et-1,et-=2;++rt<=gi&&(It=(It<<ot^255&dt[rt+2])&$e,Ni=65535&wt[It],tr[rt&Ge]=wt[It],wt[It]=rt),--et!=0;);if(qe=0,ze=2,rt++,bi&&(Ir(!1),xe.avail_out===0))return 0}else if(qe!==0){if((bi=yr(0,255&dt[rt-1]))&&Ir(!1),rt++,st--,xe.avail_out===0)return 0}else qe=1,rt++,st--}return qe!==0&&(bi=yr(0,255&dt[rt-1]),qe=0),Ir(li==4),xe.avail_out===0?li==4?2:0:li==4?3:1}(fr)}if(Xn!=2&&Xn!=3||(V=666),Xn==0||Xn==2)return xe.avail_out===0&&(ue=-1),0;if(Xn==1){if(fr==1)pn(2,3),Ln(256,Je.static_ltree),$t(),1+Pr+10-Mr<9&&(pn(2,3),Ln(256,Je.static_ltree),$t()),Pr=7;else if(Kr(0,0,!1),fr==3)for(zr=0;zr<Lt;zr++)wt[zr]=0;if(xe.flush_pending(),xe.avail_out===0)return ue=-1,0}}return fr!=4?0:1}}function dr(){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}dr.prototype={deflateInit:function(V,q){return this.dstate=new Bt,q||(q=ye),this.dstate.deflateInit(this,V,q)},deflate:function(V){return this.dstate?this.dstate.deflate(this,V):-2},deflateEnd:function(){if(!this.dstate)return-2;var V=this.dstate.deflateEnd();return this.dstate=null,V},deflateParams:function(V,q){return this.dstate?this.dstate.deflateParams(this,V,q):-2},deflateSetDictionary:function(V,q){return this.dstate?this.dstate.deflateSetDictionary(this,V,q):-2},read_buf:function(V,q,ue){var me=this.avail_in;return ue<me&&(me=ue),me===0?0:(this.avail_in-=me,V.set(this.next_in.subarray(this.next_in_index,this.next_in_index+me),q),this.next_in_index+=me,this.total_in+=me,me)},flush_pending:function(){var V=this,q=V.dstate.pending;q>V.avail_out&&(q=V.avail_out),q!==0&&(V.next_out.set(V.dstate.pending_buf.subarray(V.dstate.pending_out,V.dstate.pending_out+q),V.next_out_index),V.next_out_index+=q,V.dstate.pending_out+=q,V.total_out+=q,V.avail_out-=q,V.dstate.pending-=q,V.dstate.pending===0&&(V.dstate.pending_out=0))}};var Oe=ge.zip||ge;Oe.Deflater=Oe._jzlib_Deflater=function(xe){var V=new dr,q=new Uint8Array(512),ue=xe?xe.level:-1;ue===void 0&&(ue=-1),V.deflateInit(ue),V.next_out=q,this.append=function(me,Ee){var Ge,dt=[],Kt=0,tr=0,wt=0;if(me.length){V.next_in_index=0,V.next_in=me,V.avail_in=me.length;do{if(V.next_out_index=0,V.avail_out=512,V.deflate(0)!=0)throw new Error("deflating: "+V.msg);V.next_out_index&&(V.next_out_index==512?dt.push(new Uint8Array(q)):dt.push(new Uint8Array(q.subarray(0,V.next_out_index)))),wt+=V.next_out_index,Ee&&0<V.next_in_index&&V.next_in_index!=Kt&&(Ee(V.next_in_index),Kt=V.next_in_index)}while(0<V.avail_in||V.avail_out===0);return Ge=new Uint8Array(wt),dt.forEach(function(It){Ge.set(It,tr),tr+=It.length}),Ge}},this.flush=function(){var me,Ee,Ge=[],dt=0,Kt=0;do{if(V.next_out_index=0,V.avail_out=512,(me=V.deflate(4))!=1&&me!=0)throw new Error("deflating: "+V.msg);0<512-V.avail_out&&Ge.push(new Uint8Array(q.subarray(0,V.next_out_index))),Kt+=V.next_out_index}while(0<V.avail_in||V.avail_out===0);return V.deflateEnd(),Ee=new Uint8Array(Kt),Ge.forEach(function(tr){Ee.set(tr,dt),dt+=tr.length}),Ee}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(ge){var ye;ge=ge||"",this.ok=!1,ge.charAt(0)=="#"&&(ge=ge.substr(1,6)),ge=(ge=ge.replace(/ /g,"")).toLowerCase();var Le={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var we in Le)ge==we&&(ge=Le[we]);for(var Ke=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Bt){return[parseInt(Bt[1]),parseInt(Bt[2]),parseInt(Bt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Bt){return[parseInt(Bt[1],16),parseInt(Bt[2],16),parseInt(Bt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Bt){return[parseInt(Bt[1]+Bt[1],16),parseInt(Bt[2]+Bt[2],16),parseInt(Bt[3]+Bt[3],16)]}}],Je=0;Je<Ke.length;Je++){var ut=Ke[Je].re,vt=Ke[Je].process,_t=ut.exec(ge);_t&&(ye=vt(_t),this.r=ye[0],this.g=ye[1],this.b=ye[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Ut=this.r.toString(16),Bt=this.g.toString(16),dr=this.b.toString(16);return Ut.length==1&&(Ut="0"+Ut),Bt.length==1&&(Bt="0"+Bt),dr.length==1&&(dr="0"+dr),"#"+Ut+Bt+dr}},function(ge){var ye="+".charCodeAt(0),Le="/".charCodeAt(0),we="0".charCodeAt(0),Ke="a".charCodeAt(0),Je="A".charCodeAt(0),ut="-".charCodeAt(0),vt="_".charCodeAt(0),_t=function(Ye){var qe=Ye.charCodeAt(0);return qe===ye||qe===ut?62:qe===Le||qe===vt?63:qe<we?-1:qe<we+10?qe-we+26+26:qe<Je+26?qe-Je:qe<Ke+26?qe-Ke+26:void 0};ge.API.TTFFont=function(){function ze(Ye,qe,rt){var ct;if(this.rawData=Ye,ct=this.contents=new Bt(Ye),this.contents.pos=4,ct.readString(4)==="ttcf")throw qe?new Error("Font "+qe+" not found in TTC file."):new Error("Must specify a font name for TTC files.");ct.pos=0,this.parse(),this.subset=new ft(this),this.registerTTF()}return ze.open=function(Ye,qe,rt,ct){if(typeof rt!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ze(function(st){var et,Ft,Ct,ir,Xt,_r;if(0<st.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Br=st.length;Xt=st.charAt(Br-2)==="="?2:st.charAt(Br-1)==="="?1:0,_r=new Uint8Array(3*st.length/4-Xt),Ct=0<Xt?st.length-4:st.length;var Gr=0;function un(mn){_r[Gr++]=mn}for(Ft=et=0;et<Ct;et+=4,Ft+=3)un((16711680&(ir=_t(st.charAt(et))<<18|_t(st.charAt(et+1))<<12|_t(st.charAt(et+2))<<6|_t(st.charAt(et+3))))>>16),un((65280&ir)>>8),un(255&ir);return Xt===2?un(255&(ir=_t(st.charAt(et))<<2|_t(st.charAt(et+1))>>4)):Xt===1&&(un((ir=_t(st.charAt(et))<<10|_t(st.charAt(et+1))<<4|_t(st.charAt(et+2))>>2)>>8&255),un(255&ir)),_r}(rt),qe,ct)},ze.prototype.parse=function(){return this.directory=new dr(this.contents),this.head=new V(this),this.name=new Kt(this),this.cmap=new ue(this),this.toUnicode=new Map,this.hhea=new me(this),this.maxp=new tr(this),this.hmtx=new wt(this),this.post=new Ge(this),this.os2=new Ee(this),this.loca=new ot(this),this.glyf=new Lt(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]},ze.prototype.registerTTF=function(){var Ye,qe,rt,ct,st;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var et,Ft,Ct,ir;for(ir=[],et=0,Ft=(Ct=this.bbox).length;et<Ft;et++)Ye=Ct[et],ir.push(Math.round(Ye*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(rt=255&(ct=this.post.italic_angle),!0&(qe=ct>>16)&&(qe=-(1+(65535^qe))),this.italicAngle=+(qe+"."+rt)):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=(st=this.familyClass)===1||st===2||st===3||st===4||st===5||st===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")},ze.prototype.characterToGlyph=function(Ye){var qe;return((qe=this.cmap.unicode)!=null?qe.codeMap[Ye]:void 0)||0},ze.prototype.widthOfGlyph=function(Ye){var qe;return qe=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Ye).advance*qe},ze.prototype.widthOfString=function(Ye,qe,rt){var ct,st,et,Ft,Ct;for(st=Ft=et=0,Ct=(Ye=""+Ye).length;0<=Ct?Ft<Ct:Ct<Ft;st=0<=Ct?++Ft:--Ft)ct=Ye.charCodeAt(st),et+=this.widthOfGlyph(this.characterToGlyph(ct))+rt*(1e3/qe)||0;return et*(qe/1e3)},ze.prototype.lineHeight=function(Ye,qe){var rt;return qe==null&&(qe=!1),rt=qe?this.lineGap:0,(this.ascender+rt-this.decender)/1e3*Ye},ze}();var Ut,Bt=function(){function ze(Ye){this.data=Ye!=null?Ye:[],this.pos=0,this.length=this.data.length}return ze.prototype.readByte=function(){return this.data[this.pos++]},ze.prototype.writeByte=function(Ye){return this.data[this.pos++]=Ye},ze.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ze.prototype.writeUInt32=function(Ye){return this.writeByte(Ye>>>24&255),this.writeByte(Ye>>16&255),this.writeByte(Ye>>8&255),this.writeByte(255&Ye)},ze.prototype.readInt32=function(){var Ye;return 2147483648<=(Ye=this.readUInt32())?Ye-4294967296:Ye},ze.prototype.writeInt32=function(Ye){return Ye<0&&(Ye+=4294967296),this.writeUInt32(Ye)},ze.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ze.prototype.writeUInt16=function(Ye){return this.writeByte(Ye>>8&255),this.writeByte(255&Ye)},ze.prototype.readInt16=function(){var Ye;return 32768<=(Ye=this.readUInt16())?Ye-65536:Ye},ze.prototype.writeInt16=function(Ye){return Ye<0&&(Ye+=65536),this.writeUInt16(Ye)},ze.prototype.readString=function(Ye){var qe,rt,ct;for(rt=[],qe=ct=0;0<=Ye?ct<Ye:Ye<ct;qe=0<=Ye?++ct:--ct)rt[qe]=String.fromCharCode(this.readByte());return rt.join("")},ze.prototype.writeString=function(Ye){var qe,rt,ct,st;for(st=[],qe=rt=0,ct=Ye.length;0<=ct?rt<ct:ct<rt;qe=0<=ct?++rt:--rt)st.push(this.writeByte(Ye.charCodeAt(qe)));return st},ze.prototype.readShort=function(){return this.readInt16()},ze.prototype.writeShort=function(Ye){return this.writeInt16(Ye)},ze.prototype.readLongLong=function(){var Ye,qe,rt,ct,st,et,Ft,Ct;return Ye=this.readByte(),qe=this.readByte(),rt=this.readByte(),ct=this.readByte(),st=this.readByte(),et=this.readByte(),Ft=this.readByte(),Ct=this.readByte(),128&Ye?-1*(72057594037927940*(255^Ye)+281474976710656*(255^qe)+1099511627776*(255^rt)+4294967296*(255^ct)+16777216*(255^st)+65536*(255^et)+256*(255^Ft)+(255^Ct)+1):72057594037927940*Ye+281474976710656*qe+1099511627776*rt+4294967296*ct+16777216*st+65536*et+256*Ft+Ct},ze.prototype.writeLongLong=function(Ye){var qe,rt;return qe=Math.floor(Ye/4294967296),rt=4294967295&Ye,this.writeByte(qe>>24&255),this.writeByte(qe>>16&255),this.writeByte(qe>>8&255),this.writeByte(255&qe),this.writeByte(rt>>24&255),this.writeByte(rt>>16&255),this.writeByte(rt>>8&255),this.writeByte(255&rt)},ze.prototype.readInt=function(){return this.readInt32()},ze.prototype.writeInt=function(Ye){return this.writeInt32(Ye)},ze.prototype.read=function(Ye){var qe,rt;for(qe=[],rt=0;0<=Ye?rt<Ye:Ye<rt;0<=Ye?++rt:--rt)qe.push(this.readByte());return qe},ze.prototype.write=function(Ye){var qe,rt,ct,st;for(st=[],rt=0,ct=Ye.length;rt<ct;rt++)qe=Ye[rt],st.push(this.writeByte(qe));return st},ze}(),dr=function(){var ze;function Ye(qe){var rt,ct,st;for(this.scalarType=qe.readInt(),this.tableCount=qe.readShort(),this.searchRange=qe.readShort(),this.entrySelector=qe.readShort(),this.rangeShift=qe.readShort(),this.tables={},ct=0,st=this.tableCount;0<=st?ct<st:st<ct;0<=st?++ct:--ct)rt={tag:qe.readString(4),checksum:qe.readInt(),offset:qe.readInt(),length:qe.readInt()},this.tables[rt.tag]=rt}return Ye.prototype.encode=function(qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un,mn;for(mn in Gr=Object.keys(qe).length,Ct=Math.log(2),_r=16*Math.floor(Math.log(Gr)/Ct),et=Math.floor(_r/Ct),Xt=16*Gr-_r,(ct=new Bt).writeInt(this.scalarType),ct.writeShort(Gr),ct.writeShort(_r),ct.writeShort(et),ct.writeShort(Xt),st=16*Gr,ir=ct.pos+st,Ft=null,un=[],qe)for(Br=qe[mn],ct.writeString(mn),ct.writeInt(ze(Br)),ct.writeInt(ir),ct.writeInt(Br.length),un=un.concat(Br),mn==="head"&&(Ft=ir),ir+=Br.length;ir%4;)un.push(0),ir++;return ct.write(un),rt=2981146554-ze(ct.data),ct.pos=Ft+8,ct.writeUInt32(rt),ct.data},ze=function(rt){var ct,st,et,Ft;for(rt=It.call(rt);rt.length%4;)rt.push(0);for(st=new Bt(rt),et=ct=0,Ft=rt.length;et<Ft;et+=4)ct+=st.readUInt32();return 4294967295&ct},Ye}(),Oe={}.hasOwnProperty,xe=function(Ye,qe){for(var rt in qe)Oe.call(qe,rt)&&(Ye[rt]=qe[rt]);function ct(){this.constructor=Ye}return ct.prototype=qe.prototype,Ye.prototype=new ct,Ye.__super__=qe.prototype,Ye};Ut=function(){function ze(Ye){var qe;this.file=Ye,qe=this.file.directory.tables[this.tag],this.exists=!!qe,qe&&(this.offset=qe.offset,this.length=qe.length,this.parse(this.file.contents))}return ze.prototype.parse=function(){},ze.prototype.encode=function(){},ze.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ze}();var V=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="head",Ye.prototype.parse=function(qe){return qe.pos=this.offset,this.version=qe.readInt(),this.revision=qe.readInt(),this.checkSumAdjustment=qe.readInt(),this.magicNumber=qe.readInt(),this.flags=qe.readShort(),this.unitsPerEm=qe.readShort(),this.created=qe.readLongLong(),this.modified=qe.readLongLong(),this.xMin=qe.readShort(),this.yMin=qe.readShort(),this.xMax=qe.readShort(),this.yMax=qe.readShort(),this.macStyle=qe.readShort(),this.lowestRecPPEM=qe.readShort(),this.fontDirectionHint=qe.readShort(),this.indexToLocFormat=qe.readShort(),this.glyphDataFormat=qe.readShort()},Ye.prototype.encode=function(qe){var rt;return(rt=new Bt).writeInt(this.version),rt.writeInt(this.revision),rt.writeInt(this.checkSumAdjustment),rt.writeInt(this.magicNumber),rt.writeShort(this.flags),rt.writeShort(this.unitsPerEm),rt.writeLongLong(this.created),rt.writeLongLong(this.modified),rt.writeShort(this.xMin),rt.writeShort(this.yMin),rt.writeShort(this.xMax),rt.writeShort(this.yMax),rt.writeShort(this.macStyle),rt.writeShort(this.lowestRecPPEM),rt.writeShort(this.fontDirectionHint),rt.writeShort(qe),rt.writeShort(this.glyphDataFormat),rt.data},Ye}(),q=function(){function ze(Ye,qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un,mn,_n,qr,yn,nn,cr;switch(this.platformID=Ye.readUInt16(),this.encodingID=Ye.readShort(),this.offset=qe+Ye.readInt(),_r=Ye.pos,Ye.pos=this.offset,this.format=Ye.readUInt16(),this.length=Ye.readUInt16(),this.language=Ye.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(Ct=qr=0;qr<256;Ct=++qr)this.codeMap[Ct]=Ye.readByte();break;case 4:for(Gr=Ye.readUInt16(),Br=Gr/2,Ye.pos+=6,st=function(){var Pr,Ar;for(Ar=[],Ct=Pr=0;0<=Br?Pr<Br:Br<Pr;Ct=0<=Br?++Pr:--Pr)Ar.push(Ye.readUInt16());return Ar}(),Ye.pos+=2,mn=function(){var Pr,Ar;for(Ar=[],Ct=Pr=0;0<=Br?Pr<Br:Br<Pr;Ct=0<=Br?++Pr:--Pr)Ar.push(Ye.readUInt16());return Ar}(),ir=function(){var Pr,Ar;for(Ar=[],Ct=Pr=0;0<=Br?Pr<Br:Br<Pr;Ct=0<=Br?++Pr:--Pr)Ar.push(Ye.readUInt16());return Ar}(),Xt=function(){var Pr,Ar;for(Ar=[],Ct=Pr=0;0<=Br?Pr<Br:Br<Pr;Ct=0<=Br?++Pr:--Pr)Ar.push(Ye.readUInt16());return Ar}(),ct=(this.length-Ye.pos+this.offset)/2,Ft=function(){var Pr,Ar;for(Ar=[],Ct=Pr=0;0<=ct?Pr<ct:ct<Pr;Ct=0<=ct?++Pr:--Pr)Ar.push(Ye.readUInt16());return Ar}(),Ct=yn=0,cr=st.length;yn<cr;Ct=++yn)for(_n=st[Ct],rt=nn=un=mn[Ct];un<=_n?nn<=_n:_n<=nn;rt=un<=_n?++nn:--nn)Xt[Ct]===0?et=rt+ir[Ct]:(et=Ft[Xt[Ct]/2+(rt-un)-(Br-Ct)]||0)!==0&&(et+=ir[Ct]),this.codeMap[rt]=65535&et}Ye.pos=_r}return ze.encode=function(Ye,qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un,mn,_n,qr,yn,nn,cr,Pr,Ar,Mr,fn,En,Rn,oi,An,mi,ai,Xr,pn,Ln,tn,$t,yr,kr,gr,Kr,sn,Ir,Rr,ar,Tr,br,fr,zr,wn;switch(ai=new Bt,et=Object.keys(Ye).sort(function(On,Wn){return On-Wn}),qe){case"macroman":for(mn=0,_n=function(){var On,Wn;for(Wn=[],un=On=0;On<256;un=++On)Wn.push(0);return Wn}(),yn={0:0},st={},Xr=0,$t=et.length;Xr<$t;Xr++)yn[br=Ye[ct=et[Xr]]]==null&&(yn[br]=++mn),st[ct]={old:Ye[ct],new:yn[Ye[ct]]},_n[ct]=yn[Ye[ct]];return ai.writeUInt16(1),ai.writeUInt16(0),ai.writeUInt32(12),ai.writeUInt16(0),ai.writeUInt16(262),ai.writeUInt16(0),ai.write(_n),{charMap:st,subtable:ai.data,maxGlyphID:mn+1};case"unicode":for(An=[],_r=[],yn={},rt={},qr=ir=null,pn=nn=0,yr=et.length;pn<yr;pn++)yn[Pr=Ye[ct=et[pn]]]==null&&(yn[Pr]=++nn),rt[ct]={old:Pr,new:yn[Pr]},Ft=yn[Pr]-ct,qr!=null&&Ft===ir||(qr&&_r.push(qr),An.push(ct),ir=Ft),qr=ct;for(qr&&_r.push(qr),_r.push(65535),An.push(65535),Rn=2*(En=An.length),fn=2*Math.pow(Math.log(En)/Math.LN2,2),Br=Math.log(fn/2)/Math.LN2,Mr=2*En-fn,Ct=[],Ar=[],Gr=[],un=Ln=0,kr=An.length;Ln<kr;un=++Ln){if(oi=An[un],Xt=_r[un],oi===65535){Ct.push(0),Ar.push(0);break}if(32768<=oi-(mi=rt[oi].new))for(Ct.push(0),Ar.push(2*(Gr.length+En-un)),ct=tn=oi;oi<=Xt?tn<=Xt:Xt<=tn;ct=oi<=Xt?++tn:--tn)Gr.push(rt[ct].new);else Ct.push(mi-oi),Ar.push(0)}for(ai.writeUInt16(3),ai.writeUInt16(1),ai.writeUInt32(12),ai.writeUInt16(4),ai.writeUInt16(16+8*En+2*Gr.length),ai.writeUInt16(0),ai.writeUInt16(Rn),ai.writeUInt16(fn),ai.writeUInt16(Br),ai.writeUInt16(Mr),ar=0,gr=_r.length;ar<gr;ar++)ct=_r[ar],ai.writeUInt16(ct);for(ai.writeUInt16(0),Tr=0,Kr=An.length;Tr<Kr;Tr++)ct=An[Tr],ai.writeUInt16(ct);for(fr=0,sn=Ct.length;fr<sn;fr++)Ft=Ct[fr],ai.writeUInt16(Ft);for(zr=0,Ir=Ar.length;zr<Ir;zr++)cr=Ar[zr],ai.writeUInt16(cr);for(wn=0,Rr=Gr.length;wn<Rr;wn++)mn=Gr[wn],ai.writeUInt16(mn);return{charMap:rt,subtable:ai.data,maxGlyphID:nn+1}}},ze}(),ue=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="cmap",Ye.prototype.parse=function(qe){var rt,ct,st;for(qe.pos=this.offset,this.version=qe.readUInt16(),ct=qe.readUInt16(),this.tables=[],this.unicode=null,st=0;0<=ct?st<ct:ct<st;0<=ct?++st:--st)rt=new q(qe,this.offset),this.tables.push(rt),rt.isUnicode&&this.unicode==null&&(this.unicode=rt);return!0},Ye.encode=function(qe,rt){var ct,st;return rt==null&&(rt="macroman"),ct=q.encode(qe,rt),(st=new Bt).writeUInt16(0),st.writeUInt16(1),ct.table=st.data.concat(ct.subtable),ct},Ye}(),me=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="hhea",Ye.prototype.parse=function(qe){return qe.pos=this.offset,this.version=qe.readInt(),this.ascender=qe.readShort(),this.decender=qe.readShort(),this.lineGap=qe.readShort(),this.advanceWidthMax=qe.readShort(),this.minLeftSideBearing=qe.readShort(),this.minRightSideBearing=qe.readShort(),this.xMaxExtent=qe.readShort(),this.caretSlopeRise=qe.readShort(),this.caretSlopeRun=qe.readShort(),this.caretOffset=qe.readShort(),qe.pos+=8,this.metricDataFormat=qe.readShort(),this.numberOfMetrics=qe.readUInt16()},Ye}(),Ee=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="OS/2",Ye.prototype.parse=function(qe){if(qe.pos=this.offset,this.version=qe.readUInt16(),this.averageCharWidth=qe.readShort(),this.weightClass=qe.readUInt16(),this.widthClass=qe.readUInt16(),this.type=qe.readShort(),this.ySubscriptXSize=qe.readShort(),this.ySubscriptYSize=qe.readShort(),this.ySubscriptXOffset=qe.readShort(),this.ySubscriptYOffset=qe.readShort(),this.ySuperscriptXSize=qe.readShort(),this.ySuperscriptYSize=qe.readShort(),this.ySuperscriptXOffset=qe.readShort(),this.ySuperscriptYOffset=qe.readShort(),this.yStrikeoutSize=qe.readShort(),this.yStrikeoutPosition=qe.readShort(),this.familyClass=qe.readShort(),this.panose=function(){var rt,ct;for(ct=[],rt=0;rt<10;++rt)ct.push(qe.readByte());return ct}(),this.charRange=function(){var rt,ct;for(ct=[],rt=0;rt<4;++rt)ct.push(qe.readInt());return ct}(),this.vendorID=qe.readString(4),this.selection=qe.readShort(),this.firstCharIndex=qe.readShort(),this.lastCharIndex=qe.readShort(),0<this.version&&(this.ascent=qe.readShort(),this.descent=qe.readShort(),this.lineGap=qe.readShort(),this.winAscent=qe.readShort(),this.winDescent=qe.readShort(),this.codePageRange=function(){var rt,ct;for(ct=[],rt=0;rt<2;++rt)ct.push(qe.readInt());return ct}(),1<this.version))return this.xHeight=qe.readShort(),this.capHeight=qe.readShort(),this.defaultChar=qe.readShort(),this.breakChar=qe.readShort(),this.maxContext=qe.readShort()},Ye}(),Ge=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="post",Ye.prototype.parse=function(qe){var rt,ct,st,et;switch(qe.pos=this.offset,this.format=qe.readInt(),this.italicAngle=qe.readInt(),this.underlinePosition=qe.readShort(),this.underlineThickness=qe.readShort(),this.isFixedPitch=qe.readInt(),this.minMemType42=qe.readInt(),this.maxMemType42=qe.readInt(),this.minMemType1=qe.readInt(),this.maxMemType1=qe.readInt(),this.format){case 65536:break;case 131072:for(ct=qe.readUInt16(),this.glyphNameIndex=[],st=0;0<=ct?st<ct:ct<st;0<=ct?++st:--st)this.glyphNameIndex.push(qe.readUInt16());for(this.names=[],et=[];qe.pos<this.offset+this.length;)rt=qe.readByte(),et.push(this.names.push(qe.readString(rt)));return et;case 151552:return ct=qe.readUInt16(),this.offsets=qe.read(ct);case 196608:break;case 262144:return this.map=function(){var Ft,Ct,ir;for(ir=[],Ft=0,Ct=this.file.maxp.numGlyphs;0<=Ct?Ft<Ct:Ct<Ft;0<=Ct?++Ft:--Ft)ir.push(qe.readUInt32());return ir}.call(this)}},Ye}(),dt=function(Ye,qe){this.raw=Ye,this.length=Ye.length,this.platformID=qe.platformID,this.encodingID=qe.encodingID,this.languageID=qe.languageID},Kt=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="name",Ye.prototype.parse=function(qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un;for(qe.pos=this.offset,qe.readShort(),rt=qe.readShort(),Ct=qe.readShort(),ct=[],et=_r=0;0<=rt?_r<rt:rt<_r;et=0<=rt?++_r:--_r)ct.push({platformID:qe.readShort(),encodingID:qe.readShort(),languageID:qe.readShort(),nameID:qe.readShort(),length:qe.readShort(),offset:this.offset+Ct+qe.readShort()});for(ir={},et=Br=0,Gr=ct.length;Br<Gr;et=++Br)st=ct[et],qe.pos=st.offset,Xt=qe.readString(st.length),Ft=new dt(Xt,st),ir[un=st.nameID]==null&&(ir[un]=[]),ir[st.nameID].push(Ft);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(mn){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]},Ye}(),tr=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="maxp",Ye.prototype.parse=function(qe){return qe.pos=this.offset,this.version=qe.readInt(),this.numGlyphs=qe.readUInt16(),this.maxPoints=qe.readUInt16(),this.maxContours=qe.readUInt16(),this.maxCompositePoints=qe.readUInt16(),this.maxComponentContours=qe.readUInt16(),this.maxZones=qe.readUInt16(),this.maxTwilightPoints=qe.readUInt16(),this.maxStorage=qe.readUInt16(),this.maxFunctionDefs=qe.readUInt16(),this.maxInstructionDefs=qe.readUInt16(),this.maxStackElements=qe.readUInt16(),this.maxSizeOfInstructions=qe.readUInt16(),this.maxComponentElements=qe.readUInt16(),this.maxComponentDepth=qe.readUInt16()},Ye}(),wt=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="hmtx",Ye.prototype.parse=function(qe){var rt,ct,st,et,Ft,Ct,ir;for(qe.pos=this.offset,this.metrics=[],et=0,Ct=this.file.hhea.numberOfMetrics;0<=Ct?et<Ct:Ct<et;0<=Ct?++et:--et)this.metrics.push({advance:qe.readUInt16(),lsb:qe.readInt16()});for(ct=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,_r;for(_r=[],Xt=0;0<=ct?Xt<ct:ct<Xt;0<=ct?++Xt:--Xt)_r.push(qe.readInt16());return _r}(),this.widths=function(){var Xt,_r,Br,Gr;for(Gr=[],Xt=0,_r=(Br=this.metrics).length;Xt<_r;Xt++)st=Br[Xt],Gr.push(st.advance);return Gr}.call(this),rt=this.widths[this.widths.length-1],ir=[],Ft=0;0<=ct?Ft<ct:ct<Ft;0<=ct?++Ft:--Ft)ir.push(this.widths.push(rt));return ir},Ye.prototype.forGlyph=function(qe){return qe in this.metrics?this.metrics[qe]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[qe-this.metrics.length]}},Ye}(),It=[].slice,Lt=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="glyf",Ye.prototype.parse=function(qe){return this.cache={}},Ye.prototype.glyphFor=function(qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br;return(qe=qe)in this.cache?this.cache[qe]:(et=this.file.loca,rt=this.file.contents,ct=et.indexOf(qe),(st=et.lengthOf(qe))===0?this.cache[qe]=null:(rt.pos=this.offset+ct,Ft=(Ct=new Bt(rt.read(st))).readShort(),Xt=Ct.readShort(),Br=Ct.readShort(),ir=Ct.readShort(),_r=Ct.readShort(),this.cache[qe]=Ft===-1?new $e(Ct,Xt,Br,ir,_r):new Nt(Ct,Ft,Xt,Br,ir,_r),this.cache[qe]))},Ye.prototype.encode=function(qe,rt,ct){var st,et,Ft,Ct,ir;for(Ft=[],et=[],Ct=0,ir=rt.length;Ct<ir;Ct++)st=qe[rt[Ct]],et.push(Ft.length),st&&(Ft=Ft.concat(st.encode(ct)));return et.push(Ft.length),{table:Ft,offsets:et}},Ye}(),Nt=function(){function ze(Ye,qe,rt,ct,st,et){this.raw=Ye,this.numberOfContours=qe,this.xMin=rt,this.yMin=ct,this.xMax=st,this.yMax=et,this.compound=!1}return ze.prototype.encode=function(){return this.raw.data},ze}(),$e=function(){function ze(Ye,qe,rt,ct,st){var et,Ft;for(this.raw=Ye,this.xMin=qe,this.yMin=rt,this.xMax=ct,this.yMax=st,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],et=this.raw;Ft=et.readShort(),this.glyphOffsets.push(et.pos),this.glyphIDs.push(et.readShort()),32&Ft;)et.pos+=1&Ft?4:2,128&Ft?et.pos+=8:64&Ft?et.pos+=4:8&Ft&&(et.pos+=2)}return ze.prototype.encode=function(Ye){var qe,rt,ct,st,et;for(rt=new Bt(It.call(this.raw.data)),qe=ct=0,st=(et=this.glyphIDs).length;ct<st;qe=++ct)et[qe],rt.pos=this.glyphOffsets[qe];return rt.data},ze}(),ot=function(ze){function Ye(){return Ye.__super__.constructor.apply(this,arguments)}return xe(Ye,Ut),Ye.prototype.tag="loca",Ye.prototype.parse=function(qe){var rt;return qe.pos=this.offset,rt=this.file.head.indexToLocFormat,this.offsets=rt===0?function(){var ct,st,et;for(et=[],ct=0,st=this.length;ct<st;ct+=2)et.push(2*qe.readUInt16());return et}.call(this):function(){var ct,st,et;for(et=[],ct=0,st=this.length;ct<st;ct+=4)et.push(qe.readUInt32());return et}.call(this)},Ye.prototype.indexOf=function(qe){return this.offsets[qe]},Ye.prototype.lengthOf=function(qe){return this.offsets[qe+1]-this.offsets[qe]},Ye.prototype.encode=function(qe,rt){for(var ct=new Uint32Array(this.offsets.length),st=0,et=0,Ft=0;Ft<ct.length;++Ft)if(ct[Ft]=st,et<rt.length&&rt[et]==Ft){++et,ct[Ft]=st;var Ct=this.offsets[Ft],ir=this.offsets[Ft+1]-Ct;0<ir&&(st+=ir)}for(var Xt=new Array(4*ct.length),_r=0;_r<ct.length;++_r)Xt[4*_r+3]=255&ct[_r],Xt[4*_r+2]=(65280&ct[_r])>>8,Xt[4*_r+1]=(16711680&ct[_r])>>16,Xt[4*_r]=(4278190080&ct[_r])>>24;return Xt},Ye}(),ft=function(){function ze(Ye){this.font=Ye,this.subset={},this.unicodes={},this.next=33}return ze.prototype.generateCmap=function(){var Ye,qe,rt,ct,st;for(qe in ct=this.font.cmap.tables[0].codeMap,Ye={},st=this.subset)rt=st[qe],Ye[qe]=ct[rt];return Ye},ze.prototype.glyphsFor=function(Ye){var qe,rt,ct,st,et,Ft,Ct;for(ct={},et=0,Ft=Ye.length;et<Ft;et++)ct[st=Ye[et]]=this.font.glyf.glyphFor(st);for(st in qe=[],ct)((rt=ct[st])!=null?rt.compound:void 0)&&qe.push.apply(qe,rt.glyphIDs);if(0<qe.length)for(st in Ct=this.glyphsFor(qe))rt=Ct[st],ct[st]=rt;return ct},ze.prototype.encode=function(Ye,qe){var rt,ct,st,et,Ft,Ct,ir,Xt,_r,Br,Gr,un,mn,_n,qr;for(ct in rt=ue.encode(this.generateCmap(),"unicode"),et=this.glyphsFor(Ye),Gr={0:0},qr=rt.charMap)Gr[(Ct=qr[ct]).old]=Ct.new;for(un in Br=rt.maxGlyphID,et)un in Gr||(Gr[un]=Br++);return Xt=function(yn){var nn,cr;for(nn in cr={},yn)cr[yn[nn]]=nn;return cr}(Gr),_r=Object.keys(Xt).sort(function(yn,nn){return yn-nn}),mn=function(){var yn,nn,cr;for(cr=[],yn=0,nn=_r.length;yn<nn;yn++)Ft=_r[yn],cr.push(Xt[Ft]);return cr}(),st=this.font.glyf.encode(et,mn,Gr),ir=this.font.loca.encode(st.offsets,mn),_n={cmap:this.font.cmap.raw(),glyf:st.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(qe)},this.font.os2.exists&&(_n["OS/2"]=this.font.os2.raw()),this.font.directory.encode(_n)},ze}();ge.API.PDFObject=function(){var ze;function Ye(){}return ze=function(rt,ct){return(Array(ct+1).join("0")+rt).slice(-ct)},Ye.convert=function(qe){var rt,ct,st,et;if(Array.isArray(qe))return"["+function(){var Ft,Ct,ir;for(ir=[],Ft=0,Ct=qe.length;Ft<Ct;Ft++)rt=qe[Ft],ir.push(Ye.convert(rt));return ir}().join(" ")+"]";if(typeof qe=="string")return"/"+qe;if(qe!=null?qe.isString:void 0)return"("+qe+")";if(qe instanceof Date)return"(D:"+ze(qe.getUTCFullYear(),4)+ze(qe.getUTCMonth(),2)+ze(qe.getUTCDate(),2)+ze(qe.getUTCHours(),2)+ze(qe.getUTCMinutes(),2)+ze(qe.getUTCSeconds(),2)+"Z)";if({}.toString.call(qe)!=="[object Object]")return""+qe;for(ct in st=["<<"],qe)et=qe[ct],st.push("/"+ct+" "+Ye.convert(et));return st.push(">>"),st.join(`
|
|
|
`)},Ye}()}(lt),Be=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof A!="undefined"&&A||Function('return typeof this === "object" && this.content')()||Function("return this")(),J=function(){var ge,ye,Le;function we(Ke){var Je,ut,vt,_t,Ut,Bt,dr,Oe,xe,V,q,ue,me,Ee;for(this.data=Ke,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Bt=null;;){switch(Je=this.readUInt32(),xe=function(){var Ge,dt;for(dt=[],Ge=0;Ge<4;++Ge)dt.push(String.fromCharCode(this.data[this.pos++]));return dt}.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":Bt&&this.animation.frames.push(Bt),this.pos+=4,Bt={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},Ut=this.readUInt16(),_t=this.readUInt16()||100,Bt.delay=1e3*Ut/_t,Bt.disposeOp=this.data[this.pos++],Bt.blendOp=this.data[this.pos++],Bt.data=[];break;case"IDAT":case"fdAT":for(xe==="fdAT"&&(this.pos+=4,Je-=4),Ke=(Bt!=null?Bt.data:void 0)||this.imgData,ue=0;0<=Je?ue<Je:Je<ue;0<=Je?++ue:--ue)Ke.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(vt=this.palette.length/3,this.transparency.indexed=this.read(Je),this.transparency.indexed.length>vt)throw new Error("More transparent colors than palette size");if(0<(V=vt-this.transparency.indexed.length))for(me=0;0<=V?me<V:V<me;0<=V?++me:--me)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":dr=(q=this.read(Je)).indexOf(0),Oe=String.fromCharCode.apply(String,q.slice(0,dr)),this.text[Oe]=String.fromCharCode.apply(String,q.slice(dr+1));break;case"IEND":return Bt&&this.animation.frames.push(Bt),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Ee=this.colorType)===4||Ee===6,ut=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*ut,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")}}we.load=function(Ke,Je,ut){var vt;return typeof Je=="function"&&(ut=Je),(vt=new XMLHttpRequest).open("GET",Ke,!0),vt.responseType="arraybuffer",vt.onload=function(){var _t;return _t=new we(new Uint8Array(vt.response||vt.mozResponseArrayBuffer)),typeof(Je!=null?Je.getContext:void 0)=="function"&&_t.render(Je),typeof ut=="function"?ut(_t):void 0},vt.send(null)},we.prototype.read=function(Ke){var Je,ut;for(ut=[],Je=0;0<=Ke?Je<Ke:Ke<Je;0<=Ke?++Je:--Je)ut.push(this.data[this.pos++]);return ut},we.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.decodePixels=function(Ke){var Je=this.pixelBitlength/8,ut=new Uint8Array(this.width*this.height*Je),vt=0,_t=this;if(Ke==null&&(Ke=this.imgData),Ke.length===0)return new Uint8Array(0);function Ut(Bt,dr,Oe,xe){var V,q,ue,me,Ee,Ge,dt,Kt,tr,wt,It,Lt,Nt,$e,ot,ft,ze,Ye,qe,rt,ct,st=Math.ceil((_t.width-Bt)/Oe),et=Math.ceil((_t.height-dr)/xe),Ft=_t.width==st&&_t.height==et;for($e=Je*st,Lt=Ft?ut:new Uint8Array($e*et),Ge=Ke.length,q=Nt=0;Nt<et&&vt<Ge;){switch(Ke[vt++]){case 0:for(me=ze=0;ze<$e;me=ze+=1)Lt[q++]=Ke[vt++];break;case 1:for(me=Ye=0;Ye<$e;me=Ye+=1)V=Ke[vt++],Ee=me<Je?0:Lt[q-Je],Lt[q++]=(V+Ee)%256;break;case 2:for(me=qe=0;qe<$e;me=qe+=1)V=Ke[vt++],ue=(me-me%Je)/Je,ot=Nt&&Lt[(Nt-1)*$e+ue*Je+me%Je],Lt[q++]=(ot+V)%256;break;case 3:for(me=rt=0;rt<$e;me=rt+=1)V=Ke[vt++],ue=(me-me%Je)/Je,Ee=me<Je?0:Lt[q-Je],ot=Nt&&Lt[(Nt-1)*$e+ue*Je+me%Je],Lt[q++]=(V+Math.floor((Ee+ot)/2))%256;break;case 4:for(me=ct=0;ct<$e;me=ct+=1)V=Ke[vt++],ue=(me-me%Je)/Je,Ee=me<Je?0:Lt[q-Je],Nt===0?ot=ft=0:(ot=Lt[(Nt-1)*$e+ue*Je+me%Je],ft=ue&&Lt[(Nt-1)*$e+(ue-1)*Je+me%Je]),dt=Ee+ot-ft,Kt=Math.abs(dt-Ee),wt=Math.abs(dt-ot),It=Math.abs(dt-ft),tr=Kt<=wt&&Kt<=It?Ee:wt<=It?ot:ft,Lt[q++]=(V+tr)%256;break;default:throw new Error("Invalid filter algorithm: "+Ke[vt-1])}if(!Ft){var Ct=((dr+Nt*xe)*_t.width+Bt)*Je,ir=Nt*$e;for(me=0;me<st;me+=1){for(var Xt=0;Xt<Je;Xt+=1)ut[Ct++]=Lt[ir++];Ct+=(Oe-1)*Je}}Nt++}}return Ke=(Ke=new Jt(Ke)).getBytes(),_t.interlaceMethod==1?(Ut(0,0,8,8),Ut(4,0,8,8),Ut(0,4,4,8),Ut(2,0,4,4),Ut(0,2,2,4),Ut(1,0,2,2),Ut(0,1,1,2)):Ut(0,0,1,1),ut},we.prototype.decodePalette=function(){var Ke,Je,ut,vt,_t,Ut,Bt,dr,Oe;for(ut=this.palette,Ut=this.transparency.indexed||[],_t=new Uint8Array((Ut.length||0)+ut.length),vt=0,ut.length,Je=Bt=Ke=0,dr=ut.length;Bt<dr;Je=Bt+=3)_t[vt++]=ut[Je],_t[vt++]=ut[Je+1],_t[vt++]=ut[Je+2],_t[vt++]=(Oe=Ut[Ke++])!=null?Oe:255;return _t},we.prototype.copyToImageData=function(Ke,Je){var ut,vt,_t,Ut,Bt,dr,Oe,xe,V,q,ue;if(vt=this.colors,V=null,ut=this.hasAlphaChannel,this.palette.length&&(V=(ue=this._decodedPalette)!=null?ue:this._decodedPalette=this.decodePalette(),vt=4,ut=!0),xe=(_t=Ke.data||Ke).length,Bt=V||Je,Ut=dr=0,vt===1)for(;Ut<xe;)Oe=V?4*Je[Ut/4]:dr,q=Bt[Oe++],_t[Ut++]=q,_t[Ut++]=q,_t[Ut++]=q,_t[Ut++]=ut?Bt[Oe++]:255,dr=Oe;else for(;Ut<xe;)Oe=V?4*Je[Ut/4]:dr,_t[Ut++]=Bt[Oe++],_t[Ut++]=Bt[Oe++],_t[Ut++]=Bt[Oe++],_t[Ut++]=ut?Bt[Oe++]:255,dr=Oe},we.prototype.decode=function(){var Ke;return Ke=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ke,this.decodePixels()),Ke};try{ye=Be.document.createElement("canvas"),Le=ye.getContext("2d")}catch(Ke){return-1}return ge=function(Je){var ut;return Le.width=Je.width,Le.height=Je.height,Le.clearRect(0,0,Je.width,Je.height),Le.putImageData(Je,0,0),(ut=new Image).src=ye.toDataURL(),ut},we.prototype.decodeFrames=function(Ke){var Je,ut,vt,_t,Ut,Bt,dr,Oe;if(this.animation){for(Oe=[],ut=Ut=0,Bt=(dr=this.animation.frames).length;Ut<Bt;ut=++Ut)Je=dr[ut],vt=Ke.createImageData(Je.width,Je.height),_t=this.decodePixels(new Uint8Array(Je.data)),this.copyToImageData(vt,_t),Je.imageData=vt,Oe.push(Je.image=ge(vt));return Oe}},we.prototype.renderFrame=function(Ke,Je){var ut,vt,_t;return ut=(vt=this.animation.frames)[Je],_t=vt[Je-1],Je===0&&Ke.clearRect(0,0,this.width,this.height),(_t!=null?_t.disposeOp:void 0)===1?Ke.clearRect(_t.xOffset,_t.yOffset,_t.width,_t.height):(_t!=null?_t.disposeOp:void 0)===2&&Ke.putImageData(_t.imageData,_t.xOffset,_t.yOffset),ut.blendOp===0&&Ke.clearRect(ut.xOffset,ut.yOffset,ut.width,ut.height),Ke.drawImage(ut.image,ut.xOffset,ut.yOffset)},we.prototype.animate=function(Ke){var Je,ut,vt,_t,Ut,Bt,dr=this;return ut=0,Bt=this.animation,_t=Bt.numFrames,vt=Bt.frames,Ut=Bt.numPlays,(Je=function(){var xe,V;if(xe=ut++%_t,V=vt[xe],dr.renderFrame(Ke,xe),1<_t&&ut/_t<Ut)return dr.animation._timeout=setTimeout(Je,V.delay)})()},we.prototype.stopAnimation=function(){var Ke;return clearTimeout((Ke=this.animation)!=null?Ke._timeout:void 0)},we.prototype.render=function(Ke){var Je,ut;return Ke._png&&Ke._png.stopAnimation(),Ke._png=this,Ke.width=this.width,Ke.height=this.height,Je=Ke.getContext("2d"),this.animation?(this.decodeFrames(Je),this.animate(Je)):(ut=Je.createImageData(this.width,this.height),this.copyToImageData(ut,this.decodePixels()),Je.putImageData(ut,0,0))},we}(),Be.PNG=J;var Fr=function(){function ge(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return ge.prototype={ensureBuffer:function(Le){var we=this.buffer,Ke=we?we.byteLength:0;if(Le<Ke)return we;for(var Je=512;Je<Le;)Je<<=1;for(var ut=new Uint8Array(Je),vt=0;vt<Ke;++vt)ut[vt]=we[vt];return this.buffer=ut},getByte:function(){for(var Le=this.pos;this.bufferLength<=Le;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(Le){var we=this.pos;if(Le){this.ensureBuffer(we+Le);for(var Ke=we+Le;!this.eof&&this.bufferLength<Ke;)this.readBlock();var Je=this.bufferLength;Je<Ke&&(Ke=Je)}else{for(;!this.eof;)this.readBlock();Ke=this.bufferLength}return this.pos=Ke,this.buffer.subarray(we,Ke)},lookChar:function(){for(var Le=this.pos;this.bufferLength<=Le;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var Le=this.pos;this.bufferLength<=Le;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(Le,we,Ke){for(var Je=Le+we;this.bufferLength<=Je&&!this.eof;)this.readBlock();return new Stream(this.buffer,Le,we,Ke)},skip:function(Le){Le||(Le=1),this.pos+=Le},reset:function(){this.pos=0}},ge}(),Jt=function(){if(typeof Uint32Array!="undefined"){var ge=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ye=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]),Le=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),we=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Ke=[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(ut.prototype=Object.create(Fr.prototype)).getBits=function(vt){for(var _t,Ut=this.codeSize,Bt=this.codeBuf,dr=this.bytes,Oe=this.bytesPos;Ut<vt;)(_t=dr[Oe++])===void 0&&Je("Bad encoding in flate stream"),Bt|=_t<<Ut,Ut+=8;return _t=Bt&(1<<vt)-1,this.codeBuf=Bt>>vt,this.codeSize=Ut-=vt,this.bytesPos=Oe,_t},ut.prototype.getCode=function(vt){for(var _t=vt[0],Ut=vt[1],Bt=this.codeSize,dr=this.codeBuf,Oe=this.bytes,xe=this.bytesPos;Bt<Ut;){var V;(V=Oe[xe++])===void 0&&Je("Bad encoding in flate stream"),dr|=V<<Bt,Bt+=8}var q=_t[dr&(1<<Ut)-1],ue=q>>16,me=65535&q;return(Bt==0||Bt<ue||ue==0)&&Je("Bad encoding in flate stream"),this.codeBuf=dr>>ue,this.codeSize=Bt-ue,this.bytesPos=xe,me},ut.prototype.generateHuffmanTable=function(vt){for(var _t=vt.length,Ut=0,Bt=0;Bt<_t;++Bt)vt[Bt]>Ut&&(Ut=vt[Bt]);for(var dr=1<<Ut,Oe=new Uint32Array(dr),xe=1,V=0,q=2;xe<=Ut;++xe,V<<=1,q<<=1)for(var ue=0;ue<_t;++ue)if(vt[ue]==xe){var me=0,Ee=V;for(Bt=0;Bt<xe;++Bt)me=me<<1|1&Ee,Ee>>=1;for(Bt=me;Bt<dr;Bt+=q)Oe[Bt]=xe<<16|ue;++V}return[Oe,Ut]},ut.prototype.readBlock=function(){function vt(et,Ft,Ct,ir,Xt){for(var _r=et.getBits(Ct)+ir;0<_r--;)Ft[q++]=Xt}var _t=this.getBits(3);if(1&_t&&(this.eof=!0),(_t>>=1)!=0){var Ut,Bt;if(_t==1)Ut=we,Bt=Ke;else if(_t==2){for(var dr=this.getBits(5)+257,Oe=this.getBits(5)+1,xe=this.getBits(4)+4,V=Array(ge.length),q=0;q<xe;)V[ge[q++]]=this.getBits(3);for(var ue=this.generateHuffmanTable(V),me=0,Ee=(q=0,dr+Oe),Ge=new Array(Ee);q<Ee;){var dt=this.getCode(ue);dt==16?vt(this,Ge,2,3,me):dt==17?vt(this,Ge,3,3,me=0):dt==18?vt(this,Ge,7,11,me=0):Ge[q++]=me=dt}Ut=this.generateHuffmanTable(Ge.slice(0,dr)),Bt=this.generateHuffmanTable(Ge.slice(dr,Ee))}else Je("Unknown block type in flate stream");for(var Kt=(rt=this.buffer)?rt.length:0,tr=this.bufferLength;;){var wt=this.getCode(Ut);if(wt<256)Kt<=tr+1&&(Kt=(rt=this.ensureBuffer(tr+1)).length),rt[tr++]=wt;else{if(wt==256)return void(this.bufferLength=tr);var It=(wt=ye[wt-=257])>>16;0<It&&(It=this.getBits(It)),me=(65535&wt)+It,wt=this.getCode(Bt),0<(It=(wt=Le[wt])>>16)&&(It=this.getBits(It));var Lt=(65535&wt)+It;Kt<=tr+me&&(Kt=(rt=this.ensureBuffer(tr+me)).length);for(var Nt=0;Nt<me;++Nt,++tr)rt[tr]=rt[tr-Lt]}}}else{var $e,ot=this.bytes,ft=this.bytesPos;($e=ot[ft++])===void 0&&Je("Bad block header in flate stream");var ze=$e;($e=ot[ft++])===void 0&&Je("Bad block header in flate stream"),ze|=$e<<8,($e=ot[ft++])===void 0&&Je("Bad block header in flate stream");var Ye=$e;($e=ot[ft++])===void 0&&Je("Bad block header in flate stream"),(Ye|=$e<<8)!=(65535&~ze)&&Je("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var qe=this.bufferLength,rt=this.ensureBuffer(qe+ze),ct=qe+ze;this.bufferLength=ct;for(var st=qe;st<ct;++st){if(($e=ot[ft++])===void 0){this.eof=!0;break}rt[st]=$e}this.bytesPos=ft}},ut}function Je(vt){throw new Error(vt)}function ut(vt){var _t=0,Ut=vt[_t++],Bt=vt[_t++];Ut!=-1&&Bt!=-1||Je("Invalid header in flate stream"),(15&Ut)!=8&&Je("Unknown compression method in flate stream"),((Ut<<8)+Bt)%31!=0&&Je("Bad FCHECK in flate stream"),32&Bt&&Je("FDICT bit set in flate stream"),this.bytes=vt,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,Fr.call(this)}}();window.tmp=Jt});try{R.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},eP3c:function(R,N,e){"use strict";function A(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(Y){return typeof Y}:A=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},A(Ue)}Object.defineProperty(N,"__esModule",{value:!0}),N.inflateReset=ne,N.inflateReset2=he,N.inflateResetKeep=De,N.inflateInit=Xe,N.inflateInit2=pe,N.inflate=Mt,N.inflateEnd=jt,N.inflateGetHeader=kt,N.inflateSetDictionary=Tt,N.inflateInfo=N.Z_DEFLATED=N.Z_BUF_ERROR=N.Z_MEM_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_NEED_DICT=N.Z_STREAM_END=N.Z_OK=N.Z_TREES=N.Z_BLOCK=N.Z_FINISH=void 0;var f=a(e("6BzB")),x=c(e("xlC8")),m=c(e("QV2g")),g=c(e("sjKO")),p=c(e("JSwD"));function c(Ue){return Ue&&Ue.__esModule?Ue:{default:Ue}}function s(){if(typeof WeakMap!="function")return null;var Ue=new WeakMap;return s=function(){return Ue},Ue}function a(Ue){if(Ue&&Ue.__esModule)return Ue;if(Ue===null||A(Ue)!=="object"&&typeof Ue!="function")return{default:Ue};var G=s();if(G&&G.has(Ue))return G.get(Ue);var Y={},Pe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Be in Ue)if(Object.prototype.hasOwnProperty.call(Ue,Be)){var J=Pe?Object.getOwnPropertyDescriptor(Ue,Be):null;J&&(J.get||J.set)?Object.defineProperty(Y,Be,J):Y[Be]=Ue[Be]}return Y.default=Ue,G&&G.set(Ue,Y),Y}var n=0,i=1,d=2,t=4;N.Z_FINISH=t;var l=5;N.Z_BLOCK=l;var r=6;N.Z_TREES=r;var o=0;N.Z_OK=o;var u=1;N.Z_STREAM_END=u;var h=2;N.Z_NEED_DICT=h;var y=-2;N.Z_STREAM_ERROR=y;var b=-3;N.Z_DATA_ERROR=b;var E=-4;N.Z_MEM_ERROR=E;var v=-5;N.Z_BUF_ERROR=v;var w=8;N.Z_DEFLATED=w;var O=1,T=2,S=3,C=4,_=5,I=6,k=7,F=8,B=9,j=10,z=11,M=12,U=13,P=14,H=15,W=16,X=17,K=18,$=19,ie=20,be=21,te=22,Te=23,Ie=24,Fe=25,Qe=26,fe=27,He=28,se=29,Ce=30,mt=31,Ne=32,ae=852,ce=592,le=15,je=le;function Re(Ue){return(Ue>>>24&255)+(Ue>>>8&65280)+((Ue&65280)<<8)+((Ue&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 De(Ue){var G;return!Ue||!Ue.state?y:(G=Ue.state,Ue.total_in=Ue.total_out=G.total=0,Ue.msg="",G.wrap&&(Ue.adler=G.wrap&1),G.mode=O,G.last=0,G.havedict=0,G.dmax=32768,G.head=null,G.hold=0,G.bits=0,G.lencode=G.lendyn=new f.Buf32(ae),G.distcode=G.distdyn=new f.Buf32(ce),G.sane=1,G.back=-1,o)}function ne(Ue){var G;return!Ue||!Ue.state?y:(G=Ue.state,G.wsize=0,G.whave=0,G.wnext=0,De(Ue))}function he(Ue,G){var Y,Pe;return!Ue||!Ue.state?y:(Pe=Ue.state,G<0?(Y=0,G=-G):(Y=(G>>4)+1,G<48&&(G&=15)),G&&(G<8||G>15)?y:(Pe.window!==null&&Pe.wbits!==G&&(Pe.window=null),Pe.wrap=Y,Pe.wbits=G,ne(Ue)))}function pe(Ue,G){var Y,Pe;return Ue?(Pe=new Ze,Ue.state=Pe,Pe.window=null,Y=he(Ue,G),Y!==o&&(Ue.state=null),Y):y}function Xe(Ue){return pe(Ue,je)}var lt=!0,At,Me;function Ht(Ue){if(lt){var G;for(At=new f.Buf32(512),Me=new f.Buf32(32),G=0;G<144;)Ue.lens[G++]=8;for(;G<256;)Ue.lens[G++]=9;for(;G<280;)Ue.lens[G++]=7;for(;G<288;)Ue.lens[G++]=8;for((0,p.default)(i,Ue.lens,0,288,At,0,Ue.work,{bits:9}),G=0;G<32;)Ue.lens[G++]=5;(0,p.default)(d,Ue.lens,0,32,Me,0,Ue.work,{bits:5}),lt=!1}Ue.lencode=At,Ue.lenbits=9,Ue.distcode=Me,Ue.distbits=5}function tt(Ue,G,Y,Pe){var Be,J=Ue.state;return J.window===null&&(J.wsize=1<<J.wbits,J.wnext=0,J.whave=0,J.window=new f.Buf8(J.wsize)),Pe>=J.wsize?(f.arraySet(J.window,G,Y-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize):(Be=J.wsize-J.wnext,Be>Pe&&(Be=Pe),f.arraySet(J.window,G,Y-Pe,Be,J.wnext),Pe-=Be,Pe?(f.arraySet(J.window,G,Y-Pe,Pe,0),J.wnext=Pe,J.whave=J.wsize):(J.wnext+=Be,J.wnext===J.wsize&&(J.wnext=0),J.whave<J.wsize&&(J.whave+=Be))),0}function Mt(Ue,G){var Y,Pe,Be,J,St,bt,nt,Rt,zt,Fr,Jt,ge,ye,Le,we=0,Ke,Je,ut,vt,_t,Ut,Bt,dr,Oe=new f.Buf8(4),xe,V,q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ue||!Ue.state||!Ue.output||!Ue.input&&Ue.avail_in!==0)return y;Y=Ue.state,Y.mode===M&&(Y.mode=U),St=Ue.next_out,Be=Ue.output,nt=Ue.avail_out,J=Ue.next_in,Pe=Ue.input,bt=Ue.avail_in,Rt=Y.hold,zt=Y.bits,Fr=bt,Jt=nt,dr=o;e:for(;;)switch(Y.mode){case O:if(Y.wrap===0){Y.mode=U;break}for(;zt<16;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Y.wrap&2&&Rt===35615){Y.check=0,Oe[0]=Rt&255,Oe[1]=Rt>>>8&255,Y.check=(0,m.default)(Y.check,Oe,2,0),Rt=0,zt=0,Y.mode=T;break}if(Y.flags=0,Y.head&&(Y.head.done=!1),!(Y.wrap&1)||(((Rt&255)<<8)+(Rt>>8))%31){Ue.msg="incorrect header check",Y.mode=Ce;break}if((Rt&15)!==w){Ue.msg="unknown compression method",Y.mode=Ce;break}if(Rt>>>=4,zt-=4,Bt=(Rt&15)+8,Y.wbits===0)Y.wbits=Bt;else if(Bt>Y.wbits){Ue.msg="invalid window size",Y.mode=Ce;break}Y.dmax=1<<Bt,Ue.adler=Y.check=1,Y.mode=Rt&512?j:M,Rt=0,zt=0;break;case T:for(;zt<16;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Y.flags=Rt,(Y.flags&255)!==w){Ue.msg="unknown compression method",Y.mode=Ce;break}if(Y.flags&57344){Ue.msg="unknown header flags set",Y.mode=Ce;break}Y.head&&(Y.head.text=Rt>>8&1),Y.flags&512&&(Oe[0]=Rt&255,Oe[1]=Rt>>>8&255,Y.check=(0,m.default)(Y.check,Oe,2,0)),Rt=0,zt=0,Y.mode=S;case S:for(;zt<32;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.head&&(Y.head.time=Rt),Y.flags&512&&(Oe[0]=Rt&255,Oe[1]=Rt>>>8&255,Oe[2]=Rt>>>16&255,Oe[3]=Rt>>>24&255,Y.check=(0,m.default)(Y.check,Oe,4,0)),Rt=0,zt=0,Y.mode=C;case C:for(;zt<16;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.head&&(Y.head.xflags=Rt&255,Y.head.os=Rt>>8),Y.flags&512&&(Oe[0]=Rt&255,Oe[1]=Rt>>>8&255,Y.check=(0,m.default)(Y.check,Oe,2,0)),Rt=0,zt=0,Y.mode=_;case _:if(Y.flags&1024){for(;zt<16;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.length=Rt,Y.head&&(Y.head.extra_len=Rt),Y.flags&512&&(Oe[0]=Rt&255,Oe[1]=Rt>>>8&255,Y.check=(0,m.default)(Y.check,Oe,2,0)),Rt=0,zt=0}else Y.head&&(Y.head.extra=null);Y.mode=I;case I:if(Y.flags&1024&&(ge=Y.length,ge>bt&&(ge=bt),ge&&(Y.head&&(Bt=Y.head.extra_len-Y.length,Y.head.extra||(Y.head.extra=new Array(Y.head.extra_len)),f.arraySet(Y.head.extra,Pe,J,ge,Bt)),Y.flags&512&&(Y.check=(0,m.default)(Y.check,Pe,ge,J)),bt-=ge,J+=ge,Y.length-=ge),Y.length))break e;Y.length=0,Y.mode=k;case k:if(Y.flags&2048){if(bt===0)break e;ge=0;do Bt=Pe[J+ge++],Y.head&&Bt&&Y.length<65536&&(Y.head.name+=String.fromCharCode(Bt));while(Bt&&ge<bt);if(Y.flags&512&&(Y.check=(0,m.default)(Y.check,Pe,ge,J)),bt-=ge,J+=ge,Bt)break e}else Y.head&&(Y.head.name=null);Y.length=0,Y.mode=F;case F:if(Y.flags&4096){if(bt===0)break e;ge=0;do Bt=Pe[J+ge++],Y.head&&Bt&&Y.length<65536&&(Y.head.comment+=String.fromCharCode(Bt));while(Bt&&ge<bt);if(Y.flags&512&&(Y.check=(0,m.default)(Y.check,Pe,ge,J)),bt-=ge,J+=ge,Bt)break e}else Y.head&&(Y.head.comment=null);Y.mode=B;case B:if(Y.flags&512){for(;zt<16;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Rt!==(Y.check&65535)){Ue.msg="header crc mismatch",Y.mode=Ce;break}Rt=0,zt=0}Y.head&&(Y.head.hcrc=Y.flags>>9&1,Y.head.done=!0),Ue.adler=Y.check=0,Y.mode=M;break;case j:for(;zt<32;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Ue.adler=Y.check=Re(Rt),Rt=0,zt=0,Y.mode=z;case z:if(Y.havedict===0)return Ue.next_out=St,Ue.avail_out=nt,Ue.next_in=J,Ue.avail_in=bt,Y.hold=Rt,Y.bits=zt,h;Ue.adler=Y.check=1,Y.mode=M;case M:if(G===l||G===r)break e;case U:if(Y.last){Rt>>>=zt&7,zt-=zt&7,Y.mode=fe;break}for(;zt<3;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.last=Rt&1,Rt>>>=1,zt-=1;switch(Rt&3){case 0:Y.mode=P;break;case 1:if(Ht(Y),Y.mode=ie,G===r){Rt>>>=2,zt-=2;break e}break;case 2:Y.mode=X;break;case 3:Ue.msg="invalid block type",Y.mode=Ce}Rt>>>=2,zt-=2;break;case P:for(Rt>>>=zt&7,zt-=zt&7;zt<32;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if((Rt&65535)!==(Rt>>>16^65535)){Ue.msg="invalid stored block lengths",Y.mode=Ce;break}if(Y.length=Rt&65535,Rt=0,zt=0,Y.mode=H,G===r)break e;case H:Y.mode=W;case W:if(ge=Y.length,ge){if(ge>bt&&(ge=bt),ge>nt&&(ge=nt),ge===0)break e;f.arraySet(Be,Pe,J,ge,St),bt-=ge,J+=ge,nt-=ge,St+=ge,Y.length-=ge;break}Y.mode=M;break;case X:for(;zt<14;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Y.nlen=(Rt&31)+257,Rt>>>=5,zt-=5,Y.ndist=(Rt&31)+1,Rt>>>=5,zt-=5,Y.ncode=(Rt&15)+4,Rt>>>=4,zt-=4,Y.nlen>286||Y.ndist>30){Ue.msg="too many length or distance symbols",Y.mode=Ce;break}Y.have=0,Y.mode=K;case K:for(;Y.have<Y.ncode;){for(;zt<3;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.lens[q[Y.have++]]=Rt&7,Rt>>>=3,zt-=3}for(;Y.have<19;)Y.lens[q[Y.have++]]=0;if(Y.lencode=Y.lendyn,Y.lenbits=7,xe={bits:Y.lenbits},dr=(0,p.default)(n,Y.lens,0,19,Y.lencode,0,Y.work,xe),Y.lenbits=xe.bits,dr){Ue.msg="invalid code lengths set",Y.mode=Ce;break}Y.have=0,Y.mode=$;case $:for(;Y.have<Y.nlen+Y.ndist;){for(;!(we=Y.lencode[Rt&(1<<Y.lenbits)-1],Ke=we>>>24,Je=we>>>16&255,ut=we&65535,Ke<=zt);){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(ut<16)Rt>>>=Ke,zt-=Ke,Y.lens[Y.have++]=ut;else{if(ut===16){for(V=Ke+2;zt<V;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Rt>>>=Ke,zt-=Ke,Y.have===0){Ue.msg="invalid bit length repeat",Y.mode=Ce;break}Bt=Y.lens[Y.have-1],ge=3+(Rt&3),Rt>>>=2,zt-=2}else if(ut===17){for(V=Ke+3;zt<V;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Rt>>>=Ke,zt-=Ke,Bt=0,ge=3+(Rt&7),Rt>>>=3,zt-=3}else{for(V=Ke+7;zt<V;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Rt>>>=Ke,zt-=Ke,Bt=0,ge=11+(Rt&127),Rt>>>=7,zt-=7}if(Y.have+ge>Y.nlen+Y.ndist){Ue.msg="invalid bit length repeat",Y.mode=Ce;break}for(;ge--;)Y.lens[Y.have++]=Bt}}if(Y.mode===Ce)break;if(Y.lens[256]===0){Ue.msg="invalid code -- missing end-of-block",Y.mode=Ce;break}if(Y.lenbits=9,xe={bits:Y.lenbits},dr=(0,p.default)(i,Y.lens,0,Y.nlen,Y.lencode,0,Y.work,xe),Y.lenbits=xe.bits,dr){Ue.msg="invalid literal/lengths set",Y.mode=Ce;break}if(Y.distbits=6,Y.distcode=Y.distdyn,xe={bits:Y.distbits},dr=(0,p.default)(d,Y.lens,Y.nlen,Y.ndist,Y.distcode,0,Y.work,xe),Y.distbits=xe.bits,dr){Ue.msg="invalid distances set",Y.mode=Ce;break}if(Y.mode=ie,G===r)break e;case ie:Y.mode=be;case be:if(bt>=6&&nt>=258){Ue.next_out=St,Ue.avail_out=nt,Ue.next_in=J,Ue.avail_in=bt,Y.hold=Rt,Y.bits=zt,(0,g.default)(Ue,Jt),St=Ue.next_out,Be=Ue.output,nt=Ue.avail_out,J=Ue.next_in,Pe=Ue.input,bt=Ue.avail_in,Rt=Y.hold,zt=Y.bits,Y.mode===M&&(Y.back=-1);break}for(Y.back=0;!(we=Y.lencode[Rt&(1<<Y.lenbits)-1],Ke=we>>>24,Je=we>>>16&255,ut=we&65535,Ke<=zt);){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Je&&(Je&240)===0){for(vt=Ke,_t=Je,Ut=ut;!(we=Y.lencode[Ut+((Rt&(1<<vt+_t)-1)>>vt)],Ke=we>>>24,Je=we>>>16&255,ut=we&65535,vt+Ke<=zt);){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Rt>>>=vt,zt-=vt,Y.back+=vt}if(Rt>>>=Ke,zt-=Ke,Y.back+=Ke,Y.length=ut,Je===0){Y.mode=Qe;break}if(Je&32){Y.back=-1,Y.mode=M;break}if(Je&64){Ue.msg="invalid literal/length code",Y.mode=Ce;break}Y.extra=Je&15,Y.mode=te;case te:if(Y.extra){for(V=Y.extra;zt<V;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.length+=Rt&(1<<Y.extra)-1,Rt>>>=Y.extra,zt-=Y.extra,Y.back+=Y.extra}Y.was=Y.length,Y.mode=Te;case Te:for(;!(we=Y.distcode[Rt&(1<<Y.distbits)-1],Ke=we>>>24,Je=we>>>16&255,ut=we&65535,Ke<=zt);){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if((Je&240)===0){for(vt=Ke,_t=Je,Ut=ut;!(we=Y.distcode[Ut+((Rt&(1<<vt+_t)-1)>>vt)],Ke=we>>>24,Je=we>>>16&255,ut=we&65535,vt+Ke<=zt);){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Rt>>>=vt,zt-=vt,Y.back+=vt}if(Rt>>>=Ke,zt-=Ke,Y.back+=Ke,Je&64){Ue.msg="invalid distance code",Y.mode=Ce;break}Y.offset=ut,Y.extra=Je&15,Y.mode=Ie;case Ie:if(Y.extra){for(V=Y.extra;zt<V;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}Y.offset+=Rt&(1<<Y.extra)-1,Rt>>>=Y.extra,zt-=Y.extra,Y.back+=Y.extra}if(Y.offset>Y.dmax){Ue.msg="invalid distance too far back",Y.mode=Ce;break}Y.mode=Fe;case Fe:if(nt===0)break e;if(ge=Jt-nt,Y.offset>ge){if(ge=Y.offset-ge,ge>Y.whave&&Y.sane){Ue.msg="invalid distance too far back",Y.mode=Ce;break}ge>Y.wnext?(ge-=Y.wnext,ye=Y.wsize-ge):ye=Y.wnext-ge,ge>Y.length&&(ge=Y.length),Le=Y.window}else Le=Be,ye=St-Y.offset,ge=Y.length;ge>nt&&(ge=nt),nt-=ge,Y.length-=ge;do Be[St++]=Le[ye++];while(--ge);Y.length===0&&(Y.mode=be);break;case Qe:if(nt===0)break e;Be[St++]=Y.length,nt--,Y.mode=be;break;case fe:if(Y.wrap){for(;zt<32;){if(bt===0)break e;bt--,Rt|=Pe[J++]<<zt,zt+=8}if(Jt-=nt,Ue.total_out+=Jt,Y.total+=Jt,Jt&&(Ue.adler=Y.check=Y.flags?(0,m.default)(Y.check,Be,Jt,St-Jt):(0,x.default)(Y.check,Be,Jt,St-Jt)),Jt=nt,(Y.flags?Rt:Re(Rt))!==Y.check){Ue.msg="incorrect data check",Y.mode=Ce;break}Rt=0,zt=0}Y.mode=He;case He:if(Y.wrap&&Y.flags){for(;zt<32;){if(bt===0)break e;bt--,Rt+=Pe[J++]<<zt,zt+=8}if(Rt!==(Y.total&4294967295)){Ue.msg="incorrect length check",Y.mode=Ce;break}Rt=0,zt=0}Y.mode=se;case se:dr=u;break e;case Ce:dr=b;break e;case mt:return E;case Ne:default:return y}return Ue.next_out=St,Ue.avail_out=nt,Ue.next_in=J,Ue.avail_in=bt,Y.hold=Rt,Y.bits=zt,(Y.wsize||Jt!==Ue.avail_out&&Y.mode<Ce&&(Y.mode<fe||G!==t))&&tt(Ue,Ue.output,Ue.next_out,Jt-Ue.avail_out)?(Y.mode=mt,E):(Fr-=Ue.avail_in,Jt-=Ue.avail_out,Ue.total_in+=Fr,Ue.total_out+=Jt,Y.total+=Jt,Y.wrap&&Jt&&(Ue.adler=Y.check=Y.flags?(0,m.default)(Y.check,Be,Jt,Ue.next_out-Jt):(0,x.default)(Y.check,Be,Jt,Ue.next_out-Jt)),Ue.data_type=Y.bits+(Y.last?64:0)+(Y.mode===M?128:0)+(Y.mode===ie||Y.mode===H?256:0),(Fr===0&&Jt===0||G===t)&&dr===o&&(dr=v),dr)}function jt(Ue){if(!Ue||!Ue.state)return y;var G=Ue.state;return G.window&&(G.window=null),Ue.state=null,o}function kt(Ue,G){var Y;return!Ue||!Ue.state?y:(Y=Ue.state,(Y.wrap&2)===0?y:(Y.head=G,G.done=!1,o))}function Tt(Ue,G){var Y=G.length,Pe,Be,J;return!Ue||!Ue.state?y:(Pe=Ue.state,Pe.wrap!==0&&Pe.mode!==z?y:Pe.mode===z&&(Be=1,Be=(0,x.default)(Be,G,Y,0),Be!==Pe.check)?b:(J=tt(Ue,G,Y,Y),J?(Pe.mode=mt,E):(Pe.havedict=1,o)))}var Dt="pako inflate (from Nodeca project)";N.inflateInfo=Dt},ePAk:function(R,N,e){var A=e("ProS");e("2fGM");var f=A.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(x){var m,g=this.ecModel;return g.eachComponent(x,function(p){p.getCoordSysModel()===this&&(m=p)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});R.exports=f},eRkO:function(R,N,e){var A=e("+TT/"),f=A.getLayoutRect,x=A.box,m=A.positionElement,g=e("7aKB"),p=e("IwbS");function c(a,n,i){var d=n.getBoxLayoutParams(),t=n.get("padding"),l={width:i.getWidth(),height:i.getHeight()},r=f(d,l,t);x(n.get("orient"),a,n.get("itemGap"),r.width,r.height),m(a,d,l,t)}function s(a,n){var i=g.normalizeCssArray(n.get("padding")),d=n.getItemStyle(["color","opacity"]);d.fill=n.get("backgroundColor");var a=new p.Rect({shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[1]+i[3],height:a.height+i[0]+i[2],r:n.get("borderRadius")},style:d,silent:!0,z2:-1});return a}N.layout=c,N.makeBackground=s},eS4l:function(R,N,e){e("HM/N"),e("FNN5")},eUgh:function(R,N){function e(A,f){for(var x=-1,m=A==null?0:A.length,g=Array(m);++x<m;)g[x]=f(A[x],x,A);return g}R.exports=e},ewwo:function(R,N,e){var A=e("bMXI"),f=e("+TT/"),x=f.getLayoutRect,m=e("4mN7");function g(c,s,a){var n=c.getBoxLayoutParams();return n.aspect=a,x(n,{width:s.getWidth(),height:s.getHeight()})}function p(c,s){var a=[];return c.eachSeriesByType("graph",function(n){var i=n.get("coordinateSystem");if(!i||i==="view"){var d=n.getData(),t=d.mapArray(function(w){var O=d.getItemModel(w);return[+O.get("x"),+O.get("y")]}),l=[],r=[];m.fromPoints(t,l,r),r[0]-l[0]===0&&(r[0]+=1,l[0]-=1),r[1]-l[1]===0&&(r[1]+=1,l[1]-=1);var o=(r[0]-l[0])/(r[1]-l[1]),u=g(n,s,o);isNaN(o)&&(l=[u.x,u.y],r=[u.x+u.width,u.y+u.height]);var h=r[0]-l[0],y=r[1]-l[1],b=u.width,E=u.height,v=n.coordinateSystem=new A;v.zoomLimit=n.get("scaleLimit"),v.setBoundingRect(l[0],l[1],h,y),v.setViewRect(u.x,u.y,b,E),v.setCenter(n.get("center")),v.setZoom(n.get("zoom")),a.push(v)}}),a}R.exports=p},f1nB:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("bYtY"),g=e("4NO4"),p=e("IwbS"),c=e("+TT/"),s=e("OELB"),a=s.parsePercent,n={path:null,compoundPath:null,group:p.Group,image:p.Image,text:p.Text};x.registerPreprocessor(function(b){var E=b.graphic;m.isArray(E)?!E[0]||!E[0].elements?b.graphic=[{elements:E}]:b.graphic=[b.graphic[0]]:E&&!E.elements&&(b.graphic=[{elements:[E]}])});var i=x.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(b){var E=this.option.elements;this.option.elements=null,i.superApply(this,"mergeOption",arguments),this.option.elements=E},optionUpdated:function(b,E){var v=this.option,w=(E?v:b).elements,O=v.elements=E?[]:v.elements,T=[];this._flatten(w,T);var S=g.mappingToExists(O,T);g.makeIdAndName(S);var C=this._elOptionsToUpdate=[];m.each(S,function(I,k){var F=I.option;if(!F)return;C.push(F),o(I,F),u(O,k,F),h(O[k],F)},this);for(var _=O.length-1;_>=0;_--)O[_]==null?O.splice(_,1):delete O[_].$action},_flatten:function(b,E,v){m.each(b,function(w){if(!w)return;v&&(w.parentOption=v),E.push(w);var O=w.children;w.type==="group"&&O&&this._flatten(O,E,w),delete w.children},this)},useElOptionsToUpdate:function(){var b=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,b}});x.extendComponentView({type:"graphic",init:function(b,E){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(b,E,v){b!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=b,this._updateElements(b),this._relocate(b,v)},_updateElements:function(b){var E=b.useElOptionsToUpdate();if(!E)return;var v=this._elMap,w=this.group;m.each(E,function(O){var T=O.$action,S=O.id,C=v.get(S),_=O.parentId,I=_!=null?v.get(_):w,k=O.style;O.type==="text"&&k&&(O.hv&&O.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(O);!T||T==="merge"?C?C.attr(F):d(S,I,F,v):T==="replace"?(t(C,v),d(S,I,F,v)):T==="remove"&&t(C,v);var B=v.get(S);B&&(B.__ecGraphicWidthOption=O.width,B.__ecGraphicHeightOption=O.height,y(B,b,O))})},_relocate:function(b,E){for(var v=b.option.elements,w=this.group,O=this._elMap,T=E.getWidth(),S=E.getHeight(),C=0;C<v.length;C++){var _=v[C],I=O.get(_.id);if(!I||!I.isGroup)continue;var k=I.parent,F=k===w;I.__ecGraphicWidth=a(I.__ecGraphicWidthOption,F?T:k.__ecGraphicWidth)||0,I.__ecGraphicHeight=a(I.__ecGraphicHeightOption,F?S:k.__ecGraphicHeight)||0}for(var C=v.length-1;C>=0;C--){var _=v[C],I=O.get(_.id);if(!I)continue;var k=I.parent,B=k===w?{width:T,height:S}:{width:k.__ecGraphicWidth,height:k.__ecGraphicHeight};c.positionElement(I,_,B,null,{hv:_.hv,boundingMode:_.bounding})}},_clear:function(){var b=this._elMap;b.each(function(E){t(E,b)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function d(b,E,v,w){var O=v.type,T=n.hasOwnProperty(O)?n[O]:p.getShapeClass(O),S=new T(v);E.add(S),w.set(b,S),S.__ecGraphicId=b}function t(b,E){var v=b&&b.parent;v&&(b.type==="group"&&b.traverse(function(w){t(w,E)}),E.removeKey(b.__ecGraphicId),v.remove(b))}function l(b){return b=m.extend({},b),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(E){delete b[E]}),b}function r(b,E){var v;return m.each(E,function(w){b[w]!=null&&b[w]!=="auto"&&(v=!0)}),v}function o(b,E){var v=b.exist;if(E.id=b.keyInfo.id,!E.type&&v&&(E.type=v.type),E.parentId==null){var w=E.parentOption;w?E.parentId=w.id:v&&(E.parentId=v.parentId)}E.parentOption=null}function u(b,E,v){var w=m.extend({},v),O=b[E],T=v.$action||"merge";T==="merge"?O?(m.merge(O,w,!0),c.mergeLayoutParam(O,w,{ignoreSize:!0}),c.copyLayoutParams(v,O)):b[E]=w:T==="replace"?b[E]=w:T==="remove"&&(O&&(b[E]=null))}function h(b,E){if(!b)return;b.hv=E.hv=[r(E,["left","right"]),r(E,["top","bottom"])],b.type==="group"&&(b.width==null&&(b.width=E.width=0),b.height==null&&(b.height=E.height=0))}function y(b,E,v){var w=b.eventData;!b.silent&&!b.ignore&&!w&&(w=b.eventData={componentType:"graphic",componentIndex:E.componentIndex,name:b.name}),w&&(w.info=b.info)}},f3JH:function(R,N,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(R,N,e){var A=e("IwbS"),f=e("QBsz"),x=A.Line.prototype,m=A.BezierCurve.prototype;function g(c){return isNaN(+c.cpx1)||isNaN(+c.cpy1)}var p=A.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,s){this[g(s)?"_buildPathLine":"_buildPathCurve"](c,s)},_buildPathLine:x.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[g(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:x.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(c){var s=this.shape,a=g(s)?[s.x2-s.x1,s.y2-s.y1]:this._tangentAtCurve(c);return f.normalize(a,a)},_tangentAtCurve:m.tangentAt});R.exports=p},f5Yq:function(R,N,e){var A=e("bYtY"),f=A.isFunction;function x(m,g,p){return{seriesType:m,performRawSeries:!0,reset:function(c,s,a){var n=c.getData(),i=c.get("symbol"),d=c.get("symbolSize"),t=c.get("symbolKeepAspect"),l=c.get("symbolRotate"),r=f(i),o=f(d),u=f(l),h=r||o||u,y=!r&&i?i:g,b=o?null:d,E=u?null:E;if(n.setVisual({legendSymbol:p||y,symbol:y,symbolSize:b,symbolKeepAspect:t,symbolRotate:l}),s.isSeriesFiltered(c))return;function v(w,O){if(h){var T=c.getRawValue(O),S=c.getDataParams(O);r&&w.setItemVisual(O,"symbol",i(T,S)),o&&w.setItemVisual(O,"symbolSize",d(T,S)),u&&w.setItemVisual(O,"symbolRotate",l(T,S))}if(w.hasItemOption){var C=w.getItemModel(O),_=C.getShallow("symbol",!0),I=C.getShallow("symbolSize",!0),k=C.getShallow("symbolRotate",!0),F=C.getShallow("symbolKeepAspect",!0);_!=null&&w.setItemVisual(O,"symbol",_),I!=null&&w.setItemVisual(O,"symbolSize",I),k!=null&&w.setItemVisual(O,"symbolRotate",k),F!=null&&w.setItemVisual(O,"symbolKeepAspect",F)}}return{dataEach:n.hasItemOption||h?v:null}}}}R.exports=x},fE02:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("/IIm"),m=e("vZ6x"),g=e("b9oc"),p=e("72pK"),c=e("Kagy"),s=e("IUWy");e("3TkU");var a=c.toolbox.dataZoom,n=f.each,i="\0_ec_\0toolbox-dataZoom_";function d(y,b,E){(this._brushController=new x(E.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}d.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:f.clone(a.title)};var t=d.prototype;t.render=function(y,b,E,v){this.model=y,this.ecModel=b,this.api=E,u(y,b,this,v,E),o(y,b)},t.onclick=function(y,b,E){l[E].call(this)},t.remove=function(y,b){this._brushController.unmount()},t.dispose=function(y,b){this._brushController.dispose()};var l={zoom:function(){var y=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:y})},back:function(){this._dispatchZoomAction(g.pop(this.ecModel))}};t._onBrush=function(y,b){if(!b.isEnd||!y.length)return;var E={},v=this.ecModel;this._brushController.updateCovers([]);var w=new m(r(this.model.option),v,{include:["grid"]});w.matchOutputRanges(y,v,function(S,C,_){if(_.type!=="cartesian2d")return;var I=S.brushType;I==="rect"?(O("x",_,C[0]),O("y",_,C[1])):O({lineX:"x",lineY:"y"}[I],_,C)}),g.push(v,E),this._dispatchZoomAction(E);function O(S,C,_){var I=C.getAxis(S),k=I.model,F=T(S,k,v),B=F.findRepresentativeAxisProxy(k).getMinMaxSpan();(B.minValueSpan!=null||B.maxValueSpan!=null)&&(_=p(0,_.slice(),I.scale.getExtent(),0,B.minValueSpan,B.maxValueSpan)),F&&(E[F.id]={dataZoomId:F.id,startValue:_[0],endValue:_[1]})}function T(S,C,_){var I;return _.eachComponent({mainType:"dataZoom",subType:"select"},function(k){var F=k.getAxisModel(S,C.componentIndex);F&&(I=k)}),I}},t._dispatchZoomAction=function(y){var b=[];n(y,function(E,v){b.push(f.clone(E))}),b.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:b})};function r(y){var b={};return f.each(["xAxisIndex","yAxisIndex"],function(E){b[E]=y[E],b[E]==null&&(b[E]="all"),(b[E]===!1||b[E]==="none")&&(b[E]=[])}),b}function o(y,b){y.setIconStatus("back",g.count(b)>1?"emphasis":"normal")}function u(y,b,E,v,w){var O=E._isZoomActive;v&&v.type==="takeGlobalCursor"&&(O=v.key==="dataZoomSelect"?v.dataZoomSelectActive:!1),E._isZoomActive=O,y.setIconStatus("zoom",O?"emphasis":"normal");var T=new m(r(y.option),b,{include:["grid"]});E._brushController.setPanels(T.makePanelOpts(w,function(S){return S.xAxisDeclared&&!S.yAxisDeclared?"lineX":!S.xAxisDeclared&&S.yAxisDeclared?"lineY":"rect"})).enableBrush(O?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}s.register("dataZoom",d),A.registerPreprocessor(function(y){if(!y)return;var b=y.dataZoom||(y.dataZoom=[]);f.isArray(b)||(y.dataZoom=b=[b]);var E=y.toolbox;if(E&&(f.isArray(E)&&(E=E[0]),E&&E.feature)){var v=E.feature.dataZoom;w("xAxis",v),w("yAxis",v)}function w(T,S){if(!S)return;var C=T+"Index",_=S[C];_!=null&&_!=="all"&&!f.isArray(_)&&(_=_===!1||_==="none"?[]:[_]),O(T,function(I,k){if(_!=null&&_!=="all"&&f.indexOf(_,k)===-1)return;var F={type:"select",$fromToolbox:!0,filterMode:S.filterMode||"filter",id:i+T+k};F[C]=k,b.push(F)})}function O(T,S){var C=y[T];f.isArray(C)||(C=C?[C]:[]),n(C,S)}});var h=d;R.exports=h},fNCr:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},fUL4:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},fW2E:function(R,N){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function A(f,x,m){return e.hasOwnProperty(x)?m*=f.dpr:m}R.exports=A},"fc+c":function(R,N,e){var A=e("sS/r"),f=A.extend({type:"dataZoom",render:function(x,m,g,p){this.dataZoomModel=x,this.ecModel=m,this.api=g},getTargetCoordInfo:function(){var x=this.dataZoomModel,m=this.ecModel,g={};x.eachTargetAxis(function(c,s){var a=m.getComponent(c.axis,s);if(a){var n=a.getCoordSysModel();n&&p(n,a,g[n.mainType]||(g[n.mainType]=[]),n.componentIndex)}},this);function p(c,s,a,n){for(var i,d=0;d<a.length;d++)if(a[d].model===c){i=a[d];break}i||a.push(i={model:c,axisModels:[],coordIndex:n}),i.axisModels.push(s)}return g}});R.exports=f},fjKi:function(R,N,e){var A=e("ProS");e("Q7if"),e("jndi"),A.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(R,N,e){var A=e("bYtY"),f=e("QBsz"),x=e("oVpE"),m=e("f5HG"),g=e("IwbS"),p=e("OELB"),c=p.round,s=["fromSymbol","toSymbol"];function a(u){return"_"+u+"Type"}function n(u,h,y){var b=h.getItemVisual(y,"color"),E=h.getItemVisual(y,u),v=h.getItemVisual(y,u+"Size");if(!E||E==="none")return;A.isArray(v)||(v=[v,v]);var w=x.createSymbol(E,-v[0]/2,-v[1]/2,v[0],v[1],b);return w.name=u,w}function i(u){var h=new m({name:"line",subPixelOptimize:!0});return d(h.shape,u),h}function d(u,h){u.x1=h[0][0],u.y1=h[0][1],u.x2=h[1][0],u.y2=h[1][1],u.percent=1;var y=h[2];y?(u.cpx1=y[0],u.cpy1=y[1]):(u.cpx1=NaN,u.cpy1=NaN)}function t(){var u=this,h=u.childOfName("fromSymbol"),y=u.childOfName("toSymbol"),b=u.childOfName("label");if(!h&&!y&&b.ignore)return;for(var E=1,v=this.parent;v;)v.scale&&(E/=v.scale[0]),v=v.parent;var w=u.childOfName("line");if(!this.__dirty&&!w.__dirty)return;var O=w.shape.percent,T=w.pointAt(0),S=w.pointAt(O),C=f.sub([],S,T);if(f.normalize(C,C),h){h.attr("position",T);var _=w.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(_[1],_[0])),h.attr("scale",[E*O,E*O])}if(y){y.attr("position",S);var _=w.tangentAt(1);y.attr("rotation",-Math.PI/2-Math.atan2(_[1],_[0])),y.attr("scale",[E*O,E*O])}if(!b.ignore){b.attr("position",S);var I,k,F,B,j=b.__labelDistance,z=j[0]*E,M=j[1]*E,U=O/2,_=w.tangentAt(U),P=[_[1],-_[0]],H=w.pointAt(U);P[1]>0&&(P[0]=-P[0],P[1]=-P[1]);var W=_[0]<0?-1:1;if(b.__position!=="start"&&b.__position!=="end"){var X=-Math.atan2(_[1],_[0]);S[0]<T[0]&&(X=Math.PI+X),b.attr("rotation",X)}var K;switch(b.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":K=-M,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":K=M,F="top";break;default:K=0,F="middle"}switch(b.__position){case"end":I=[C[0]*z+S[0],C[1]*M+S[1]],k=C[0]>.8?"left":C[0]<-.8?"right":"center",F=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":I=[-C[0]*z+T[0],-C[1]*M+T[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":I=[z*W+T[0],T[1]+K],k=_[0]<0?"right":"left",B=[-z*W,-K];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":I=[H[0],H[1]+K],k="center",B=[0,-K];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":I=[-z*W+S[0],S[1]+K],k=_[0]>=0?"right":"left",B=[z*W,-K];break}b.attr({style:{textVerticalAlign:b.__verticalAlign||F,textAlign:b.__textAlign||k},position:I,scale:[E,E],origin:B})}}function l(u,h,y){g.Group.call(this),this._createLine(u,h,y)}var r=l.prototype;r.beforeUpdate=t,r._createLine=function(u,h,y){var b=u.hostModel,E=u.getItemLayout(h),v=i(E);v.shape.percent=0,g.initProps(v,{shape:{percent:1}},b,h),this.add(v);var w=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(w),A.each(s,function(O){var T=n(O,u,h);this.add(T),this[a(O)]=u.getItemVisual(h,O)},this),this._updateCommonStl(u,h,y)},r.updateData=function(u,h,y){var b=u.hostModel,E=this.childOfName("line"),v=u.getItemLayout(h),w={shape:{}};d(w.shape,v),g.updateProps(E,w,b,h),A.each(s,function(O){var T=u.getItemVisual(h,O),S=a(O);if(this[S]!==T){this.remove(this.childOfName(O));var C=n(O,u,h);this.add(C)}this[S]=T},this),this._updateCommonStl(u,h,y)},r._updateCommonStl=function(u,h,y){var b=u.hostModel,E=this.childOfName("line"),v=y&&y.lineStyle,w=y&&y.hoverLineStyle,O=y&&y.labelModel,T=y&&y.hoverLabelModel;if(!y||u.hasItemOption){var S=u.getItemModel(h);v=S.getModel("lineStyle").getLineStyle(),w=S.getModel("emphasis.lineStyle").getLineStyle(),O=S.getModel("label"),T=S.getModel("emphasis.label")}var C=u.getItemVisual(h,"color"),_=A.retrieve3(u.getItemVisual(h,"opacity"),v.opacity,1);E.useStyle(A.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:_},v)),E.hoverStyle=w,A.each(s,function(W){var X=this.childOfName(W);X&&(X.setColor(C),X.setStyle({opacity:_}))},this);var I=O.getShallow("show"),k=T.getShallow("show"),F=this.childOfName("label"),B,j;if((I||k)&&(B=C||"#000",j=b.getFormattedLabel(h,"normal",u.dataType),j==null)){var z=b.getRawValue(h);j=z==null?u.getName(h):isFinite(z)?c(z):z}var M=I?j:null,U=k?A.retrieve2(b.getFormattedLabel(h,"emphasis",u.dataType),j):null,P=F.style;if(M!=null||U!=null){g.setTextStyle(F.style,O,{text:M},{autoColor:B}),F.__textAlign=P.textAlign,F.__verticalAlign=P.textVerticalAlign,F.__position=O.get("position")||"middle";var H=O.get("distance");A.isArray(H)||(H=[H,H]),F.__labelDistance=H}U!=null?F.hoverStyle={text:U,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:F.hoverStyle={text:null},F.ignore=!I&&!k,g.setHoverStyle(this)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateLayout=function(u,h){this.setLinePoints(u.getItemLayout(h))},r.setLinePoints=function(u){var h=this.childOfName("line");d(h.shape,u),h.dirty()},A.inherits(l,g.Group);var o=l;R.exports=o},fmMI:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.each,g=x.filter,p=x.map,c=x.isArray,s=x.indexOf,a=x.isObject,n=x.isString,i=x.createHashMap,d=x.assert,t=x.clone,l=x.merge,r=x.extend,o=x.mixin,u=e("4NO4"),h=e("Qxkt"),y=e("bLfw"),b=e("iXHM"),E=e("5Hur"),v=e("D5nY"),w=v.resetSourceDefaulter,O="\0_ec_inner",T=h.extend({init:function(M,U,P,H){P=P||{},this.option=null,this._theme=new h(P),this._optionManager=H},setOption:function(M,U){d(!(O in M),"please use chart.getOption()"),this._optionManager.setOption(M,U),this.resetOption(null)},resetOption:function(M){var U=!1,P=this._optionManager;if(!M||M==="recreate"){var H=P.mountOption(M==="recreate");!this.option||M==="recreate"?_.call(this,H):(this.restoreData(),this.mergeOption(H)),U=!0}if((M==="timeline"||M==="media")&&this.restoreData(),!M||M==="recreate"||M==="timeline"){var W=P.getTimelineOption(this);W&&(this.mergeOption(W),U=!0)}if(!M||M==="recreate"||M==="media"){var X=P.getMediaOption(this,this._api);X.length&&m(X,function(K){this.mergeOption(K,U=!0)},this)}return U},mergeOption:function(M){var U=this.option,P=this._componentsMap,H=[];w(this),m(M,function(X,K){if(X==null)return;y.hasClass(K)?K&&H.push(K):U[K]=U[K]==null?t(X):l(U[K],X,!0)}),y.topologicalTravel(H,y.getAllClassMainTypes(),W,this);function W(X,K){var $=u.normalizeToArray(M[X]),ie=u.mappingToExists(P.get(X),$);u.makeIdAndName(ie),m(ie,function(te,Te){var Ie=te.option;a(Ie)&&(te.keyInfo.mainType=X,te.keyInfo.subType=k(X,Ie,te.exist))});var be=I(P,K);U[X]=[],P.set(X,[]),m(ie,function(te,Te){var Ie=te.exist,Fe=te.option;if(d(a(Fe)||Ie,"Empty component definition"),!Fe)Ie.mergeOption({},this),Ie.optionUpdated({},!1);else{var Qe=y.getClass(X,te.keyInfo.subType,!0);if(Ie&&Ie.constructor===Qe)Ie.name=te.keyInfo.name,Ie.mergeOption(Fe,this),Ie.optionUpdated(Fe,!1);else{var fe=r({dependentModels:be,componentIndex:Te},te.keyInfo);Ie=new Qe(Fe,this,this,fe),r(Ie,fe),Ie.init(Fe,this,this,fe),Ie.optionUpdated(null,!0)}}P.get(X)[Te]=Ie,U[X][Te]=Ie.option},this),X==="series"&&F(this,P.get("series"))}this._seriesIndicesMap=i(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var M=t(this.option);return m(M,function(U,P){if(y.hasClass(P)){for(var U=u.normalizeToArray(U),H=U.length-1;H>=0;H--)u.isIdInner(U[H])&&U.splice(H,1);M[P]=U}}),delete M[O],M},getTheme:function(){return this._theme},getComponent:function(M,U){var P=this._componentsMap.get(M);if(P)return P[U||0]},queryComponents:function(M){var U=M.mainType;if(!U)return[];var P=M.index,H=M.id,W=M.name,X=this._componentsMap.get(U);if(!X||!X.length)return[];var K;if(P!=null)c(P)||(P=[P]),K=g(p(P,function(be){return X[be]}),function(be){return!!be});else if(H!=null){var $=c(H);K=g(X,function(be){return $&&s(H,be.id)>=0||!$&&be.id===H})}else if(W!=null){var ie=c(W);K=g(X,function(be){return ie&&s(W,be.name)>=0||!ie&&be.name===W})}else K=X.slice();return B(K,M)},findComponents:function(M){var U=M.query,P=M.mainType,H=X(U),W=H?this.queryComponents(H):this._componentsMap.get(P);return K(B(W,M));function X($){var ie=P+"Index",be=P+"Id",te=P+"Name";return $&&($[ie]!=null||$[be]!=null||$[te]!=null)?{mainType:P,index:$[ie],id:$[be],name:$[te]}:null}function K($){return M.filter?g($,M.filter):$}},eachComponent:function(M,U,P){var H=this._componentsMap;if(typeof M=="function")P=U,U=M,H.each(function(X,K){m(X,function($,ie){U.call(P,K,$,ie)})});else if(n(M))m(H.get(M),U,P);else if(a(M)){var W=this.findComponents(M);m(W,U,P)}},getSeriesByName:function(M){var U=this._componentsMap.get("series");return g(U,function(P){return P.name===M})},getSeriesByIndex:function(M){return this._componentsMap.get("series")[M]},getSeriesByType:function(M){var U=this._componentsMap.get("series");return g(U,function(P){return P.subType===M})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(M,U){j(this),m(this._seriesIndices,function(P){var H=this._componentsMap.get("series")[P];M.call(U,H,P)},this)},eachRawSeries:function(M,U){m(this._componentsMap.get("series"),M,U)},eachSeriesByType:function(M,U,P){j(this),m(this._seriesIndices,function(H){var W=this._componentsMap.get("series")[H];W.subType===M&&U.call(P,W,H)},this)},eachRawSeriesByType:function(M,U,P){return m(this.getSeriesByType(M),U,P)},isSeriesFiltered:function(M){return j(this),this._seriesIndicesMap.get(M.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(M,U){j(this);var P=g(this._componentsMap.get("series"),M,U);F(this,P)},restoreData:function(M){var U=this._componentsMap;F(this,U.get("series"));var P=[];U.each(function(H,W){P.push(W)}),y.topologicalTravel(P,y.getAllClassMainTypes(),function(H,W){m(U.get(H),function(X){(H!=="series"||!S(X,M))&&X.restoreData()})})}});function S(M,U){if(U){var P=U.seiresIndex,H=U.seriesId,W=U.seriesName;return P!=null&&M.componentIndex!==P||H!=null&&M.id!==H||W!=null&&M.name!==W}}function C(M,U){var P=M.color&&!M.colorLayer;m(U,function(H,W){if(W==="colorLayer"&&P)return;y.hasClass(W)||(typeof H=="object"?M[W]=M[W]?l(M[W],H,!1):t(H):M[W]==null&&(M[W]=H))})}function _(M){M=M,this.option={},this.option[O]=1,this._componentsMap=i({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(M,this._theme.option),l(M,b,!1),this.mergeOption(M)}function I(M,U){c(U)||(U=U?[U]:[]);var P={};return m(U,function(H){P[H]=(M.get(H)||[]).slice()}),P}function k(M,U,P){var H=U.type?U.type:P?P.subType:y.determineSubType(M,U);return H}function F(M,U){M._seriesIndicesMap=i(M._seriesIndices=p(U,function(P){return P.componentIndex})||[])}function B(M,U){return U.hasOwnProperty("subType")?g(M,function(P){return P.subType===U.subType}):M}function j(M){}o(T,E);var z=T;R.exports=z},fyUT:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("q1tI"),p=e.n(g),c=e("TSYQ"),s=e.n(c),a=e("Ff2n"),n=e("rePB"),i=e("1OyB"),d=e("vuIU"),t=e("Ji7U"),l=e("md7G"),r=e("foSv"),o=e("4IlW");function u(K,$){var ie=Object.keys(K);if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(K);$&&(be=be.filter(function(te){return Object.getOwnPropertyDescriptor(K,te).enumerable})),ie.push.apply(ie,be)}return ie}function h(K){for(var $=1;$<arguments.length;$++){var ie=arguments[$]!=null?arguments[$]:{};$%2?u(Object(ie),!0).forEach(function(be){Object(n.a)(K,be,ie[be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(ie)):u(Object(ie)).forEach(function(be){Object.defineProperty(K,be,Object.getOwnPropertyDescriptor(ie,be))})}return K}function y(K){var $=b();return function(){var be=Object(r.a)(K),te;if($){var Te=Object(r.a)(this).constructor;te=Reflect.construct(be,arguments,Te)}else te=be.apply(this,arguments);return Object(l.a)(this,te)}}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(K){return!1}}function E(){}function v(K){K.preventDefault()}var w=function($){return $.replace(/[^\w.-]+/g,"")},O=200,T=600,S=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function($){return $!=null},_=function($,ie){return ie===$||typeof ie=="number"&&typeof $=="number"&&isNaN(ie)&&isNaN($)},I=function(K){Object(t.a)(ie,K);var $=y(ie);function ie(be){var te;Object(i.a)(this,ie),te=$.call(this,be),te.onKeyDown=function(Fe){var Qe=te.props,fe=Qe.onKeyDown,He=Qe.onPressEnter;if(Fe.keyCode===o.a.UP){var se=te.getRatio(Fe);te.up(Fe,se,null),te.stop()}else if(Fe.keyCode===o.a.DOWN){var Ce=te.getRatio(Fe);te.down(Fe,Ce,null),te.stop()}else Fe.keyCode===o.a.ENTER&&He&&He(Fe);if(te.recordCursorPosition(),te.lastKeyCode=Fe.keyCode,fe){for(var mt=arguments.length,Ne=new Array(mt>1?mt-1:0),ae=1;ae<mt;ae++)Ne[ae-1]=arguments[ae];fe.apply(void 0,[Fe].concat(Ne))}},te.onKeyUp=function(Fe){var Qe=te.props.onKeyUp;if(te.stop(),te.recordCursorPosition(),Qe){for(var fe=arguments.length,He=new Array(fe>1?fe-1:0),se=1;se<fe;se++)He[se-1]=arguments[se];Qe.apply(void 0,[Fe].concat(He))}},te.onChange=function(Fe){var Qe=te.props.onChange;te.state.focused&&(te.inputting=!0),te.rawInput=te.props.parser(te.getValueFromEvent(Fe)),te.setState({inputValue:te.rawInput}),Qe(te.toNumber(te.rawInput))},te.onMouseUp=function(){var Fe=te.props.onMouseUp;te.recordCursorPosition(),Fe&&Fe.apply(void 0,arguments)},te.onFocus=function(){var Fe;te.setState({focused:!0}),(Fe=te.props).onFocus.apply(Fe,arguments)},te.onBlur=function(){var Fe=te.props.onBlur;te.inputting=!1,te.setState({focused:!1});var Qe=te.getCurrentValidValue(te.state.inputValue),fe=te.setValue(Qe,E);if(Fe){var He=te.input.value,se=te.getInputDisplayValue({focus:!1,value:fe});te.input.value=se&&Number(se),Fe.apply(void 0,arguments),te.input.value=He}},te.getRatio=function(Fe){var Qe=1;return Fe.metaKey||Fe.ctrlKey?Qe=.1:Fe.shiftKey&&(Qe=10),Qe},te.getFullNum=function(Fe){return isNaN(Fe)?Fe:/e/i.test(String(Fe))?Number(Fe).toFixed(18).replace(/\.?0+$/,""):Fe},te.getPrecision=function(Fe){if(C(te.props.precision))return te.props.precision;var Qe=String(Fe);if(Qe.indexOf("e-")>=0)return parseInt(Qe.slice(Qe.indexOf("e-")+2),10);var fe=0;return Qe.indexOf(".")>=0&&(fe=Qe.length-Qe.indexOf(".")-1),fe},te.getInputDisplayValue=function(Fe){var Qe=Fe||te.state,fe=Qe.focused,He=Qe.inputValue,se=Qe.value,Ce;fe?Ce=He:Ce=te.toPrecisionAsStep(se),Ce==null&&(Ce="");var mt=te.formatWrapper(Ce);return C(te.props.decimalSeparator)&&(mt=mt.toString().replace(".",te.props.decimalSeparator)),mt},te.recordCursorPosition=function(){try{te.cursorStart=te.input.selectionStart,te.cursorEnd=te.input.selectionEnd,te.currentValue=te.input.value,te.cursorBefore=te.input.value.substring(0,te.cursorStart),te.cursorAfter=te.input.value.substring(te.cursorEnd)}catch(Fe){}},te.restoreByAfter=function(Fe){if(Fe===void 0)return!1;var Qe=te.input.value,fe=Qe.lastIndexOf(Fe);if(fe===-1)return!1;var He=te.cursorBefore.length;return te.lastKeyCode===o.a.DELETE&&te.cursorBefore.charAt(He-1)===Fe[0]?(te.fixCaret(He,He),!0):fe+Fe.length===Qe.length?(te.fixCaret(fe,fe),!0):!1},te.partRestoreByAfter=function(Fe){return Fe===void 0?!1:Array.prototype.some.call(Fe,function(Qe,fe){var He=Fe.substring(fe);return te.restoreByAfter(He)})},te.isNotCompleteNumber=function(Fe){return isNaN(Fe)||Fe===""||Fe===null||Fe&&Fe.toString().indexOf(".")===Fe.toString().length-1},te.stop=function(){te.autoStepTimer&&clearTimeout(te.autoStepTimer)},te.down=function(Fe,Qe,fe){te.pressingUpOrDown=!0,te.step("down",Fe,Qe,fe)},te.up=function(Fe,Qe,fe){te.pressingUpOrDown=!0,te.step("up",Fe,Qe,fe)},te.saveInput=function(Fe){te.input=Fe};var Te=be.value;Te===void 0&&(Te=be.defaultValue),te.state={focused:be.autoFocus};var Ie=te.getValidValue(te.toNumber(Te));return te.state=h(h({},te.state),{},{inputValue:te.toPrecisionAsStep(Ie),value:Ie}),te}return Object(d.a)(ie,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(te){var Te=this.props,Ie=Te.value,Fe=Te.onChange,Qe=Te.max,fe=Te.min,He=this.state.focused;if(te){if(!_(te.value,Ie)||!_(te.max,Qe)||!_(te.min,fe)){var se=He?Ie:this.getValidValue(Ie),Ce;this.pressingUpOrDown?Ce=se:this.inputting?Ce=this.rawInput:Ce=this.toPrecisionAsStep(se),this.setState({value:se,inputValue:Ce})}var mt="value"in this.props?Ie:this.state.value;"max"in this.props&&te.max!==Qe&&typeof mt=="number"&&mt>Qe&&Fe&&Fe(Qe),"min"in this.props&&te.min!==fe&&typeof mt=="number"&&mt<fe&&Fe&&Fe(fe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Ne=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===o.a.BACKSPACE?Ne=this.cursorStart-1:this.lastKeyCode===o.a.DELETE&&(Ne=this.cursorStart):Ne=this.input.value.length,this.fixCaret(Ne,Ne)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case o.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case o.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(ae){}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(te){var Te=te;return Te===""?Te="":this.isNotCompleteNumber(parseFloat(Te))?Te=this.state.value:Te=this.getValidValue(Te),this.toNumber(Te)}},{key:"getValueFromEvent",value:function(te){var Te=te.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(Te=Te.replace(this.props.decimalSeparator,".")),Te}},{key:"getValidValue",value:function(te){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Fe=parseFloat(te);return isNaN(Fe)?te:(Fe<Te&&(Fe=Te),Fe>Ie&&(Fe=Ie),Fe)}},{key:"setValue",value:function(te,Te){var Ie=this.props.precision,Fe=this.isNotCompleteNumber(parseFloat(te))?null:parseFloat(te),Qe=this.state.value,fe=Qe===void 0?null:Qe,He=this.state.inputValue,se=He===void 0?null:He,Ce=typeof Fe=="number"?Fe.toFixed(Ie):"".concat(Fe),mt=Fe!==fe||Ce!=="".concat(se);return"value"in this.props?(se=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:se},Te)):this.setState({value:Fe,inputValue:this.toPrecisionAsStep(te)},Te),mt&&this.props.onChange(Fe),Fe}},{key:"getMaxPrecision",value:function(te){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ie=this.props,Fe=Ie.precision,Qe=Ie.step;if(C(Fe))return Fe;var fe=this.getPrecision(Te),He=this.getPrecision(Qe),se=this.getPrecision(te);return te?Math.max(se,fe+He):fe+He}},{key:"getPrecisionFactor",value:function(te){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ie=this.getMaxPrecision(te,Te);return Math.pow(10,Ie)}},{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(te){return this.props.formatter?this.props.formatter(te):te}},{key:"toPrecisionAsStep",value:function(te){if(this.isNotCompleteNumber(te)||te==="")return te;var Te=Math.abs(this.getMaxPrecision(te));return isNaN(Te)?te.toString():Number(te).toFixed(Te)}},{key:"toNumber",value:function(te){var Te=this.props.precision,Ie=this.state.focused,Fe=te&&te.length>16&&Ie;return this.isNotCompleteNumber(te)||Fe?te:C(Te)?Math.round(te*Math.pow(10,Te))/Math.pow(10,Te):Number(te)}},{key:"upStep",value:function(te,Te){var Ie=this.props.step,Fe=this.getPrecisionFactor(te,Te),Qe=Math.abs(this.getMaxPrecision(te,Te)),fe=((Fe*te+Fe*Ie*Te)/Fe).toFixed(Qe);return this.toNumber(fe)}},{key:"downStep",value:function(te,Te){var Ie=this.props.step,Fe=this.getPrecisionFactor(te,Te),Qe=Math.abs(this.getMaxPrecision(te,Te)),fe=((Fe*te-Fe*Ie*Te)/Fe).toFixed(Qe);return this.toNumber(fe)}},{key:"step",value:function(te,Te){var Ie=this,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Qe=arguments.length>3?arguments[3]:void 0;this.stop(),Te&&(Te.persist(),Te.preventDefault());var fe=this.props;if(fe.disabled)return;var He=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(He))return;var se=this["".concat(te,"Step")](He,Fe),Ce=se>fe.max||se<fe.min;if(se>fe.max?se=fe.max:se<fe.min&&(se=fe.min),this.setValue(se,null),this.setState({focused:!0},function(){Ie.pressingUpOrDown=!1}),Ce)return;this.autoStepTimer=setTimeout(function(){Ie[te](Te,Fe,!0)},Qe?O:T)}},{key:"fixCaret",value:function(te,Te){if(te===void 0||Te===void 0||!this.input||!this.input.value)return;try{var Ie=this.input.selectionStart,Fe=this.input.selectionEnd;(te!==Ie||Te!==Fe)&&this.input.setSelectionRange(te,Te)}catch(Qe){}}},{key:"render",value:function(){var te,Te=this.props,Ie=Te.prefixCls,Fe=Te.disabled,Qe=Te.readOnly,fe=Te.useTouch,He=Te.autoComplete,se=Te.upHandler,Ce=Te.downHandler,mt=Te.className,Ne=Te.max,ae=Te.min,ce=Te.style,le=Te.title,je=Te.onMouseEnter,Re=Te.onMouseLeave,Ze=Te.onMouseOver,De=Te.onMouseOut,ne=Te.required,he=Te.onClick,pe=Te.tabIndex,Xe=Te.type,lt=Te.placeholder,At=Te.id,Me=Te.inputMode,Ht=Te.pattern,tt=Te.step,Mt=Te.maxLength,jt=Te.autoFocus,kt=Te.name,Tt=Te.onPaste,Dt=Te.onInput,Ue=Object(a.a)(Te,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste","onInput"]),G=this.state,Y=G.value,Pe=G.focused,Be=s()(Ie,(te={},Object(n.a)(te,mt,!!mt),Object(n.a)(te,"".concat(Ie,"-disabled"),Fe),Object(n.a)(te,"".concat(Ie,"-focused"),Pe),te)),J={};Object.keys(Ue).forEach(function(we){(we.substr(0,5)==="data-"||we.substr(0,5)==="aria-"||we==="role")&&(J[we]=Ue[we])});var St=!Qe&&!Fe,bt=this.getInputDisplayValue(null),nt=(Y||Y===0)&&(isNaN(Y)||Number(Y)>=Ne),Rt=(Y||Y===0)&&(isNaN(Y)||Number(Y)<=ae),zt=nt||Fe||Qe,Fr=Rt||Fe||Qe,Jt=s()("".concat(Ie,"-handler"),"".concat(Ie,"-handler-up"),Object(n.a)({},"".concat(Ie,"-handler-up-disabled"),zt)),ge=s()("".concat(Ie,"-handler"),"".concat(Ie,"-handler-down"),Object(n.a)({},"".concat(Ie,"-handler-down-disabled"),Fr)),ye=fe?{onTouchStart:zt?E:this.up,onTouchEnd:this.stop}:{onMouseDown:zt?E:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},Le=fe?{onTouchStart:Fr?E:this.down,onTouchEnd:this.stop}:{onMouseDown:Fr?E:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return p.a.createElement("div",{className:Be,style:ce,title:le,onMouseEnter:je,onMouseLeave:Re,onMouseOver:Ze,onMouseOut:De,onFocus:function(){return null},onBlur:function(){return null}},p.a.createElement("div",{className:"".concat(Ie,"-handler-wrap")},p.a.createElement("span",Object.assign({unselectable:"on"},ye,{role:"button","aria-label":"Increase Value","aria-disabled":zt,className:Jt}),se||p.a.createElement("span",{unselectable:"on",className:"".concat(Ie,"-handler-up-inner"),onClick:v})),p.a.createElement("span",Object.assign({unselectable:"on"},Le,{role:"button","aria-label":"Decrease Value","aria-disabled":Fr,className:ge}),Ce||p.a.createElement("span",{unselectable:"on",className:"".concat(Ie,"-handler-down-inner"),onClick:v}))),p.a.createElement("div",{className:"".concat(Ie,"-input-wrap")},p.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":ae,"aria-valuemax":Ne,"aria-valuenow":Y,required:ne,type:Xe,placeholder:lt,onPaste:Tt,onClick:he,onMouseUp:this.onMouseUp,className:"".concat(Ie,"-input"),tabIndex:pe,autoComplete:He,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:St?this.onKeyDown:E,onKeyUp:St?this.onKeyUp:E,autoFocus:jt,maxLength:Mt,readOnly:Qe,disabled:Fe,max:Ne,min:ae,step:tt,name:kt,title:le,id:At,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(bt),pattern:Ht,inputMode:Me,onInput:Dt},J))))}}]),ie}(p.a.Component);I.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:S,min:-S,step:1,style:{},onChange:E,onKeyDown:E,onPressEnter:E,onFocus:E,onBlur:E,parser:w,required:!1,autoComplete:"off"};var k=I,F=k,B=e("FH2Y"),j=e.n(B),z=e("HQEm"),M=e.n(z),U=e("H84U"),P=e("3Nzz"),H=function(K,$){var ie={};for(var be in K)Object.prototype.hasOwnProperty.call(K,be)&&$.indexOf(be)<0&&(ie[be]=K[be]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,be=Object.getOwnPropertySymbols(K);te<be.length;te++)$.indexOf(be[te])<0&&Object.prototype.propertyIsEnumerable.call(K,be[te])&&(ie[be[te]]=K[be[te]]);return ie},W=g.forwardRef(function(K,$){var ie=function(te){var Te=te.getPrefixCls,Ie=te.direction,Fe=K.className,Qe=K.size,fe=K.prefixCls,He=K.readOnly,se=H(K,["className","size","prefixCls","readOnly"]),Ce=Te("input-number",fe),mt=g.createElement(j.a,{className:"".concat(Ce,"-handler-up-inner")}),Ne=g.createElement(M.a,{className:"".concat(Ce,"-handler-down-inner")});return g.createElement(P.b.Consumer,null,function(ae){var ce,le=Qe||ae,je=s()((ce={},m()(ce,"".concat(Ce,"-lg"),le==="large"),m()(ce,"".concat(Ce,"-sm"),le==="small"),m()(ce,"".concat(Ce,"-rtl"),Ie==="rtl"),m()(ce,"".concat(Ce,"-readonly"),He),ce),Fe);return g.createElement(F,f()({ref:$,className:je,upHandler:mt,downHandler:Ne,prefixCls:Ce,readOnly:He},se))})};return g.createElement(U.a,null,ie)});W.defaultProps={step:1};var X=N.a=W},g0SD:function(R,N,e){var A=e("bYtY"),f=e("9wZj"),x=e("OELB"),m=e("YXkt"),g=e("kj2x"),p=e("iPDy");function c(n,i,d){var t=i.coordinateSystem;n.each(function(l){var r=n.getItemModel(l),o,u=x.parsePercent(r.get("x"),d.getWidth()),h=x.parsePercent(r.get("y"),d.getHeight());if(!isNaN(u)&&!isNaN(h))o=[u,h];else if(i.getMarkerPosition)o=i.getMarkerPosition(n.getValues(n.dimensions,l));else if(t){var y=n.get(t.dimensions[0],l),b=n.get(t.dimensions[1],l);o=t.dataToPoint([y,b])}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h),n.setItemLayout(l,o)})}var s=p.extend({type:"markPoint",updateTransform:function(n,i,d){i.eachSeries(function(t){var l=t.markPointModel;l&&(c(l.getData(),t,d),this.markerGroupMap.get(t.id).updateLayout(l))},this)},renderSeries:function(n,i,d,t){var l=n.coordinateSystem,r=n.id,o=n.getData(),u=this.markerGroupMap,h=u.get(r)||u.set(r,new f),y=a(l,n,i);i.setData(y),c(i.getData(),n,t),y.each(function(b){var E=y.getItemModel(b),v=E.getShallow("symbol"),w=E.getShallow("symbolSize"),O=A.isFunction(v),T=A.isFunction(w);if(O||T){var S=i.getRawValue(b),C=i.getDataParams(b);O&&(v=v(S,C)),T&&(w=w(S,C))}y.setItemVisual(b,{symbol:v,symbolSize:w,color:E.get("itemStyle.color")||o.getVisual("color")})}),h.updateData(y),this.group.add(h.group),y.eachItemGraphicEl(function(b){b.traverse(function(E){E.dataModel=i})}),h.__keep=!0,h.group.silent=i.get("silent")||n.get("silent")}});function a(n,i,d){var t;n?t=A.map(n&&n.dimensions,function(o){var u=i.getData().getDimensionInfo(i.getData().mapDimension(o))||{};return A.defaults({name:o},u)}):t=[{name:"value",type:"float"}];var l=new m(t,d),r=A.map(d.get("data"),A.curry(g.dataTransform,i));return n&&(r=A.filter(r,A.curry(g.dataFilter,n))),l.initData(r,null,n?g.dimValueGetter:function(o){return o.value}),l}R.exports=s},g7p0:function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("+TT/"),m=x.getLayoutParams,g=x.sizeCalculable,p=x.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,i,d,t){var l=m(n);c.superApply(this,"init",arguments),s(n,l)},mergeOption:function(n,i){c.superApply(this,"mergeOption",arguments),s(this.option,n)}});function s(n,i){var d=n.cellSize;A.isArray(d)?d.length===1&&(d[1]=d[0]):d=n.cellSize=[d,d];var t=A.map([0,1],function(l){return g(i,l)&&(d[l]="auto"),d[l]!=null&&d[l]!=="auto"});p(n,i,{type:"box",ignoreSize:t})}var a=c;R.exports=a},g9YV:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("pED+"),m=e.n(x),g=e("+L6B"),p=e("R9oj"),c=e("7Kak"),s=e("sRBo"),a=e("qVdP"),n=e("T2oS"),i=e("DjyN"),d=e("5Dmo")},gIYZ:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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"};N.default=A},gKaM:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},gPAo:function(R,N){function e(m){return m}function A(m,g,p,c,s){this._old=m,this._new=g,this._oldKeyGetter=p||e,this._newKeyGetter=c||e,this.context=s}A.prototype={constructor:A,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,g=this._new,p={},c={},s=[],a=[],n;for(f(m,p,s,"_oldKeyGetter",this),f(g,c,a,"_newKeyGetter",this),n=0;n<m.length;n++){var i=s[n],d=c[i];if(d!=null){var t=d.length;t?(t===1&&(c[i]=null),d=d.shift()):c[i]=null,this._update&&this._update(d,n)}else this._remove&&this._remove(n)}for(var n=0;n<a.length;n++){var i=a[n];if(c.hasOwnProperty(i)){var d=c[i];if(d==null)continue;if(!d.length)this._add&&this._add(d);else for(var l=0,t=d.length;l<t;l++)this._add&&this._add(d[l])}}}};function f(m,g,p,c,s){for(var a=0;a<m.length;a++){var n="_ec_"+s[c](m[a],a),i=g[n];i==null?(p.push(n),g[n]=a):(i.length||(g[n]=i=[i]),i.push(a))}}var x=A;R.exports=x},gRFJ:function(R,N,e){R.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(R){return R<10?"0"+R:R}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(R){return rx_escapable.lastIndex=0,rx_escapable.test(R)?'"'+R.replace(rx_escapable,function(N){var e=meta[N];return typeof e=="string"?e:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+R+'"'}function str(R,N){var e,A,f,x,m=gap,g,p=N[R];p&&typeof p=="object"&&typeof p.toJSON=="function"&&(p=p.toJSON(R)),typeof rep=="function"&&(p=rep.call(N,R,p));switch(typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,g=[],Object.prototype.toString.apply(p)==="[object Array]"){for(x=p.length,e=0;e<x;e+=1)g[e]=str(e,p)||"null";return f=g.length===0?"[]":gap?`[
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"]":"["+g.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(x=rep.length,e=0;e<x;e+=1)typeof rep[e]=="string"&&(A=rep[e],f=str(A,p),f&&g.push(quote(A)+(gap?": ":":")+f));else for(A in p)Object.prototype.hasOwnProperty.call(p,A)&&(f=str(A,p),f&&g.push(quote(A)+(gap?": ":":")+f));return f=g.length===0?"{}":gap?`{
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"}":"{"+g.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(R,N,e){var A;if(gap="",indent="",typeof e=="number")for(A=0;A<e;A+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=N,N&&typeof N!="function"&&(typeof N!="object"||typeof N.length!="number"))throw new Error("JSON.stringify");return str("",{"":R})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(R,N){var e,A,f=R[N];if(f&&typeof f=="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(A=walk(f,e),A!==void 0?f[e]=A:delete f[e]);return reviver.call(R,N,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(R){return"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(R,N,e){var A=e("+TT/"),f=e("bYtY"),x=e("4NO4"),m=x.groupData;function g(_,I,k){_.eachSeriesByType("sankey",function(F){var B=F.get("nodeWidth"),j=F.get("nodeGap"),z=p(F,I);F.layoutInfo=z;var M=z.width,U=z.height,P=F.getGraph(),H=P.nodes,W=P.edges;s(H);var X=f.filter(H,function(be){return be.getLayout().value===0}),K=X.length!==0?0:F.get("layoutIterations"),$=F.get("orient"),ie=F.get("nodeAlign");c(H,W,B,j,M,U,K,$,ie)})}function p(_,I){return A.getLayoutRect(_.getBoxLayoutParams(),{width:I.getWidth(),height:I.getHeight()})}function c(_,I,k,F,B,j,z,M,U){a(_,I,k,B,j,M,U),l(_,I,j,B,F,z,M),C(_,M)}function s(_){f.each(_,function(I){var k=T(I.outEdges,O),F=T(I.inEdges,O),B=I.getValue()||0,j=Math.max(k,F,B);I.setLayout({value:j},!0)})}function a(_,I,k,F,B,j,z){for(var M=[],U=[],P=[],H=[],W=0,X=0,K=0;K<I.length;K++)M[K]=1;for(K=0;K<_.length;K++)U[K]=_[K].inEdges.length,U[K]===0&&P.push(_[K]);for(var $=-1;P.length;){for(var ie=0;ie<P.length;ie++){var be=P[ie],te=be.hostGraph.data.getRawDataItem(be.dataIndex),Te=te.depth!=null&&te.depth>=0;Te&&te.depth>$&&($=te.depth),be.setLayout({depth:Te?te.depth:W},!0),j==="vertical"?be.setLayout({dy:k},!0):be.setLayout({dx:k},!0);for(var Ie=0;Ie<be.outEdges.length;Ie++){var Fe=be.outEdges[Ie],Qe=I.indexOf(Fe);M[Qe]=0;var fe=Fe.node2,He=_.indexOf(fe);--U[He]===0&&H.indexOf(fe)<0&&H.push(fe)}}++W,P=H,H=[]}for(K=0;K<M.length;K++)if(M[K]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var se=$>W-1?$:W-1;z&&z!=="left"&&i(_,z,j,se);var X=j==="vertical"?(B-k)/se:(F-k)/se;t(_,X,j)}function n(_){var I=_.hostGraph.data.getRawDataItem(_.dataIndex);return I.depth!=null&&I.depth>=0}function i(_,I,k,F){if(I==="right"){for(var B=[],j=_,z=0;j.length;){for(var M=0;M<j.length;M++){var U=j[M];U.setLayout({skNodeHeight:z},!0);for(var P=0;P<U.inEdges.length;P++){var H=U.inEdges[P];B.indexOf(H.node1)<0&&B.push(H.node1)}}j=B,B=[],++z}f.each(_,function(W){n(W)||W.setLayout({depth:Math.max(0,F-W.getLayout().skNodeHeight)},!0)})}else I==="justify"&&d(_,F)}function d(_,I){f.each(_,function(k){!n(k)&&!k.outEdges.length&&k.setLayout({depth:I},!0)})}function t(_,I,k){f.each(_,function(F){var B=F.getLayout().depth*I;k==="vertical"?F.setLayout({y:B},!0):F.setLayout({x:B},!0)})}function l(_,I,k,F,B,j,z){var M=r(_,z);o(M,I,k,F,B,z),u(M,B,k,F,z);for(var U=1;j>0;j--)U*=.99,h(M,U,z),u(M,B,k,F,z),S(M,U,z),u(M,B,k,F,z)}function r(_,I){var k=[],F=I==="vertical"?"y":"x",B=m(_,function(j){return j.getLayout()[F]});return B.keys.sort(function(j,z){return j-z}),f.each(B.keys,function(j){k.push(B.buckets.get(j))}),k}function o(_,I,k,F,B,j){var z=Infinity;f.each(_,function(M){var U=M.length,P=0;f.each(M,function(W){P+=W.getLayout().value});var H=j==="vertical"?(F-(U-1)*B)/P:(k-(U-1)*B)/P;H<z&&(z=H)}),f.each(_,function(M){f.each(M,function(U,P){var H=U.getLayout().value*z;j==="vertical"?(U.setLayout({x:P},!0),U.setLayout({dx:H},!0)):(U.setLayout({y:P},!0),U.setLayout({dy:H},!0))})}),f.each(I,function(M){var U=+M.getValue()*z;M.setLayout({dy:U},!0)})}function u(_,I,k,F,B){var j=B==="vertical"?"x":"y";f.each(_,function(z){z.sort(function(ie,be){return ie.getLayout()[j]-be.getLayout()[j]});for(var M,U,P,H=0,W=z.length,X=B==="vertical"?"dx":"dy",K=0;K<W;K++)U=z[K],P=H-U.getLayout()[j],P>0&&(M=U.getLayout()[j]+P,B==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),H=U.getLayout()[j]+U.getLayout()[X]+I;var $=B==="vertical"?F:k;if(P=H-I-$,P>0)for(M=U.getLayout()[j]-P,B==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0),H=M,K=W-2;K>=0;--K)U=z[K],P=U.getLayout()[j]+U.getLayout()[X]+I-H,P>0&&(M=U.getLayout()[j]-P,B==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),H=U.getLayout()[j]})}function h(_,I,k){f.each(_.slice().reverse(),function(F){f.each(F,function(B){if(B.outEdges.length){var j=T(B.outEdges,y,k)/T(B.outEdges,O,k);if(isNaN(j)){var z=B.outEdges.length;j=z?T(B.outEdges,b,k)/z:0}if(k==="vertical"){var M=B.getLayout().x+(j-w(B,k))*I;B.setLayout({x:M},!0)}else{var U=B.getLayout().y+(j-w(B,k))*I;B.setLayout({y:U},!0)}}})})}function y(_,I){return w(_.node2,I)*_.getValue()}function b(_,I){return w(_.node2,I)}function E(_,I){return w(_.node1,I)*_.getValue()}function v(_,I){return w(_.node1,I)}function w(_,I){return I==="vertical"?_.getLayout().x+_.getLayout().dx/2:_.getLayout().y+_.getLayout().dy/2}function O(_){return _.getValue()}function T(_,I,k){for(var F=0,B=_.length,j=-1;++j<B;){var z=+I.call(_,_[j],k);isNaN(z)||(F+=z)}return F}function S(_,I,k){f.each(_,function(F){f.each(F,function(B){if(B.inEdges.length){var j=T(B.inEdges,E,k)/T(B.inEdges,O,k);if(isNaN(j)){var z=B.inEdges.length;j=z?T(B.inEdges,v,k)/z:0}if(k==="vertical"){var M=B.getLayout().x+(j-w(B,k))*I;B.setLayout({x:M},!0)}else{var U=B.getLayout().y+(j-w(B,k))*I;B.setLayout({y:U},!0)}}})})}function C(_,I){var k=I==="vertical"?"x":"y";f.each(_,function(F){F.outEdges.sort(function(B,j){return B.node2.getLayout()[k]-j.node2.getLayout()[k]}),F.inEdges.sort(function(B,j){return B.node1.getLayout()[k]-j.node1.getLayout()[k]})}),f.each(_,function(F){var B=0,j=0;f.each(F.outEdges,function(z){z.setLayout({sy:B},!0),B+=z.getLayout().dy}),f.each(F.inEdges,function(z){z.setLayout({ty:j},!0),j+=z.getLayout().dy})})}R.exports=g},"giR+":function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("QbM5"),m=e.n(x)},gut8:function(R,N){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},A=9;N.ContextCachedBy=e,N.WILL_BE_RESTORED=A},gvm7:function(R,N,e){var A=e("bYtY"),f=e("dqUG");function x(g){this._zr=g.getZr(),this._show=!1,this._hideTimeout}x.prototype={constructor:x,_enterable:!0,update:function(){},show:function(g){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(g,p,c){this.el&&this._zr.remove(this.el);for(var s={},a=g,n="{marker",i="|}",d=a.indexOf(n);d>=0;){var t=a.indexOf(i),l=a.substr(d+n.length,t-d-n.length);l.indexOf("sub")>-1?s["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:p[l],textOffset:[3,0]}:s["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:p[l]},a=a.substr(t+1),d=a.indexOf("{marker")}this.el=new f({style:{rich:s,text:g,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 r=this;this.el.on("mouseover",function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0}),this.el.on("mouseout",function(){r._enterable&&(r._show&&r.hideLater(r._hideDelay)),r._inContent=!1})},setEnterable:function(g){this._enterable=g},getSize:function(){var g=this.el.getBoundingRect();return[g.width,g.height]},moveTo:function(g,p){this.el&&this.el.attr("position",[g,p])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(A.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var g=this.getSize();return{width:g[0],height:g[1]}}};var m=x;R.exports=m},gwTy:function(R,N,e){},h54F:function(R,N,e){var A=e("ProS"),f=e("YXkt"),x=e("bYtY"),m=e("4NO4"),g=m.defaultEmphasis,p=e("Qxkt"),c=e("7aKB"),s=c.encodeHTML,a=e("I3/A"),n=e("xKMd"),i=A.extendSeriesModel({type:"series.graph",init:function(t){i.superApply(this,"init",arguments);var l=this;function r(){return l._categoriesData}this.legendVisualProvider=new n(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){i.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){i.superApply(this,"mergeDefaultAndTheme",arguments),g(t,["edgeLabel"],["show"])},getInitialData:function(t,l){var r=t.edges||t.links||[],o=t.data||t.nodes||[],u=this;if(o&&r)return a(o,r,this,!0,h).data;function h(y,b){y.wrapMethod("getItemModel",function(S){var C=u._categoriesModels,_=S.getShallow("category"),I=C[_];return I&&(I.parentModel=S.parentModel,S.parentModel=I),S});var E=u.getModel("edgeLabel"),v=new p({label:E.option},E.parentModel,l),w=u.getModel("emphasis.edgeLabel"),O=new p({emphasis:{label:w.option}},w.parentModel,l);b.wrapMethod("getItemModel",function(S){return S.customizeGetParent(T),S});function T(S){return S=this.parsePath(S),S&&S[0]==="label"?v:S&&S[0]==="emphasis"&&S[1]==="label"?O:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,l,r){if(r==="edge"){var o=this.getData(),u=this.getDataParams(t,r),h=o.graph.getEdgeByIndex(t),y=o.getName(h.node1.dataIndex),b=o.getName(h.node2.dataIndex),E=[];return y!=null&&E.push(y),b!=null&&E.push(b),E=s(E.join(" > ")),u.value&&(E+=" : "+s(u.value)),E}else return i.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=x.map(this.option.categories||[],function(r){return r.value!=null?r:x.extend({value:0},r)}),l=new f(["value"],this);l.initData(t),this._categoriesData=l,this._categoriesModels=l.mapArray(function(r){return l.getItemModel(r,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return i.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),d=i;R.exports=d},h7HQ:function(R,N,e){var A=e("y+Vt"),f=e("T6xi"),x=A.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(g,p){f.buildPath(g,p,!0)}});R.exports=x},h8O9:function(R,N,e){var A=e("bYtY"),f=A.map,x=e("zM3Q"),m=e("7hqr"),g=m.isDimensionStacked;function p(c){return{seriesType:c,plan:x(),reset:function(s){var a=s.getData(),n=s.coordinateSystem,i=s.pipelineContext,d=i.large;if(!n)return;var t=f(n.dimensions,function(u){return a.mapDimension(u)}).slice(0,2),l=t.length,r=a.getCalculationInfo("stackResultDimension");g(a,t[0])&&(t[0]=r),g(a,t[1])&&(t[1]=r);function o(u,h){for(var y=u.end-u.start,b=d&&new Float32Array(y*l),E=u.start,v=0,w=[],O=[];E<u.end;E++){var T;if(l===1){var S=h.get(t[0],E);T=!isNaN(S)&&n.dataToPoint(S,null,O)}else{var S=w[0]=h.get(t[0],E),C=w[1]=h.get(t[1],E);T=!isNaN(S)&&!isNaN(C)&&n.dataToPoint(w,null,O)}d?(b[v++]=T?T[0]:NaN,b[v++]=T?T[1]:NaN):h.setItemLayout(E,T&&T.slice()||[NaN,NaN])}d&&h.setLayout("symbolPoints",b)}return l&&{progress:o}}}}R.exports=p},hD7B:function(R,N,e){var A=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function x(g){A.each(f,function(p){this[p]=A.bind(g[p],g)},this)}var m=x;R.exports=m},hFmY:function(R,N,e){var A=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};A.registerAction(f,function(x,m){m.eachComponent({mainType:"parallelAxis",query:x},function(g){g.axis.model.setActiveIntervals(x.intervals)})}),A.registerAction("parallelAxisExpand",function(x,m){m.eachComponent({mainType:"parallel",query:x},function(g){g.setAxisExpand(x)})})},hJvP:function(R,N,e){var A=e("2dDv"),f=e("IDmD");function x(m,g){var p=[];return m.eachComponent("parallel",function(c,s){var a=new A(c,m,g);a.name="parallel_"+s,a.resize(c,g),c.coordinateSystem=a,a.model=c,p.push(a)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var s=m.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=s.coordinateSystem}}),p}f.register("parallel",{create:x})},hM6l:function(R,N,e){var A=e("bYtY"),f=A.each,x=A.map,m=e("OELB"),g=m.linearMap,p=m.getPixelPrecision,c=m.round,s=e("4HMb"),a=s.createAxisTicks,n=s.createAxisLabels,i=s.calculateCategoryInterval,d=[0,1],t=function(u,h,y){this.dim=u,this.scale=h,this._extent=y||[0,0],this.inverse=!1,this.onBand=!1};t.prototype={constructor:t,contain:function(u){var h=this._extent,y=Math.min(h[0],h[1]),b=Math.max(h[0],h[1]);return u>=y&&u<=b},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return p(u||this.scale.getExtent(),this._extent)},setExtent:function(u,h){var y=this._extent;y[0]=u,y[1]=h},dataToCoord:function(u,h){var y=this._extent,b=this.scale;return u=b.normalize(u),this.onBand&&b.type==="ordinal"&&(y=y.slice(),l(y,b.count())),g(u,d,y,h)},coordToData:function(u,h){var y=this._extent,b=this.scale;this.onBand&&b.type==="ordinal"&&(y=y.slice(),l(y,b.count()));var E=g(u,y,d,h);return this.scale.scale(E)},pointToData:function(u,h){},getTicksCoords:function(u){u=u||{};var h=u.tickModel||this.getTickModel(),y=a(this,h),b=y.ticks,E=x(b,function(w){return{coord:this.dataToCoord(w),tickValue:w}},this),v=h.get("alignWithLabel");return r(this,E,v,u.clamp),E},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),h=u.get("splitNumber");h>0&&h<100||(h=5);var y=this.scale.getMinorTicks(h),b=x(y,function(E){return x(E,function(v){return{coord:this.dataToCoord(v),tickValue:v}},this)},this);return b},getViewLabels:function(){return n(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,h=this.scale.getExtent(),y=h[1]-h[0]+(this.onBand?1:0);y===0&&(y=1);var b=Math.abs(u[1]-u[0]);return Math.abs(b)/y},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return i(this)}};function l(u,h){var y=u[1]-u[0],b=h,E=y/b/2;u[0]+=E,u[1]-=E}function r(u,h,y,b){var E=h.length;if(!u.onBand||y||!E)return;var v=u.getExtent(),w,O;if(E===1)h[0].coord=v[0],w=h[1]={coord:v[0]};else{var T=h[E-1].tickValue-h[0].tickValue,S=(h[E-1].coord-h[0].coord)/T;f(h,function(k){k.coord-=S/2});var C=u.scale.getExtent();O=1+C[1]-h[E-1].tickValue,w={coord:h[E-1].coord+S*O},h.push(w)}var _=v[0]>v[1];I(h[0].coord,v[0])&&(b?h[0].coord=v[0]:h.shift()),b&&I(v[0],h[0].coord)&&h.unshift({coord:v[0]}),I(v[1],w.coord)&&(b?w.coord=v[1]:h.pop()),b&&I(w.coord,v[1])&&h.push({coord:v[1]});function I(k,F){return k=c(k),F=c(F),_?k>F:k<F}}var o=t;R.exports=o},hNWo:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("Qxkt"),m=e("4NO4"),g=m.isNameSpecified,p=e("Kagy"),c=p.legend.selector,s={all:{type:"all",title:f.clone(c.all)},inverse:{type:"inverse",title:f.clone(c.inverse)}},a=A.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(i,d,t){this.mergeDefaultAndTheme(i,t),i.selected=i.selected||{},this._updateSelector(i)},mergeOption:function(i){a.superCall(this,"mergeOption",i),this._updateSelector(i)},_updateSelector:function(i){var d=i.selector;d===!0&&(d=i.selector=["all","inverse"]),f.isArray(d)&&f.each(d,function(t,l){f.isString(t)&&(t={type:t}),d[l]=f.merge(t,s[t.type])})},optionUpdated:function(){this._updateData(this.ecModel);var i=this._data;if(i[0]&&this.get("selectedMode")==="single"){for(var d=!1,t=0;t<i.length;t++){var l=i[t].get("name");if(this.isSelected(l)){this.select(l),d=!0;break}}!d&&this.select(i[0].get("name"))}},_updateData:function(i){var d=[],t=[];i.eachRawSeries(function(o){var u=o.name;t.push(u);var h;if(o.legendVisualProvider){var y=o.legendVisualProvider,b=y.getAllNames();i.isSeriesFiltered(o)||(t=t.concat(b)),b.length?d=d.concat(b):h=!0}else h=!0;h&&g(o)&&d.push(o.name)}),this._availableNames=t;var l=this.get("data")||d,r=f.map(l,function(o){return(typeof o=="string"||typeof o=="number")&&(o={name:o}),new x(o,this,this.ecModel)},this);this._data=r},getData:function(){return this._data},select:function(i){var d=this.option.selected,t=this.get("selectedMode");if(t==="single"){var l=this._data;f.each(l,function(r){d[r.get("name")]=!1})}d[i]=!0},unSelect:function(i){this.get("selectedMode")!=="single"&&(this.option.selected[i]=!1)},toggleSelected:function(i){var d=this.option.selected;d.hasOwnProperty(i)||(d[i]=!0),this[d[i]?"unSelect":"select"](i)},allSelect:function(){var i=this._data,d=this.option.selected;f.each(i,function(t){d[t.get("name",!0)]=!0})},inverseSelect:function(){var i=this._data,d=this.option.selected;f.each(i,function(t){var l=t.get("name",!0);d.hasOwnProperty(l)||(d[l]=!0),d[l]=!d[l]})},isSelected:function(i){var d=this.option.selected;return!(d.hasOwnProperty(i)&&!d[i])&&f.indexOf(this._availableNames,i)>=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=a;R.exports=n},hOwI:function(R,N){var e=Math.log(2);function A(x,m,g,p,c,s){var a=p+"-"+c,n=x.length;if(s.hasOwnProperty(a))return s[a];if(m===1){var i=Math.round(Math.log((1<<n)-1&~c)/e);return x[g][i]}for(var d=p|1<<g,t=g+1;p&1<<t;)t++;for(var l=0,r=0,o=0;r<n;r++){var u=1<<r;u&c||(l+=(o%2?-1:1)*x[g][r]*A(x,m-1,t,d,c|u,s),o++)}return s[a]=l,l}function f(x,m){var g=[[x[0],x[1],1,0,0,0,-m[0]*x[0],-m[0]*x[1]],[0,0,0,x[0],x[1],1,-m[1]*x[0],-m[1]*x[1]],[x[2],x[3],1,0,0,0,-m[2]*x[2],-m[2]*x[3]],[0,0,0,x[2],x[3],1,-m[3]*x[2],-m[3]*x[3]],[x[4],x[5],1,0,0,0,-m[4]*x[4],-m[4]*x[5]],[0,0,0,x[4],x[5],1,-m[5]*x[4],-m[5]*x[5]],[x[6],x[7],1,0,0,0,-m[6]*x[6],-m[6]*x[7]],[0,0,0,x[6],x[7],1,-m[7]*x[6],-m[7]*x[7]]],p={},c=A(g,8,0,0,0,p);if(c===0)return;for(var s=[],a=0;a<8;a++)for(var n=0;n<8;n++)s[n]==null&&(s[n]=0),s[n]+=((a+n)%2?-1:1)*A(g,7,a===0?1:0,1<<a,1<<n,p)/c*m[a];return function(i,d,t){var l=d*s[6]+t*s[7]+1;i[0]=(d*s[0]+t*s[1]+s[2])/l,i[1]=(d*s[3]+t*s[4]+s[5])/l}}N.buildTransformer=f},hX1E:function(R,N){var e=Math.PI*2;function A(f){return f%=e,f<0&&(f+=e),f}N.normalizeRadian=A},hXwI:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var s=p[c];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(g,s.key,s)}}function x(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){A(this,g)}return x(g,[{key:"decodeRect",value:function(c,s,a,n,i,d,t){if(i.rQwait("COPYRECT",4))return!1;var l=i.rQshift16(),r=i.rQshift16();return d.copyImage(l,r,c,s,a,n),!0}}]),g}();N.default=m},hi0g:function(R,N,e){var A=e("bYtY"),f=A.createHashMap,x=A.each,m=A.isString,g=A.defaults,p=A.extend,c=A.isObject,s=A.clone,a=e("4NO4"),n=a.normalizeToArray,i=e("D5nY"),d=i.guessOrdinal,t=i.BE_ORDINAL,l=e("7G+c"),r=e("L0Ub"),o=r.OTHER_DIMENSIONS,u=e("Vi4m");function h(v,w,O){l.isInstance(w)||(w=l.seriesDataToSource(w)),O=O||{},v=(v||[]).slice();for(var T=(O.dimsDef||[]).slice(),S=f(),C=f(),_=[],I=y(w,v,T,O.dimCount),k=0;k<I;k++){var F=T[k]=p({},c(T[k])?T[k]:{name:T[k]}),B=F.name,j=_[k]=new u;B!=null&&S.get(B)==null&&(j.name=j.displayName=B,S.set(B,k)),F.type!=null&&(j.type=F.type),F.displayName!=null&&(j.displayName=F.displayName)}var z=O.encodeDef;!z&&O.encodeDefaulter&&(z=O.encodeDefaulter(w,I)),z=f(z),z.each(function(ie,be){if(ie=n(ie).slice(),ie.length===1&&!m(ie[0])&&ie[0]<0){z.set(be,!1);return}var te=z.set(be,[]);x(ie,function(Te,Ie){m(Te)&&(Te=S.get(Te)),Te!=null&&Te<I&&(te[Ie]=Te,U(_[Te],be,Ie))})});var M=0;x(v,function(ie,be){var te,ie,Te,Ie;if(m(ie))te=ie,ie={};else{te=ie.name;var Fe=ie.ordinalMeta;ie.ordinalMeta=null,ie=s(ie),ie.ordinalMeta=Fe,Te=ie.dimsDef,Ie=ie.otherDims,ie.name=ie.coordDim=ie.coordDimIndex=ie.dimsDef=ie.otherDims=null}var Qe=z.get(te);if(Qe===!1)return;var Qe=n(Qe);if(!Qe.length)for(var fe=0;fe<(Te&&Te.length||1);fe++){for(;M<_.length&&_[M].coordDim!=null;)M++;M<_.length&&Qe.push(M++)}x(Qe,function(He,se){var Ce=_[He];if(U(g(Ce,ie),te,se),Ce.name==null&&Te){var mt=Te[se];!c(mt)&&(mt={name:mt}),Ce.name=Ce.displayName=mt.name,Ce.defaultTooltip=mt.defaultTooltip}Ie&&g(Ce.otherDims,Ie)})});function U(ie,be,te){o.get(be)!=null?ie.otherDims[be]=te:(ie.coordDim=be,ie.coordDimIndex=te,C.set(be,!0))}var P=O.generateCoord,H=O.generateCoordCount,W=H!=null;H=P?H||1:0;for(var X=P||"value",K=0;K<I;K++){var j=_[K]=_[K]||new u,$=j.coordDim;$==null&&(j.coordDim=b(X,C,W),j.coordDimIndex=0,(!P||H<=0)&&(j.isExtraCoord=!0),H--),j.name==null&&(j.name=b(j.coordDim,S)),j.type==null&&(d(w,K,j.name)===t.Must||j.isExtraCoord&&(j.otherDims.itemName!=null||j.otherDims.seriesName!=null))&&(j.type="ordinal")}return _}function y(v,w,O,T){var S=Math.max(v.dimensionsDetectCount||1,w.length,O.length,T||0);return x(w,function(C){var _=C.dimsDef;_&&(S=Math.max(S,_.length))}),S}function b(v,w,O){if(O||w.get(v)!=null){for(var T=0;w.get(v+T)!=null;)T++;v+=T}return w.set(v,!0),v}var E=h;R.exports=E},hkKa:function(R,N,e){"use strict";e.d(N,"a",function(){return g});var A=e("J4zp"),f=e.n(A),x=e("q1tI"),m=e.n(x);function g(){var p=x.useReducer(function(a){return a+1},0),c=f()(p,2),s=c[1];return s}},hw6D:function(R,N,e){var A=e("bYtY");function f(g){g.eachSeriesByType("radar",function(p){var c=p.getData(),s=[],a=p.coordinateSystem;if(!a)return;var n=a.getIndicatorAxes();A.each(n,function(i,d){c.each(c.mapDimension(n[d].dim),function(t,l){s[l]=s[l]||[];var r=a.dataToPoint(t,d);s[l][d]=x(r)?r:m(a)})}),c.each(function(i){var d=A.find(s[i],function(t){return x(t)})||m(a);s[i].push(d.slice()),c.setItemLayout(i,s[i])})})}function x(g){return!isNaN(g[0])&&!isNaN(g[1])}function m(g){return[g.cx,g.cy]}R.exports=f},hwYd:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("Nu4q")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="PictureTwoTone";var s=m.forwardRef(c);N.default=s},hydK:function(R,N){var e="http://www.w3.org/2000/svg";function A(f){return document.createElementNS(e,f)}N.createElement=A},hyiK:function(R,N){function e(A,f,x,m,g,p){if(p>f&&p>m||p<f&&p<m)return 0;if(m===f)return 0;var c=m<f?1:-1,s=(p-f)/(m-f);(s===1||s===0)&&(c=m<f?.5:-.5);var a=s*(x-A)+A;return a===g?Infinity:a>g?c:0}R.exports=e},i38C:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=x.createHashMap,g=x.retrieve,p=x.each;function c(i){this.coordSysName=i,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function s(i){var d=i.get("coordinateSystem"),t=new c(d),l=a[d];if(l)return l(i,t,t.axisMap,t.categoryAxisMap),t}var a={cartesian2d:function(i,d,t,l){var r=i.getReferringComponents("xAxis")[0],o=i.getReferringComponents("yAxis")[0];d.coordSysDims=["x","y"],t.set("x",r),t.set("y",o),n(r)&&(l.set("x",r),d.firstCategoryDimIndex=0),n(o)&&(l.set("y",o),d.firstCategoryDimIndex==null&(d.firstCategoryDimIndex=1))},singleAxis:function(i,d,t,l){var r=i.getReferringComponents("singleAxis")[0];d.coordSysDims=["single"],t.set("single",r),n(r)&&(l.set("single",r),d.firstCategoryDimIndex=0)},polar:function(i,d,t,l){var r=i.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");d.coordSysDims=["radius","angle"],t.set("radius",o),t.set("angle",u),n(o)&&(l.set("radius",o),d.firstCategoryDimIndex=0),n(u)&&(l.set("angle",u),d.firstCategoryDimIndex==null&&(d.firstCategoryDimIndex=1))},geo:function(i,d,t,l){d.coordSysDims=["lng","lat"]},parallel:function(i,d,t,l){var r=i.ecModel,o=r.getComponent("parallel",i.get("parallelIndex")),u=d.coordSysDims=o.dimensions.slice();p(o.parallelAxisIndex,function(h,y){var b=r.getComponent("parallelAxis",h),E=u[y];t.set(E,b),n(b)&&d.firstCategoryDimIndex==null&&(l.set(E,b),d.firstCategoryDimIndex=y)})}};function n(i){return i.get("type")==="category"}N.getCoordSysInfoBySeries=s},i6bk:function(R,N,e){"use strict";e.d(N,"b",function(){return A}),e.d(N,"a",function(){return f});function A(x){return x!=null&&x===x.window}function f(x,m){if(typeof window=="undefined")return 0;var g=m?"scrollTop":"scrollLeft",p=0;return A(x)?p=x[m?"pageYOffset":"pageXOffset"]:x instanceof Document?p=x.documentElement[g]:x&&(p=x[g]),x&&!A(x)&&typeof p!="number"&&(p=(x.ownerDocument||x).documentElement[g]),p}},i8CU:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},iLNv:function(R,N){var e="\0__throttleOriginMethod",A="\0__throttleRate",f="\0__throttleType";function x(p,c,s){var a,n=0,i=0,d=null,t,l,r,o;c=c||0;function u(){i=new Date().getTime(),d=null,p.apply(l,r||[])}var h=function(){a=new Date().getTime(),l=this,r=arguments;var y=o||c,b=o||s;o=null,t=a-(b?n:i)-y,clearTimeout(d),b?d=setTimeout(u,y):t>=0?u():d=setTimeout(u,-t),n=a};return h.clear=function(){d&&(clearTimeout(d),d=null)},h.debounceNextCall=function(y){o=y},h}function m(p,c,s,a){var n=p[c];if(!n)return;var i=n[e]||n,d=n[f],t=n[A];if(t!==s||d!==a){if(s==null||!a)return p[c]=i;n=p[c]=x(i,s,a==="debounce"),n[e]=i,n[f]=a,n[A]=s}return n}function g(p,c){var s=p[c];s&&s[e]&&(p[c]=s[e])}N.throttle=x,N.createOrUpdate=m,N.clear=g},iPDy:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=A.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,g,p){var c=this.markerGroupMap;c.each(function(a){a.__keep=!1});var s=this.type+"Model";g.eachSeries(function(a){var n=a[s];n&&this.renderSeries(a,n,g,p)},this),c.each(function(a){!a.__keep&&this.group.remove(a.group)},this)},renderSeries:function(){}});R.exports=x},iQDF:function(R,N,e){"use strict";var A=e("ZTW2"),f=e.n(A),x=e("+BJd"),m=e("+L6B")},iRjW:function(R,N,e){var A=e("bYtY"),f=e("Yl7c"),x=f.parseClassType,m=0;function g(s){return[s||"",m++,Math.random().toFixed(5)].join("_")}function p(s){var a={};return s.registerSubTypeDefaulter=function(n,i){n=x(n),a[n.main]=i},s.determineSubType=function(n,i){var d=i.type;if(!d){var t=x(n).main;s.hasSubTypes(n)&&a[t]&&(d=a[t](i))}return d},s}function c(s,a){s.topologicalTravel=function(t,l,r,o){if(!t.length)return;var u=n(l),h=u.graph,y=u.noEntryList,b={};for(A.each(t,function(S){b[S]=!0});y.length;){var E=y.pop(),v=h[E],w=!!b[E];w&&(r.call(o,E,v.originalDeps.slice()),delete b[E]),A.each(v.successor,w?T:O)}A.each(b,function(){throw new Error("Circle dependency may exists")});function O(S){h[S].entryCount--,h[S].entryCount===0&&y.push(S)}function T(S){b[S]=!0,O(S)}};function n(t){var l={},r=[];return A.each(t,function(o){var u=i(l,o),h=u.originalDeps=a(o),y=d(h,t);u.entryCount=y.length,u.entryCount===0&&r.push(o),A.each(y,function(b){A.indexOf(u.predecessor,b)<0&&u.predecessor.push(b);var E=i(l,b);A.indexOf(E.successor,b)<0&&E.successor.push(o)})}),{graph:l,noEntryList:r}}function i(t,l){return t[l]||(t[l]={predecessor:[],successor:[]}),t[l]}function d(t,l){var r=[];return A.each(t,function(o){A.indexOf(l,o)>=0&&r.push(o)}),r}}N.getUID=g,N.enableSubTypeDefaulter=p,N.enableTopologicalTravel=c},iUHT:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function A(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function f(v,w){for(var O=0;O<w.length;O++){var T=w[O];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,T.key,T)}}function x(v,w,O){return w&&f(v.prototype,w),O&&f(v,O),v}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],g=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=0,c,s,a,n,i,d;c=1<<16,s=1<<24,a=c|s,n=1<<2,i=1<<10,d=n|i;var t=[a|i,p|p,c|p,a|d,a|n,c|d,p|n,c|p,p|i,a|i,a|d,p|i,s|d,a|n,s|p,p|n,p|d,s|i,s|i,c|i,c|i,a|p,a|p,s|d,c|n,s|n,s|n,c|n,p|p,p|d,c|d,s|p,c|p,a|d,p|n,a|p,a|i,s|p,s|p,p|i,a|n,c|p,c|i,s|n,p|i,p|n,s|d,c|d,a|d,c|n,a|p,s|d,s|n,p|d,c|d,a|i,p|d,s|i,s|i,p|p,c|n,c|i,p|p,a|n];c=1<<20,s=1<<31,a=c|s,n=1<<5,i=1<<15,d=n|i;var l=[a|d,s|i,p|i,c|d,c|p,p|n,a|n,s|d,s|n,a|d,a|i,s|p,s|i,c|p,p|n,a|n,c|i,c|n,s|d,p|p,s|p,p|i,c|d,a|p,c|n,s|n,p|p,c|i,p|d,a|i,a|p,p|d,p|p,c|d,a|n,c|p,s|d,a|p,a|i,p|i,a|p,s|i,p|n,a|d,c|d,p|n,p|i,s|p,p|d,a|i,c|p,s|n,c|n,s|d,s|n,c|n,c|i,p|p,s|i,p|d,s|p,a|n,a|d,c|i];c=1<<17,s=1<<27,a=c|s,n=1<<3,i=1<<9,d=n|i;var r=[p|d,a|i,p|p,a|n,s|i,p|p,c|d,s|i,c|n,s|n,s|n,c|p,a|d,c|n,a|p,p|d,s|p,p|n,a|i,p|i,c|i,a|p,a|n,c|d,s|d,c|i,c|p,s|d,p|n,a|d,p|i,s|p,a|i,s|p,c|n,p|d,c|p,a|i,s|i,p|p,p|i,c|n,a|d,s|i,s|n,p|i,p|p,a|n,s|d,c|p,s|p,a|d,p|n,c|d,c|i,s|n,a|p,s|d,p|d,a|p,c|d,p|n,a|n,c|i];c=1<<13,s=1<<23,a=c|s,n=1<<0,i=1<<7,d=n|i;var o=[a|n,c|d,c|d,p|i,a|i,s|d,s|n,c|n,p|p,a|p,a|p,a|d,p|d,p|p,s|i,s|n,p|n,c|p,s|p,a|n,p|i,s|p,c|n,c|i,s|d,p|n,c|i,s|i,c|p,a|i,a|d,p|d,s|i,s|n,a|p,a|d,p|d,p|p,p|p,a|p,c|i,s|i,s|d,p|n,a|n,c|d,c|d,p|i,a|d,p|d,p|n,c|p,s|n,c|n,a|i,s|d,c|n,c|i,s|p,a|n,p|i,s|p,c|p,a|i];c=1<<25,s=1<<30,a=c|s,n=1<<8,i=1<<19,d=n|i;var u=[p|n,c|d,c|i,a|n,p|i,p|n,s|p,c|i,s|d,p|i,c|n,s|d,a|n,a|i,p|d,s|p,c|p,s|i,s|i,p|p,s|n,a|d,a|d,c|n,a|i,s|n,p|p,a|p,c|d,c|p,a|p,p|d,p|i,a|n,p|n,c|p,s|p,c|i,a|n,s|d,c|n,s|p,a|i,c|d,s|d,p|n,c|p,a|i,a|d,p|d,a|p,a|d,c|i,p|p,s|i,a|p,p|d,c|n,s|n,p|i,p|p,s|i,c|d,s|n];c=1<<22,s=1<<29,a=c|s,n=1<<4,i=1<<14,d=n|i;var h=[s|n,a|p,p|i,a|d,a|p,p|n,a|d,c|p,s|i,c|d,c|p,s|n,c|n,s|i,s|p,p|d,p|p,c|n,s|d,p|i,c|i,s|d,p|n,a|n,a|n,p|p,c|d,a|i,p|d,c|i,a|i,s|p,s|i,p|n,a|n,c|i,a|d,c|p,p|d,s|n,c|p,s|i,s|p,p|d,s|n,a|d,c|i,a|p,c|d,a|i,p|p,a|n,p|n,p|i,a|p,c|d,p|i,c|n,s|d,p|p,a|i,s|p,c|n,s|d];c=1<<21,s=1<<26,a=c|s,n=1<<1,i=1<<11,d=n|i;var y=[c|p,a|n,s|d,p|p,p|i,s|d,c|d,a|i,a|d,c|p,p|p,s|n,p|n,s|p,a|n,p|d,s|i,c|d,c|n,s|i,s|n,a|p,a|i,c|n,a|p,p|i,p|d,a|d,c|i,p|n,s|p,c|i,s|p,c|i,c|p,s|d,s|d,a|n,a|n,p|n,c|n,s|p,s|i,c|p,a|i,p|d,c|d,a|i,p|d,s|n,a|d,a|p,c|i,p|p,p|n,a|d,p|p,c|d,a|p,p|i,s|n,s|i,p|i,c|n];c=1<<18,s=1<<28,a=c|s,n=1<<6,i=1<<12,d=n|i;var b=[s|d,p|i,c|p,a|d,s|p,s|d,p|n,s|p,c|n,a|p,a|d,c|i,a|i,c|d,p|i,p|n,a|p,s|n,s|i,p|d,c|i,c|n,a|n,a|i,p|d,p|p,p|p,a|n,s|n,s|i,c|d,c|p,c|d,c|p,a|i,p|i,p|n,a|n,p|i,c|d,s|i,p|n,s|n,a|p,a|n,s|p,c|p,s|d,p|p,a|d,c|n,s|n,a|p,s|i,s|d,p|p,a|d,c|i,c|i,p|d,p|d,c|n,s|p,a|i],E=function(){function v(w){A(this,v),this.keys=[];for(var O=[],T=[],S=[],C=0,_=56;C<56;++C,_-=8){_+=_<-5?65:_<-3?31:_<-1?63:_===27?35:0;var I=_&7;O[C]=(w[_>>>3]&1<<I)!==0?1:0}for(var k=0;k<16;++k){var F=k<<1,B=F+1;S[F]=S[B]=0;for(var j=28;j<59;j+=28)for(var z=j-28;z<j;++z){var M=z+g[k];T[z]=M<j?O[M]:O[M-28]}for(var U=0;U<24;++U)T[m[U]]!==0&&(S[F]|=1<<23-U),T[m[U+24]]!==0&&(S[B]|=1<<23-U)}for(var P=0,H=0,W=0;P<16;++P){var X=S[H++],K=S[H++];this.keys[W]=(X&16515072)<<6,this.keys[W]|=(X&4032)<<10,this.keys[W]|=(K&16515072)>>>10,this.keys[W]|=(K&4032)>>>6,++W,this.keys[W]=(X&258048)<<12,this.keys[W]|=(X&63)<<16,this.keys[W]|=(K&258048)>>>4,this.keys[W]|=K&63,++W}}return x(v,[{key:"enc8",value:function(O){var T=O.slice(),S=0,C,_,I;C=T[S++]<<24|T[S++]<<16|T[S++]<<8|T[S++],_=T[S++]<<24|T[S++]<<16|T[S++]<<8|T[S++],I=(C>>>4^_)&252645135,_^=I,C^=I<<4,I=(C>>>16^_)&65535,_^=I,C^=I<<16,I=(_>>>2^C)&858993459,C^=I,_^=I<<2,I=(_>>>8^C)&16711935,C^=I,_^=I<<8,_=_<<1|_>>>31&1,I=(C^_)&2863311530,C^=I,_^=I,C=C<<1|C>>>31&1;for(var k=0,F=0;k<8;++k){I=_<<28|_>>>4,I^=this.keys[F++];var B=y[I&63];B|=u[I>>>8&63],B|=r[I>>>16&63],B|=t[I>>>24&63],I=_^this.keys[F++],B|=b[I&63],B|=h[I>>>8&63],B|=o[I>>>16&63],B|=l[I>>>24&63],C^=B,I=C<<28|C>>>4,I^=this.keys[F++],B=y[I&63],B|=u[I>>>8&63],B|=r[I>>>16&63],B|=t[I>>>24&63],I=C^this.keys[F++],B|=b[I&63],B|=h[I>>>8&63],B|=o[I>>>16&63],B|=l[I>>>24&63],_^=B}for(_=_<<31|_>>>1,I=(C^_)&2863311530,C^=I,_^=I,C=C<<31|C>>>1,I=(C>>>8^_)&16711935,_^=I,C^=I<<8,I=(C>>>2^_)&858993459,_^=I,C^=I<<2,I=(_>>>16^C)&65535,C^=I,_^=I<<16,I=(_>>>4^C)&252645135,C^=I,_^=I<<4,I=[_,C],S=0;S<8;S++)T[S]=(I[S>>>2]>>>8*(3-S%4))%256,T[S]<0&&(T[S]+=256);return T}},{key:"encrypt",value:function(O){return this.enc8(O.slice(0,8)).concat(this.enc8(O.slice(8,16)))}}]),v}();N.default=E},iXHM:function(R,N){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var A={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};R.exports=A},iXp4:function(R,N,e){var A=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function x(m){return A.browser.ie&&A.browser.version>=11?function(){var g=this.__clipPaths,p=this.style,c;if(g)for(var s=0;s<g.length;s++){var a=g[s],n=a&&a.shape,i=a&&a.type;if(n&&(i==="sector"&&n.startAngle===n.endAngle||i==="rect"&&(!n.width||!n.height))){for(var d=0;d<f.length;d++)f[d][2]=p[f[d][0]],p[f[d][0]]=f[d][1];c=!0;break}}if(m.apply(this,arguments),c)for(var d=0;d<f.length;d++)p[f[d][0]]=f[d][2]}:m}R.exports=x},iYpf:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("ZLWo")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="FolderOpenOutlined";var s=m.forwardRef(c);N.default=s},ieMj:function(R,N,e){var A=e("OELB"),f=e("7aKB"),x=e("4NgU"),m=e("lE7J"),g=A.round,p=x.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(s,a){var n=this._extent;isNaN(s)||(n[0]=parseFloat(s)),isNaN(a)||(n[1]=parseFloat(a))},unionExtent:function(s){var a=this._extent;s[0]<a[0]&&(a[0]=s[0]),s[1]>a[1]&&(a[1]=s[1]),p.prototype.setExtent.call(this,a[0],a[1])},getInterval:function(){return this._interval},setInterval:function(s){this._interval=s,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(s)},getTicks:function(s){var a=this._interval,n=this._extent,i=this._niceExtent,d=this._intervalPrecision,t=[];if(!a)return t;var l=1e4;n[0]<i[0]&&(s?t.push(g(i[0]-a,d)):t.push(n[0]));for(var r=i[0];r<=i[1]&&!(t.push(r),r=g(r+a,d),r===t[t.length-1]);)if(t.length>l)return[];var o=t.length?t[t.length-1]:i[1];return n[1]>o&&(s?t.push(g(o+a,d)):t.push(n[1])),t},getMinorTicks:function(s){for(var a=this.getTicks(!0),n=[],i=this.getExtent(),d=1;d<a.length;d++){for(var t=a[d],l=a[d-1],r=0,o=[],u=t-l,h=u/s;r<s-1;){var y=A.round(l+(r+1)*h);y>i[0]&&y<i[1]&&o.push(y),r++}n.push(o)}return n},getLabel:function(s,a){if(s==null)return"";var n=a&&a.precision;return n==null?n=A.getPrecisionSafe(s)||0:n==="auto"&&(n=this._intervalPrecision),s=g(s,n,!0),f.addCommas(s)},niceTicks:function(s,a,n){s=s||5;var i=this._extent,d=i[1]-i[0];if(!isFinite(d))return;d<0&&(d=-d,i.reverse());var t=m.intervalScaleNiceTicks(i,s,a,n);this._intervalPrecision=t.intervalPrecision,this._interval=t.interval,this._niceExtent=t.niceTickExtent},niceExtent:function(s){var a=this._extent;if(a[0]===a[1])if(a[0]!==0){var n=a[0];s.fixMax||(a[1]+=n/2),a[0]-=n/2}else a[1]=1;var i=a[1]-a[0];isFinite(i)||(a[0]=0,a[1]=1),this.niceTicks(s.splitNumber,s.minInterval,s.maxInterval);var d=this._interval;s.fixMin||(a[0]=g(Math.floor(a[0]/d)*d)),s.fixMax||(a[1]=g(Math.ceil(a[1]/d)*d))}});p.create=function(){return new p};var c=p;R.exports=c},j5sG:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var A=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var x=function(g){var p=void 0,c=[],s=(0,A.default)(function(){c.forEach(function(t){t(g)})}),a=function(){var l=new ResizeObserver(s);return l.observe(g),s(),l},n=function(l){p||(p=a()),c.indexOf(l)===-1&&c.push(l)},i=function(){p.disconnect(),c=[],p=void 0},d=function(l){var r=c.indexOf(l);r!==-1&&c.splice(r,1),c.length===0&&p&&i()};return{element:g,bind:n,destroy:i,unbind:d}};N.createSensor=x},jCWc:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("1GLa")},jCoz:function(R,N,e){var A=e("bYtY"),f=e("4NgU"),x=e("OELB"),m=e("ieMj"),g=f.prototype,p=m.prototype,c=x.getPrecisionSafe,s=x.round,a=Math.floor,n=Math.ceil,i=Math.pow,d=Math.log,t=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new m},getTicks:function(o){var u=this._originalScale,h=this._extent,y=u.getExtent();return A.map(p.getTicks.call(this,o),function(b){var E=x.round(i(this.base,b));return E=b===h[0]&&u.__fixMin?l(E,y[0]):E,E=b===h[1]&&u.__fixMax?l(E,y[1]):E,E},this)},getMinorTicks:p.getMinorTicks,getLabel:p.getLabel,scale:function(o){return o=g.scale.call(this,o),i(this.base,o)},setExtent:function(o,u){var h=this.base;o=d(o)/d(h),u=d(u)/d(h),p.setExtent.call(this,o,u)},getExtent:function(){var o=this.base,u=g.getExtent.call(this);u[0]=i(o,u[0]),u[1]=i(o,u[1]);var h=this._originalScale,y=h.getExtent();return h.__fixMin&&(u[0]=l(u[0],y[0])),h.__fixMax&&(u[1]=l(u[1],y[1])),u},unionExtent:function(o){this._originalScale.unionExtent(o);var u=this.base;o[0]=d(o[0])/d(u),o[1]=d(o[1])/d(u),g.unionExtent.call(this,o)},unionExtentFromData:function(o,u){this.unionExtent(o.getApproximateExtent(u))},niceTicks:function(o){o=o||10;var u=this._extent,h=u[1]-u[0];if(h===Infinity||h<=0)return;var y=x.quantity(h),b=o/h*y;for(b<=.5&&(y*=10);!isNaN(y)&&Math.abs(y)<1&&Math.abs(y)>0;)y*=10;var E=[x.round(n(u[0]/y)*y),x.round(a(u[1]/y)*y)];this._interval=y,this._niceExtent=E},niceExtent:function(o){p.niceExtent.call(this,o);var u=this._originalScale;u.__fixMin=o.fixMin,u.__fixMax=o.fixMax}});A.each(["contain","normalize"],function(o){t.prototype[o]=function(u){return u=d(u)/d(this.base),g[o].call(this,u)}}),t.create=function(){return new t};function l(o,u){return s(o,c(u))}var r=t;R.exports=r},jN4g:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CloseCircleFilled";var c=N.a=f.forwardRef(p)},jO45:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="CheckCircleFilled";var c=N.a=f.forwardRef(p)},jTL6:function(R,N,e){var A=e("y+Vt"),f=A.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,g){var p=g.cx,c=g.cy,s=Math.max(g.r,0),a=g.startAngle,n=g.endAngle,i=g.clockwise,d=Math.cos(a),t=Math.sin(a);m.moveTo(d*s+p,t*s+c),m.arc(p,c,s,a,n,!i)}});R.exports=f},je13:function(R,N,e){var A=e("5nXd"),f=e("gRFJ"),x=[e("uQRt")];R.exports=A.createStore(f,x)},jett:function(R,N,e){var A=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),x=e("f5Yq"),m=e("hw6D"),g=e("0/Rx"),p=e("eJH7");A.registerVisual(f("radar")),A.registerVisual(x("radar","circle")),A.registerLayout(m),A.registerProcessor(g("radar")),A.registerPreprocessor(p)},jhfD:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="ArrowLeftOutlined";var c=N.a=f.forwardRef(p)},jkPA:function(R,N,e){var A=e("bYtY"),f=A.createHashMap,x=A.isObject,m=A.map;function g(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this._map}g.createByAxisModel=function(n){var i=n.option,d=i.data,t=d&&m(d,s);return new g({categories:t,needCollect:!t,deduplication:i.dedplication!==!1})};var p=g.prototype;p.getOrdinal=function(n){return c(this).get(n)},p.parseAndCollect=function(n){var i,d=this._needCollect;if(typeof n!="string"&&!d)return n;if(d&&!this._deduplication)return i=this.categories.length,this.categories[i]=n,i;var t=c(this);return i=t.get(n),i==null&&(d?(i=this.categories.length,this.categories[i]=n,t.set(n,i)):i=NaN),i};function c(n){return n._map||(n._map=f(n.categories))}function s(n){return x(n)&&n.value!=null?n.value:n+""}var a=g;R.exports=a},jndi:function(R,N,e){var A=e("bYtY"),f=e("Qe9p"),x=e("YXkt"),m=e("OELB"),g=e("IwbS"),p=e("kj2x"),c=e("iPDy"),s=function(r,o,u,h){var y=p.dataTransform(r,h[0]),b=p.dataTransform(r,h[1]),E=A.retrieve,v=y.coord,w=b.coord;v[0]=E(v[0],-Infinity),v[1]=E(v[1],-Infinity),w[0]=E(w[0],Infinity),w[1]=E(w[1],Infinity);var O=A.mergeAll([{},y,b]);return O.coord=[y.coord,b.coord],O.x0=y.x,O.y0=y.y,O.x1=b.x,O.y1=b.y,O};function a(r){return!isNaN(r)&&!isFinite(r)}function n(r,o,u,h){var y=1-r;return a(o[y])&&a(u[y])}function i(r,o){var u=o.coord[0],h=o.coord[1];return r.type==="cartesian2d"&&(u&&h&&(n(1,u,h,r)||n(0,u,h,r)))?!0:p.dataFilter(r,{coord:u,x:o.x0,y:o.y0})||p.dataFilter(r,{coord:h,x:o.x1,y:o.y1})}function d(r,o,u,h,y){var b=h.coordinateSystem,E=r.getItemModel(o),v,w=m.parsePercent(E.get(u[0]),y.getWidth()),O=m.parsePercent(E.get(u[1]),y.getHeight());if(!isNaN(w)&&!isNaN(O))v=[w,O];else{if(h.getMarkerPosition)v=h.getMarkerPosition(r.getValues(u,o));else{var T=r.get(u[0],o),S=r.get(u[1],o),C=[T,S];b.clampData&&b.clampData(C,C),v=b.dataToPoint(C,!0)}if(b.type==="cartesian2d"){var _=b.getAxis("x"),I=b.getAxis("y"),T=r.get(u[0],o),S=r.get(u[1],o);a(T)?v[0]=_.toGlobalCoord(_.getExtent()[u[0]==="x0"?0:1]):a(S)&&(v[1]=I.toGlobalCoord(I.getExtent()[u[1]==="y0"?0:1]))}isNaN(w)||(v[0]=w),isNaN(O)||(v[1]=O)}return v}var t=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(r,o,u){o.eachSeries(function(h){var y=h.markAreaModel;if(y){var b=y.getData();b.each(function(E){var v=A.map(t,function(O){return d(b,E,O,h,u)});b.setItemLayout(E,v);var w=b.getItemGraphicEl(E);w.setShape("points",v)})}},this)},renderSeries:function(r,o,u,h){var y=r.coordinateSystem,b=r.id,E=r.getData(),v=this.markerGroupMap,w=v.get(b)||v.set(b,{group:new g.Group});this.group.add(w.group),w.__keep=!0;var O=l(y,r,o);o.setData(O),O.each(function(T){O.setItemLayout(T,A.map(t,function(S){return d(O,T,S,r,h)})),O.setItemVisual(T,{color:E.getVisual("color")})}),O.diff(w.__data).add(function(T){var S=new g.Polygon({shape:{points:O.getItemLayout(T)}});O.setItemGraphicEl(T,S),w.group.add(S)}).update(function(T,S){var C=w.__data.getItemGraphicEl(S);g.updateProps(C,{shape:{points:O.getItemLayout(T)}},o,T),w.group.add(C),O.setItemGraphicEl(T,C)}).remove(function(T){var S=w.__data.getItemGraphicEl(T);w.group.remove(S)}).execute(),O.eachItemGraphicEl(function(T,S){var C=O.getItemModel(S),_=C.getModel("label"),I=C.getModel("emphasis.label"),k=O.getItemVisual(S,"color");T.useStyle(A.defaults(C.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(k,.4),stroke:k})),T.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(T.style,T.hoverStyle,_,I,{labelFetcher:o,labelDataIndex:S,defaultText:O.getName(S)||"",isRectText:!0,autoColor:k}),g.setHoverStyle(T,{}),T.dataModel=o}),w.__data=O,w.group.silent=o.get("silent")||r.get("silent")}});function l(r,o,u){var h,y,b=["x0","y0","x1","y1"];r?(h=A.map(r&&r.dimensions,function(w){var O=o.getData(),T=O.getDimensionInfo(O.mapDimension(w))||{};return A.defaults({name:w},T)}),y=new x(A.map(b,function(w,O){return{name:w,type:h[O%2].type}}),u)):(h=[{name:"value",type:"float"}],y=new x(h,u));var E=A.map(u.get("data"),A.curry(s,o,r,u));r&&(E=A.filter(E,A.curry(i,r)));var v=r?function(w,O,T,S){return w.coord[Math.floor(S/2)][S%2]}:function(w){return w.value};return y.initData(E,null,v),y.hasItemOption=!0,y}},"jsU+":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IUWy"),m=A.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(p,c){var s=x.get(c);s&&f.merge(p,s.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}}}),g=m;R.exports=g},jtI2:function(R,N,e){e("SMc4");var A=e("bLfw"),f=A.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});R.exports=f},juDX:function(R,N,e){e("P47w");var A=e("aX58"),f=A.registerPainter,x=e("3CBa");f("svg",x)},k5C7:function(R,N,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(R,N){var e="original",A="arrayRows",f="objectRows",x="keyedColumns",m="unknown",g="typedArray",p="column",c="row";N.SOURCE_FORMAT_ORIGINAL=e,N.SOURCE_FORMAT_ARRAY_ROWS=A,N.SOURCE_FORMAT_OBJECT_ROWS=f,N.SOURCE_FORMAT_KEYED_COLUMNS=x,N.SOURCE_FORMAT_UNKNOWN=m,N.SOURCE_FORMAT_TYPED_ARRAY=g,N.SERIES_LAYOUT_BY_COLUMN=p,N.SERIES_LAYOUT_BY_ROW=c},kDyi:function(R,N){function e(A){var f=A.findComponents({mainType:"legend"});f&&f.length&&A.filterSeries(function(x){for(var m=0;m<f.length;m++)if(!f[m].isSelected(x.name))return!1;return!0})}R.exports=e},kGiB:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},kMLO:function(R,N,e){var A=e("XxSj"),f=e("Qe9p"),x=e("bYtY"),m=x.isArray,g="itemStyle",p={seriesType:"treemap",reset:function(r,o,u,h){var y=r.getData().tree,b=y.root,E=r.getModel(g);if(b.isRemoved())return;var v=x.map(y.levelModels,function(w){return w?w.get(g):null});c(b,{},v,E,r.getViewRoot().getAncestors(),r)}};function c(r,o,u,h,y,b){var E=r.getModel(),v=r.getLayout();if(!v||v.invisible||!v.isInView)return;var w=r.getModel(g),O=u[r.depth],T=s(w,o,O,h),S=w.get("borderColor"),C=w.get("borderColorSaturation"),_;C!=null&&(_=a(T,r),S=n(C,_)),r.setVisual("borderColor",S);var I=r.viewChildren;if(!I||!I.length)_=a(T,r),r.setVisual("color",_);else{var k=d(r,E,v,w,T,I);x.each(I,function(F,B){if(F.depth>=y.length||F===y[F.depth]){var j=l(E,T,F,B,k,b);c(F,j,u,h,y,b)}})}}function s(r,o,u,h){var y=x.extend({},o);return x.each(["color","colorAlpha","colorSaturation"],function(b){var E=r.get(b,!0);E==null&&u&&(E=u[b]),E==null&&(E=o[b]),E==null&&(E=h.get(b)),E!=null&&(y[b]=E)}),y}function a(r){var o=i(r,"color");if(o){var u=i(r,"colorAlpha"),h=i(r,"colorSaturation");return h&&(o=f.modifyHSL(o,null,null,h)),u&&(o=f.modifyAlpha(o,u)),o}}function n(r,o){return o!=null?f.modifyHSL(o,null,null,r):null}function i(r,o){var u=r[o];if(u!=null&&u!=="none")return u}function d(r,o,u,h,y,b){if(!b||!b.length)return;var E=t(o,"color")||y.color!=null&&y.color!=="none"&&(t(o,"colorAlpha")||t(o,"colorSaturation"));if(!E)return;var v=o.get("visualMin"),w=o.get("visualMax"),O=u.dataExtent.slice();v!=null&&v<O[0]&&(O[0]=v),w!=null&&w>O[1]&&(O[1]=w);var T=o.get("colorMappingBy"),S={type:E.name,dataExtent:O,visual:E.range};S.type==="color"&&(T==="index"||T==="id")?(S.mappingMethod="category",S.loop=!0):S.mappingMethod="linear";var C=new A(S);return C.__drColorMappingBy=T,C}function t(r,o){var u=r.get(o);return m(u)&&u.length?{name:o,range:u}:null}function l(r,o,u,h,y,b){var E=x.extend({},o);if(y){var v=y.type,w=v==="color"&&y.__drColorMappingBy,O=w==="index"?h:w==="id"?b.mapIdToIndex(u.getId()):u.getValue(r.get("visualDimension"));E[v]=y.mapValueToVisual(O)}return E}R.exports=p},kPKH:function(R,N,e){"use strict";var A=e("/kpp");N.a=A.a},kaz8:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("lwsE"),p=e.n(g),c=e("W8MJ"),s=e.n(c),a=e("PJYZ"),n=e.n(a),i=e("7W2i"),d=e.n(i),t=e("LQ03"),l=e.n(t),r=e("q1tI"),o=e("TSYQ"),u=e.n(o),h=e("x1Ya"),y=e("RIqP"),b=e.n(y),E=e("BGR+"),v=e("H84U"),w=function(B,j){var z={};for(var M in B)Object.prototype.hasOwnProperty.call(B,M)&&j.indexOf(M)<0&&(z[M]=B[M]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(B);U<M.length;U++)j.indexOf(M[U])<0&&Object.prototype.propertyIsEnumerable.call(B,M[U])&&(z[M[U]]=B[M[U]]);return z},O=r.createContext(null),T=function(B){d()(z,B);var j=l()(z);function z(M){var U;return p()(this,z),U=j.call(this,M),U.cancelValue=function(P){U.setState(function(H){var W=H.registeredValues;return{registeredValues:W.filter(function(X){return X!==P})}})},U.registerValue=function(P){U.setState(function(H){var W=H.registeredValues;return{registeredValues:[].concat(b()(W),[P])}})},U.toggleOption=function(P){var H=U.state.registeredValues,W=U.state.value.indexOf(P.value),X=b()(U.state.value);W===-1?X.push(P.value):X.splice(W,1),"value"in U.props||U.setState({value:X});var K=U.props.onChange;if(K){var $=U.getOptions();K(X.filter(function(ie){return H.indexOf(ie)!==-1}).sort(function(ie,be){var te=$.findIndex(function(Ie){return Ie.value===ie}),Te=$.findIndex(function(Ie){return Ie.value===be});return te-Te}))}},U.renderGroup=function(P){var H=P.getPrefixCls,W=P.direction,X=n()(U),K=X.props,$=X.state,ie=K.prefixCls,be=K.className,te=K.style,Te=K.options,Ie=w(K,["prefixCls","className","style","options"]),Fe=H("checkbox",ie),Qe="".concat(Fe,"-group"),fe=Object(E.default)(Ie,["children","defaultValue","value","onChange","disabled"]),He=K.children;Te&&Te.length>0&&(He=U.getOptions().map(function(mt){return r.createElement(k,{prefixCls:Fe,key:mt.value.toString(),disabled:"disabled"in mt?mt.disabled:K.disabled,value:mt.value,checked:$.value.indexOf(mt.value)!==-1,onChange:mt.onChange,className:"".concat(Qe,"-item"),style:mt.style},mt.label)}));var se={toggleOption:U.toggleOption,value:U.state.value,disabled:U.props.disabled,name:U.props.name,registerValue:U.registerValue,cancelValue:U.cancelValue},Ce=u()(Qe,be,f()({},"".concat(Qe,"-rtl"),W==="rtl"));return r.createElement("div",m()({className:Ce,style:te},fe),r.createElement(O.Provider,{value:se},He))},U.state={value:M.value||M.defaultValue||[],registeredValues:[]},U}return s()(z,[{key:"getOptions",value:function(){var U=this.props.options;return U.map(function(P){return typeof P=="string"?{label:P,value:P}:P})}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(U){return"value"in U?{value:U.value||[]}:null}}]),z}(r.PureComponent);T.defaultProps={options:[]};var S=T,C=e("uaoM"),_=function(B,j){var z={};for(var M in B)Object.prototype.hasOwnProperty.call(B,M)&&j.indexOf(M)<0&&(z[M]=B[M]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(B);U<M.length;U++)j.indexOf(M[U])<0&&Object.prototype.propertyIsEnumerable.call(B,M[U])&&(z[M[U]]=B[M[U]]);return z},I=function(B){d()(z,B);var j=l()(z);function z(){var M;return p()(this,z),M=j.apply(this,arguments),M.saveCheckbox=function(U){M.rcCheckbox=U},M.renderCheckbox=function(U){var P,H=U.getPrefixCls,W=U.direction,X=n()(M),K=X.props,$=X.context,ie=K.prefixCls,be=K.className,te=K.children,Te=K.indeterminate,Ie=K.style,Fe=K.onMouseEnter,Qe=K.onMouseLeave,fe=_(K,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),He=$,se=H("checkbox",ie),Ce=m()({},fe);He&&(Ce.onChange=function(){fe.onChange&&fe.onChange.apply(fe,arguments),He.toggleOption({label:te,value:K.value})},Ce.name=He.name,Ce.checked=He.value.indexOf(K.value)!==-1,Ce.disabled=K.disabled||He.disabled);var mt=u()(be,(P={},f()(P,"".concat(se,"-wrapper"),!0),f()(P,"".concat(se,"-rtl"),W==="rtl"),f()(P,"".concat(se,"-wrapper-checked"),Ce.checked),f()(P,"".concat(se,"-wrapper-disabled"),Ce.disabled),P)),Ne=u()(f()({},"".concat(se,"-indeterminate"),Te));return r.createElement("label",{className:mt,style:Ie,onMouseEnter:Fe,onMouseLeave:Qe},r.createElement(h.a,m()({},Ce,{prefixCls:se,className:Ne,ref:M.saveCheckbox})),te!==void 0&&r.createElement("span",null,te))},M}return s()(z,[{key:"componentDidMount",value:function(){var U,P=this.props.value;(U=this.context)===null||U===void 0||U.registerValue(P),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 P=U.value,H,W,X=this.props.value;X!==P&&((H=this.context)===null||H===void 0||H.cancelValue(P),(W=this.context)===null||W===void 0||W.registerValue(X))}},{key:"componentWillUnmount",value:function(){var U,P=this.props.value;(U=this.context)===null||U===void 0||U.cancelValue(P)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderCheckbox)}}]),z}(r.PureComponent);I.__ANT_CHECKBOX=!0,I.defaultProps={indeterminate:!1},I.contextType=O;var k=I;k.Group=S;var F=N.a=k},kj2x:function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=e("7hqr"),m=x.isDimensionStacked,g=A.indexOf;function p(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function c(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function s(u,h,y,b,E,v){var w=[],O=m(h,b),T=O?h.getCalculationInfo("stackResultDimension"):b,S=o(h,T,u),C=h.indicesOfNearest(T,S)[0];w[E]=h.get(y,C),w[v]=h.get(T,C);var _=h.get(b,C),I=f.getPrecision(h.get(b,C));return I=Math.min(I,20),I>=0&&(w[v]=+w[v].toFixed(I)),[w,_]}var a=A.curry,n={min:a(s,"min"),max:a(s,"max"),average:a(s,"average")};function i(u,h){var y=u.getData(),b=u.coordinateSystem;if(h&&!c(h)&&!A.isArray(h.coord)&&b){var E=b.dimensions,v=d(h,y,b,u);if(h=A.clone(h),h.type&&n[h.type]&&v.baseAxis&&v.valueAxis){var w=g(E,v.baseAxis.dim),O=g(E,v.valueAxis.dim),T=n[h.type](y,v.baseDataDim,v.valueDataDim,w,O);h.coord=T[0],h.value=T[1]}else{for(var S=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],C=0;C<2;C++)n[S[C]]&&(S[C]=o(y,y.mapDimension(E[C]),S[C]));h.coord=S}}return h}function d(u,h,y,b){var E={};return u.valueIndex!=null||u.valueDim!=null?(E.valueDataDim=u.valueIndex!=null?h.getDimension(u.valueIndex):u.valueDim,E.valueAxis=y.getAxis(t(b,E.valueDataDim)),E.baseAxis=y.getOtherAxis(E.valueAxis),E.baseDataDim=h.mapDimension(E.baseAxis.dim)):(E.baseAxis=b.getBaseAxis(),E.valueAxis=y.getOtherAxis(E.baseAxis),E.baseDataDim=h.mapDimension(E.baseAxis.dim),E.valueDataDim=h.mapDimension(E.valueAxis.dim)),E}function t(u,h){var y=u.getData(),b=y.dimensions;h=y.getDimension(h);for(var E=0;E<b.length;E++){var v=y.getDimensionInfo(b[E]);if(v.name===h)return v.coordDim}}function l(u,h){return u&&u.containData&&h.coord&&!p(h)?u.containData(h.coord):!0}function r(u,h,y,b){return b<2?u.coord&&u.coord[b]:u.value}function o(u,h,y){if(y==="average"){var b=0,E=0;return u.each(h,function(v,w){isNaN(v)||(b+=v,E++)}),b/E}else return y==="median"?u.getMedian(h):u.getDataExtent(h,!0)[y==="max"?1:0]}N.dataTransform=i,N.getAxisInfo=d,N.dataFilter=l,N.dimValueGetter=r,N.numCalculate=o},knOB:function(R,N,e){var A=e("bYtY"),f=e("hM6l");function x(g,p){f.call(this,"radius",g,p),this.type="category"}x.prototype={constructor:x,pointToData:function(g,p){return this.polar.pointToData(g,p)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},A.inherits(x,f);var m=x;R.exports=m},ko1b:function(R,N,e){var A=e("bYtY"),f=e("T4UG"),x=e("Bsck"),m=e("Qxkt"),g=e("7aKB"),p=g.encodeHTML,c=g.addCommas,s=e("VaxA"),a=s.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(t,l){var r={name:t.name,children:t.data};i(r);var o=t.levels||[];o=t.levels=d(o,l);var u=A.map(o||[],function(b){return new m(b,this,l)},this),h=x.createTree(r,this,null,y);function y(b){b.wrapMethod("getItemModel",function(E,v){var w=h.getNodeByDataIndex(v),O=u[w.depth];return O&&(E.parentModel=O),E})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var l=this.getData(),r=this.getRawValue(t),o=A.isArray(r)?c(r[0]):c(r),u=l.getName(t);return p(u+": "+o)},getDataParams:function(t){var l=f.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return l.treePathInfo=a(r,this),l},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},A.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var l=this._idIndexMap;l||(l=this._idIndexMap=A.createHashMap(),this._idIndexMapCount=0);var r=l.get(t);return r==null&&l.set(t,r=this._idIndexMapCount++),r},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var l=this.getRawData().tree.root;(!t||t!==l&&!l.contains(t))&&(this._viewRoot=l)}});function i(t){var l=0;A.each(t.children,function(o){i(o);var u=o.value;A.isArray(u)&&(u=u[0]),l+=u});var r=t.value;A.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=l),r<0&&(r=0),A.isArray(t.value)?t.value[0]=r:t.value=r}function d(t,l){var r=l.get("color");if(!r)return;t=t||[];var o;if(A.each(t,function(h){var y=new m(h),b=y.get("color");(y.get("itemStyle.color")||b&&b!=="none")&&(o=!0)}),!o){var u=t[0]||(t[0]={});u.color=r.slice()}return t}R.exports=n},kzFp:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A=N.pick=function(x,m){var g={};return m.forEach(function(p){g[p]=x[p]}),g}},kzvK:function(R,N,e){var A=e("sS/r"),f=A.extend({type:"timeline"});R.exports=f},"l+S1":function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="SearchOutlined";var c=N.a=f.forwardRef(p)},lE7J:function(R,N,e){var A=e("OELB"),f=A.round;function x(c,s,a,n){var i={},d=c[1]-c[0],t=i.interval=A.nice(d/s,!0);a!=null&&t<a&&(t=i.interval=a),n!=null&&t>n&&(t=i.interval=n);var l=i.intervalPrecision=m(t),r=i.niceTickExtent=[f(Math.ceil(c[0]/t)*t,l),f(Math.floor(c[1]/t)*t,l)];return p(r,c),i}function m(c){return A.getPrecisionSafe(c)+2}function g(c,s,a){c[s]=Math.max(Math.min(c[s],a[1]),a[0])}function p(c,s){!isFinite(c[0])&&(c[0]=s[0]),!isFinite(c[1])&&(c[1]=s[1]),g(c,0,s),g(c,1,s),c[0]>c[1]&&(c[0]=c[1])}N.intervalScaleNiceTicks=x,N.getIntervalPrecision=m,N.fixExtent=p},lELe:function(R,N,e){var A=e("bYtY");function f(x){var m=[];A.each(x.series,function(g){g&&g.type==="map"&&(m.push(g),g.map=g.map||g.mapType,A.defaults(g,g.mapLocation))})}R.exports=f},lLGD:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("nVfU"),m=x.layout,g=x.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),A.registerLayout(A.PRIORITY.VISUAL.LAYOUT,f.curry(m,"bar")),A.registerLayout(A.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,g),A.registerVisual({seriesType:"bar",reset:function(p){p.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(R,N,e){"use strict";function A(J){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(bt){return typeof bt}:A=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},A(J)}Object.defineProperty(N,"__esModule",{value:!0}),N.deflateInit=Ue,N.deflateInit2=Dt,N.deflateReset=kt,N.deflateResetKeep=jt,N.deflateSetHeader=Tt,N.deflate=G,N.deflateEnd=Y,N.deflateSetDictionary=Pe,N.deflateInfo=N.Z_DEFLATED=N.Z_UNKNOWN=N.Z_DEFAULT_STRATEGY=N.Z_FIXED=N.Z_RLE=N.Z_HUFFMAN_ONLY=N.Z_FILTERED=N.Z_DEFAULT_COMPRESSION=N.Z_BUF_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_STREAM_END=N.Z_OK=N.Z_BLOCK=N.Z_FINISH=N.Z_FULL_FLUSH=N.Z_PARTIAL_FLUSH=N.Z_NO_FLUSH=void 0;var f=a(e("6BzB")),x=a(e("c5fP")),m=c(e("xlC8")),g=c(e("QV2g")),p=c(e("xSIq"));function c(J){return J&&J.__esModule?J:{default:J}}function s(){if(typeof WeakMap!="function")return null;var J=new WeakMap;return s=function(){return J},J}function a(J){if(J&&J.__esModule)return J;if(J===null||A(J)!=="object"&&typeof J!="function")return{default:J};var St=s();if(St&&St.has(J))return St.get(J);var bt={},nt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Rt in J)if(Object.prototype.hasOwnProperty.call(J,Rt)){var zt=nt?Object.getOwnPropertyDescriptor(J,Rt):null;zt&&(zt.get||zt.set)?Object.defineProperty(bt,Rt,zt):bt[Rt]=J[Rt]}return bt.default=J,St&&St.set(J,bt),bt}var n=0;N.Z_NO_FLUSH=n;var i=1;N.Z_PARTIAL_FLUSH=i;var d=3;N.Z_FULL_FLUSH=d;var t=4;N.Z_FINISH=t;var l=5;N.Z_BLOCK=l;var r=0;N.Z_OK=r;var o=1;N.Z_STREAM_END=o;var u=-2;N.Z_STREAM_ERROR=u;var h=-3;N.Z_DATA_ERROR=h;var y=-5;N.Z_BUF_ERROR=y;var b=-1;N.Z_DEFAULT_COMPRESSION=b;var E=1;N.Z_FILTERED=E;var v=2;N.Z_HUFFMAN_ONLY=v;var w=3;N.Z_RLE=w;var O=4;N.Z_FIXED=O;var T=0;N.Z_DEFAULT_STRATEGY=T;var S=2;N.Z_UNKNOWN=S;var C=8;N.Z_DEFLATED=C;var _=9,I=15,k=8,F=29,B=256,j=B+1+F,z=30,M=19,U=2*j+1,P=15,H=3,W=258,X=W+H+1,K=32,$=42,ie=69,be=73,te=91,Te=103,Ie=113,Fe=666,Qe=1,fe=2,He=3,se=4,Ce=3;function mt(J,St){return J.msg=p.default[St],St}function Ne(J){return(J<<1)-(J>4?9:0)}function ae(J){for(var St=J.length;--St>=0;)J[St]=0}function ce(J){var St=J.state,bt=St.pending;if(bt>J.avail_out&&(bt=J.avail_out),bt===0)return;f.arraySet(J.output,St.pending_buf,St.pending_out,bt,J.next_out),J.next_out+=bt,St.pending_out+=bt,J.total_out+=bt,J.avail_out-=bt,St.pending-=bt,St.pending===0&&(St.pending_out=0)}function le(J,St){x._tr_flush_block(J,J.block_start>=0?J.block_start:-1,J.strstart-J.block_start,St),J.block_start=J.strstart,ce(J.strm)}function je(J,St){J.pending_buf[J.pending++]=St}function Re(J,St){J.pending_buf[J.pending++]=St>>>8&255,J.pending_buf[J.pending++]=St&255}function Ze(J,St,bt,nt){var Rt=J.avail_in;return Rt>nt&&(Rt=nt),Rt===0?0:(J.avail_in-=Rt,f.arraySet(St,J.input,J.next_in,Rt,bt),J.state.wrap===1?J.adler=(0,m.default)(J.adler,St,Rt,bt):J.state.wrap===2&&(J.adler=(0,g.default)(J.adler,St,Rt,bt)),J.next_in+=Rt,J.total_in+=Rt,Rt)}function De(J,St){var bt=J.max_chain_length,nt=J.strstart,Rt,zt,Fr=J.prev_length,Jt=J.nice_match,ge=J.strstart>J.w_size-X?J.strstart-(J.w_size-X):0,ye=J.window,Le=J.w_mask,we=J.prev,Ke=J.strstart+W,Je=ye[nt+Fr-1],ut=ye[nt+Fr];J.prev_length>=J.good_match&&(bt>>=2),Jt>J.lookahead&&(Jt=J.lookahead);do{if(Rt=St,ye[Rt+Fr]!==ut||ye[Rt+Fr-1]!==Je||ye[Rt]!==ye[nt]||ye[++Rt]!==ye[nt+1])continue;nt+=2,Rt++;do;while(ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&ye[++nt]===ye[++Rt]&&nt<Ke);if(zt=W-(Ke-nt),nt=Ke-W,zt>Fr){if(J.match_start=St,Fr=zt,zt>=Jt)break;Je=ye[nt+Fr-1],ut=ye[nt+Fr]}}while((St=we[St&Le])>ge&&--bt!==0);return Fr<=J.lookahead?Fr:J.lookahead}function ne(J){var St=J.w_size,bt,nt,Rt,zt,Fr;do{if(zt=J.window_size-J.lookahead-J.strstart,J.strstart>=St+(St-X)){f.arraySet(J.window,J.window,St,St,0),J.match_start-=St,J.strstart-=St,J.block_start-=St,nt=J.hash_size,bt=nt;do Rt=J.head[--bt],J.head[bt]=Rt>=St?Rt-St:0;while(--nt);nt=St,bt=nt;do Rt=J.prev[--bt],J.prev[bt]=Rt>=St?Rt-St:0;while(--nt);zt+=St}if(J.strm.avail_in===0)break;if(nt=Ze(J.strm,J.window,J.strstart+J.lookahead,zt),J.lookahead+=nt,J.lookahead+J.insert>=H)for(Fr=J.strstart-J.insert,J.ins_h=J.window[Fr],J.ins_h=(J.ins_h<<J.hash_shift^J.window[Fr+1])&J.hash_mask;J.insert&&!(J.ins_h=(J.ins_h<<J.hash_shift^J.window[Fr+H-1])&J.hash_mask,J.prev[Fr&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=Fr,Fr++,J.insert--,J.lookahead+J.insert<H););}while(J.lookahead<X&&J.strm.avail_in!==0)}function he(J,St){var bt=65535;for(bt>J.pending_buf_size-5&&(bt=J.pending_buf_size-5);;){if(J.lookahead<=1){if(ne(J),J.lookahead===0&&St===n)return Qe;if(J.lookahead===0)break}J.strstart+=J.lookahead,J.lookahead=0;var nt=J.block_start+bt;if((J.strstart===0||J.strstart>=nt)&&(J.lookahead=J.strstart-nt,J.strstart=nt,le(J,!1),J.strm.avail_out===0))return Qe;if(J.strstart-J.block_start>=J.w_size-X&&(le(J,!1),J.strm.avail_out===0))return Qe}return J.insert=0,St===t?(le(J,!0),J.strm.avail_out===0?He:se):(J.strstart>J.block_start&&(le(J,!1),J.strm.avail_out===0),Qe)}function pe(J,St){for(var bt,nt;;){if(J.lookahead<X){if(ne(J),J.lookahead<X&&St===n)return Qe;if(J.lookahead===0)break}if(bt=0,J.lookahead>=H&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+H-1])&J.hash_mask,bt=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),bt!==0&&J.strstart-bt<=J.w_size-X&&(J.match_length=De(J,bt)),J.match_length>=H)if(nt=x._tr_tally(J,J.strstart-J.match_start,J.match_length-H),J.lookahead-=J.match_length,J.match_length<=J.max_lazy_match&&J.lookahead>=H){J.match_length--;do J.strstart++,J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+H-1])&J.hash_mask,bt=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart;while(--J.match_length!==0);J.strstart++}else J.strstart+=J.match_length,J.match_length=0,J.ins_h=J.window[J.strstart],J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+1])&J.hash_mask;else nt=x._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++;if(nt&&(le(J,!1),J.strm.avail_out===0))return Qe}return J.insert=J.strstart<H-1?J.strstart:H-1,St===t?(le(J,!0),J.strm.avail_out===0?He:se):J.last_lit&&(le(J,!1),J.strm.avail_out===0)?Qe:fe}function Xe(J,St){for(var bt,nt,Rt;;){if(J.lookahead<X){if(ne(J),J.lookahead<X&&St===n)return Qe;if(J.lookahead===0)break}if(bt=0,J.lookahead>=H&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+H-1])&J.hash_mask,bt=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),J.prev_length=J.match_length,J.prev_match=J.match_start,J.match_length=H-1,bt!==0&&J.prev_length<J.max_lazy_match&&J.strstart-bt<=J.w_size-X&&(J.match_length=De(J,bt),J.match_length<=5&&(J.strategy===E||J.match_length===H&&J.strstart-J.match_start>4096)&&(J.match_length=H-1)),J.prev_length>=H&&J.match_length<=J.prev_length){Rt=J.strstart+J.lookahead-H,nt=x._tr_tally(J,J.strstart-1-J.prev_match,J.prev_length-H),J.lookahead-=J.prev_length-1,J.prev_length-=2;do++J.strstart<=Rt&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+H-1])&J.hash_mask,bt=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart);while(--J.prev_length!==0);if(J.match_available=0,J.match_length=H-1,J.strstart++,nt&&(le(J,!1),J.strm.avail_out===0))return Qe}else if(J.match_available){if(nt=x._tr_tally(J,0,J.window[J.strstart-1]),nt&&le(J,!1),J.strstart++,J.lookahead--,J.strm.avail_out===0)return Qe}else J.match_available=1,J.strstart++,J.lookahead--}return J.match_available&&(nt=x._tr_tally(J,0,J.window[J.strstart-1]),J.match_available=0),J.insert=J.strstart<H-1?J.strstart:H-1,St===t?(le(J,!0),J.strm.avail_out===0?He:se):J.last_lit&&(le(J,!1),J.strm.avail_out===0)?Qe:fe}function lt(J,St){for(var bt,nt,Rt,zt,Fr=J.window;;){if(J.lookahead<=W){if(ne(J),J.lookahead<=W&&St===n)return Qe;if(J.lookahead===0)break}if(J.match_length=0,J.lookahead>=H&&J.strstart>0&&(Rt=J.strstart-1,nt=Fr[Rt],nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt])){zt=J.strstart+W;do;while(nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&nt===Fr[++Rt]&&Rt<zt);J.match_length=W-(zt-Rt),J.match_length>J.lookahead&&(J.match_length=J.lookahead)}if(J.match_length>=H?(bt=x._tr_tally(J,1,J.match_length-H),J.lookahead-=J.match_length,J.strstart+=J.match_length,J.match_length=0):(bt=x._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++),bt&&(le(J,!1),J.strm.avail_out===0))return Qe}return J.insert=0,St===t?(le(J,!0),J.strm.avail_out===0?He:se):J.last_lit&&(le(J,!1),J.strm.avail_out===0)?Qe:fe}function At(J,St){for(var bt;;){if(J.lookahead===0&&(ne(J),J.lookahead===0)){if(St===n)return Qe;break}if(J.match_length=0,bt=x._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++,bt&&(le(J,!1),J.strm.avail_out===0))return Qe}return J.insert=0,St===t?(le(J,!0),J.strm.avail_out===0?He:se):J.last_lit&&(le(J,!1),J.strm.avail_out===0)?Qe:fe}function Me(J,St,bt,nt,Rt){this.good_length=J,this.max_lazy=St,this.nice_length=bt,this.max_chain=nt,this.func=Rt}var Ht;Ht=[new Me(0,0,0,0,he),new Me(4,4,8,4,pe),new Me(4,5,16,8,pe),new Me(4,6,32,32,pe),new Me(4,4,16,16,Xe),new Me(8,16,32,32,Xe),new Me(8,16,128,128,Xe),new Me(8,32,128,256,Xe),new Me(32,128,258,1024,Xe),new Me(32,258,258,4096,Xe)];function tt(J){J.window_size=2*J.w_size,ae(J.head),J.max_lazy_match=Ht[J.level].max_lazy,J.good_match=Ht[J.level].good_length,J.nice_match=Ht[J.level].nice_length,J.max_chain_length=Ht[J.level].max_chain,J.strstart=0,J.block_start=0,J.lookahead=0,J.insert=0,J.match_length=J.prev_length=H-1,J.match_available=0,J.ins_h=0}function Mt(){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*z+1)*2),this.bl_tree=new f.Buf16((2*M+1)*2),ae(this.dyn_ltree),ae(this.dyn_dtree),ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(P+1),this.heap=new f.Buf16(2*j+1),ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*j+1),ae(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 jt(J){var St;return!J||!J.state?mt(J,u):(J.total_in=J.total_out=0,J.data_type=S,St=J.state,St.pending=0,St.pending_out=0,St.wrap<0&&(St.wrap=-St.wrap),St.status=St.wrap?$:Ie,J.adler=St.wrap===2?0:1,St.last_flush=n,x._tr_init(St),r)}function kt(J){var St=jt(J);return St===r&&tt(J.state),St}function Tt(J,St){return!J||!J.state||J.state.wrap!==2?u:(J.state.gzhead=St,r)}function Dt(J,St,bt,nt,Rt,zt){if(!J)return u;var Fr=1;if(St===b&&(St=6),nt<0?(Fr=0,nt=-nt):nt>15&&(Fr=2,nt-=16),Rt<1||Rt>_||bt!==C||nt<8||nt>15||St<0||St>9||zt<0||zt>O)return mt(J,u);nt===8&&(nt=9);var Jt=new Mt;return J.state=Jt,Jt.strm=J,Jt.wrap=Fr,Jt.gzhead=null,Jt.w_bits=nt,Jt.w_size=1<<Jt.w_bits,Jt.w_mask=Jt.w_size-1,Jt.hash_bits=Rt+7,Jt.hash_size=1<<Jt.hash_bits,Jt.hash_mask=Jt.hash_size-1,Jt.hash_shift=~~((Jt.hash_bits+H-1)/H),Jt.window=new f.Buf8(Jt.w_size*2),Jt.head=new f.Buf16(Jt.hash_size),Jt.prev=new f.Buf16(Jt.w_size),Jt.lit_bufsize=1<<Rt+6,Jt.pending_buf_size=Jt.lit_bufsize*4,Jt.pending_buf=new f.Buf8(Jt.pending_buf_size),Jt.d_buf=1*Jt.lit_bufsize,Jt.l_buf=(1+2)*Jt.lit_bufsize,Jt.level=St,Jt.strategy=zt,Jt.method=bt,kt(J)}function Ue(J,St){return Dt(J,St,C,I,k,T)}function G(J,St){var bt,nt,Rt,zt;if(!J||!J.state||St>l||St<0)return J?mt(J,u):u;if(nt=J.state,!J.output||!J.input&&J.avail_in!==0||nt.status===Fe&&St!==t)return mt(J,J.avail_out===0?y:u);if(nt.strm=J,bt=nt.last_flush,nt.last_flush=St,nt.status===$)if(nt.wrap===2)J.adler=0,je(nt,31),je(nt,139),je(nt,8),nt.gzhead?(je(nt,(nt.gzhead.text?1:0)+(nt.gzhead.hcrc?2:0)+(nt.gzhead.extra?4:0)+(nt.gzhead.name?8:0)+(nt.gzhead.comment?16:0)),je(nt,nt.gzhead.time&255),je(nt,nt.gzhead.time>>8&255),je(nt,nt.gzhead.time>>16&255),je(nt,nt.gzhead.time>>24&255),je(nt,nt.level===9?2:nt.strategy>=v||nt.level<2?4:0),je(nt,nt.gzhead.os&255),nt.gzhead.extra&&nt.gzhead.extra.length&&(je(nt,nt.gzhead.extra.length&255),je(nt,nt.gzhead.extra.length>>8&255)),nt.gzhead.hcrc&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending,0)),nt.gzindex=0,nt.status=ie):(je(nt,0),je(nt,0),je(nt,0),je(nt,0),je(nt,0),je(nt,nt.level===9?2:nt.strategy>=v||nt.level<2?4:0),je(nt,Ce),nt.status=Ie);else{var Fr=C+(nt.w_bits-8<<4)<<8,Jt=-1;nt.strategy>=v||nt.level<2?Jt=0:nt.level<6?Jt=1:nt.level===6?Jt=2:Jt=3,Fr|=Jt<<6,nt.strstart!==0&&(Fr|=K),Fr+=31-Fr%31,nt.status=Ie,Re(nt,Fr),nt.strstart!==0&&(Re(nt,J.adler>>>16),Re(nt,J.adler&65535)),J.adler=1}if(nt.status===ie)if(nt.gzhead.extra){for(Rt=nt.pending;nt.gzindex<(nt.gzhead.extra.length&65535)&&!(nt.pending===nt.pending_buf_size&&(nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),ce(J),Rt=nt.pending,nt.pending===nt.pending_buf_size));)je(nt,nt.gzhead.extra[nt.gzindex]&255),nt.gzindex++;nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),nt.gzindex===nt.gzhead.extra.length&&(nt.gzindex=0,nt.status=be)}else nt.status=be;if(nt.status===be)if(nt.gzhead.name){Rt=nt.pending;do{if(nt.pending===nt.pending_buf_size&&(nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),ce(J),Rt=nt.pending,nt.pending===nt.pending_buf_size)){zt=1;break}nt.gzindex<nt.gzhead.name.length?zt=nt.gzhead.name.charCodeAt(nt.gzindex++)&255:zt=0,je(nt,zt)}while(zt!==0);nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),zt===0&&(nt.gzindex=0,nt.status=te)}else nt.status=te;if(nt.status===te)if(nt.gzhead.comment){Rt=nt.pending;do{if(nt.pending===nt.pending_buf_size&&(nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),ce(J),Rt=nt.pending,nt.pending===nt.pending_buf_size)){zt=1;break}nt.gzindex<nt.gzhead.comment.length?zt=nt.gzhead.comment.charCodeAt(nt.gzindex++)&255:zt=0,je(nt,zt)}while(zt!==0);nt.gzhead.hcrc&&nt.pending>Rt&&(J.adler=(0,g.default)(J.adler,nt.pending_buf,nt.pending-Rt,Rt)),zt===0&&(nt.status=Te)}else nt.status=Te;if(nt.status===Te&&(nt.gzhead.hcrc?(nt.pending+2>nt.pending_buf_size&&ce(J),nt.pending+2<=nt.pending_buf_size&&(je(nt,J.adler&255),je(nt,J.adler>>8&255),J.adler=0,nt.status=Ie)):nt.status=Ie),nt.pending!==0){if(ce(J),J.avail_out===0)return nt.last_flush=-1,r}else if(J.avail_in===0&&Ne(St)<=Ne(bt)&&St!==t)return mt(J,y);if(nt.status===Fe&&J.avail_in!==0)return mt(J,y);if(J.avail_in!==0||nt.lookahead!==0||St!==n&&nt.status!==Fe){var ge=nt.strategy===v?At(nt,St):nt.strategy===w?lt(nt,St):Ht[nt.level].func(nt,St);if((ge===He||ge===se)&&(nt.status=Fe),ge===Qe||ge===He)return J.avail_out===0&&(nt.last_flush=-1),r;if(ge===fe&&(St===i?x._tr_align(nt):St!==l&&(x._tr_stored_block(nt,0,0,!1),St===d&&(ae(nt.head),nt.lookahead===0&&(nt.strstart=0,nt.block_start=0,nt.insert=0))),ce(J),J.avail_out===0))return nt.last_flush=-1,r}return St!==t?r:nt.wrap<=0?o:(nt.wrap===2?(je(nt,J.adler&255),je(nt,J.adler>>8&255),je(nt,J.adler>>16&255),je(nt,J.adler>>24&255),je(nt,J.total_in&255),je(nt,J.total_in>>8&255),je(nt,J.total_in>>16&255),je(nt,J.total_in>>24&255)):(Re(nt,J.adler>>>16),Re(nt,J.adler&65535)),ce(J),nt.wrap>0&&(nt.wrap=-nt.wrap),nt.pending!==0?r:o)}function Y(J){var St;return!J||!J.state?u:(St=J.state.status,St!==$&&St!==ie&&St!==be&&St!==te&&St!==Te&&St!==Ie&&St!==Fe?mt(J,u):(J.state=null,St===Ie?mt(J,h):r))}function Pe(J,St){var bt=St.length,nt,Rt,zt,Fr,Jt,ge,ye,Le;if(!J||!J.state)return u;if(nt=J.state,Fr=nt.wrap,Fr===2||Fr===1&&nt.status!==$||nt.lookahead)return u;for(Fr===1&&(J.adler=(0,m.default)(J.adler,St,bt,0)),nt.wrap=0,bt>=nt.w_size&&(Fr===0&&(ae(nt.head),nt.strstart=0,nt.block_start=0,nt.insert=0),Le=new f.Buf8(nt.w_size),f.arraySet(Le,St,bt-nt.w_size,nt.w_size,0),St=Le,bt=nt.w_size),Jt=J.avail_in,ge=J.next_in,ye=J.input,J.avail_in=bt,J.next_in=0,J.input=St,ne(nt);nt.lookahead>=H;){Rt=nt.strstart,zt=nt.lookahead-(H-1);do nt.ins_h=(nt.ins_h<<nt.hash_shift^nt.window[Rt+H-1])&nt.hash_mask,nt.prev[Rt&nt.w_mask]=nt.head[nt.ins_h],nt.head[nt.ins_h]=Rt,Rt++;while(--zt);nt.strstart=Rt,nt.lookahead=H-1,ne(nt)}return nt.strstart+=nt.lookahead,nt.block_start=nt.strstart,nt.insert=nt.lookahead,nt.lookahead=0,nt.match_length=nt.prev_length=H-1,nt.match_available=0,J.next_in=ge,J.input=ye,J.avail_in=Jt,nt.wrap=Fr,r}var Be="pako deflate (from Nodeca project)";N.deflateInfo=Be},lOQZ:function(R,N,e){var A=e("QBsz"),f=e("U/Mo"),x=f.getSymbolSize,m=f.getNodeGlobalScale,g=Math.PI,p=[];function c(a,n){var i=a.coordinateSystem;if(i&&i.type!=="view")return;var d=i.getBoundingRect(),t=a.getData(),l=t.graph,r=d.width/2+d.x,o=d.height/2+d.y,u=Math.min(d.width,d.height)/2,h=t.count();if(t.setLayout({cx:r,cy:o}),!h)return;s[n](a,i,l,t,u,r,o,h),l.eachEdge(function(y){var b=y.getModel().get("lineStyle.curveness")||0,E=A.clone(y.node1.getLayout()),v=A.clone(y.node2.getLayout()),w,O=(E[0]+v[0])/2,T=(E[1]+v[1])/2;+b&&(b*=3,w=[r*b+O*(1-b),o*b+T*(1-b)]),y.setLayout([E,v,w])})}var s={value:function(a,n,i,d,t,l,r,o){var u=0,h=d.getSum("value"),y=Math.PI*2/(h||o);i.eachNode(function(b){var E=b.getValue("value"),v=y*(h?E:1)/2;u+=v,b.setLayout([t*Math.cos(u)+l,t*Math.sin(u)+r]),u+=v})},symbolSize:function(a,n,i,d,t,l,r,o){var u=0;p.length=o;var h=m(a);i.eachNode(function(E){var v=x(E);isNaN(v)&&(v=2),v<0&&(v=0),v*=h;var w=Math.asin(v/2/t);isNaN(w)&&(w=g/2),p[E.dataIndex]=w,u+=w*2});var y=(2*g-u)/o/2,b=0;i.eachNode(function(E){var v=y+p[E.dataIndex];b+=v,E.setLayout([t*Math.cos(b)+l,t*Math.sin(b)+r]),b+=v})}};N.circularLayout=c},lUTK:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("x54q"),m=e.n(x),g=e("5Dmo")},lZu9:function(R,N,e){(function(A){A(e("VrN/"),e("1eCo"),e("8EBN"))})(function(A){"use strict";A.defineMode("markdown",function(f,x){var m=A.getMode(f,"text/html"),g=m.name=="null";function p(P){if(A.findModeByName){var H=A.findModeByName(P);H&&(P=H.mime||H.mimes[0])}var W=A.getMode(f,P);return W.name=="null"?null:W}x.highlightFormatting===void 0&&(x.highlightFormatting=!1),x.maxBlockquoteDepth===void 0&&(x.maxBlockquoteDepth=0),x.taskLists===void 0&&(x.taskLists=!1),x.strikethrough===void 0&&(x.strikethrough=!1),x.emoji===void 0&&(x.emoji=!1),x.fencedCodeBlockHighlighting===void 0&&(x.fencedCodeBlockHighlighting=!0),x.fencedCodeBlockDefaultMode===void 0&&(x.fencedCodeBlockDefaultMode="text/plain"),x.xml===void 0&&(x.xml=!0),x.tokenTypeOverrides===void 0&&(x.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 s in c)c.hasOwnProperty(s)&&x.tokenTypeOverrides[s]&&(c[s]=x.tokenTypeOverrides[s]);var a=/^([*\-_])(?:\s*\1){2,}\s*$/,n=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,i=/^\[(x| )\](?=\s)/i,d=x.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,t=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,r=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,o=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function y(P,H,W){return H.f=H.inline=W,W(P,H)}function b(P,H,W){return H.f=H.block=W,W(P,H)}function E(P){return!P||!/\S/.test(P.string)}function v(P){if(P.linkTitle=!1,P.linkHref=!1,P.linkText=!1,P.em=!1,P.strong=!1,P.strikethrough=!1,P.quote=0,P.indentedCode=!1,P.f==O){var H=g;if(!H){var W=A.innerMode(m,P.htmlState);H=W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText}H&&(P.f=_,P.block=w,P.htmlState=null)}return P.trailingSpace=0,P.trailingSpaceNewLine=!1,P.prevLine=P.thisLine,P.thisLine={stream:null},null}function w(P,H){var W=P.column()===H.indentation,X=E(H.prevLine.stream),K=H.indentedCode,$=H.prevLine.hr,ie=H.list!==!1,be=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var te=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,ie)){for(H.list=null;te<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=te-H.listStack[H.listStack.length-1])}var Te=!X&&!$&&!H.prevLine.header&&(!ie||!K)&&!H.prevLine.fencedCodeEnd,Ie=(H.list===!1||$||X)&&H.indentation<=be&&P.match(a),Fe=null;if(H.indentationDiff>=4&&(K||H.prevLine.fencedCodeEnd||H.prevLine.header||X))return P.skipToEnd(),H.indentedCode=!0,c.code;if(P.eatSpace())return null;if(W&&H.indentation<=be&&(Fe=P.match(d))&&Fe[1].length<=6)return H.quote=0,H.header=Fe[1].length,H.thisLine.header=!0,x.highlightFormatting&&(H.formatting="header"),H.f=H.inline,S(H);if(H.indentation<=be&&P.eat(">"))return H.quote=W?1:H.quote+1,x.highlightFormatting&&(H.formatting="quote"),P.eatSpace(),S(H);if(!Ie&&!H.setext&&W&&H.indentation<=be&&(Fe=P.match(n))){var Qe=Fe[1]?"ol":"ul";return H.indentation=te+P.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,x.taskLists&&P.match(i,!1)&&(H.taskList=!0),H.f=H.inline,x.highlightFormatting&&(H.formatting=["list","list-"+Qe]),S(H)}else{if(W&&H.indentation<=be&&(Fe=P.match(r,!0)))return H.quote=0,H.fencedEndRE=new RegExp(Fe[1]+"+ *$"),H.localMode=x.fencedCodeBlockHighlighting&&p(Fe[2]||x.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=A.startState(H.localMode)),H.f=H.block=T,x.highlightFormatting&&(H.formatting="code-block"),H.code=-1,S(H);if(H.setext||(!Te||!ie)&&!H.quote&&H.list===!1&&!H.code&&!Ie&&!o.test(P.string)&&(Fe=P.lookAhead(1))&&(Fe=Fe.match(t)))return H.setext?(H.header=H.setext,H.setext=0,P.skipToEnd(),x.highlightFormatting&&(H.formatting="header")):(H.header=Fe[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,S(H);if(Ie)return P.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,c.hr;if(P.peek()==="[")return y(P,H,j)}return y(P,H,H.inline)}function O(P,H){var W=m.token(P,H.htmlState);if(!g){var X=A.innerMode(m,H.htmlState);(X.mode.name=="xml"&&X.state.tagStart===null&&!X.state.context&&X.state.tokenize.isInText||H.md_inside&&P.current().indexOf(">")>-1)&&(H.f=_,H.block=w,H.htmlState=null)}return W}function T(P,H){var W=H.listStack[H.listStack.length-1]||0,X=H.indentation<W,K=W+3;if(H.fencedEndRE&&H.indentation<=K&&(X||P.match(H.fencedEndRE))){x.highlightFormatting&&(H.formatting="code-block");var $;return X||($=S(H)),H.localMode=H.localState=null,H.block=w,H.f=_,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,X?b(P,H,H.block):$}else return H.localMode?H.localMode.token(P,H.localState):(P.skipToEnd(),c.code)}function S(P){var H=[];if(P.formatting){H.push(c.formatting),typeof P.formatting=="string"&&(P.formatting=[P.formatting]);for(var W=0;W<P.formatting.length;W++)H.push(c.formatting+"-"+P.formatting[W]),P.formatting[W]==="header"&&H.push(c.formatting+"-"+P.formatting[W]+"-"+P.header),P.formatting[W]==="quote"&&(!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=P.quote?H.push(c.formatting+"-"+P.formatting[W]+"-"+P.quote):H.push("error"))}if(P.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(P.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(P.linkHref?H.push(c.linkHref,"url"):(P.strong&&H.push(c.strong),P.em&&H.push(c.em),P.strikethrough&&H.push(c.strikethrough),P.emoji&&H.push(c.emoji),P.linkText&&H.push(c.linkText),P.code&&H.push(c.code),P.image&&H.push(c.image),P.imageAltText&&H.push(c.imageAltText,"link"),P.imageMarker&&H.push(c.imageMarker)),P.header&&H.push(c.header,c.header+"-"+P.header),P.quote&&(H.push(c.quote),!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=P.quote?H.push(c.quote+"-"+P.quote):H.push(c.quote+"-"+x.maxBlockquoteDepth)),P.list!==!1){var X=(P.listStack.length-1)%3;X?X===1?H.push(c.list2):H.push(c.list3):H.push(c.list1)}return P.trailingSpaceNewLine?H.push("trailing-space-new-line"):P.trailingSpace&&H.push("trailing-space-"+(P.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function C(P,H){return P.match(l,!0)?S(H):void 0}function _(P,H){var W=H.text(P,H);if(typeof W!="undefined")return W;if(H.list)return H.list=null,S(H);if(H.taskList){var X=P.match(i,!0)[1]===" ";return X?H.taskOpen=!0:H.taskClosed=!0,x.highlightFormatting&&(H.formatting="task"),H.taskList=!1,S(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&P.match(/^#+$/,!0))return x.highlightFormatting&&(H.formatting="header"),S(H);var K=P.next();if(H.linkTitle){H.linkTitle=!1;var $=K;K==="("&&($=")"),$=($+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ie="^\\s*(?:[^"+$+"\\\\]+|\\\\\\\\|\\\\.)"+$;if(P.match(new RegExp(ie),!0))return c.linkHref}if(K==="`"){var be=H.formatting;x.highlightFormatting&&(H.formatting="code"),P.eatWhile("`");var te=P.current().length;if(H.code==0&&(!H.quote||te==1))return H.code=te,S(H);if(te==H.code){var Te=S(H);return H.code=0,Te}else return H.formatting=be,S(H)}else if(H.code)return S(H);if(K==="\\"&&(P.next(),x.highlightFormatting)){var Ie=S(H),Fe=c.formatting+"-escape";return Ie?Ie+" "+Fe:Fe}if(K==="!"&&P.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,x.highlightFormatting&&(H.formatting="image"),S(H);if(K==="["&&H.imageMarker&&P.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,x.highlightFormatting&&(H.formatting="image"),S(H);if(K==="]"&&H.imageAltText){x.highlightFormatting&&(H.formatting="image");var Ie=S(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=k,Ie}if(K==="["&&!H.image)return H.linkText&&P.match(/^.*?\]/)||(H.linkText=!0,x.highlightFormatting&&(H.formatting="link")),S(H);if(K==="]"&&H.linkText){x.highlightFormatting&&(H.formatting="link");var Ie=S(H);return H.linkText=!1,H.inline=H.f=P.match(/\(.*?\)| ?\[.*?\]/,!1)?k:_,Ie}if(K==="<"&&P.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=I,x.highlightFormatting&&(H.formatting="link");var Ie=S(H);return Ie?Ie+=" ":Ie="",Ie+c.linkInline}if(K==="<"&&P.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=I,x.highlightFormatting&&(H.formatting="link");var Ie=S(H);return Ie?Ie+=" ":Ie="",Ie+c.linkEmail}if(x.xml&&K==="<"&&P.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Qe=P.string.indexOf(">",P.pos);if(Qe!=-1){var fe=P.string.substring(P.start,Qe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(fe)&&(H.md_inside=!0)}return P.backUp(1),H.htmlState=A.startState(m),b(P,H,O)}if(x.xml&&K==="<"&&P.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(K==="*"||K==="_"){for(var He=1,se=P.pos==1?" ":P.string.charAt(P.pos-2);He<3&&P.eat(K);)He++;var Ce=P.peek()||" ",mt=!/\s/.test(Ce)&&(!u.test(Ce)||/\s/.test(se)||u.test(se)),Ne=!/\s/.test(se)&&(!u.test(se)||/\s/.test(Ce)||u.test(Ce)),ae=null,ce=null;if(He%2&&(!H.em&&mt&&(K==="*"||!Ne||u.test(se))?ae=!0:H.em==K&&Ne&&(K==="*"||!mt||u.test(Ce))&&(ae=!1)),He>1&&(!H.strong&&mt&&(K==="*"||!Ne||u.test(se))?ce=!0:H.strong==K&&Ne&&(K==="*"||!mt||u.test(Ce))&&(ce=!1)),ce!=null||ae!=null){x.highlightFormatting&&(H.formatting=ae==null?"strong":ce==null?"em":"strong em"),ae===!0&&(H.em=K),ce===!0&&(H.strong=K);var Te=S(H);return ae===!1&&(H.em=!1),ce===!1&&(H.strong=!1),Te}}else if(K===" "&&(P.eat("*")||P.eat("_"))){if(P.peek()===" ")return S(H);P.backUp(1)}if(x.strikethrough){if(K==="~"&&P.eatWhile(K)){if(H.strikethrough){x.highlightFormatting&&(H.formatting="strikethrough");var Te=S(H);return H.strikethrough=!1,Te}else if(P.match(/^[^\s]/,!1))return H.strikethrough=!0,x.highlightFormatting&&(H.formatting="strikethrough"),S(H)}else if(K===" "&&P.match(/^~~/,!0)){if(P.peek()===" ")return S(H);P.backUp(2)}}if(x.emoji&&K===":"&&P.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,x.highlightFormatting&&(H.formatting="emoji");var le=S(H);return H.emoji=!1,le}return K===" "&&(P.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),S(H)}function I(P,H){var W=P.next();if(W===">"){H.f=H.inline=_,x.highlightFormatting&&(H.formatting="link");var X=S(H);return X?X+=" ":X="",X+c.linkInline}return P.match(/^[^>]+/,!0),c.linkInline}function k(P,H){if(P.eatSpace())return null;var W=P.next();return W==="("||W==="["?(H.f=H.inline=B(W==="("?")":"]"),x.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,S(H)):"error"}var F={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(P){return function(H,W){var X=H.next();if(X===P){W.f=W.inline=_,x.highlightFormatting&&(W.formatting="link-string");var K=S(W);return W.linkHref=!1,K}return H.match(F[P]),W.linkHref=!0,S(W)}}function j(P,H){return P.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=z,P.next(),x.highlightFormatting&&(H.formatting="link"),H.linkText=!0,S(H)):y(P,H,_)}function z(P,H){if(P.match(/^\]:/,!0)){H.f=H.inline=M,x.highlightFormatting&&(H.formatting="link");var W=S(H);return H.linkText=!1,W}return P.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function M(P,H){return P.eatSpace()?null:(P.match(/^[^\s]+/,!0),P.peek()===void 0?H.linkTitle=!0:P.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=_,c.linkHref+" url")}var U={startState:function(){return{f:w,prevLine:{stream:null},thisLine:{stream:null},block:w,htmlState:null,indentation:0,inline:_,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&A.copyState(m,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?A.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,W){if(W.formatting=!1,H!=W.thisLine.stream){if(W.header=0,W.hr=!1,H.match(/^\s*$/,!0))return v(W),null;if(W.prevLine=W.thisLine,W.thisLine={stream:H},W.taskList=!1,W.trailingSpace=0,W.trailingSpaceNewLine=!1,!W.localState&&(W.f=W.block,W.f!=O)){var X=H.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(W.indentation=X,W.indentationDiff=null,X>0)return null}}return W.f(H,W)},innerMode:function(H){return H.block==O?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:U}},indent:function(H,W,X){return H.block==O&&m.indent?m.indent(H.htmlState,W,X):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,W,X):A.Pass},blankLine:v,getType:S,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),A.defineMIME("text/markdown","markdown"),A.defineMIME("text/x-markdown","markdown")})},laiN:function(R,N,e){var A=e("ProS");e("GVMX"),e("MH26"),A.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},lnY3:function(R,N,e){},loD1:function(R,N){function e(A,f,x,m,g,p,c){if(g===0)return!1;var s=g,a=0,n=A;if(c>f+s&&c>m+s||c<f-s&&c<m-s||p>A+s&&p>x+s||p<A-s&&p<x-s)return!1;if(A!==x)a=(f-m)/(A-x),n=(A*m-x*f)/(A-x);else return Math.abs(p-A)<=s/2;var i=a*p-c+n,d=i*i/(a*a+1);return d<=s/2*s/2}N.containStroke=e},lr6o:function(R,N,e){"use strict";var A=e("rePB"),f=e("Ff2n"),x=e("VTBJ"),m=e("1OyB"),g=e("vuIU"),p=e("JX7q"),c=e("Ji7U"),s=e("LK+K"),a=e("q1tI"),n=e("TSYQ"),i=e.n(n),d=e("FTAc"),t=e("wPhX"),l=function(O){var T=O.prefixCls,S=O.level,C=O.isStart,_=O.isEnd;if(!S)return null;for(var I="".concat(T,"-indent-unit"),k=[],F=0;F<S;F+=1){var B;k.push(a.createElement("span",{key:F,className:i()(I,(B={},Object(A.a)(B,"".concat(I,"-start"),C[F+1]),Object(A.a)(B,"".concat(I,"-end"),_[F+1]),Object(A.a)(B,"".concat(I,"-end-first-level"),!F&&_[0]),B))}))}return a.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},k)},r=l,o=e("c3jg"),u="open",h="close",y="---",b=function(w){Object(c.a)(T,w);var O=Object(s.a)(T);function T(){var S;return Object(m.a)(this,T),S=O.apply(this,arguments),S.state={dragNodeHighlight:!1},S.onSelectorClick=function(C){var _=S.props.context.onNodeClick;_(C,Object(o.b)(S.props)),S.isSelectable()?S.onSelect(C):S.onCheck(C)},S.onSelectorDoubleClick=function(C){var _=S.props.context.onNodeDoubleClick;_(C,Object(o.b)(S.props))},S.onSelect=function(C){if(S.isDisabled())return;var _=S.props.context.onNodeSelect;C.preventDefault(),_(C,Object(o.b)(S.props))},S.onCheck=function(C){if(S.isDisabled())return;var _=S.props,I=_.disableCheckbox,k=_.checked,F=S.props.context.onNodeCheck;if(!S.isCheckable()||I)return;C.preventDefault();var B=!k;F(C,Object(o.b)(S.props),B)},S.onMouseEnter=function(C){var _=S.props.context.onNodeMouseEnter;_(C,Object(o.b)(S.props))},S.onMouseLeave=function(C){var _=S.props.context.onNodeMouseLeave;_(C,Object(o.b)(S.props))},S.onContextMenu=function(C){var _=S.props.context.onNodeContextMenu;_(C,Object(o.b)(S.props))},S.onDragStart=function(C){var _=S.props.context.onNodeDragStart;C.stopPropagation(),S.setState({dragNodeHighlight:!0}),_(C,Object(p.a)(S));try{C.dataTransfer.setData("text/plain","")}catch(I){}},S.onDragEnter=function(C){var _=S.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),_(C,Object(p.a)(S))},S.onDragOver=function(C){var _=S.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),_(C,Object(p.a)(S))},S.onDragLeave=function(C){var _=S.props.context.onNodeDragLeave;C.stopPropagation(),_(C,Object(p.a)(S))},S.onDragEnd=function(C){var _=S.props.context.onNodeDragEnd;C.stopPropagation(),S.setState({dragNodeHighlight:!1}),_(C,Object(p.a)(S))},S.onDrop=function(C){var _=S.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),S.setState({dragNodeHighlight:!1}),_(C,Object(p.a)(S))},S.onExpand=function(C){var _=S.props.context.onNodeExpand;_(C,Object(o.b)(S.props))},S.setSelectHandle=function(C){S.selectHandle=C},S.getNodeState=function(){var C=S.props.expanded;return S.isLeaf()?null:C?u:h},S.hasChildren=function(){var C=S.props.eventKey,_=S.props.context.keyEntities,I=_[C]||{},k=I.children;return!!(k||[]).length},S.isLeaf=function(){var C=S.props,_=C.isLeaf,I=C.loaded,k=S.props.context.loadData,F=S.hasChildren();return _===!1?!1:_||!k&&!F||k&&I&&!F},S.isDisabled=function(){var C=S.props.disabled,_=S.props.context.disabled;return!!(_||C)},S.isCheckable=function(){var C=S.props.checkable,_=S.props.context.checkable;return!_||C===!1?!1:_},S.syncLoadData=function(C){var _=C.expanded,I=C.loading,k=C.loaded,F=S.props.context,B=F.loadData,j=F.onNodeLoad;if(I)return;B&&_&&!S.isLeaf()&&(!S.hasChildren()&&!k&&j(Object(o.b)(S.props)))},S.renderSwitcher=function(){var C=S.props,_=C.expanded,I=C.switcherIcon,k=S.props.context,F=k.prefixCls,B=k.switcherIcon,j=I||B;if(S.isLeaf())return a.createElement("span",{className:i()("".concat(F,"-switcher"),"".concat(F,"-switcher-noop"))},typeof j=="function"?j(Object(x.a)(Object(x.a)({},S.props),{},{isLeaf:!0})):j);var z=i()("".concat(F,"-switcher"),"".concat(F,"-switcher_").concat(_?u:h));return a.createElement("span",{onClick:S.onExpand,className:z},typeof j=="function"?j(Object(x.a)(Object(x.a)({},S.props),{},{isLeaf:!1})):j)},S.renderCheckbox=function(){var C=S.props,_=C.checked,I=C.halfChecked,k=C.disableCheckbox,F=S.props.context.prefixCls,B=S.isDisabled(),j=S.isCheckable();if(!j)return null;var z=typeof j!="boolean"?j:null;return a.createElement("span",{className:i()("".concat(F,"-checkbox"),_&&"".concat(F,"-checkbox-checked"),!_&&I&&"".concat(F,"-checkbox-indeterminate"),(B||k)&&"".concat(F,"-checkbox-disabled")),onClick:S.onCheck},z)},S.renderIcon=function(){var C=S.props.loading,_=S.props.context.prefixCls;return a.createElement("span",{className:i()("".concat(_,"-iconEle"),"".concat(_,"-icon__").concat(S.getNodeState()||"docu"),C&&"".concat(_,"-icon_loading"))})},S.renderSelector=function(){var C=S.state.dragNodeHighlight,_=S.props,I=_.title,k=_.selected,F=_.icon,B=_.loading,j=_.data,z=S.props.context,M=z.prefixCls,U=z.showIcon,P=z.icon,H=z.draggable,W=z.loadData,X=z.titleRender,K=S.isDisabled(),$="".concat(M,"-node-content-wrapper"),ie;if(U){var be=F||P;ie=be?a.createElement("span",{className:i()("".concat(M,"-iconEle"),"".concat(M,"-icon__customize"))},typeof be=="function"?be(S.props):be):S.renderIcon()}else W&&B&&(ie=S.renderIcon());var te;typeof I=="function"?te=I(j):X?te=X(j):te=I;var Te=a.createElement("span",{className:"".concat(M,"-title")},te);return a.createElement("span",{ref:S.setSelectHandle,title:typeof I=="string"?I:"",className:i()("".concat($),"".concat($,"-").concat(S.getNodeState()||"normal"),!K&&(k||C)&&"".concat(M,"-node-selected"),!K&&H&&"draggable"),draggable:!K&&H||void 0,"aria-grabbed":!K&&H||void 0,onMouseEnter:S.onMouseEnter,onMouseLeave:S.onMouseLeave,onContextMenu:S.onContextMenu,onClick:S.onSelectorClick,onDoubleClick:S.onSelectorDoubleClick,onDragStart:H?S.onDragStart:void 0},ie,Te)},S}return Object(g.a)(T,[{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,_=this.props.context.selectable;return typeof C=="boolean"?C:_}},{key:"render",value:function(){var C,_=this.props,I=_.eventKey,k=_.className,F=_.style,B=_.dragOver,j=_.dragOverGapTop,z=_.dragOverGapBottom,M=_.isLeaf,U=_.isStart,P=_.isEnd,H=_.expanded,W=_.selected,X=_.checked,K=_.halfChecked,$=_.loading,ie=_.domRef,be=_.active,te=_.onMouseMove,Te=Object(f.a)(_,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ie=this.props.context,Fe=Ie.prefixCls,Qe=Ie.filterTreeNode,fe=Ie.draggable,He=Ie.keyEntities,se=this.isDisabled(),Ce=Object(t.f)(Te),mt=He[I]||{},Ne=mt.level,ae=P[P.length-1];return a.createElement("div",Object.assign({ref:ie,className:i()(k,"".concat(Fe,"-treenode"),(C={},Object(A.a)(C,"".concat(Fe,"-treenode-disabled"),se),Object(A.a)(C,"".concat(Fe,"-treenode-switcher-").concat(H?"open":"close"),!M),Object(A.a)(C,"".concat(Fe,"-treenode-checkbox-checked"),X),Object(A.a)(C,"".concat(Fe,"-treenode-checkbox-indeterminate"),K),Object(A.a)(C,"".concat(Fe,"-treenode-selected"),W),Object(A.a)(C,"".concat(Fe,"-treenode-loading"),$),Object(A.a)(C,"".concat(Fe,"-treenode-active"),be),Object(A.a)(C,"".concat(Fe,"-treenode-leaf-last"),ae),Object(A.a)(C,"drag-over",!se&&B),Object(A.a)(C,"drag-over-gap-top",!se&&j),Object(A.a)(C,"drag-over-gap-bottom",!se&&z),Object(A.a)(C,"filter-node",Qe&&Qe(Object(o.b)(this.props))),C)),style:F,onDragEnter:fe?this.onDragEnter:void 0,onDragOver:fe?this.onDragOver:void 0,onDragLeave:fe?this.onDragLeave:void 0,onDrop:fe?this.onDrop:void 0,onDragEnd:fe?this.onDragEnd:void 0,onMouseMove:te},Ce),a.createElement(r,{prefixCls:Fe,level:Ne,isStart:U,isEnd:P}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(a.Component),E=function(O){return a.createElement(d.a.Consumer,null,function(T){return a.createElement(b,Object.assign({},O,{context:T}))})};E.displayName="TreeNode",E.defaultProps={title:y},E.isTreeNode=1;var v=N.a=E},lrIw:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("cDf5"),m=e.n(x),g=e("J4zp"),p=e.n(g),c=e("q1tI"),s=e.n(c),a=e("Zm9Q"),n=e("TSYQ"),i=e.n(n),d=e("BGR+"),t=e("2fM7"),l=e("H84U"),r=e("uaoM"),o=e("0n0R"),u=t.a.Option,h=t.a;function y(v){return v&&v.type&&(v.type.isSelectOption||v.type.isSelectOptGroup)}var b=function(w,O){var T=w.prefixCls,S=w.className,C=w.children,_=w.dataSource,I=Object(a.a)(C),k=c.useRef();c.useImperativeHandle(O,function(){return k.current});var F;if(I.length===1&&Object(o.b)(I[0])&&!y(I[0])){var B=p()(I,1);F=B[0]}var j=function(){return F},z;return I.length&&y(I[0])?z=C:z=_?_.map(function(M){if(Object(o.b)(M))return M;switch(m()(M)){case"string":return c.createElement(u,{key:M,value:M},M);case"object":{var U=M.value;return c.createElement(u,{key:U,value:U},M.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(r.a)(!("dataSource"in w),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(r.a)(!F||!("size"in w),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(M){var U=M.getPrefixCls,P=U("select",T);return c.createElement(h,f()({ref:k},Object(d.default)(w,["dataSource"]),{prefixCls:P,className:i()(S,"".concat(P,"-auto-complete")),mode:t.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:j}),z)})},E=c.forwardRef(b);E.Option=u,N.a=E},lwQL:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("9wZj"),m=e("c8qY"),g=e("SgGq"),p=e("Ae+d"),c=e("xSat"),s=c.onIrrelevantElement,a=e("IwbS"),n=e("SA8n"),i=e("U/Mo"),d=i.getNodeGlobalScale,t="__focusNodeAdjacency",l="__unfocusNodeAdjacency",r=["itemStyle","opacity"],o=["lineStyle","opacity"];function u(E,v){var w=E.getVisual("opacity");return w!=null?w:E.getModel().get(v)}function h(E,v,w){var O=E.getGraphicEl(),T=u(E,v);w!=null&&(T==null&&(T=1),T*=w),O.downplay&&O.downplay(),O.traverse(function(S){if(!S.isGroup){var C=S.lineLabelOriginalOpacity;(C==null||w!=null)&&(C=T),S.setStyle("opacity",C)}})}function y(E,v){var w=u(E,v),O=E.getGraphicEl();O.traverse(function(T){!T.isGroup&&T.setStyle("opacity",w)}),O.highlight&&O.highlight()}var b=A.extendChartView({type:"graph",init:function(E,v){var w=new x,O=new m,T=this.group;this._controller=new g(v.getZr()),this._controllerHost={target:T},T.add(w.group),T.add(O.group),this._symbolDraw=w,this._lineDraw=O,this._firstRender=!0},render:function(E,v,w){var O=this,T=E.coordinateSystem;this._model=E;var S=this._symbolDraw,C=this._lineDraw,_=this.group;if(T.type==="view"){var I={position:T.position,scale:T.scale};this._firstRender?_.attr(I):a.updateProps(_,I,E)}n(E.getGraph(),d(E));var k=E.getData();S.updateData(k);var F=E.getEdgeData();C.updateData(F),this._updateNodeAndLinkScale(),this._updateController(E,v,w),clearTimeout(this._layoutTimeout);var B=E.forceLayout,j=E.get("force.layoutAnimation");B&&this._startForceLayoutIteration(B,j),k.eachItemGraphicEl(function(P,H){var W=k.getItemModel(H);P.off("drag").off("dragend");var X=W.get("draggable");X&&P.on("drag",function(){B&&(B.warmUp(),!this._layouting&&this._startForceLayoutIteration(B,j),B.setFixed(H),k.setItemLayout(H,P.position))},this).on("dragend",function(){B&&B.setUnfixed(H)},this),P.setDraggable(X&&B),P[t]&&P.off("mouseover",P[t]),P[l]&&P.off("mouseout",P[l]),W.get("focusNodeAdjacency")&&(P.on("mouseover",P[t]=function(){O._clearTimer(),w.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,dataIndex:P.dataIndex})}),P.on("mouseout",P[l]=function(){O._dispatchUnfocus(w)}))},this),k.graph.eachEdge(function(P){var H=P.getGraphicEl();H[t]&&H.off("mouseover",H[t]),H[l]&&H.off("mouseout",H[l]),P.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[t]=function(){O._clearTimer(),w.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,edgeDataIndex:P.dataIndex})}),H.on("mouseout",H[l]=function(){O._dispatchUnfocus(w)}))});var z=E.get("layout")==="circular"&&E.get("circular.rotateLabel"),M=k.getLayout("cx"),U=k.getLayout("cy");k.eachItemGraphicEl(function(P,H){var W=k.getItemModel(H),X=W.get("label.rotate")||0,K=P.getSymbolPath();if(z){var $=k.getItemLayout(H),ie=Math.atan2($[1]-U,$[0]-M);ie<0&&(ie=Math.PI*2+ie);var be=$[0]<M;be&&(ie=ie-Math.PI);var te=be?"left":"right";a.modifyLabelStyle(K,{textRotation:-ie,textPosition:te,textOrigin:"center"},{textPosition:te})}else a.modifyLabelStyle(K,{textRotation:X*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(E,v){var w=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){w._unfocusDelayTimer=null,E.dispatchAction({type:"unfocusNodeAdjacency",seriesId:w._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(E,v,w,O){var T=E.getData(),S=T.graph,C=O.dataIndex,_=O.edgeDataIndex,I=S.getNodeByIndex(C),k=S.getEdgeByIndex(_);if(!I&&!k)return;S.eachNode(function(F){h(F,r,.1)}),S.eachEdge(function(F){h(F,o,.1)}),I&&(y(I,r),f.each(I.edges,function(F){if(F.dataIndex<0)return;y(F,o),y(F.node1,r),y(F.node2,r)})),k&&(y(k,o),y(k.node1,r),y(k.node2,r))},unfocusNodeAdjacency:function(E,v,w,O){var T=E.getData().graph;T.eachNode(function(S){h(S,r)}),T.eachEdge(function(S){h(S,o)})},_startForceLayoutIteration:function(E,v){var w=this;(function O(){E.step(function(T){w.updateLayout(w._model),(w._layouting=!T)&&(v?w._layoutTimeout=setTimeout(O,16):O())})})()},_updateController:function(E,v,w){var O=this._controller,T=this._controllerHost,S=this.group;if(O.setPointerChecker(function(C,_,I){var k=S.getBoundingRect();return k.applyTransform(S.transform),k.contain(_,I)&&!s(C,w,E)}),E.coordinateSystem.type!=="view"){O.disable();return}O.enable(E.get("roam")),T.zoomLimit=E.get("scaleLimit"),T.zoom=E.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(C){p.updateViewOnPan(T,C.dx,C.dy),w.dispatchAction({seriesId:E.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){p.updateViewOnZoom(T,C.scale,C.originX,C.originY),w.dispatchAction({seriesId:E.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),n(E.getGraph(),d(E)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var E=this._model,v=E.getData(),w=d(E),O=[w,w];v.eachItemGraphicEl(function(T,S){T.attr("scale",O)})},updateLayout:function(E){n(E.getGraph(),d(E)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(E,v){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});R.exports=b},m9t5:function(R,N,e){var A=e("KCsZ"),f=A([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),x={getAreaStyle:function(m,g){return f(this,m,g)}};R.exports=x},mFDi:function(R,N,e){var A=e("QBsz"),f=e("Fofx"),x=A.applyTransform,m=Math.min,g=Math.max;function p(s,a,n,i){n<0&&(s=s+n,n=-n),i<0&&(a=a+i,i=-i),this.x=s,this.y=a,this.width=n,this.height=i}p.prototype={constructor:p,union:function(a){var n=m(a.x,this.x),i=m(a.y,this.y);this.width=g(a.x+a.width,this.x+this.width)-n,this.height=g(a.y+a.height,this.y+this.height)-i,this.x=n,this.y=i},applyTransform:function(){var s=[],a=[],n=[],i=[];return function(d){if(!d)return;s[0]=n[0]=this.x,s[1]=i[1]=this.y,a[0]=i[0]=this.x+this.width,a[1]=n[1]=this.y+this.height,x(s,s,d),x(a,a,d),x(n,n,d),x(i,i,d),this.x=m(s[0],a[0],n[0],i[0]),this.y=m(s[1],a[1],n[1],i[1]);var t=g(s[0],a[0],n[0],i[0]),l=g(s[1],a[1],n[1],i[1]);this.width=t-this.x,this.height=l-this.y}}(),calculateTransform:function(a){var n=this,i=a.width/n.width,d=a.height/n.height,t=f.create();return f.translate(t,t,[-n.x,-n.y]),f.scale(t,t,[i,d]),f.translate(t,t,[a.x,a.y]),t},intersect:function(a){if(!a)return!1;a instanceof p||(a=p.create(a));var n=this,i=n.x,d=n.x+n.width,t=n.y,l=n.y+n.height,r=a.x,o=a.x+a.width,u=a.y,h=a.y+a.height;return!(d<r||o<i||l<u||h<t)},contain:function(a,n){var i=this;return a>=i.x&&a<=i.x+i.width&&n>=i.y&&n<=i.y+i.height},clone:function(){return new p(this.x,this.y,this.width,this.height)},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},p.create=function(s){return new p(s.x,s.y,s.width,s.height)};var c=p;R.exports=c},mHUz:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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};N.default=A},mLcG:function(R,N){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(A){setTimeout(A,16)};R.exports=e},"mO/d":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},mOdp:function(R,N,e){var A=e("bYtY"),f=A.createHashMap;function x(m){return{getTargetSeries:function(g){var p={},c=f();return g.eachSeriesByType(m,function(s){s.__paletteScope=p,c.set(s.uid,s)}),c},reset:function(g,p){var c=g.getRawData(),s={},a=g.getData();a.each(function(n){var i=a.getRawIndex(n);s[i]=n}),c.each(function(n){var i=s[n],d=i!=null&&a.getItemVisual(i,"color",!0),t=i!=null&&a.getItemVisual(i,"borderColor",!0),l;if((!d||!t)&&(l=c.getItemModel(n)),!d){var r=l.get("itemStyle.color")||g.getColorFromPalette(c.getName(n)||n+"",g.__paletteScope,c.count());i!=null&&a.setItemVisual(i,"color",r)}if(!t){var o=l.get("itemStyle.borderColor");i!=null&&a.setItemVisual(i,"borderColor",o)}})}}}R.exports=x},mTgk:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("mHUz"));function f(s){return s&&s.__esModule?s:{default:s}}var x={};function m(s,a){if(a===void 0)throw new Error('Undefined keysym for key "'+s+'"');if(s in x)throw new Error('Duplicate entry for key "'+s+'"');x[s]=[a,a,a,a]}function g(s,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+s+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+s+'"');if(s in x)throw new Error('Duplicate entry for key "'+s+'"');x[s]=[a,a,n,a]}function p(s,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+s+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+s+'"');if(s in x)throw new Error('Duplicate entry for key "'+s+'"');x[s]=[a,a,a,n]}g("Alt",A.default.XK_Alt_L,A.default.XK_Alt_R),m("AltGraph",A.default.XK_ISO_Level3_Shift),m("CapsLock",A.default.XK_Caps_Lock),g("Control",A.default.XK_Control_L,A.default.XK_Control_R),g("Meta",A.default.XK_Super_L,A.default.XK_Super_R),m("NumLock",A.default.XK_Num_Lock),m("ScrollLock",A.default.XK_Scroll_Lock),g("Shift",A.default.XK_Shift_L,A.default.XK_Shift_R),p("Enter",A.default.XK_Return,A.default.XK_KP_Enter),m("Tab",A.default.XK_Tab),p(" ",A.default.XK_space,A.default.XK_KP_Space),p("ArrowDown",A.default.XK_Down,A.default.XK_KP_Down),p("ArrowUp",A.default.XK_Up,A.default.XK_KP_Up),p("ArrowLeft",A.default.XK_Left,A.default.XK_KP_Left),p("ArrowRight",A.default.XK_Right,A.default.XK_KP_Right),p("End",A.default.XK_End,A.default.XK_KP_End),p("Home",A.default.XK_Home,A.default.XK_KP_Home),p("PageDown",A.default.XK_Next,A.default.XK_KP_Next),p("PageUp",A.default.XK_Prior,A.default.XK_KP_Prior),m("Backspace",A.default.XK_BackSpace),p("Clear",A.default.XK_Clear,A.default.XK_KP_Begin),m("Copy",A.default.XF86XK_Copy),m("Cut",A.default.XF86XK_Cut),p("Delete",A.default.XK_Delete,A.default.XK_KP_Delete),p("Insert",A.default.XK_Insert,A.default.XK_KP_Insert),m("Paste",A.default.XF86XK_Paste),m("Redo",A.default.XK_Redo),m("Undo",A.default.XK_Undo),m("Cancel",A.default.XK_Cancel),m("ContextMenu",A.default.XK_Menu),m("Escape",A.default.XK_Escape),m("Execute",A.default.XK_Execute),m("Find",A.default.XK_Find),m("Help",A.default.XK_Help),m("Pause",A.default.XK_Pause),m("Select",A.default.XK_Select),m("ZoomIn",A.default.XF86XK_ZoomIn),m("ZoomOut",A.default.XF86XK_ZoomOut),m("BrightnessDown",A.default.XF86XK_MonBrightnessDown),m("BrightnessUp",A.default.XF86XK_MonBrightnessUp),m("Eject",A.default.XF86XK_Eject),m("LogOff",A.default.XF86XK_LogOff),m("Power",A.default.XF86XK_PowerOff),m("PowerOff",A.default.XF86XK_PowerDown),m("PrintScreen",A.default.XK_Print),m("Hibernate",A.default.XF86XK_Hibernate),m("Standby",A.default.XF86XK_Standby),m("WakeUp",A.default.XF86XK_WakeUp),m("AllCandidates",A.default.XK_MultipleCandidate),m("Alphanumeric",A.default.XK_Eisu_Shift),m("CodeInput",A.default.XK_Codeinput),m("Compose",A.default.XK_Multi_key),m("Convert",A.default.XK_Henkan),m("GroupFirst",A.default.XK_ISO_First_Group),m("GroupLast",A.default.XK_ISO_Last_Group),m("GroupNext",A.default.XK_ISO_Next_Group),m("GroupPrevious",A.default.XK_ISO_Prev_Group),m("NonConvert",A.default.XK_Muhenkan),m("PreviousCandidate",A.default.XK_PreviousCandidate),m("SingleCandidate",A.default.XK_SingleCandidate),m("HangulMode",A.default.XK_Hangul),m("HanjaMode",A.default.XK_Hangul_Hanja),m("JunjuaMode",A.default.XK_Hangul_Jeonja),m("Eisu",A.default.XK_Eisu_toggle),m("Hankaku",A.default.XK_Hankaku),m("Hiragana",A.default.XK_Hiragana),m("HiraganaKatakana",A.default.XK_Hiragana_Katakana),m("KanaMode",A.default.XK_Kana_Shift),m("KanjiMode",A.default.XK_Kanji),m("Katakana",A.default.XK_Katakana),m("Romaji",A.default.XK_Romaji),m("Zenkaku",A.default.XK_Zenkaku),m("ZenkakuHanaku",A.default.XK_Zenkaku_Hankaku),m("F1",A.default.XK_F1),m("F2",A.default.XK_F2),m("F3",A.default.XK_F3),m("F4",A.default.XK_F4),m("F5",A.default.XK_F5),m("F6",A.default.XK_F6),m("F7",A.default.XK_F7),m("F8",A.default.XK_F8),m("F9",A.default.XK_F9),m("F10",A.default.XK_F10),m("F11",A.default.XK_F11),m("F12",A.default.XK_F12),m("F13",A.default.XK_F13),m("F14",A.default.XK_F14),m("F15",A.default.XK_F15),m("F16",A.default.XK_F16),m("F17",A.default.XK_F17),m("F18",A.default.XK_F18),m("F19",A.default.XK_F19),m("F20",A.default.XK_F20),m("F21",A.default.XK_F21),m("F22",A.default.XK_F22),m("F23",A.default.XK_F23),m("F24",A.default.XK_F24),m("F25",A.default.XK_F25),m("F26",A.default.XK_F26),m("F27",A.default.XK_F27),m("F28",A.default.XK_F28),m("F29",A.default.XK_F29),m("F30",A.default.XK_F30),m("F31",A.default.XK_F31),m("F32",A.default.XK_F32),m("F33",A.default.XK_F33),m("F34",A.default.XK_F34),m("F35",A.default.XK_F35),m("Close",A.default.XF86XK_Close),m("MailForward",A.default.XF86XK_MailForward),m("MailReply",A.default.XF86XK_Reply),m("MailSend",A.default.XF86XK_Send),m("MediaFastForward",A.default.XF86XK_AudioForward),m("MediaPause",A.default.XF86XK_AudioPause),m("MediaPlay",A.default.XF86XK_AudioPlay),m("MediaRecord",A.default.XF86XK_AudioRecord),m("MediaRewind",A.default.XF86XK_AudioRewind),m("MediaStop",A.default.XF86XK_AudioStop),m("MediaTrackNext",A.default.XF86XK_AudioNext),m("MediaTrackPrevious",A.default.XF86XK_AudioPrev),m("New",A.default.XF86XK_New),m("Open",A.default.XF86XK_Open),m("Print",A.default.XK_Print),m("Save",A.default.XF86XK_Save),m("SpellCheck",A.default.XF86XK_Spell),m("AudioVolumeDown",A.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",A.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",A.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",A.default.XF86XK_AudioMicMute),m("LaunchApplication1",A.default.XF86XK_MyComputer),m("LaunchApplication2",A.default.XF86XK_Calculator),m("LaunchCalendar",A.default.XF86XK_Calendar),m("LaunchMail",A.default.XF86XK_Mail),m("LaunchMediaPlayer",A.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",A.default.XF86XK_Music),m("LaunchPhone",A.default.XF86XK_Phone),m("LaunchScreenSaver",A.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",A.default.XF86XK_Excel),m("LaunchWebBrowser",A.default.XF86XK_WWW),m("LaunchWebCam",A.default.XF86XK_WebCam),m("LaunchWordProcessor",A.default.XF86XK_Word),m("BrowserBack",A.default.XF86XK_Back),m("BrowserFavorites",A.default.XF86XK_Favorites),m("BrowserForward",A.default.XF86XK_Forward),m("BrowserHome",A.default.XF86XK_HomePage),m("BrowserRefresh",A.default.XF86XK_Refresh),m("BrowserSearch",A.default.XF86XK_Search),m("BrowserStop",A.default.XF86XK_Stop),m("Dimmer",A.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",A.default.XF86XK_AudioCycleTrack),m("RandomToggle",A.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",A.default.XF86XK_SplitScreen),m("Subtitle",A.default.XF86XK_Subtitle),m("VideoModeNext",A.default.XF86XK_Next_VMode),p("=",A.default.XK_equal,A.default.XK_KP_Equal),p("+",A.default.XK_plus,A.default.XK_KP_Add),p("-",A.default.XK_minus,A.default.XK_KP_Subtract),p("*",A.default.XK_asterisk,A.default.XK_KP_Multiply),p("/",A.default.XK_slash,A.default.XK_KP_Divide),p(".",A.default.XK_period,A.default.XK_KP_Decimal),p(",",A.default.XK_comma,A.default.XK_KP_Separator),p("0",A.default.XK_0,A.default.XK_KP_0),p("1",A.default.XK_1,A.default.XK_KP_1),p("2",A.default.XK_2,A.default.XK_KP_2),p("3",A.default.XK_3,A.default.XK_KP_3),p("4",A.default.XK_4,A.default.XK_KP_4),p("5",A.default.XK_5,A.default.XK_KP_5),p("6",A.default.XK_6,A.default.XK_KP_6),p("7",A.default.XK_7,A.default.XK_KP_7),p("8",A.default.XK_8,A.default.XK_KP_8),p("9",A.default.XK_9,A.default.XK_KP_9);var c=x;N.default=c},mYwL:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("6GrX"),m=Math.PI;function g(p,c){c=c||{},A.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 s=new f.Group,a=new f.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});s.add(a);var n=c.fontSize+" sans-serif",i=new f.Rect({style:{fill:"none",text:c.text,font:n,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(s.add(i),c.showSpinner){var d=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.zlevel,z:10001});d.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),s.add(d)}return s.resize=function(){var t=x.getWidth(c.text,n),l=c.showSpinner?c.spinnerRadius:0,r=(p.getWidth()-l*2-(c.showSpinner&&t?10:0)-t)/2-(c.showSpinner?0:t/2),o=p.getHeight()/2;c.showSpinner&&d.setShape({cx:r,cy:o}),i.setShape({x:r-l,y:o-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:p.getWidth(),height:p.getHeight()})},s.resize(),s}R.exports=g},mdZa:function(R,N,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,x){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),g=1;g<arguments.length;g++){var p=arguments[g];if(p!=null)for(var c in p)Object.prototype.hasOwnProperty.call(p,c)&&(m[c]=p[c])}return m},writable:!0,configurable:!0}),function(){function A(f,x){x=x||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,x.bubbles,x.cancelable,x.detail),m}A.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=A)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mmNF:function(R,N){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 x=[],m=0;m<f.length;m++)x.push(f.charCodeAt(m)&255);return x},bytesToString:function(f){for(var x=[],m=0;m<f.length;m++)x.push(String.fromCharCode(f[m]));return x.join("")}}};R.exports=e},mr32:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("J4zp"),p=e.n(g),c=e("q1tI"),s=e("TSYQ"),a=e.n(s),n=e("BGR+"),i=e("V/uB"),d=e.n(i),t=e("H84U"),l=function(T,S){var C={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&S.indexOf(_)<0&&(C[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,_=Object.getOwnPropertySymbols(T);I<_.length;I++)S.indexOf(_[I])<0&&Object.prototype.propertyIsEnumerable.call(T,_[I])&&(C[_[I]]=T[_[I]]);return C},r=function(S){var C,_=c.useContext(t.b),I=_.getPrefixCls,k=function(H){var W=S.checked,X=S.onChange,K=S.onClick;X&&X(!W),K&&K(H)},F=S.prefixCls,B=S.className,j=S.checked,z=l(S,["prefixCls","className","checked"]),M=I("tag",F),U=a()(M,(C={},f()(C,"".concat(M,"-checkable"),!0),f()(C,"".concat(M,"-checkable-checked"),j),C),B);return delete z.onChange,c.createElement("span",m()({},z,{className:U,onClick:k}))},o=r,u=e("09Wf"),h=e("g0mS"),y=function(T,S){var C={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&S.indexOf(_)<0&&(C[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,_=Object.getOwnPropertySymbols(T);I<_.length;I++)S.indexOf(_[I])<0&&Object.prototype.propertyIsEnumerable.call(T,_[I])&&(C[_[I]]=T[_[I]]);return C},b=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(u.b.join("|"),")$")),v=function(S,C){var _,I=S.prefixCls,k=S.className,F=S.style,B=S.children,j=S.icon,z=S.color,M=S.onClose,U=S.closeIcon,P=S.closable,H=P===void 0?!1:P,W=y(S,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),X=c.useContext(t.b),K=X.getPrefixCls,$=X.direction,ie=c.useState(!0),be=p()(ie,2),te=be[0],Te=be[1];c.useEffect(function(){"visible"in W&&Te(W.visible)},[W.visible]);var Ie=function(){return z?b.test(z)||E.test(z):!1},Fe=m()({backgroundColor:z&&!Ie()?z:void 0},F),Qe=Ie(),fe=K("tag",I),He=a()(fe,(_={},f()(_,"".concat(fe,"-").concat(z),Qe),f()(_,"".concat(fe,"-has-color"),z&&!Qe),f()(_,"".concat(fe,"-hidden"),!te),f()(_,"".concat(fe,"-rtl"),$==="rtl"),_),k),se=function(Re){if(Re.stopPropagation(),M&&M(Re),Re.defaultPrevented)return;"visible"in W||Te(!1)},Ce=function(){return H?U?c.createElement("div",{className:"".concat(fe,"-close-icon"),onClick:se},U):c.createElement(d.a,{className:"".concat(fe,"-close-icon"),onClick:se}):null},mt="onClick"in W||B&&B.type==="a",Ne=Object(n.default)(W,["visible"]),ae=j||null,ce=ae?c.createElement(c.Fragment,null,ae,c.createElement("span",null,B)):B,le=c.createElement("span",m()({},Ne,{ref:C,className:He,style:Fe}),ce,Ce());return mt?c.createElement(h.a,null,le):le},w=c.forwardRef(v);w.displayName="Tag",w.CheckableTag=o;var O=N.a=w},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(R){if(!0)module.exports=R();else var N})(function(){var define,module,exports;return function(){function R(N,e,A){function f(g,p){if(!e[g]){if(!N[g]){var c=typeof require=="function"&&require;if(!p&&c)return require(g,!0);if(x)return x(g,!0);var s=new Error("Cannot find module '"+g+"'");throw s.code="MODULE_NOT_FOUND",s}var a=e[g]={exports:{}};N[g][0].call(a.exports,function(n){var i=N[g][1][n];return f(i||n)},a,a.exports,R,N,e,A)}return e[g].exports}for(var x=typeof require=="function"&&require,m=0;m<A.length;m++)f(A[m]);return f}return R}()({1:[function(R,N,e){"use strict";var A=R("./browser/client");A.Buffer=R("buffer").Buffer,A.urllib=R("../shims/xhr"),A.version=R("./browser/version").version,N.exports=A},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(R,N,e){(function(A,f){"use strict";var x=R("babel-runtime/core-js/promise"),m=a(x),g=R("babel-runtime/regenerator"),p=a(g),c=R("babel-runtime/core-js/object/assign"),s=a(c);function a(j){return j&&j.__esModule?j:{default:j}}var n=R("debug")("ali-oss"),i=R("copy-to"),d=R("xml2js"),t=R("agentkeepalive"),l=R("merge-descriptors"),r=R("url"),o=R("is-type-of"),u=R("platform"),h=R("utility"),y=R("urllib"),b=R("./version"),E=R("bowser"),v=R("../common/signUtils"),w=R("../common/utils/isIP"),O=w.isIP,T=R("../common/client/initOptions"),S=R("../common/utils/createRequest"),C=S.createRequest,_=new t;function I(){var j=u.name,z=u.version;j&&j.toLowerCase&&j.toLowerCase()==="ie"&&z.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function k(){return location&&location.protocol==="https:"}function F(j,z){if(I(),!(this instanceof F))return new F(j,z);j&&j.inited?this.options=j:this.options=F.initOptions(j),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=y,this.agent=this.options.agent||_),this.ctx=z,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}N.exports=F,F.initOptions=function(z){z.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var M=(0,s.default)({secure:k(),useFetch:!1},z);return T(M)};var B=F.prototype;B.debug=n,l(B,R("./object")),l(B,R("../common/bucket/getBucketWebsite")),l(B,R("../common/bucket/putBucketWebsite")),l(B,R("../common/bucket/deleteBucketWebsite")),l(B,R("../common/bucket/getBucketLifecycle")),l(B,R("../common/bucket/putBucketLifecycle")),l(B,R("../common/bucket/deleteBucketLifecycle")),l(B,R("../common/bucket/putBucketVersioning")),l(B,R("../common/bucket/getBucketVersioning")),l(B,R("./managed-upload")),l(B,R("../common/multipart")),l(B,R("../common/parallel")),B.signature=function(z){return this.debug("authorization stringToSign: %s",z,"info"),v.computeSignature(this.options.accessKeySecret,z)},B.authorization=function(z,M,U,P){var H=v.buildCanonicalString(z.toUpperCase(),M,{headers:P,parameters:U});return v.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},B.request=function(z){var M,U,P,H,W,X;return p.default.async(function($){for(;;)switch($.prev=$.next){case 0:return M=C.call(this,z),this.options.useFetch||(M.params.mode="disable-fetch"),U=void 0,P=void 0,H=!!z.stream,$.prev=5,$.next=8,p.default.awrap(this.urllib.request(M.url,M.params));case 8:U=$.sent,this.debug("response %s %s, got %s, headers: %j",z.method,M.url,U.status,U.headers,"info"),$.next=15;break;case 12:$.prev=12,$.t0=$.catch(5),P=$.t0;case 15:if(W=void 0,!(U&&z.successStatuses&&z.successStatuses.indexOf(U.status)===-1)){$.next=28;break}return $.next=19,p.default.awrap(this.requestError(U));case 19:if(W=$.sent,!(W.code==="RequestTimeTooSkewed"&&!H)){$.next=25;break}return this.options.amendTimeSkewed=+new Date(W.serverTime)-new Date,$.next=24,p.default.awrap(this.request(z));case 24:return $.abrupt("return",$.sent);case 25:W.params=z,$.next=32;break;case 28:if(!P){$.next=32;break}return $.next=31,p.default.awrap(this.requestError(P));case 31:W=$.sent;case 32:if(!W){$.next=34;break}throw W;case 34:if(!z.xmlResponse){$.next=39;break}return $.next=37,p.default.awrap(this.parseXML(U.data));case 37:X=$.sent,U.data=X;case 39:return $.abrupt("return",U);case 40:case"end":return $.stop()}},null,this,[[5,12]])},B._getResource=function(z){var M="/";return z.bucket&&(M+=z.bucket+"/"),z.object&&(M+=z.object),M},B._isIP=O,B._escape=function(z){return h.encodeURIComponent(z).replace(/%2F/g,"/")},B._getReqUrl=function(z){var M={};i(this.options.endpoint).to(M);var U=this._isIP(M.hostname),P=this.options.cname;z.bucket&&!P&&!U&&(M.host=z.bucket+"."+M.host);var H="/";z.bucket&&U&&(H+=z.bucket+"/"),z.object&&(H+=this._escape(z.object).replace(/\+/g,"%2B")),M.pathname=H;var W={};if(z.query&&l(W,z.query),z.subres){var X={};o.string(z.subres)?X[z.subres]="":o.array(z.subres)?z.subres.forEach(function(K){X[K]=""}):X=z.subres,l(W,X)}return M.query=W,r.format(M)},B._getUserAgent=function(){var z=f&&f.browser?"js":"nodejs",M="aliyun-sdk-"+z+"/"+b.version,U=u.description;return!U&&f&&(U="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(M+" "+U)},B._checkUserAgent=function(z){var M=z.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return M},B.checkBrowserAndVersion=function(z,M){return E.name===z&&E.version.split(".")[0]===M},B.parseXML=function(z){return new m.default(function(M,U){A.isBuffer(z)&&(z=z.toString()),d.parseString(z,{explicitRoot:!1,explicitArray:!1},function(P,H){P?U(P):M(H)})})},B.requestError=function(z){var M,U,P,H;return p.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(M=null,!(!z.data||!z.data.length)){X.next=5;break}z.status===-1||z.status===-2?(M=new Error(z.message),M.name=z.name,M.status=z.status,M.code=z.name):(z.status===404?(M=new Error("Object not exists"),M.name="NoSuchKeyError",M.status=404,M.code="NoSuchKey"):z.status===412?(M=new Error("Pre condition failed"),M.name="PreconditionFailedError",M.status=412,M.code="PreconditionFailed"):(M=new Error("Unknow error, status: "+z.status),M.name="UnknowError",M.status=z.status),M.requestId=z.headers["x-oss-request-id"],M.host=""),X.next=33;break;case 5:return U=String(z.data),this.debug("request response error data: %s",U,"error"),P=void 0,X.prev=8,X.next=11,p.default.awrap(this.parseXML(U));case 11:if(X.t0=X.sent,X.t0){X.next=14;break}X.t0={};case 14:P=X.t0,X.next=24;break;case 17:return X.prev=17,X.t1=X.catch(8),this.debug(U,"error"),X.t1.message+=`
|
|
|
raw xml: `+U,X.t1.status=z.status,X.t1.requestId=z.headers["x-oss-request-id"],X.abrupt("return",X.t1);case 24:H=P.Message||"unknow request error, status: "+z.status,P.Condition&&(H+=" (condition: "+P.Condition+")"),M=new Error(H),M.name=P.Code?P.Code+"Error":"UnknowError",M.status=z.status,M.code=P.Code,M.requestId=P.RequestId,M.hostId=P.HostId,M.serverTime=P.ServerTime;case 33:return this.debug("generate error %j",M,"error"),X.abrupt("return",M);case 35:case"end":return X.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:R("../../node_modules/is-buffer/index.js")},R("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/core-js/array/from"),x=s(f),m=R("babel-runtime/core-js/promise"),g=s(m),p=R("babel-runtime/regenerator"),c=s(p);function s(v){return v&&v.__esModule?v:{default:v}}var a=R("is-type-of"),n=R("util"),i=R("path"),d=R("mime"),t=R("copy-to"),l=R("../common/utils/isBlob"),r=l.isBlob,o=R("../common/utils/isFile"),u=o.isFile,h=e;h.multipartUpload=function(w,O,T){var S,C,_,I,k,F,B,j,z;return c.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){U.next=6;break}return U.next=5,c.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return U.abrupt("return",U.sent);case 6:return S=100*1024,T.mime||(u(O)?T.mime=d.getType(i.extname(O.name)):r(O)?T.mime=O.type:T.mime=d.getType(i.extname(O))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),U.next=12,c.default.awrap(this._getFileSize(O));case 12:if(C=U.sent,!(C<S)){U.next=25;break}return _=this._createStream(O,0,C),T.contentLength=C,U.next=18,c.default.awrap(this.putStream(w,_,T));case 18:if(I=U.sent,!(T&&T.progress)){U.next=22;break}return U.next=22,c.default.awrap(T.progress(1));case 22:return k={res:I.res,bucket:this.options.bucket,name:w,etag:I.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(k.data=I.data),U.abrupt("return",k);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<S)){U.next=29;break}throw new Error("partSize must not be smaller than "+S);case 29:return U.next=31,c.default.awrap(this.initMultipartUpload(w,T));case 31:if(F=U.sent,B=F.uploadId,j=this._getPartSize(C,T.partSize),z={file:O,name:w,fileSize:C,partSize:j,uploadId:B,doneParts:[]},!(T&&T.progress)){U.next=38;break}return U.next=38,c.default.awrap(T.progress(0,z,F.res));case 38:return U.next=40,c.default.awrap(this._resumeMultipart(z,T));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},h._resumeMultipart=function(w,O){var T,S,C,_,I,k,F,B,j,z,M,U,P,H,W,X,K,$;return c.default.async(function(be){for(;;)switch(be.prev=be.next){case 0:if(T=this,!this.isCancel()){be.next=3;break}throw this._makeCancelEvent();case 3:return S=w.file,C=w.fileSize,_=w.partSize,I=w.uploadId,k=w.doneParts,F=w.name,B=[],k.length>0&&t(k).to(B),j=this._divideParts(C,_),z=j.length,M=!1,U=function(Te,Ie){var Fe=this;return new g.default(function(fe,He){var se,Ce,mt,Ne;return c.default.async(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(ce.prev=0,Te.isCancel()){ce.next=18;break}return se=j[Ie-1],Ce={stream:Te._createStream(S,se.start,se.end),size:se.end-se.start},ce.next=6,c.default.awrap(Te._uploadPart(F,I,Ie,Ce));case 6:if(mt=ce.sent,!(!Te.isCancel()&&!M)){ce.next=15;break}if(w.doneParts.push({number:Ie,etag:mt.res.headers.etag}),!O.progress){ce.next=12;break}return ce.next=12,c.default.awrap(O.progress(k.length/z,w,mt.res));case 12:fe({number:Ie,etag:mt.res.headers.etag}),ce.next=16;break;case 15:fe();case 16:ce.next=19;break;case 18:fe();case 19:ce.next=30;break;case 21:ce.prev=21,ce.t0=ce.catch(0),Ne=new Error,Ne.name=ce.t0.name,Ne.message=ce.t0.message,Ne.stack=ce.t0.stack,Ne.partNum=Ie,t(ce.t0).to(Ne),He(Ne);case 30:case"end":return ce.stop()}},null,Fe,[[0,21]])})},P=(0,x.default)(new Array(z),function(te,Te){return Te+1}),H=B.map(function(te){return te.number}),W=P.filter(function(te){return H.indexOf(te)<0}),X=5,K=O.parallel||X,be.next=17,c.default.awrap(this._parallel(W,K,function(te){return new g.default(function(Te,Ie){U(T,te).then(function(Fe){Fe&&B.push(Fe),Te()}).catch(function(Fe){Ie(Fe)})})}));case 17:if($=be.sent,M=!0,!this.isCancel()){be.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!($&&$.length>0)){be.next=25;break}throw $[0].message="Failed to upload some parts with error: "+$[0].toString()+" part_num: "+$[0].partNum,$[0];case 25:return be.next=27,c.default.awrap(this.completeMultipartUpload(F,I,B,O));case 27:return be.abrupt("return",be.sent);case 28:case"end":return be.stop()}},null,this)},h._getFileSize=function(w){return c.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!a.buffer(w)){T.next=4;break}return T.abrupt("return",w.length);case 4:if(!(r(w)||u(w))){T.next=6;break}return T.abrupt("return",w.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var y=R("stream"),b=y.Readable;function E(v,w){if(!(this instanceof E))return new E(v,w);b.call(this,w),this.file=v,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(E,b),E.prototype.readFileAndPush=function(w){if(this.fileBuffer)for(var O=!0;O&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,S=T+w;S=S>this.fileBuffer.length?this.fileBuffer.length:S,this.start=S,O=this.push(this.fileBuffer.slice(T,S))}},E.prototype._read=function(w){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 O=16*1024;w=w||O;var T=this;this.reader.onload=function(C){T.fileBuffer=A.from(new Uint8Array(C.target.result)),T.file=null,T.readFileAndPush(w)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(w)},h._createStream=function(w,O,T){if(r(w)||u(w))return new E(w.slice(O,T));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(w,O){var T=10*1e3,S=1024*1024;return O?Math.max(Math.ceil(w/T),O):S},h._divideParts=function(w,O){for(var T=Math.ceil(w/O),S=[],C=0;C<T;C++){var _=O*C,I=Math.min(_+O,w);S.push({start:_,end:I})}return S}}).call(this,R("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/promise"),f=a(A),x=R("babel-runtime/core-js/object/keys"),m=a(x),g=R("babel-runtime/core-js/object/assign"),p=a(g),c=R("babel-runtime/regenerator"),s=a(c);function a(T){return T&&T.__esModule?T:{default:T}}var n=R("utility"),i=R("fs"),d=R("is-type-of"),t=R("url"),l=R("copy-to"),r=R("path"),o=R("mime"),u=R("../common/callback"),h=R("../common/signUtils"),y=R("merge-descriptors"),b=R("../common/utils/isBlob"),E=b.isBlob,v=R("../common/utils/isFile"),w=v.isFile,O=e;O.append=function(S,C,_){var I;return s.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return _=_||{},_.position===void 0&&(_.position="0"),_.subres={append:"",position:_.position},_.method="POST",F.next=6,s.default.awrap(this.put(S,C,_));case 6:return I=F.sent,I.nextAppendPosition=I.res.headers["x-oss-next-append-position"],F.abrupt("return",I);case 9:case"end":return F.stop()}},null,this)},O.put=function(S,C,_){var I,k,F,B,j,z,M;return s.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(I=void 0,_=_||{},S=this._objectName(S),!d.buffer(C)){P.next=7;break}I=C,P.next=33;break;case 7:if(!(E(C)||w(C))){P.next=32;break}return _.mime||(w(C)?_.mime=o.getType(r.extname(C.name)):_.mime=C.type),k=this._createStream(C,0,C.size),P.next=12,s.default.awrap(this._getFileSize(C));case 12:return _.contentLength=P.sent,P.prev=13,P.next=16,s.default.awrap(this.putStream(S,k,_));case 16:return F=P.sent,P.abrupt("return",F);case 20:if(P.prev=20,P.t0=P.catch(13),!(P.t0.code==="RequestTimeTooSkewed")){P.next=29;break}return this.options.amendTimeSkewed=+new Date(P.t0.serverTime)-new Date,P.next=26,s.default.awrap(this.put(S,C,_));case 26:return P.abrupt("return",P.sent);case 29:throw P.t0;case 30:P.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return _.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),B=_.method||"PUT",j=this._objectRequestParams(B,S,_),u.encodeCallback(j,_),j.mime=_.mime,j.content=I,j.successStatuses=[200],P.next=43,s.default.awrap(this.request(j));case 43:return z=P.sent,M={name:S,url:this._objectUrl(S),res:z.res},j.headers&&j.headers["x-oss-callback"]&&(M.data=JSON.parse(z.data.toString())),P.abrupt("return",M);case 47:case"end":return P.stop()}},null,this,[[13,20]])},O.putStream=function(S,C,_){var I,k,F,B;return s.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return _=_||{},_.headers=_.headers||{},S=this._objectName(S),_.contentLength?_.headers["Content-Length"]=_.contentLength:_.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(_.meta,_.headers),I=_.method||"PUT",k=this._objectRequestParams(I,S,_),u.encodeCallback(k,_),k.mime=_.mime,k.stream=C,k.successStatuses=[200],z.next=13,s.default.awrap(this.request(k));case 13:return F=z.sent,B={name:S,url:this._objectUrl(S),res:F.res},k.headers&&k.headers["x-oss-callback"]&&(B.data=JSON.parse(F.data.toString())),z.abrupt("return",B);case 17:case"end":return z.stop()}},null,this)},y(O,R("../common/object/copyObject")),y(O,R("../common/object/getObjectTagging")),y(O,R("../common/object/putObjectTagging")),y(O,R("../common/object/deleteObjectTagging")),y(O,R("../common/image")),y(O,R("../common/object/getBucketVersions")),y(O,R("../common/object/getACL")),y(O,R("../common/object/putACL")),y(O,R("../common/object/head")),y(O,R("../common/object/delete")),y(O,R("../common/object/get")),y(O,R("../common/object/putSymlink")),y(O,R("../common/object/getSymlink")),y(O,R("../common/object/deleteMulti")),y(O,R("../common/object/getObjectMeta")),O.putMeta=function(S,C,_){var I;return s.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,s.default.awrap(this.copy(S,S,{meta:C||{},timeout:_&&_.timeout,ctx:_&&_.ctx}));case 2:return I=F.sent,F.abrupt("return",I);case 4:case"end":return F.stop()}},null,this)},O.list=function(S,C){var _,I,k,F,B;return s.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return _=this._objectRequestParams("GET","",C),_.query=S,_.xmlResponse=!0,_.successStatuses=[200],z.next=6,s.default.awrap(this.request(_));case 6:return I=z.sent,k=I.data.Contents,F=this,k&&(Array.isArray(k)||(k=[k]),k=k.map(function(M){return{name:M.Key,url:F._objectUrl(M.Key),lastModified:M.LastModified,etag:M.ETag,type:M.Type,size:Number(M.Size),storageClass:M.StorageClass,owner:{id:M.Owner.ID,displayName:M.Owner.DisplayName}}})),B=I.data.CommonPrefixes||null,B&&(Array.isArray(B)||(B=[B]),B=B.map(function(M){return M.Prefix})),z.abrupt("return",{res:I.res,objects:k,prefixes:B,nextMarker:I.data.NextMarker||null,isTruncated:I.data.IsTruncated==="true"});case 13:case"end":return z.stop()}},null,this)},O.restore=function(S,C){var _,I;return s.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return C=C||{},C.subres=(0,p.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),_=this._objectRequestParams("POST",S,C),_.successStatuses=[202],F.next=7,s.default.awrap(this.request(_));case 7:return I=F.sent,F.abrupt("return",{res:I.res});case 9:case"end":return F.stop()}},null,this)},O.signatureUrl=function(S,C){C=C||{},S=this._objectName(S),C.method=C.method||"GET";var _=n.timestamp()+(C.expires||1800),I={bucket:this.options.bucket,object:S},k=this._getResource(I);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var F=h._signatureForURL(this.options.accessKeySecret,C,k,_),B=t.parse(this._getReqUrl(I));return B.query={OSSAccessKeyId:this.options.accessKeyId,Expires:_,Signature:F.Signature},l(F.subResource).to(B.query),B.format()},O.getObjectUrl=function(S,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(S))},O._objectUrl=function(S){return this._getReqUrl({bucket:this.options.bucket,object:S})},O.generateObjectUrl=function(T,S){if(S)S[S.length-1]!=="/"&&(S+="/");else{S=this.options.endpoint.format();var C=t.parse(S),_=this.options.bucket;C.hostname=_+"."+C.hostname,C.host=_+"."+C.host,S=C.format()}return S+this._escape(this._objectName(T))},O._objectRequestParams=function(S,C,_){if(!this.options.bucket)throw new Error("Please create a bucket first");_=_||{},C=this._objectName(C);var I={object:C,bucket:this.options.bucket,method:S,subres:_&&_.subres,timeout:_&&_.timeout,ctx:_&&_.ctx};return _.headers&&(I.headers={},l(_.headers).to(I.headers)),I},O._objectName=function(S){return S.replace(/^\/+/,"")},O._convertMetaToHeaders=function(S,C){if(!S)return;(0,m.default)(S).forEach(function(_){C["x-oss-meta-"+_]=S[_]})},O._deleteFileSafe=function(S){var C=this;return new f.default(function(_){i.exists(S,function(I){I?i.unlink(S,function(k){k&&C.debug("unlink %j error: %s",S,k,"error"),_()}):_()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(R,N,e){"use strict";e.version="6.10.0"},{}],6:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(c){return c&&c.__esModule?c:{default:c}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=e;p.deleteBucketLifecycle=function(s,a){var n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return g(s),n=this._bucketRequestParams("DELETE",s,"lifecycle",a),n.successStatuses=[204],t.next=5,f.default.awrap(this.request(n));case 5:return i=t.sent,t.abrupt("return",{res:i.res});case 7:case"end":return t.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(c){return c&&c.__esModule?c:{default:c}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=e;p.deleteBucketWebsite=function(s,a){var n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return g(s),n=this._bucketRequestParams("DELETE",s,"website",a),n.successStatuses=[204],t.next=5,f.default.awrap(this.request(n));case 5:return i=t.sent,t.abrupt("return",{res:i.res});case 7:case"end":return t.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("../utils/isArray"),c=p.isArray,s=R("../utils/formatObjKey"),a=s.formatObjKey,n=e;n.getBucketLifecycle=function(d,t){var l,r,o;return f.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return g(d),l=this._bucketRequestParams("GET",d,"lifecycle",t),l.successStatuses=[200],l.xmlResponse=!0,h.next=6,f.default.awrap(this.request(l));case 6:return r=h.sent,o=r.data.Rule||null,o&&(c(o)||(o=[o]),o=o.map(function(y){return y.ID&&(y.id=y.ID,delete y.ID),y.Tag&&!c(y.Tag)&&(y.Tag=[y.Tag]),a(y,"firstLowerCase")})),h.abrupt("return",{rules:o,res:r.res});case 10:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(c){return c&&c.__esModule?c:{default:c}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=e;p.getBucketVersioning=function(s,a){var n,i,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return g(s),n=this._bucketRequestParams("GET",s,"versioning",a),n.xmlResponse=!0,n.successStatuses=[200],l.next=6,f.default.awrap(this.request(n));case 6:return i=l.sent,d=i.data.Status,l.abrupt("return",{status:i.status,versionStatus:d,res:i.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("../utils/isObject"),c=p.isObject,s=e;s.getBucketWebsite=function(n,i){var d,t,l;return f.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return g(n),d=this._bucketRequestParams("GET",n,"website",i),d.successStatuses=[200],d.xmlResponse=!0,o.next=6,f.default.awrap(this.request(d));case 6:return t=o.sent,l=[],t.data.RoutingRules&&t.data.RoutingRules.RoutingRule&&(c(t.data.RoutingRules.RoutingRule)?l=[t.data.RoutingRules.RoutingRule]:l=t.data.RoutingRules.RoutingRule),o.abrupt("return",{index:t.data.IndexDocument&&t.data.IndexDocument.Suffix||"",supportSubDir:t.data.IndexDocument&&t.data.IndexDocument.SupportSubDir||"false",type:t.data.IndexDocument&&t.data.IndexDocument.Type,routingRules:l,error:t.data.ErrorDocument&&t.data.ErrorDocument.Key||null,res:t.res});case 10:case"end":return o.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(w){return w&&w.__esModule?w:{default:w}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("../utils/isArray"),c=p.isArray,s=R("../utils/deepCopy"),a=s.deepCopy,n=R("../utils/isObject"),i=n.isObject,d=R("../utils/obj2xml"),t=d.obj2xml,l=R("../utils/checkObjectTag"),r=l.checkObjectTag,o=R("../utils/getStrBytesCount"),u=o.getStrBytesCount,h=e;h.putBucketLifecycle=function(O,T,S){var C,_,I,k,F;return f.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(g(O),c(T)){j.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",O,"lifecycle",S),_=[],I={LifecycleConfiguration:{Rule:_}},T.forEach(function(z){y(z),v(z),z.id&&(z.ID=z.id,delete z.id),_.push(z)}),k=t(I,{headers:!0,firstUpperCase:!0}),C.content=k,C.mime="xml",C.successStatuses=[200],j.next=13,f.default.awrap(this.request(C));case 13:return F=j.sent,j.abrupt("return",{res:F.res});case 15:case"end":return j.stop()}},null,this)};function y(w){w.days&&(w.expiration={days:w.days}),w.date&&(w.expiration={createdBeforeDate:w.date})}function b(w,O){var T=w.days,S=w.createdBeforeDate;if(!T&&!S)throw new Error(O+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(S&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(S))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function E(w){if(!c(w)&&!i(w))throw new Error("tag must be Object or Array");w=i(w)?[w]:w;var O={},T=a(w);T.forEach(function(S){O[S.key]=S.value}),r(O)}function v(w){if(w.id&&u(w.id)>255)throw new Error("ID is composed of 255 bytes at most");if(w.prefix===""||w.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(w.status))throw new Error("Status must be Enabled or Disabled");if(w.transition){if(!["IA","Archive"].includes(w.transition.storageClass))throw new Error("StorageClass must be IA or Archive");b(w.transition,"Transition")}if(w.expiration){if(!w.expiration.expiredObjectDeleteMarker)b(w.expiration,"Expiration");else if(w.expiration.days||w.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(w.abortMultipartUpload&&b(w.abortMultipartUpload,"AbortMultipartUpload"),!w.expiration&&!w.abortMultipartUpload&&!w.transition&&!w.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(w.tag){if(w.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");E(w.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("../utils/obj2xml"),c=p.obj2xml,s=e;s.putBucketVersioning=function(n,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t,l,r;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(g(n),["Enabled","Suspended"].includes(i)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return t=this._bucketRequestParams("PUT",n,"versioning",d),l={VersioningConfiguration:{Status:i}},t.mime="xml",t.content=c(l,{headers:!0}),u.next=9,f.default.awrap(this.request(t));case 9:return r=u.sent,u.abrupt("return",{res:r.res,status:r.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("../utils/obj2xml"),c=p.obj2xml,s=R("../utils/isArray"),a=s.isArray,n=e;n.putBucketWebsite=function(d){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],r,o,u,h,y;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(g(d),r=this._bucketRequestParams("PUT",d,"website",l),o={Suffix:t.index||"index.html"},u={IndexDocument:o},h={WebsiteConfiguration:u},t.supportSubDir&&(o.SupportSubDir=t.supportSubDir),t.type&&(o.Type=t.type),t.error&&(u.ErrorDocument={Key:t.error}),!(t.routingRules!==void 0)){E.next=12;break}if(a(t.routingRules)){E.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:t.routingRules};case 12:return h=c(h),r.content=h,r.mime="xml",r.successStatuses=[200],E.next=18,f.default.awrap(this.request(r));case 18:return y=E.sent,E.abrupt("return",{res:y.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(R,N,e){(function(A){"use strict";var f=R("babel-runtime/core-js/object/keys"),x=p(f),m=R("babel-runtime/core-js/json/stringify"),g=p(m);function p(c){return c&&c.__esModule?c:{default:c}}e.encodeCallback=function(s,a){if(s.headers=s.headers||{},!Object.prototype.hasOwnProperty.call(s.headers,"x-oss-callback")&&a.callback){var n={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(n.callbackHost=a.callback.host),a.callback.contentType&&(n.callbackBodyType=a.callback.contentType);var i=A.from((0,g.default)(n)).toString("base64");if(s.headers["x-oss-callback"]=i,a.callback.customValue){var d={};(0,x.default)(a.callback.customValue).forEach(function(t){d["x:"+t]=a.callback.customValue[t]}),s.headers["x-oss-callback-var"]=A.from((0,g.default)(d)).toString("base64")}}}}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/assign"),f=x(A);function x(n){return n&&n.__esModule?n:{default:n}}var m=R("humanize-ms"),g=R("url"),p=R("../utils/checkBucketName"),c=p.checkBucketName;function s(n,i){var d=g.parse(n);if(d.protocol||(d=g.parse("http"+(i?"s":"")+"://"+n)),d.protocol!=="http:"&&d.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return d}function a(n,i,d){var t=d?"https://":"http://",l=i?"-internal.aliyuncs.com":".aliyuncs.com",r="vpc100-oss-cn-";return n.substr(0,r.length)===r&&(l=".aliyuncs.com"),g.parse(t+n+l)}N.exports=function(n){if(!n||!n.accessKeyId||!n.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");n.bucket&&c(n.bucket);var i=(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(i.accessKeyId=i.accessKeyId.trim(),i.accessKeySecret=i.accessKeySecret.trim(),i.timeout&&(i.timeout=m(i.timeout)),i.endpoint)i.endpoint=s(i.endpoint,i.secure);else if(i.region)i.endpoint=a(i.region,i.internal,i.secure);else throw new Error("require options.endpoint or options.region");return i.inited=!0,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(R,N,e){"use strict";var A=R("merge-descriptors"),f=e;A(f,R("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,p=R("querystring"),c=R("js-base64"),s=c.Base64.encode,a=e;a.processObjectSave=function(d,t,l,r){var o,u,h,y;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return n(d,"sourceObject"),n(t,"targetObject"),n(l,"process"),t=this._objectName(t),r&&g(r),o=this._objectRequestParams("POST",d,{subres:"x-oss-process"}),u=r?",b_"+s(r):"",t=s(t),h={"x-oss-process":l+"|sys/saveas,o_"+t+u},o.content=p.stringify(h),E.next=12,f.default.awrap(this.request(o));case 12:return y=E.sent,E.abrupt("return",{res:y.res,status:y.res.status});case 14:case"end":return E.stop()}},null,this)};function n(i,d){if(!i)throw new Error(d+" is required");if(typeof i!="string")throw new Error(d+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=x(A);function x(a){return a&&a.__esModule?a:{default:a}}var m=R("copy-to"),g=R("./callback"),p=R("./utils/deepCopy"),c=p.deepCopy,s=e;s.listUploads=function(n,i){var d,t,l,r;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return i=i||{},d={},m(i).to(d),d.subres="uploads",t=this._objectRequestParams("GET","",d),t.query=n,t.xmlResponse=!0,t.successStatuses=[200],u.next=10,f.default.awrap(this.request(t));case 10:return l=u.sent,r=l.data.Upload||[],Array.isArray(r)||(r=[r]),r=r.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),u.abrupt("return",{res:l.res,uploads:r,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},s.listParts=function(n,i,d,t){var l,r,o;return f.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return t=t||{},l={},m(t).to(l),l.subres={uploadId:i},r=this._objectRequestParams("GET",n,l),r.query=d,r.xmlResponse=!0,r.successStatuses=[200],h.next=10,f.default.awrap(this.request(r));case 10:return o=h.sent,h.abrupt("return",{res:o.res,uploadId:o.data.UploadId,bucket:o.data.Bucket,name:o.data.Key,partNumberMarker:o.data.PartNumberMarker,nextPartNumberMarker:o.data.NextPartNumberMarker,maxParts:o.data.MaxParts,isTruncated:o.data.IsTruncated,parts:o.data.Part||[]});case 12:case"end":return h.stop()}},null,this)},s.abortMultipartUpload=function(n,i,d){var t,l,r;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),d=d||{},t={},m(d).to(t),t.subres={uploadId:i},l=this._objectRequestParams("DELETE",n,t),l.successStatuses=[204],u.next=9,f.default.awrap(this.request(l));case 9:return r=u.sent,u.abrupt("return",{res:r.res});case 11:case"end":return u.stop()}},null,this)},s.initMultipartUpload=function(n,i){var d,t,l;return f.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return i=i||{},d={},m(i).to(d),d.headers=d.headers||{},this._convertMetaToHeaders(i.meta,d.headers),d.subres="uploads",t=this._objectRequestParams("POST",n,d),t.mime=i.mime,t.xmlResponse=!0,t.successStatuses=[200],o.next=12,f.default.awrap(this.request(t));case 12:return l=o.sent,o.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return o.stop()}},null,this)},s.uploadPart=function(n,i,d,t,l,r,o){var u;return f.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return u={stream:this._createStream(t,l,r),size:r-l},y.next=3,f.default.awrap(this._uploadPart(n,i,d,u,o));case 3:return y.abrupt("return",y.sent);case 4:case"end":return y.stop()}},null,this)},s.completeMultipartUpload=function(n,i,d,t){var l,r,o,u,h,y,b,E;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:for(l=d.concat().sort(function(O,T){return O.number-T.number}).filter(function(O,T,S){return!T||O.number!==S[T-1].number}),r=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,o=0;o<l.length;o++)u=l[o],r+=`<Part>
|
|
|
`,r+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,r+="<ETag>"+u.etag+`</ETag>
|
|
|
`,r+=`</Part>
|
|
|
`;return r+="</CompleteMultipartUpload>",t=t||{},h={},h=c(t),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:i},y=this._objectRequestParams("POST",n,h),g.encodeCallback(y,h),y.mime="xml",y.content=r,y.headers&&y.headers["x-oss-callback"]||(y.xmlResponse=!0),y.successStatuses=[200],w.next=17,f.default.awrap(this.request(y));case 17:return b=w.sent,E={res:b.res,bucket:y.bucket,name:n,etag:b.res.headers.etag},y.headers&&y.headers["x-oss-callback"]&&(E.data=JSON.parse(b.data.toString())),w.abrupt("return",E);case 21:case"end":return w.stop()}},null,this)},s._uploadPart=function(n,i,d,t,l){var r,o,u;return f.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return l=l||{},r={},m(l).to(r),r.headers={"Content-Length":t.size},r.subres={partNumber:d,uploadId:i},o=this._objectRequestParams("PUT",n,r),o.mime=r.mime,o.stream=t.stream,o.successStatuses=[200],y.next=11,f.default.awrap(this.request(o));case 11:if(u=y.sent,u.res.headers.etag){y.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 t.stream=null,o.stream=null,y.abrupt("return",{name:n,etag:u.res.headers.etag,res:u.res});case 17:case"end":return y.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=c(A),x=R("babel-runtime/core-js/object/keys"),m=c(x),g=R("babel-runtime/helpers/typeof"),p=c(g);function c(i){return i&&i.__esModule?i:{default:i}}var s=R("../utils/checkBucketName"),a=s.checkBucketName,n=e;n.copy=function(d,t,l,r){var o,u,h;return f.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return(typeof l=="undefined"?"undefined":(0,p.default)(l))==="object"&&(r=l),r=r||{},r.headers=r.headers||{},(0,m.default)(r.headers).forEach(function(E){r.headers["x-oss-copy-source-"+E.toLowerCase()]=r.headers[E]}),r.meta&&(r.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(r.meta,r.headers),t=this._getSourceName(t,l),r.versionId&&(t=t+"?versionId="+r.versionId),r.headers["x-oss-copy-source"]=t,o=this._objectRequestParams("PUT",d,r),o.xmlResponse=!0,o.successStatuses=[200,304],b.next=14,f.default.awrap(this.request(o));case 14:return u=b.sent,h=u.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),b.abrupt("return",{data:h,res:u.res});case 18:case"end":return b.stop()}},null,this)},n._getSourceName=function(d,t){return typeof t=="string"?d=this._objectName(d):d[0]!=="/"?t=this.options.bucket:(t=d.replace(/\/(.+?)(\/.*)/,"$1"),d=d.replace(/(\/.+?\/)(.*)/,"$2")),a(t),d=encodeURI(d),d="/"+t+"/"+d,d}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.delete=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return a.subres=(0,m.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),n=this._objectRequestParams("DELETE",s,a),n.successStatuses=[204],t.next=6,f.default.awrap(this.request(n));case 6:return i=t.sent,t.abrupt("return",{res:i.res});case 8:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(n){return n&&n.__esModule?n:{default:n}}var p=R("utility"),c=R("../utils/obj2xml"),s=c.obj2xml,a=e;a.deleteMulti=function(i){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,l,r,o,u,h,y,b,E,v,w,O;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(t=[],!(!i||!i.length)){S.next=3;break}throw new Error("names is required");case 3:for(l=0;l<i.length;l++)r={},typeof i[l]=="string"?r.Key=p.escape(this._objectName(i[l])):(o=i[l],u=o.key,h=o.versionId,r.Key=p.escape(this._objectName(u)),r.VersionId=h),t.push(r);return y={Delete:{Quiet:!!d.quiet,Object:t}},b=s(y,{headers:!0}),d.subres=(0,m.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),E=this._objectRequestParams("POST","",d),E.mime="xml",E.content=b,E.xmlResponse=!0,E.successStatuses=[200],S.next=15,f.default.awrap(this.request(E));case 15:return v=S.sent,w=v.data,O=w&&w.Deleted||null,O&&(Array.isArray(O)||(O=[O])),S.abrupt("return",{res:v.res,deleted:O||[]});case 20:case"end":return S.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.deleteObjectTagging=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return a.subres=(0,m.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectName(s),n=this._objectRequestParams("DELETE",s,a),n.successStatuses=[204],t.next=7,f.default.awrap(this.request(n));case 7:return i=t.sent,t.abrupt("return",{status:i.status,res:i.res});case 9:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(a){return a&&a.__esModule?a:{default:a}}var p=R("fs"),c=R("is-type-of"),s=e;s.get=function(n,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t,l,r,o;return f.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return t=null,l=!1,c.writableStream(i)?t=i:c.string(i)?(t=p.createWriteStream(i),l=!0):d=i,d=d||{},d.subres=(0,m.default)({},d.subres),d.versionId&&(d.subres.versionId=d.versionId),d.process&&(d.subres["x-oss-process"]=d.process),r=void 0,h.prev=8,o=this._objectRequestParams("GET",n,d),o.writeStream=t,o.successStatuses=[200,206,304],h.next=14,f.default.awrap(this.request(o));case 14:r=h.sent,l&&t.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!l){h.next=24;break}return t.destroy(),h.next=24,f.default.awrap(this._deleteFileSafe(i));case 24:throw h.t0;case 25:return h.abrupt("return",{res:r.res,content:r.data});case 26:case"end":return h.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.getACL=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return a.subres=(0,m.default)({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectName(s),n=this._objectRequestParams("GET",s,a),n.successStatuses=[200],n.xmlResponse=!0,t.next=8,f.default.awrap(this.request(n));case 8:return i=t.sent,t.abrupt("return",{acl:i.data.AccessControlList.Grant,owner:{id:i.data.Owner.ID,displayName:i.data.Owner.DisplayName},res:i.res});case 10:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=c(A),x=R("babel-runtime/regenerator"),m=c(x),g=R("babel-runtime/core-js/object/assign"),p=c(g);function c(o){return o&&o.__esModule?o:{default:o}}var s=e,a=R("../utils/isObject"),n=a.isObject,i=R("../utils/isArray"),d=i.isArray;s.getBucketVersions=t,s.listObjectVersions=t;function t(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,y,b,E,v,w;return m.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(o.versionIdMarker&&o.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,p.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),h=this._objectRequestParams("GET","",u),h.xmlResponse=!0,h.successStatuses=[200],h.query=r(o),T.next=10,m.default.awrap(this.request(h));case 10:return y=T.sent,b=y.data.Version||[],E=y.data.DeleteMarker||[],v=this,b&&(Array.isArray(b)||(b=[b]),b=b.map(function(S){return{name:S.Key,url:v._objectUrl(S.Key),lastModified:S.LastModified,isLatest:S.IsLatest==="true",versionId:S.VersionId,etag:S.ETag,type:S.Type,size:Number(S.Size),storageClass:S.StorageClass,owner:{id:S.Owner.ID,displayName:S.Owner.DisplayName}}})),E&&(d(E)||(E=[E]),E=E.map(function(S){return{name:S.Key,lastModified:S.LastModified,versionId:S.VersionId,owner:{id:S.Owner.ID,displayName:S.Owner.DisplayName}}})),w=y.data.CommonPrefixes||null,w&&(d(w)||(w=[w]),w=w.map(function(S){return S.Prefix})),T.abrupt("return",{res:y.res,objects:b,deleteMarker:E,prefixes:w,nextMarker:y.data.NextMarker||null,NextVersionIdMarker:y.data.NextVersionIdMarker||null,isTruncated:y.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function l(o){return o.replace(/([A-Z])/g,"-$1").toLowerCase()}function r(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return n(o)&&(0,f.default)(o).forEach(function(h){u[l(h)]=o[h]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.getObjectMeta=function(s,a){var n,i;return f.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return a=a||{},s=this._objectName(s),a.subres=(0,m.default)({objectMeta:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),n=this._objectRequestParams("HEAD",s,a),n.successStatuses=[200],t.next=8,f.default.awrap(this.request(n));case 8:return i=t.sent,t.abrupt("return",{status:i.status,res:i.res});case 10:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(a){return a&&a.__esModule?a:{default:a}}var p=e,c=R("../utils/isObject"),s=c.isObject;p.getObjectTagging=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,t,l,r,o;return f.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return i.subres=(0,m.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),n=this._objectName(n),d=this._objectRequestParams("GET",n,i),d.successStatuses=[200],h.next=7,f.default.awrap(this.request(d));case 7:return t=h.sent,h.next=10,f.default.awrap(this.parseXML(t.data));case 10:return l=h.sent,r=l.TagSet.Tag,r=r&&s(r)?[r]:r||[],o={},r.forEach(function(y){o[y.Key]=y.Value}),h.abrupt("return",{status:t.status,res:t.res,tag:o});case 16:case"end":return h.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.getSymlink=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return a.subres=(0,m.default)({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectName(s),n=this._objectRequestParams("GET",s,a),n.successStatuses=[200],l.next=7,f.default.awrap(this.request(n));case 7:return i=l.sent,d=i.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(d),res:i.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=c(A),x=R("babel-runtime/core-js/object/keys"),m=c(x),g=R("babel-runtime/core-js/object/assign"),p=c(g);function c(a){return a&&a.__esModule?a:{default:a}}var s=e;s.head=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,t,l;return f.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return i.subres=(0,p.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),d=this._objectRequestParams("HEAD",n,i),d.successStatuses=[200,304],o.next=6,f.default.awrap(this.request(d));case 6:return t=o.sent,l={meta:null,res:t.res,status:t.status},t.status===200&&(0,m.default)(t.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=t.headers[u])}),o.abrupt("return",l);case 10:case"end":return o.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.putACL=function(s,a,n){var i,d;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"]=a,s=this._objectName(s),i=this._objectRequestParams("PUT",s,n),i.successStatuses=[200],l.next=10,f.default.awrap(this.request(i));case 10:return d=l.sent,l.abrupt("return",{res:d.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=c(A),x=R("babel-runtime/core-js/object/keys"),m=c(x),g=R("babel-runtime/core-js/object/assign"),p=c(g);function c(t){return t&&t.__esModule?t:{default:t}}var s=R("../utils/obj2xml"),a=s.obj2xml,n=R("../utils/checkObjectTag"),i=n.checkObjectTag,d=e;d.putObjectTagging=function(l,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,h,y;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return i(r),o.subres=(0,p.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),l=this._objectName(l),u=this._objectRequestParams("PUT",l,o),u.successStatuses=[200],r=(0,m.default)(r).map(function(v){return{Key:v,Value:r[v]}}),h={Tagging:{TagSet:{Tag:r}}},u.mime="xml",u.content=a(h),E.next=12,f.default.awrap(this.request(u));case 12:return y=E.sent,E.abrupt("return",{res:y.res,status:y.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(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/object/assign"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p.putSymlink=function(s,a,n){var i,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=n||{},n.headers=n.headers||{},a=this._escape(this._objectName(a)),this._convertMetaToHeaders(n.meta,n.headers),n.headers["x-oss-symlink-target"]=a,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),s=this._objectName(s),i=this._objectRequestParams("PUT",s,n),i.successStatuses=[200],l.next=13,f.default.awrap(this.request(i));case 13:return d=l.sent,l.abrupt("return",{res:d.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(R,N,e){"use strict";var A=R("babel-runtime/regenerator"),f=g(A),x=R("babel-runtime/core-js/promise"),m=g(x);function g(c){return c&&c.__esModule?c:{default:c}}var p=e;p._parallelNode=function(s,a,n,i){var d,t,l,r,o,u,h,y;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:d=this,t=[],l=[],r=s.length/a,o=s.length%a,u=o===0?r:(s.length-o)/a+1,h=1,y=0;case 8:if(!(y<s.length)){E.next=26;break}if(!d.isCancel()){E.next=11;break}return E.abrupt("break",26);case 11:if(i?l.push(n(d,s[y],i)):l.push(n(d,s[y])),!(l.length===a||h===u&&y===s.length-1)){E.next=23;break}return E.prev=13,h+=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),t.push(E.t0);case 22:l=[];case 23:y++,E.next=8;break;case 26:return E.abrupt("return",t);case 27:case"end":return E.stop()}},null,this,[[13,19]])},p._parallel=function(s,a,n){var i=this;return new m.default(function(d){var t=[];if(a<=0||!s){d(t);return}function l(w){return function(){if(w===null)throw new Error("Callback was already called.");var O=w;w=null;for(var T=arguments.length,S=Array(T),C=0;C<T;C++)S[C]=arguments[C];O.apply(this,S)}}function r(w){var O=-1,T=w.length;return function(){return++O<T&&!i.isCancel()?{value:w[O],key:O}:null}}var o=r(s),u=!1,h=0,y=!1;function b(w,O){h-=1,w?(u=!0,t.push(w),d(t)):O==={}||u&&h<=0?(u=!0,d(t)):y||(i.isCancel()?d(t):v())}function E(w,O){n(w).then(function(T){O(null,T)}).catch(function(T){O(T)})}function v(){for(y=!0;h<a&&!u&&!i.isCancel();){var w=o();if(w===null||t.length>0){u=!0,h<=0&&d(t);return}h+=1,E(w.value,l(b))}y=!1}v()})},p.cancel=function(s){this.options.cancelFlag=!0,s&&this.abortMultipartUpload(s.name,s.uploadId,s.options)},p.isCancel=function(){return this.options.cancelFlag},p.resetCancelFlag=function(){this.options.cancelFlag=!1},p._stop=function(){this.options.cancelFlag=!0},p._makeCancelEvent=function(){var s={status:0,name:"cancel"};return s}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/core-js/json/stringify"),x=p(f),m=R("babel-runtime/core-js/object/keys"),g=p(m);function p(a){return a&&a.__esModule?a:{default:a}}var c=R("./../../shims/crypto/crypto.js"),s=R("is-type-of");e.buildCanonicalizedResource=function(n,i){var d=""+n,t="?";if(s.string(i)&&i.trim()!=="")d+=t+i;else if(s.array(i))i.sort(),d+=t+i.join("&");else if(i){var l=function(u,h){return u[0]>h[0]?1:u[0]<h[0]?-1:0},r=function(u){d+=t+u,i[u]&&(d+="="+i[u]),t="&"};(0,g.default)(i).sort(l).forEach(r)}return d},e.buildCanonicalString=function(n,i,d,t){d=d||{};var l=d.headers||{},r="x-oss-",o=[],u={},h=[n.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],t||l["x-oss-date"]];return(0,g.default)(l).forEach(function(y){var b=y.toLowerCase();b.indexOf(r)===0&&(u[b]=String(l[y]).trim())}),(0,g.default)(u).sort().forEach(function(y){o.push(y+":"+u[y])}),h=h.concat(o),h.push(this.buildCanonicalizedResource(i,d.parameters)),h.join(`
|
|
|
`)},e.computeSignature=function(n,i){var d=c.createHmac("sha1",n);return d.update(A.from(i,"utf8")).digest("base64")},e.authorization=function(n,i,d){return"OSS "+n+":"+this.computeSignature(i,d)},e._signatureForURL=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments[2],t=arguments[3],l={},r=i.subResource,o=r===void 0?{}:r;if(i.process){var u="x-oss-process";o[u]=i.process}if(i.trafficLimit){var h="x-oss-traffic-limit";o[h]=i.trafficLimit}if(i.response&&(0,g.default)(i.response).forEach(function(v){var w="response-"+v.toLowerCase();o[w]=i.response[v]}),(0,g.default)(i).forEach(function(v){var w=v.toLowerCase(),O=i[v];w.indexOf("x-oss-")===0?l[w]=O:(w.indexOf("content-md5")===0||w.indexOf("content-type")===0)&&(l[v]=O)}),Object.prototype.hasOwnProperty.call(i,"security-token")&&(o["security-token"]=i["security-token"]),Object.prototype.hasOwnProperty.call(i,"callback")){var y={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};if(i.callback.host&&(y.callbackHost=i.callback.host),i.callback.contentType&&(y.callbackBodyType=i.callback.contentType),o.callback=A.from((0,x.default)(y)).toString("base64"),i.callback.customValue){var b={};(0,g.default)(i.callback.customValue).forEach(function(v){b["x:"+v]=i.callback.customValue[v]}),o["callback-var"]=A.from((0,x.default)(b)).toString("base64")}}var E=this.buildCanonicalString(i.method,d,{headers:l,parameters:o},t.toString());return{Signature:this.computeSignature(n,E),subResource:o}}}).call(this,R("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(A,f){var x=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!x.test(A))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/entries"),f=x(A);function x(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=R("./checkValid"),g=m.checkValid,p=R("./isObject"),c=p.isObject,s=[{validator:function(d){if(typeof d!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],a={key:[].concat(s,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(s,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function n(i){if(!c(i))throw new Error("tag must be Object");var d=(0,f.default)(i);if(d.length>10)throw new Error("maximum of 10 tags for a object");var t=["key","value"];d.forEach(function(l){l.forEach(function(r,o){g(r,a[t[o]])})})}e.checkObjectTag=n},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function A(f,x){x.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}e.checkValid=A},{}],38:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/core-js/object/assign"),x=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var g=R("./../../../shims/crypto/crypto.js"),p=R("debug")("ali-oss"),c=R("mime"),s=R("dateformat"),a=R("copy-to"),n=R("path");function i(l,r){return l[r]||l[r.toLowerCase()]}function d(l,r){delete l[r],delete l[r.toLowerCase()]}function t(l){var r=new Date;this.options.amendTimeSkewed&&(r=+new Date+this.options.amendTimeSkewed);var o={"x-oss-date":s(r,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(o["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,x.default)(o,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(o["x-oss-security-token"]=this.options.stsToken),a(l.headers).to(o),i(o,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?o["Content-Type"]=l.mime:o["Content-Type"]=c.getType(l.mime||n.extname(l.object||""))),i(o,"Content-Type")||d(o,"Content-Type"),l.content&&(o["Content-Md5"]=g.createHash("md5").update(A.from(l.content,"utf8")).digest("base64"),o["Content-Length"]||(o["Content-Length"]=l.content.length));var u=this._getResource(l);o.authorization=this.authorization(l.method,u,l.subres,o);var h=this._getReqUrl(l);p("request %s %s, with headers %j, !!stream: %s",l.method,h,o,!!l.stream);var y=l.timeout||this.options.timeout,b={method:l.method,content:l.content,stream:l.stream,headers:o,timeout:y,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(b.agent=this.agent),this.httpsAgent&&(b.httpsAgent=this.httpsAgent),{url:h,params:b}}e.createRequest=t}).call(this,R("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=g(A),x=R("babel-runtime/helpers/typeof"),m=g(x);function g(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepCopy=void 0,e.deepCopy=function(p){if(p===null||(typeof p=="undefined"?"undefined":(0,m.default)(p))!=="object")return p;var c=Array.isArray(p)?[]:{};return(0,f.default)(p).forEach(function(s){c[s]=e.deepCopy(p[s])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=g(A),x=R("babel-runtime/helpers/typeof"),m=g(x);function g(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function p(s,a){if(s===null||(typeof s=="undefined"?"undefined":(0,m.default)(s))!=="object")return s;var n=void 0;if(Array.isArray(s)){n=[];for(var i=0;i<s.length;i++)n.push(p(s[i],a))}else n={},(0,f.default)(s).forEach(function(d){n[c(d,a)]=p(s[d],a)});return n}e.formatObjKey=p;function c(s,a){return a==="firstUpperCase"?s=s.replace(/^./,function(n){return n.toUpperCase()}):a==="firstLowerCase"&&(s=s.replace(/^./,function(n){return n.toLowerCase()})),s}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function A(f){for(var x=0,m=0;m<f.length;m++){var g=f.charAt(m);/^[\u00-\uff]$/.test(g)?x+=1:x+=2}return x}e.getStrBytesCount=A},{}],42:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],43:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBlob=void 0;function A(f){return typeof Blob!="undefined"&&f instanceof Blob}e.isBlob=A},{}],44:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFile=void 0,e.isFile=function(A){return typeof File!="undefined"&&A instanceof File}},{}],45:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIP=void 0,e.isIP=function(A){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}$/,x=/^\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(A)||x.test(A)}},{}],46:[function(R,N,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(A){return Object.prototype.toString.call(A)==="[object Object]"}},{}],47:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=x(A);function x(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=R("./formatObjKey");function g(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function p(c,s){var a="";return s&&s.headers&&(a=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),s&&s.firstUpperCase&&(c=m.formatObjKey(c,"firstUpperCase")),g(c)==="object"?(0,f.default)(c).forEach(function(n){g(c[n])==="string"||g(c[n])==="number"?a+="<"+n+">"+c[n]+"</"+n+">":g(c[n])==="object"?a+="<"+n+">"+p(c[n])+"</"+n+">":g(c[n])==="array"?a+=c[n].map(function(i){return"<"+n+">"+p(i)+"</"+n+">"}).join(""):a+="<"+n+">"+c[n].toString()+"</"+n+">"}):a+=c.toString(),a}e.obj2xml=p},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(R,N,e){N.exports=A,N.exports.HttpsAgent=A;function A(){}},{}],49:[function(R,N,e){N.exports=R("./register")().Promise},{"./register":51}],50:[function(R,N,e){"use strict";var A="@@any-promise/REGISTRATION",f=null;N.exports=function(x,m){return function(p,c){p=p||null,c=c||{};var s=c.global!==!1;if(f===null&&s&&(f=x[A]||null),f!==null&&p!==null&&f.implementation!==p)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&&(p!==null&&typeof c.Promise!="undefined"?f={Promise:c.Promise,implementation:p}:f=m(p),s&&(x[A]=f)),f}}},{}],51:[function(R,N,e){"use strict";N.exports=R("./loader")(window,A);function A(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(R,N,e){N.exports={default:R("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(R,N,e){N.exports={default:R("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(R,N,e){N.exports={default:R("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(R,N,e){N.exports={default:R("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(R,N,e){N.exports={default:R("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(R,N,e){N.exports={default:R("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(R,N,e){N.exports={default:R("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(R,N,e){N.exports={default:R("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(R,N,e){N.exports={default:R("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(R,N,e){"use strict";e.__esModule=!0;var A=R("../core-js/symbol/iterator"),f=p(A),x=R("../core-js/symbol"),m=p(x),g=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 p(c){return c&&c.__esModule?c:{default:c}}e.default=typeof m.default=="function"&&g(f.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":g(c)}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c=="undefined"?"undefined":g(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(R,N,e){N.exports=R("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(R,N,e){"use strict";e.byteLength=s,e.toByteArray=n,e.fromByteArray=t;for(var A=[],f=[],x=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,p=m.length;g<p;++g)A[g]=m[g],f[m.charCodeAt(g)]=g;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(l){var r=l.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=l.indexOf("=");o===-1&&(o=r);var u=o===r?0:4-o%4;return[o,u]}function s(l){var r=c(l),o=r[0],u=r[1];return(o+u)*3/4-u}function a(l,r,o){return(r+o)*3/4-o}function n(l){var r,o=c(l),u=o[0],h=o[1],y=new x(a(l,u,h)),b=0,E=h>0?u-4:u,v;for(v=0;v<E;v+=4)r=f[l.charCodeAt(v)]<<18|f[l.charCodeAt(v+1)]<<12|f[l.charCodeAt(v+2)]<<6|f[l.charCodeAt(v+3)],y[b++]=r>>16&255,y[b++]=r>>8&255,y[b++]=r&255;return h===2&&(r=f[l.charCodeAt(v)]<<2|f[l.charCodeAt(v+1)]>>4,y[b++]=r&255),h===1&&(r=f[l.charCodeAt(v)]<<10|f[l.charCodeAt(v+1)]<<4|f[l.charCodeAt(v+2)]>>2,y[b++]=r>>8&255,y[b++]=r&255),y}function i(l){return A[l>>18&63]+A[l>>12&63]+A[l>>6&63]+A[l&63]}function d(l,r,o){for(var u,h=[],y=r;y<o;y+=3)u=(l[y]<<16&16711680)+(l[y+1]<<8&65280)+(l[y+2]&255),h.push(i(u));return h.join("")}function t(l){for(var r,o=l.length,u=o%3,h=[],y=16383,b=0,E=o-u;b<E;b+=y)h.push(d(l,b,b+y>E?E:b+y));return u===1?(r=l[o-1],h.push(A[r>>2]+A[r<<4&63]+"==")):u===2&&(r=(l[o-2]<<8)+l[o-1],h.push(A[r>>10]+A[r>>4&63]+A[r<<2&63]+"=")),h.join("")}},{}],70:[function(R,N,e){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(A,f,x){typeof N!="undefined"&&N.exports?N.exports=x():typeof define=="function"&&define.amd?define(f,x):A[f]=x()}(this,"bowser",function(){var A=!0;function f(a){function n(U){var P=a.match(U);return P&&P.length>1&&P[1]||""}function i(U){var P=a.match(U);return P&&P.length>1&&P[2]||""}var d=n(/(ipod|iphone|ipad)/i).toLowerCase(),t=/like android/i.test(a),l=!t&&/android/i.test(a),r=/nexus\s*[0-6]\s*/i.test(a),o=!r&&/nexus\s*[0-9]+/i.test(a),u=/CrOS/.test(a),h=/silk/i.test(a),y=/sailfish/i.test(a),b=/tizen/i.test(a),E=/(web|hpw)(o|0)s/i.test(a),v=/windows phone/i.test(a),w=/SamsungBrowser/i.test(a),O=!v&&/windows/i.test(a),T=!d&&!h&&/macintosh/i.test(a),S=!l&&!y&&!b&&!E&&/linux/i.test(a),C=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=n(/version\/(\d+(\.\d+)?)/i),I=/tablet/i.test(a)&&!/tablet pc/i.test(a),k=!I&&/[^-]mobi/i.test(a),F=/xbox/i.test(a),B;/opera/i.test(a)?B={name:"Opera",opera:A,version:_||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?B={name:"Opera",opera:A,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(a)?B={name:"Samsung Internet for Android",samsungBrowser:A,version:_||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(a)?B={name:"NAVER Whale browser",whale:A,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(a)?B={name:"MZ Browser",mzbrowser:A,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(a)?B={name:"Opera Coast",coast:A,version:_||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(a)?B={name:"Focus",focus:A,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(a)?B={name:"Yandex Browser",yandexbrowser:A,version:_||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?B={name:"UC Browser",ucbrowser:A,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?B={name:"Maxthon",maxthon:A,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?B={name:"Epiphany",epiphany:A,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?B={name:"Puffin",puffin:A,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?B={name:"Sleipnir",sleipnir:A,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?B={name:"K-Meleon",kMeleon:A,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:v?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:A},C?(B.msedge=A,B.version=C):(B.msie=A,B.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?B={name:"Internet Explorer",msie:A,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?B={name:"Chrome",osname:"Chrome OS",chromeos:A,chromeBook:A,chrome:A,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?B={name:"Microsoft Edge",msedge:A,version:C}:/vivaldi/i.test(a)?B={name:"Vivaldi",vivaldi:A,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||_}:y?B={name:"Sailfish",osname:"Sailfish OS",sailfish:A,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?B={name:"SeaMonkey",seamonkey:A,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(B={name:"Firefox",firefox:A,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(B.firefoxos=A,B.osname="Firefox OS")):h?B={name:"Amazon Silk",silk:A,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?B={name:"PhantomJS",phantom:A,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?B={name:"SlimerJS",slimer:A,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:A,version:_||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:E?(B={name:"WebOS",osname:"WebOS",webos:A,version:_||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(B.touchpad=A)):/bada/i.test(a)?B={name:"Bada",osname:"Bada",bada:A,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:b?B={name:"Tizen",osname:"Tizen",tizen:A,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(a)?B={name:"QupZilla",qupzilla:A,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(a)?B={name:"Chromium",chromium:A,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(a)?B={name:"Chrome",chrome:A,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?B={name:"Android",version:_}:/safari|applewebkit/i.test(a)?(B={name:"Safari",safari:A},_&&(B.version=_)):d?(B={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},_&&(B.version=_)):/googlebot/i.test(a)?B={name:"Googlebot",googlebot:A,version:n(/googlebot\/(\d+(\.\d+))/i)||_}:B={name:n(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(B.name=B.name||"Blink",B.blink=A):(B.name=B.name||"Webkit",B.webkit=A),!B.version&&_&&(B.version=_)):!B.opera&&/gecko\//i.test(a)&&(B.name=B.name||"Gecko",B.gecko=A,B.version=B.version||n(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(l||B.silk)?(B.android=A,B.osname="Android"):!B.windowsphone&&d?(B[d]=A,B.ios=A,B.osname="iOS"):T?(B.mac=A,B.osname="macOS"):F?(B.xbox=A,B.osname="Xbox"):O?(B.windows=A,B.osname="Windows"):S&&(B.linux=A,B.osname="Linux");function j(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 z="";B.windows?z=j(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?z=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(z=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),z=z.replace(/[_\s]/g,".")):d?(z=n(/os (\d+([_\s]\d+)*) like mac os x/i),z=z.replace(/[_\s]/g,".")):l?z=n(/android[ \/-](\d+(\.\d+)*)/i):B.webos?z=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?z=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?z=n(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(z=n(/tizen[\/\s](\d+(\.\d+)*)/i)),z&&(B.osversion=z);var M=!B.windows&&z.split(".")[0];return I||o||d=="ipad"||l&&(M==3||M>=4&&!k)||B.silk?B.tablet=A:(k||d=="iphone"||d=="ipod"||l||r||B.blackberry||B.webos||B.bada)&&(B.mobile=A),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&&p([B.version,"1.0"])===1||B.mzbrowser&&p([B.version,"6.0"])===1||B.focus&&p([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=A: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=A:B.x=A,B}var x=f(typeof navigator!="undefined"&&navigator.userAgent||"");x.test=function(a){for(var n=0;n<a.length;++n){var i=a[n];if(typeof i=="string"&&i in x)return!0}return!1};function m(a){return a.split(".").length}function g(a,n){var i=[],d;if(Array.prototype.map)return Array.prototype.map.call(a,n);for(d=0;d<a.length;d++)i.push(n(a[d]));return i}function p(a){for(var n=Math.max(m(a[0]),m(a[1])),i=g(a,function(d){var t=n-m(d);return d=d+new Array(t+1).join(".0"),g(d.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--n>=0;){if(i[0][n]>i[1][n])return 1;if(i[0][n]===i[1][n]){if(n===0)return 0}else return-1}}function c(a,n,i){var d=x;typeof n=="string"&&(i=n,n=void 0),n===void 0&&(n=!1),i&&(d=f(i));var t=""+d.version;for(var l in a)if(a.hasOwnProperty(l)&&d[l]){if(typeof a[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(a));return p([t,a[l]])<0}return n}function s(a,n,i){return!c(a,n,i)}return x.isUnsupportedBrowser=c,x.compareVersions=p,x.check=s,x._detect=f,x.detect=f,x})},{}],71:[function(R,N,e){},{}],72:[function(R,N,e){var A=R("buffer").Buffer,f=A.isEncoding||function(s){switch(s&&s.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 x(s){if(s&&!f(s))throw new Error("Unknown encoding: "+s)}var m=e.StringDecoder=function(s){this.encoding=(s||"utf8").toLowerCase().replace(/[-_]/,""),x(s);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=p;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:this.write=g;return}this.charBuffer=new A(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(s){for(var a="";this.charLength;){var n=s.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:s.length;if(s.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";s=s.slice(n,s.length),a=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=a.charCodeAt(a.length-1);if(d>=55296&&d<=56319){this.charLength+=this.surrogateSize,a="";continue}if(this.charReceived=this.charLength=0,s.length===0)return a;break}this.detectIncompleteChar(s);var i=s.length;this.charLength&&(s.copy(this.charBuffer,0,s.length-this.charReceived,i),i-=this.charReceived),a+=s.toString(this.encoding,0,i);var i=a.length-1,d=a.charCodeAt(i);if(d>=55296&&d<=56319){var t=this.surrogateSize;return this.charLength+=t,this.charReceived+=t,this.charBuffer.copy(this.charBuffer,t,0,t),s.copy(this.charBuffer,0,0,t),a.substring(0,i)}return a},m.prototype.detectIncompleteChar=function(s){for(var a=s.length>=3?3:s.length;a>0;a--){var n=s[s.length-a];if(a==1&&n>>5==6){this.charLength=2;break}if(a<=2&&n>>4==14){this.charLength=3;break}if(a<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=a},m.prototype.end=function(s){var a="";if(s&&s.length&&(a=this.write(s)),this.charReceived){var n=this.charReceived,i=this.charBuffer,d=this.encoding;a+=i.slice(0,n).toString(d)}return a};function g(s){return s.toString(this.encoding)}function p(s){this.charReceived=s.length%2,this.charLength=this.charReceived?2:0}function c(s){this.charReceived=s.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(R,N,e){(function(A,f){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var x=R("base64-js"),m=R("ieee754"),g=R("isarray");e.Buffer=f,e.SlowBuffer=h,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=A.TYPED_ARRAY_SUPPORT!==void 0?A.TYPED_ARRAY_SUPPORT:p(),e.kMaxLength=c();function p(){try{var Ne=new Uint8Array(1);return Ne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ne.foo()===42&&typeof Ne.subarray=="function"&&Ne.subarray(1,1).byteLength===0}catch(ae){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(Ne,ae){if(c()<ae)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(Ne=new Uint8Array(ae),Ne.__proto__=f.prototype):(Ne===null&&(Ne=new f(ae)),Ne.length=ae),Ne}function f(Ne,ae,ce){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(Ne,ae,ce);if(typeof Ne=="number"){if(typeof ae=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,Ne)}return a(this,Ne,ae,ce)}f.poolSize=8192,f._augment=function(Ne){return Ne.__proto__=f.prototype,Ne};function a(Ne,ae,ce,le){if(typeof ae=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&ae instanceof ArrayBuffer?r(Ne,ae,ce,le):typeof ae=="string"?t(Ne,ae,ce):o(Ne,ae)}f.from=function(Ne,ae,ce){return a(null,Ne,ae,ce)},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(Ne){if(typeof Ne!="number")throw new TypeError('"size" argument must be a number');if(Ne<0)throw new RangeError('"size" argument must not be negative')}function i(Ne,ae,ce,le){return n(ae),ae<=0?s(Ne,ae):ce!==void 0?typeof le=="string"?s(Ne,ae).fill(ce,le):s(Ne,ae).fill(ce):s(Ne,ae)}f.alloc=function(Ne,ae,ce){return i(null,Ne,ae,ce)};function d(Ne,ae){if(n(ae),Ne=s(Ne,ae<0?0:u(ae)|0),!f.TYPED_ARRAY_SUPPORT)for(var ce=0;ce<ae;++ce)Ne[ce]=0;return Ne}f.allocUnsafe=function(Ne){return d(null,Ne)},f.allocUnsafeSlow=function(Ne){return d(null,Ne)};function t(Ne,ae,ce){if((typeof ce!="string"||ce==="")&&(ce="utf8"),!f.isEncoding(ce))throw new TypeError('"encoding" must be a valid string encoding');var le=y(ae,ce)|0;Ne=s(Ne,le);var je=Ne.write(ae,ce);return je!==le&&(Ne=Ne.slice(0,je)),Ne}function l(Ne,ae){var ce=ae.length<0?0:u(ae.length)|0;Ne=s(Ne,ce);for(var le=0;le<ce;le+=1)Ne[le]=ae[le]&255;return Ne}function r(Ne,ae,ce,le){if(ae.byteLength,ce<0||ae.byteLength<ce)throw new RangeError("'offset' is out of bounds");if(ae.byteLength<ce+(le||0))throw new RangeError("'length' is out of bounds");return ce===void 0&&le===void 0?ae=new Uint8Array(ae):le===void 0?ae=new Uint8Array(ae,ce):ae=new Uint8Array(ae,ce,le),f.TYPED_ARRAY_SUPPORT?(Ne=ae,Ne.__proto__=f.prototype):Ne=l(Ne,ae),Ne}function o(Ne,ae){if(f.isBuffer(ae)){var ce=u(ae.length)|0;return Ne=s(Ne,ce),Ne.length===0||ae.copy(Ne,0,0,ce),Ne}if(ae){if(typeof ArrayBuffer!="undefined"&&ae.buffer instanceof ArrayBuffer||"length"in ae)return typeof ae.length!="number"||mt(ae.length)?s(Ne,0):l(Ne,ae);if(ae.type==="Buffer"&&g(ae.data))return l(Ne,ae.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(Ne){if(Ne>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return Ne|0}function h(Ne){return+Ne!=Ne&&(Ne=0),f.alloc(+Ne)}f.isBuffer=function(ae){return!!(ae!=null&&ae._isBuffer)},f.compare=function(ae,ce){if(!f.isBuffer(ae)||!f.isBuffer(ce))throw new TypeError("Arguments must be Buffers");if(ae===ce)return 0;for(var le=ae.length,je=ce.length,Re=0,Ze=Math.min(le,je);Re<Ze;++Re)if(ae[Re]!==ce[Re]){le=ae[Re],je=ce[Re];break}return le<je?-1:je<le?1:0},f.isEncoding=function(ae){switch(String(ae).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(ae,ce){if(!g(ae))throw new TypeError('"list" argument must be an Array of Buffers');if(ae.length===0)return f.alloc(0);var le;if(ce===void 0)for(ce=0,le=0;le<ae.length;++le)ce+=ae[le].length;var je=f.allocUnsafe(ce),Re=0;for(le=0;le<ae.length;++le){var Ze=ae[le];if(!f.isBuffer(Ze))throw new TypeError('"list" argument must be an Array of Buffers');Ze.copy(je,Re),Re+=Ze.length}return je};function y(Ne,ae){if(f.isBuffer(Ne))return Ne.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Ne)||Ne instanceof ArrayBuffer))return Ne.byteLength;typeof Ne!="string"&&(Ne=""+Ne);var ce=Ne.length;if(ce===0)return 0;for(var le=!1;;)switch(ae){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":case void 0:return Qe(Ne).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return se(Ne).length;default:if(le)return Qe(Ne).length;ae=(""+ae).toLowerCase(),le=!0}}f.byteLength=y;function b(Ne,ae,ce){var le=!1;if((ae===void 0||ae<0)&&(ae=0),ae>this.length)return"";if((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)return"";if(ce>>>=0,ae>>>=0,ce<=ae)return"";for(Ne||(Ne="utf8");;)switch(Ne){case"hex":return U(this,ae,ce);case"utf8":case"utf-8":return F(this,ae,ce);case"ascii":return z(this,ae,ce);case"latin1":case"binary":return M(this,ae,ce);case"base64":return k(this,ae,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,ae,ce);default:if(le)throw new TypeError("Unknown encoding: "+Ne);Ne=(Ne+"").toLowerCase(),le=!0}}f.prototype._isBuffer=!0;function E(Ne,ae,ce){var le=Ne[ae];Ne[ae]=Ne[ce],Ne[ce]=le}f.prototype.swap16=function(){var ae=this.length;if(ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;ce<ae;ce+=2)E(this,ce,ce+1);return this},f.prototype.swap32=function(){var ae=this.length;if(ae%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ce=0;ce<ae;ce+=4)E(this,ce,ce+3),E(this,ce+1,ce+2);return this},f.prototype.swap64=function(){var ae=this.length;if(ae%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ce=0;ce<ae;ce+=8)E(this,ce,ce+7),E(this,ce+1,ce+6),E(this,ce+2,ce+5),E(this,ce+3,ce+4);return this},f.prototype.toString=function(){var ae=this.length|0;return ae===0?"":arguments.length===0?F(this,0,ae):b.apply(this,arguments)},f.prototype.equals=function(ae){if(!f.isBuffer(ae))throw new TypeError("Argument must be a Buffer");return this===ae?!0:f.compare(this,ae)===0},f.prototype.inspect=function(){var ae="",ce=e.INSPECT_MAX_BYTES;return this.length>0&&(ae=this.toString("hex",0,ce).match(/.{2}/g).join(" "),this.length>ce&&(ae+=" ... ")),"<Buffer "+ae+">"},f.prototype.compare=function(ae,ce,le,je,Re){if(!f.isBuffer(ae))throw new TypeError("Argument must be a Buffer");if(ce===void 0&&(ce=0),le===void 0&&(le=ae?ae.length:0),je===void 0&&(je=0),Re===void 0&&(Re=this.length),ce<0||le>ae.length||je<0||Re>this.length)throw new RangeError("out of range index");if(je>=Re&&ce>=le)return 0;if(je>=Re)return-1;if(ce>=le)return 1;if(ce>>>=0,le>>>=0,je>>>=0,Re>>>=0,this===ae)return 0;for(var Ze=Re-je,De=le-ce,ne=Math.min(Ze,De),he=this.slice(je,Re),pe=ae.slice(ce,le),Xe=0;Xe<ne;++Xe)if(he[Xe]!==pe[Xe]){Ze=he[Xe],De=pe[Xe];break}return Ze<De?-1:De<Ze?1:0};function v(Ne,ae,ce,le,je){if(Ne.length===0)return-1;if(typeof ce=="string"?(le=ce,ce=0):ce>2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,isNaN(ce)&&(ce=je?0:Ne.length-1),ce<0&&(ce=Ne.length+ce),ce>=Ne.length){if(je)return-1;ce=Ne.length-1}else if(ce<0)if(je)ce=0;else return-1;if(typeof ae=="string"&&(ae=f.from(ae,le)),f.isBuffer(ae))return ae.length===0?-1:w(Ne,ae,ce,le,je);if(typeof ae=="number")return ae=ae&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?je?Uint8Array.prototype.indexOf.call(Ne,ae,ce):Uint8Array.prototype.lastIndexOf.call(Ne,ae,ce):w(Ne,[ae],ce,le,je);throw new TypeError("val must be string, number or Buffer")}function w(Ne,ae,ce,le,je){var Re=1,Ze=Ne.length,De=ae.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(Ne.length<2||ae.length<2)return-1;Re=2,Ze/=2,De/=2,ce/=2}function ne(At,Me){return Re===1?At[Me]:At.readUInt16BE(Me*Re)}var he;if(je){var pe=-1;for(he=ce;he<Ze;he++)if(ne(Ne,he)===ne(ae,pe===-1?0:he-pe)){if(pe===-1&&(pe=he),he-pe+1===De)return pe*Re}else pe!==-1&&(he-=he-pe),pe=-1}else for(ce+De>Ze&&(ce=Ze-De),he=ce;he>=0;he--){for(var Xe=!0,lt=0;lt<De;lt++)if(ne(Ne,he+lt)!==ne(ae,lt)){Xe=!1;break}if(Xe)return he}return-1}f.prototype.includes=function(ae,ce,le){return this.indexOf(ae,ce,le)!==-1},f.prototype.indexOf=function(ae,ce,le){return v(this,ae,ce,le,!0)},f.prototype.lastIndexOf=function(ae,ce,le){return v(this,ae,ce,le,!1)};function O(Ne,ae,ce,le){ce=Number(ce)||0;var je=Ne.length-ce;le?(le=Number(le),le>je&&(le=je)):le=je;var Re=ae.length;if(Re%2!==0)throw new TypeError("Invalid hex string");le>Re/2&&(le=Re/2);for(var Ze=0;Ze<le;++Ze){var De=parseInt(ae.substr(Ze*2,2),16);if(isNaN(De))return Ze;Ne[ce+Ze]=De}return Ze}function T(Ne,ae,ce,le){return Ce(Qe(ae,Ne.length-ce),Ne,ce,le)}function S(Ne,ae,ce,le){return Ce(fe(ae),Ne,ce,le)}function C(Ne,ae,ce,le){return S(Ne,ae,ce,le)}function _(Ne,ae,ce,le){return Ce(se(ae),Ne,ce,le)}function I(Ne,ae,ce,le){return Ce(He(ae,Ne.length-ce),Ne,ce,le)}f.prototype.write=function(ae,ce,le,je){if(ce===void 0)je="utf8",le=this.length,ce=0;else if(le===void 0&&typeof ce=="string")je=ce,le=this.length,ce=0;else if(isFinite(ce))ce=ce|0,isFinite(le)?(le=le|0,je===void 0&&(je="utf8")):(je=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Re=this.length-ce;if((le===void 0||le>Re)&&(le=Re),ae.length>0&&(le<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");je||(je="utf8");for(var Ze=!1;;)switch(je){case"hex":return O(this,ae,ce,le);case"utf8":case"utf-8":return T(this,ae,ce,le);case"ascii":return S(this,ae,ce,le);case"latin1":case"binary":return C(this,ae,ce,le);case"base64":return _(this,ae,ce,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,ae,ce,le);default:if(Ze)throw new TypeError("Unknown encoding: "+je);je=(""+je).toLowerCase(),Ze=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(Ne,ae,ce){return ae===0&&ce===Ne.length?x.fromByteArray(Ne):x.fromByteArray(Ne.slice(ae,ce))}function F(Ne,ae,ce){ce=Math.min(Ne.length,ce);for(var le=[],je=ae;je<ce;){var Re=Ne[je],Ze=null,De=Re>239?4:Re>223?3:Re>191?2:1;if(je+De<=ce){var ne,he,pe,Xe;switch(De){case 1:Re<128&&(Ze=Re);break;case 2:ne=Ne[je+1],(ne&192)===128&&(Xe=(Re&31)<<6|ne&63,Xe>127&&(Ze=Xe));break;case 3:ne=Ne[je+1],he=Ne[je+2],(ne&192)===128&&(he&192)===128&&(Xe=(Re&15)<<12|(ne&63)<<6|he&63,Xe>2047&&(Xe<55296||Xe>57343)&&(Ze=Xe));break;case 4:ne=Ne[je+1],he=Ne[je+2],pe=Ne[je+3],(ne&192)===128&&(he&192)===128&&(pe&192)===128&&(Xe=(Re&15)<<18|(ne&63)<<12|(he&63)<<6|pe&63,Xe>65535&&Xe<1114112&&(Ze=Xe))}}Ze===null?(Ze=65533,De=1):Ze>65535&&(Ze-=65536,le.push(Ze>>>10&1023|55296),Ze=56320|Ze&1023),le.push(Ze),je+=De}return j(le)}var B=4096;function j(Ne){var ae=Ne.length;if(ae<=B)return String.fromCharCode.apply(String,Ne);for(var ce="",le=0;le<ae;)ce+=String.fromCharCode.apply(String,Ne.slice(le,le+=B));return ce}function z(Ne,ae,ce){var le="";ce=Math.min(Ne.length,ce);for(var je=ae;je<ce;++je)le+=String.fromCharCode(Ne[je]&127);return le}function M(Ne,ae,ce){var le="";ce=Math.min(Ne.length,ce);for(var je=ae;je<ce;++je)le+=String.fromCharCode(Ne[je]);return le}function U(Ne,ae,ce){var le=Ne.length;(!ae||ae<0)&&(ae=0),(!ce||ce<0||ce>le)&&(ce=le);for(var je="",Re=ae;Re<ce;++Re)je+=Fe(Ne[Re]);return je}function P(Ne,ae,ce){for(var le=Ne.slice(ae,ce),je="",Re=0;Re<le.length;Re+=2)je+=String.fromCharCode(le[Re]+le[Re+1]*256);return je}f.prototype.slice=function(ae,ce){var le=this.length;ae=~~ae,ce=ce===void 0?le:~~ce,ae<0?(ae+=le,ae<0&&(ae=0)):ae>le&&(ae=le),ce<0?(ce+=le,ce<0&&(ce=0)):ce>le&&(ce=le),ce<ae&&(ce=ae);var je;if(f.TYPED_ARRAY_SUPPORT)je=this.subarray(ae,ce),je.__proto__=f.prototype;else{var Re=ce-ae;je=new f(Re,void 0);for(var Ze=0;Ze<Re;++Ze)je[Ze]=this[Ze+ae]}return je};function H(Ne,ae,ce){if(Ne%1!==0||Ne<0)throw new RangeError("offset is not uint");if(Ne+ae>ce)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(ae,ce,le){ae=ae|0,ce=ce|0,le||H(ae,ce,this.length);for(var je=this[ae],Re=1,Ze=0;++Ze<ce&&(Re*=256);)je+=this[ae+Ze]*Re;return je},f.prototype.readUIntBE=function(ae,ce,le){ae=ae|0,ce=ce|0,le||H(ae,ce,this.length);for(var je=this[ae+--ce],Re=1;ce>0&&(Re*=256);)je+=this[ae+--ce]*Re;return je},f.prototype.readUInt8=function(ae,ce){return ce||H(ae,1,this.length),this[ae]},f.prototype.readUInt16LE=function(ae,ce){return ce||H(ae,2,this.length),this[ae]|this[ae+1]<<8},f.prototype.readUInt16BE=function(ae,ce){return ce||H(ae,2,this.length),this[ae]<<8|this[ae+1]},f.prototype.readUInt32LE=function(ae,ce){return ce||H(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+this[ae+3]*16777216},f.prototype.readUInt32BE=function(ae,ce){return ce||H(ae,4,this.length),this[ae]*16777216+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},f.prototype.readIntLE=function(ae,ce,le){ae=ae|0,ce=ce|0,le||H(ae,ce,this.length);for(var je=this[ae],Re=1,Ze=0;++Ze<ce&&(Re*=256);)je+=this[ae+Ze]*Re;return Re*=128,je>=Re&&(je-=Math.pow(2,8*ce)),je},f.prototype.readIntBE=function(ae,ce,le){ae=ae|0,ce=ce|0,le||H(ae,ce,this.length);for(var je=ce,Re=1,Ze=this[ae+--je];je>0&&(Re*=256);)Ze+=this[ae+--je]*Re;return Re*=128,Ze>=Re&&(Ze-=Math.pow(2,8*ce)),Ze},f.prototype.readInt8=function(ae,ce){return ce||H(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},f.prototype.readInt16LE=function(ae,ce){ce||H(ae,2,this.length);var le=this[ae]|this[ae+1]<<8;return le&32768?le|4294901760:le},f.prototype.readInt16BE=function(ae,ce){ce||H(ae,2,this.length);var le=this[ae+1]|this[ae]<<8;return le&32768?le|4294901760:le},f.prototype.readInt32LE=function(ae,ce){return ce||H(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},f.prototype.readInt32BE=function(ae,ce){return ce||H(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},f.prototype.readFloatLE=function(ae,ce){return ce||H(ae,4,this.length),m.read(this,ae,!0,23,4)},f.prototype.readFloatBE=function(ae,ce){return ce||H(ae,4,this.length),m.read(this,ae,!1,23,4)},f.prototype.readDoubleLE=function(ae,ce){return ce||H(ae,8,this.length),m.read(this,ae,!0,52,8)},f.prototype.readDoubleBE=function(ae,ce){return ce||H(ae,8,this.length),m.read(this,ae,!1,52,8)};function W(Ne,ae,ce,le,je,Re){if(!f.isBuffer(Ne))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>je||ae<Re)throw new RangeError('"value" argument is out of bounds');if(ce+le>Ne.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(ae,ce,le,je){if(ae=+ae,ce=ce|0,le=le|0,!je){var Re=Math.pow(2,8*le)-1;W(this,ae,ce,le,Re,0)}var Ze=1,De=0;for(this[ce]=ae&255;++De<le&&(Ze*=256);)this[ce+De]=ae/Ze&255;return ce+le},f.prototype.writeUIntBE=function(ae,ce,le,je){if(ae=+ae,ce=ce|0,le=le|0,!je){var Re=Math.pow(2,8*le)-1;W(this,ae,ce,le,Re,0)}var Ze=le-1,De=1;for(this[ce+Ze]=ae&255;--Ze>=0&&(De*=256);)this[ce+Ze]=ae/De&255;return ce+le},f.prototype.writeUInt8=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,1,255,0),f.TYPED_ARRAY_SUPPORT||(ae=Math.floor(ae)),this[ce]=ae&255,ce+1};function X(Ne,ae,ce,le){ae<0&&(ae=65535+ae+1);for(var je=0,Re=Math.min(Ne.length-ce,2);je<Re;++je)Ne[ce+je]=(ae&255<<8*(le?je:1-je))>>>(le?je:1-je)*8}f.prototype.writeUInt16LE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae&255,this[ce+1]=ae>>>8):X(this,ae,ce,!0),ce+2},f.prototype.writeUInt16BE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae>>>8,this[ce+1]=ae&255):X(this,ae,ce,!1),ce+2};function K(Ne,ae,ce,le){ae<0&&(ae=4294967295+ae+1);for(var je=0,Re=Math.min(Ne.length-ce,4);je<Re;++je)Ne[ce+je]=ae>>>(le?je:3-je)*8&255}f.prototype.writeUInt32LE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ce+3]=ae>>>24,this[ce+2]=ae>>>16,this[ce+1]=ae>>>8,this[ce]=ae&255):K(this,ae,ce,!0),ce+4},f.prototype.writeUInt32BE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae>>>24,this[ce+1]=ae>>>16,this[ce+2]=ae>>>8,this[ce+3]=ae&255):K(this,ae,ce,!1),ce+4},f.prototype.writeIntLE=function(ae,ce,le,je){if(ae=+ae,ce=ce|0,!je){var Re=Math.pow(2,8*le-1);W(this,ae,ce,le,Re-1,-Re)}var Ze=0,De=1,ne=0;for(this[ce]=ae&255;++Ze<le&&(De*=256);)ae<0&&ne===0&&this[ce+Ze-1]!==0&&(ne=1),this[ce+Ze]=(ae/De>>0)-ne&255;return ce+le},f.prototype.writeIntBE=function(ae,ce,le,je){if(ae=+ae,ce=ce|0,!je){var Re=Math.pow(2,8*le-1);W(this,ae,ce,le,Re-1,-Re)}var Ze=le-1,De=1,ne=0;for(this[ce+Ze]=ae&255;--Ze>=0&&(De*=256);)ae<0&&ne===0&&this[ce+Ze+1]!==0&&(ne=1),this[ce+Ze]=(ae/De>>0)-ne&255;return ce+le},f.prototype.writeInt8=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,1,127,-128),f.TYPED_ARRAY_SUPPORT||(ae=Math.floor(ae)),ae<0&&(ae=255+ae+1),this[ce]=ae&255,ce+1},f.prototype.writeInt16LE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae&255,this[ce+1]=ae>>>8):X(this,ae,ce,!0),ce+2},f.prototype.writeInt16BE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae>>>8,this[ce+1]=ae&255):X(this,ae,ce,!1),ce+2},f.prototype.writeInt32LE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae&255,this[ce+1]=ae>>>8,this[ce+2]=ae>>>16,this[ce+3]=ae>>>24):K(this,ae,ce,!0),ce+4},f.prototype.writeInt32BE=function(ae,ce,le){return ae=+ae,ce=ce|0,le||W(this,ae,ce,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),f.TYPED_ARRAY_SUPPORT?(this[ce]=ae>>>24,this[ce+1]=ae>>>16,this[ce+2]=ae>>>8,this[ce+3]=ae&255):K(this,ae,ce,!1),ce+4};function $(Ne,ae,ce,le,je,Re){if(ce+le>Ne.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function ie(Ne,ae,ce,le,je){return je||$(Ne,ae,ce,4,34028234663852886e22,-34028234663852886e22),m.write(Ne,ae,ce,le,23,4),ce+4}f.prototype.writeFloatLE=function(ae,ce,le){return ie(this,ae,ce,!0,le)},f.prototype.writeFloatBE=function(ae,ce,le){return ie(this,ae,ce,!1,le)};function be(Ne,ae,ce,le,je){return je||$(Ne,ae,ce,8,17976931348623157e292,-17976931348623157e292),m.write(Ne,ae,ce,le,52,8),ce+8}f.prototype.writeDoubleLE=function(ae,ce,le){return be(this,ae,ce,!0,le)},f.prototype.writeDoubleBE=function(ae,ce,le){return be(this,ae,ce,!1,le)},f.prototype.copy=function(ae,ce,le,je){if(le||(le=0),!je&&je!==0&&(je=this.length),ce>=ae.length&&(ce=ae.length),ce||(ce=0),je>0&&je<le&&(je=le),je===le)return 0;if(ae.length===0||this.length===0)return 0;if(ce<0)throw new RangeError("targetStart out of bounds");if(le<0||le>=this.length)throw new RangeError("sourceStart out of bounds");if(je<0)throw new RangeError("sourceEnd out of bounds");je>this.length&&(je=this.length),ae.length-ce<je-le&&(je=ae.length-ce+le);var Re=je-le,Ze;if(this===ae&&le<ce&&ce<je)for(Ze=Re-1;Ze>=0;--Ze)ae[Ze+ce]=this[Ze+le];else if(Re<1e3||!f.TYPED_ARRAY_SUPPORT)for(Ze=0;Ze<Re;++Ze)ae[Ze+ce]=this[Ze+le];else Uint8Array.prototype.set.call(ae,this.subarray(le,le+Re),ce);return Re},f.prototype.fill=function(ae,ce,le,je){if(typeof ae=="string"){if(typeof ce=="string"?(je=ce,ce=0,le=this.length):typeof le=="string"&&(je=le,le=this.length),ae.length===1){var Re=ae.charCodeAt(0);Re<256&&(ae=Re)}if(je!==void 0&&typeof je!="string")throw new TypeError("encoding must be a string");if(typeof je=="string"&&!f.isEncoding(je))throw new TypeError("Unknown encoding: "+je)}else typeof ae=="number"&&(ae=ae&255);if(ce<0||this.length<ce||this.length<le)throw new RangeError("Out of range index");if(le<=ce)return this;ce=ce>>>0,le=le===void 0?this.length:le>>>0,ae||(ae=0);var Ze;if(typeof ae=="number")for(Ze=ce;Ze<le;++Ze)this[Ze]=ae;else{var De=f.isBuffer(ae)?ae:Qe(new f(ae,je).toString()),ne=De.length;for(Ze=0;Ze<le-ce;++Ze)this[Ze+ce]=De[Ze%ne]}return this};var te=/[^+\/0-9A-Za-z-_]/g;function Te(Ne){if(Ne=Ie(Ne).replace(te,""),Ne.length<2)return"";for(;Ne.length%4!==0;)Ne=Ne+"=";return Ne}function Ie(Ne){return Ne.trim?Ne.trim():Ne.replace(/^\s+|\s+$/g,"")}function Fe(Ne){return Ne<16?"0"+Ne.toString(16):Ne.toString(16)}function Qe(Ne,ae){ae=ae||Infinity;for(var ce,le=Ne.length,je=null,Re=[],Ze=0;Ze<le;++Ze){if(ce=Ne.charCodeAt(Ze),ce>55295&&ce<57344){if(!je){if(ce>56319){(ae-=3)>-1&&Re.push(239,191,189);continue}else if(Ze+1===le){(ae-=3)>-1&&Re.push(239,191,189);continue}je=ce;continue}if(ce<56320){(ae-=3)>-1&&Re.push(239,191,189),je=ce;continue}ce=(je-55296<<10|ce-56320)+65536}else je&&((ae-=3)>-1&&Re.push(239,191,189));if(je=null,ce<128){if((ae-=1)<0)break;Re.push(ce)}else if(ce<2048){if((ae-=2)<0)break;Re.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((ae-=3)<0)break;Re.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((ae-=4)<0)break;Re.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return Re}function fe(Ne){for(var ae=[],ce=0;ce<Ne.length;++ce)ae.push(Ne.charCodeAt(ce)&255);return ae}function He(Ne,ae){for(var ce,le,je,Re=[],Ze=0;Ze<Ne.length&&!((ae-=2)<0);++Ze)ce=Ne.charCodeAt(Ze),le=ce>>8,je=ce%256,Re.push(je),Re.push(le);return Re}function se(Ne){return x.toByteArray(Te(Ne))}function Ce(Ne,ae,ce,le){for(var je=0;je<le&&!(je+ce>=ae.length||je>=Ne.length);++je)ae[je+ce]=Ne[je];return je}function mt(Ne){return Ne!==Ne}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(R,N,e){N.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(R,N,e){N.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(R,N,e){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var A=Array.prototype.slice;N.exports=f;function f(m,g){if(!(this instanceof f))return new f(m,g);this.src=m,this._withAccess=g}f.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},f.prototype.pick=function(m){return Array.isArray(m)||(m=A.call(arguments)),m.length&&(this.keys=m),this},f.prototype.to=function(m){if(m=m||{},!this.src)return m;var g=this.keys||Object.keys(this.src);if(!this._withAccess){for(var p=0;p<g.length;p++){if(c=g[p],m[c]!==void 0)continue;m[c]=this.src[c]}return m}for(var p=0;p<g.length;p++){var c=g[p];if(!x(m,c))continue;var s=this.src.__lookupGetter__(c),a=this.src.__lookupSetter__(c);s&&m.__defineGetter__(c,s),a&&m.__defineSetter__(c,a),!s&&!a&&(m[c]=this.src[c])}return m},f.prototype.toCover=function(m){for(var g=this.keys||Object.keys(this.src),p=0;p<g.length;p++){var c=g[p];delete m[c];var s=this.src.__lookupGetter__(c),a=this.src.__lookupSetter__(c);s&&m.__defineGetter__(c,s),a&&m.__defineSetter__(c,a),!s&&!a&&(m[c]=this.src[c])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var g={};return this.to(g),this.src=m,this.to(g),this.src=g,this};function x(m,g){return m[g]===void 0&&m.__lookupGetter__(g)===void 0&&m.__lookupSetter__(g)===void 0}},{}],77:[function(R,N,e){R("../../modules/es6.string.iterator"),R("../../modules/es6.array.from"),N.exports=R("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(R,N,e){var A=R("../../modules/_core"),f=A.JSON||(A.JSON={stringify:JSON.stringify});N.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(R,N,e){R("../../modules/es6.object.assign"),N.exports=R("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(R,N,e){R("../../modules/es6.object.create");var A=R("../../modules/_core").Object;N.exports=function(x,m){return A.create(x,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(R,N,e){R("../../modules/es6.object.define-property");var A=R("../../modules/_core").Object;N.exports=function(x,m,g){return A.defineProperty(x,m,g)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(R,N,e){R("../../modules/es7.object.entries"),N.exports=R("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(R,N,e){R("../../modules/es6.object.get-own-property-names");var A=R("../../modules/_core").Object;N.exports=function(x){return A.getOwnPropertyNames(x)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(R,N,e){R("../../modules/es6.object.get-prototype-of"),N.exports=R("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(R,N,e){R("../../modules/es6.object.keys"),N.exports=R("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(R,N,e){R("../modules/es6.object.to-string"),R("../modules/es6.string.iterator"),R("../modules/web.dom.iterable"),R("../modules/es6.promise"),R("../modules/es7.promise.finally"),R("../modules/es7.promise.try"),N.exports=R("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(R,N,e){R("../modules/web.immediate"),N.exports=R("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(R,N,e){R("../../modules/es6.string.from-code-point"),N.exports=R("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(R,N,e){R("../../modules/es6.function.has-instance"),N.exports=R("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(R,N,e){R("../../modules/es6.symbol"),R("../../modules/es6.object.to-string"),R("../../modules/es7.symbol.async-iterator"),R("../../modules/es7.symbol.observable"),N.exports=R("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(R,N,e){R("../../modules/es6.string.iterator"),R("../../modules/web.dom.iterable"),N.exports=R("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(R,N,e){N.exports=function(A){if(typeof A!="function")throw TypeError(A+" is not a function!");return A}},{}],93:[function(R,N,e){N.exports=function(){}},{}],94:[function(R,N,e){N.exports=function(A,f,x,m){if(!(A instanceof f)||m!==void 0&&m in A)throw TypeError(x+": incorrect invocation!");return A}},{}],95:[function(R,N,e){var A=R("./_is-object");N.exports=function(f){if(!A(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(R,N,e){var A=R("./_to-iobject"),f=R("./_to-length"),x=R("./_to-absolute-index");N.exports=function(m){return function(g,p,c){var s=A(g),a=f(s.length),n=x(c,a),i;if(m&&p!=p){for(;a>n;)if(i=s[n++],i!=i)return!0}else for(;a>n;n++)if((m||n in s)&&s[n]===p)return m||n||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(R,N,e){var A=R("./_cof"),f=R("./_wks")("toStringTag"),x=A(function(){return arguments}())=="Arguments",m=function(p,c){try{return p[c]}catch(s){}};N.exports=function(g){var p,c,s;return g===void 0?"Undefined":g===null?"Null":typeof(c=m(p=Object(g),f))=="string"?c:x?A(p):(s=A(p))=="Object"&&typeof p.callee=="function"?"Arguments":s}},{"./_cof":98,"./_wks":166}],98:[function(R,N,e){var A={}.toString;N.exports=function(f){return A.call(f).slice(8,-1)}},{}],99:[function(R,N,e){var A=N.exports={version:"2.6.11"};typeof __e=="number"&&(__e=A)},{}],100:[function(R,N,e){"use strict";var A=R("./_object-dp"),f=R("./_property-desc");N.exports=function(x,m,g){m in x?A.f(x,m,f(0,g)):x[m]=g}},{"./_object-dp":132,"./_property-desc":146}],101:[function(R,N,e){var A=R("./_a-function");N.exports=function(f,x,m){if(A(f),x===void 0)return f;switch(m){case 1:return function(g){return f.call(x,g)};case 2:return function(g,p){return f.call(x,g,p)};case 3:return function(g,p,c){return f.call(x,g,p,c)}}return function(){return f.apply(x,arguments)}}},{"./_a-function":92}],102:[function(R,N,e){N.exports=function(A){if(A==null)throw TypeError("Can't call method on "+A);return A}},{}],103:[function(R,N,e){N.exports=!R("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(R,N,e){var A=R("./_is-object"),f=R("./_global").document,x=A(f)&&A(f.createElement);N.exports=function(m){return x?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(R,N,e){N.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(R,N,e){var A=R("./_object-keys"),f=R("./_object-gops"),x=R("./_object-pie");N.exports=function(m){var g=A(m),p=f.f;if(p)for(var c=p(m),s=x.f,a=0,n;c.length>a;)s.call(m,n=c[a++])&&g.push(n);return g}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(R,N,e){var A=R("./_global"),f=R("./_core"),x=R("./_ctx"),m=R("./_hide"),g=R("./_has"),p="prototype",c=function s(a,n,i){var d=a&s.F,t=a&s.G,l=a&s.S,r=a&s.P,o=a&s.B,u=a&s.W,h=t?f:f[n]||(f[n]={}),y=h[p],b=t?A:l?A[n]:(A[n]||{})[p],E,v,w;t&&(i=n);for(E in i){if(v=!d&&b&&b[E]!==void 0,v&&g(h,E))continue;w=v?b[E]:i[E],h[E]=t&&typeof b[E]!="function"?i[E]:o&&v?x(w,A):u&&b[E]==w?function(O){var T=function(C,_,I){if(this instanceof O){switch(arguments.length){case 0:return new O;case 1:return new O(C);case 2:return new O(C,_)}return new O(C,_,I)}return O.apply(this,arguments)};return T[p]=O[p],T}(w):r&&typeof w=="function"?x(Function.call,w):w,r&&((h.virtual||(h.virtual={}))[E]=w,a&s.R&&y&&!y[E]&&m(y,E,w))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,N.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(R,N,e){N.exports=function(A){try{return!!A()}catch(f){return!0}}},{}],109:[function(R,N,e){var A=R("./_ctx"),f=R("./_iter-call"),x=R("./_is-array-iter"),m=R("./_an-object"),g=R("./_to-length"),p=R("./core.get-iterator-method"),c={},s={},e=N.exports=function(a,n,i,d,t){var l=t?function(){return a}:p(a),r=A(i,d,n?2:1),o=0,u,h,y,b;if(typeof l!="function")throw TypeError(a+" is not iterable!");if(x(l)){for(u=g(a.length);u>o;o++)if(b=n?r(m(h=a[o])[0],h[1]):r(a[o]),b===c||b===s)return b}else for(y=l.call(a);!(h=y.next()).done;)if(b=f(y,r,h.value,n),b===c||b===s)return b};e.BREAK=c,e.RETURN=s},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(R,N,e){var A=N.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=A)},{}],111:[function(R,N,e){var A={}.hasOwnProperty;N.exports=function(f,x){return A.call(f,x)}},{}],112:[function(R,N,e){var A=R("./_object-dp"),f=R("./_property-desc");N.exports=R("./_descriptors")?function(x,m,g){return A.f(x,m,f(1,g))}:function(x,m,g){return x[m]=g,x}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(R,N,e){var A=R("./_global").document;N.exports=A&&A.documentElement},{"./_global":110}],114:[function(R,N,e){N.exports=!R("./_descriptors")&&!R("./_fails")(function(){return Object.defineProperty(R("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(R,N,e){N.exports=function(A,f,x){var m=x===void 0;switch(f.length){case 0:return m?A():A.call(x);case 1:return m?A(f[0]):A.call(x,f[0]);case 2:return m?A(f[0],f[1]):A.call(x,f[0],f[1]);case 3:return m?A(f[0],f[1],f[2]):A.call(x,f[0],f[1],f[2]);case 4:return m?A(f[0],f[1],f[2],f[3]):A.call(x,f[0],f[1],f[2],f[3])}return A.apply(x,f)}},{}],116:[function(R,N,e){var A=R("./_cof");N.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return A(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(R,N,e){var A=R("./_iterators"),f=R("./_wks")("iterator"),x=Array.prototype;N.exports=function(m){return m!==void 0&&(A.Array===m||x[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(R,N,e){var A=R("./_cof");N.exports=Array.isArray||function(x){return A(x)=="Array"}},{"./_cof":98}],119:[function(R,N,e){N.exports=function(A){return typeof A=="object"?A!==null:typeof A=="function"}},{}],120:[function(R,N,e){var A=R("./_an-object");N.exports=function(f,x,m,g){try{return g?x(A(m)[0],m[1]):x(m)}catch(c){var p=f.return;throw p!==void 0&&A(p.call(f)),c}}},{"./_an-object":95}],121:[function(R,N,e){"use strict";var A=R("./_object-create"),f=R("./_property-desc"),x=R("./_set-to-string-tag"),m={};R("./_hide")(m,R("./_wks")("iterator"),function(){return this}),N.exports=function(g,p,c){g.prototype=A(m,{next:f(1,c)}),x(g,p+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(R,N,e){"use strict";var A=R("./_library"),f=R("./_export"),x=R("./_redefine"),m=R("./_hide"),g=R("./_iterators"),p=R("./_iter-create"),c=R("./_set-to-string-tag"),s=R("./_object-gpo"),a=R("./_wks")("iterator"),n=!([].keys&&"next"in[].keys()),i="@@iterator",d="keys",t="values",l=function(){return this};N.exports=function(r,o,u,h,y,b,E){p(u,o,h);var v=function(M){if(!n&&M in S)return S[M];switch(M){case d:return function(){return new u(this,M)};case t:return function(){return new u(this,M)}}return function(){return new u(this,M)}},w=o+" Iterator",O=y==t,T=!1,S=r.prototype,C=S[a]||S[i]||y&&S[y],_=C||v(y),I=y?O?v("entries"):_:void 0,k=o=="Array"&&S.entries||C,F,B,j;if(k&&(j=s(k.call(new r)),j!==Object.prototype&&j.next&&(c(j,w,!0),!A&&typeof j[a]!="function"&&m(j,a,l))),O&&C&&C.name!==t&&(T=!0,_=function(){return C.call(this)}),(!A||E)&&(n||T||!S[a])&&m(S,a,_),g[o]=_,g[w]=l,y)if(F={values:O?_:v(t),keys:b?_:v(d),entries:I},E)for(B in F)B in S||x(S,B,F[B]);else f(f.P+f.F*(n||T),o,F);return F}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(R,N,e){var A=R("./_wks")("iterator"),f=!1;try{var x=[7][A]();x.return=function(){f=!0},Array.from(x,function(){throw 2})}catch(m){}N.exports=function(m,g){if(!g&&!f)return!1;var p=!1;try{var c=[7],s=c[A]();s.next=function(){return{done:p=!0}},c[A]=function(){return s},m(c)}catch(a){}return p}},{"./_wks":166}],124:[function(R,N,e){N.exports=function(A,f){return{value:f,done:!!A}}},{}],125:[function(R,N,e){N.exports={}},{}],126:[function(R,N,e){N.exports=!0},{}],127:[function(R,N,e){var A=R("./_uid")("meta"),f=R("./_is-object"),x=R("./_has"),m=R("./_object-dp").f,g=0,p=Object.isExtensible||function(){return!0},c=!R("./_fails")(function(){return p(Object.preventExtensions({}))}),s=function(l){m(l,A,{value:{i:"O"+ ++g,w:{}}})},a=function(l,r){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!x(l,A)){if(!p(l))return"F";if(!r)return"E";s(l)}return l[A].i},n=function(l,r){if(!x(l,A)){if(!p(l))return!0;if(!r)return!1;s(l)}return l[A].w},i=function(l){return c&&d.NEED&&p(l)&&!x(l,A)&&s(l),l},d=N.exports={KEY:A,NEED:!1,fastKey:a,getWeak:n,onFreeze:i}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(R,N,e){var A=R("./_global"),f=R("./_task").set,x=A.MutationObserver||A.WebKitMutationObserver,m=A.process,g=A.Promise,p=R("./_cof")(m)=="process";N.exports=function(){var c,s,a,n=function(){var r,o;for(p&&(r=m.domain)&&r.exit();c;){o=c.fn,c=c.next;try{o()}catch(u){throw c?a():s=void 0,u}}s=void 0,r&&r.enter()};if(p)a=function(){m.nextTick(n)};else if(x&&!(A.navigator&&A.navigator.standalone)){var i=!0,d=document.createTextNode("");new x(n).observe(d,{characterData:!0}),a=function(){d.data=i=!i}}else if(g&&g.resolve){var t=g.resolve(void 0);a=function(){t.then(n)}}else a=function(){f.call(A,n)};return function(l){var r={fn:l,next:void 0};s&&(s.next=r),c||(c=r,a()),s=r}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(R,N,e){"use strict";var A=R("./_a-function");function f(x){var m,g;this.promise=new x(function(p,c){if(m!==void 0||g!==void 0)throw TypeError("Bad Promise constructor");m=p,g=c}),this.resolve=A(m),this.reject=A(g)}N.exports.f=function(x){return new f(x)}},{"./_a-function":92}],130:[function(R,N,e){"use strict";var A=R("./_descriptors"),f=R("./_object-keys"),x=R("./_object-gops"),m=R("./_object-pie"),g=R("./_to-object"),p=R("./_iobject"),c=Object.assign;N.exports=!c||R("./_fails")(function(){var s={},a={},n=Symbol(),i="abcdefghijklmnopqrst";return s[n]=7,i.split("").forEach(function(d){a[d]=d}),c({},s)[n]!=7||Object.keys(c({},a)).join("")!=i})?function(a,n){for(var i=g(a),d=arguments.length,t=1,l=x.f,r=m.f;d>t;)for(var o=p(arguments[t++]),u=l?f(o).concat(l(o)):f(o),h=u.length,y=0,b;h>y;)b=u[y++],(!A||r.call(o,b))&&(i[b]=o[b]);return i}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(R,N,e){var A=R("./_an-object"),f=R("./_object-dps"),x=R("./_enum-bug-keys"),m=R("./_shared-key")("IE_PROTO"),g=function(){},p="prototype",c=function(){var a=R("./_dom-create")("iframe"),n=x.length,i="<",d=">",t;for(a.style.display="none",R("./_html").appendChild(a),a.src="javascript:",t=a.contentWindow.document,t.open(),t.write(i+"script"+d+"document.F=Object"+i+"/script"+d),t.close(),c=t.F;n--;)delete c[p][x[n]];return c()};N.exports=Object.create||function(a,n){var i;return a!==null?(g[p]=A(a),i=new g,g[p]=null,i[m]=a):i=c(),n===void 0?i:f(i,n)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(R,N,e){var A=R("./_an-object"),f=R("./_ie8-dom-define"),x=R("./_to-primitive"),m=Object.defineProperty;e.f=R("./_descriptors")?Object.defineProperty:function(p,c,s){if(A(p),c=x(c,!0),A(s),f)try{return m(p,c,s)}catch(a){}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(p[c]=s.value),p}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(R,N,e){var A=R("./_object-dp"),f=R("./_an-object"),x=R("./_object-keys");N.exports=R("./_descriptors")?Object.defineProperties:function(g,p){f(g);for(var c=x(p),s=c.length,a=0,n;s>a;)A.f(g,n=c[a++],p[n]);return g}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(R,N,e){var A=R("./_object-pie"),f=R("./_property-desc"),x=R("./_to-iobject"),m=R("./_to-primitive"),g=R("./_has"),p=R("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;e.f=R("./_descriptors")?c:function(a,n){if(a=x(a),n=m(n,!0),p)try{return c(a,n)}catch(i){}if(g(a,n))return f(!A.f.call(a,n),a[n])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(R,N,e){var A=R("./_to-iobject"),f=R("./_object-gopn").f,x={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(c){try{return f(c)}catch(s){return m.slice()}};N.exports.f=function(c){return m&&x.call(c)=="[object Window]"?g(c):f(A(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(R,N,e){var A=R("./_object-keys-internal"),f=R("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(m){return A(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(R,N,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(R,N,e){var A=R("./_has"),f=R("./_to-object"),x=R("./_shared-key")("IE_PROTO"),m=Object.prototype;N.exports=Object.getPrototypeOf||function(g){return g=f(g),A(g,x)?g[x]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(R,N,e){var A=R("./_has"),f=R("./_to-iobject"),x=R("./_array-includes")(!1),m=R("./_shared-key")("IE_PROTO");N.exports=function(g,p){var c=f(g),s=0,a=[],n;for(n in c)n!=m&&(A(c,n)&&a.push(n));for(;p.length>s;)A(c,n=p[s++])&&(~x(a,n)||a.push(n));return a}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(R,N,e){var A=R("./_object-keys-internal"),f=R("./_enum-bug-keys");N.exports=Object.keys||function(m){return A(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(R,N,e){e.f={}.propertyIsEnumerable},{}],142:[function(R,N,e){var A=R("./_export"),f=R("./_core"),x=R("./_fails");N.exports=function(m,g){var p=(f.Object||{})[m]||Object[m],c={};c[m]=g(p),A(A.S+A.F*x(function(){p(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(R,N,e){var A=R("./_descriptors"),f=R("./_object-keys"),x=R("./_to-iobject"),m=R("./_object-pie").f;N.exports=function(g){return function(p){for(var c=x(p),s=f(c),a=s.length,n=0,i=[],d;a>n;)d=s[n++],(!A||m.call(c,d))&&i.push(g?[d,c[d]]:c[d]);return i}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(R,N,e){N.exports=function(A){try{return{e:!1,v:A()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(R,N,e){var A=R("./_an-object"),f=R("./_is-object"),x=R("./_new-promise-capability");N.exports=function(m,g){if(A(m),f(g)&&g.constructor===m)return g;var p=x.f(m),c=p.resolve;return c(g),p.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(R,N,e){N.exports=function(A,f){return{enumerable:!(A&1),configurable:!(A&2),writable:!(A&4),value:f}}},{}],147:[function(R,N,e){var A=R("./_hide");N.exports=function(f,x,m){for(var g in x)m&&f[g]?f[g]=x[g]:A(f,g,x[g]);return f}},{"./_hide":112}],148:[function(R,N,e){N.exports=R("./_hide")},{"./_hide":112}],149:[function(R,N,e){"use strict";var A=R("./_global"),f=R("./_core"),x=R("./_object-dp"),m=R("./_descriptors"),g=R("./_wks")("species");N.exports=function(p){var c=typeof f[p]=="function"?f[p]:A[p];m&&c&&!c[g]&&x.f(c,g,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(R,N,e){var A=R("./_object-dp").f,f=R("./_has"),x=R("./_wks")("toStringTag");N.exports=function(m,g,p){m&&!f(m=p?m:m.prototype,x)&&A(m,x,{configurable:!0,value:g})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(R,N,e){var A=R("./_shared")("keys"),f=R("./_uid");N.exports=function(x){return A[x]||(A[x]=f(x))}},{"./_shared":152,"./_uid":162}],152:[function(R,N,e){var A=R("./_core"),f=R("./_global"),x="__core-js_shared__",m=f[x]||(f[x]={});(N.exports=function(g,p){return m[g]||(m[g]=p!==void 0?p:{})})("versions",[]).push({version:A.version,mode:R("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(R,N,e){var A=R("./_an-object"),f=R("./_a-function"),x=R("./_wks")("species");N.exports=function(m,g){var p=A(m).constructor,c;return p===void 0||(c=A(p)[x])==null?g:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(R,N,e){var A=R("./_to-integer"),f=R("./_defined");N.exports=function(x){return function(m,g){var p=String(f(m)),c=A(g),s=p.length,a,n;return c<0||c>=s?x?"":void 0:(a=p.charCodeAt(c),a<55296||a>56319||c+1===s||(n=p.charCodeAt(c+1))<56320||n>57343?x?p.charAt(c):a:x?p.slice(c,c+2):(a-55296<<10)+(n-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(R,N,e){var A=R("./_ctx"),f=R("./_invoke"),x=R("./_html"),m=R("./_dom-create"),g=R("./_global"),p=g.process,c=g.setImmediate,s=g.clearImmediate,a=g.MessageChannel,n=g.Dispatch,i=0,d={},t="onreadystatechange",l,r,o,u=function(){var b=+this;if(d.hasOwnProperty(b)){var E=d[b];delete d[b],E()}},h=function(b){u.call(b.data)};(!c||!s)&&(c=function(b){for(var E=[],v=1;arguments.length>v;)E.push(arguments[v++]);return d[++i]=function(){f(typeof b=="function"?b:Function(b),E)},l(i),i},s=function(b){delete d[b]},R("./_cof")(p)=="process"?l=function(b){p.nextTick(A(u,b,1))}:n&&n.now?l=function(b){n.now(A(u,b,1))}:a?(r=new a,o=r.port2,r.port1.onmessage=h,l=A(o.postMessage,o,1)):g.addEventListener&&typeof postMessage=="function"&&!g.importScripts?(l=function(b){g.postMessage(b+"","*")},g.addEventListener("message",h,!1)):t in m("script")?l=function(b){x.appendChild(m("script"))[t]=function(){x.removeChild(this),u.call(b)}}:l=function(b){setTimeout(A(u,b,1),0)}),N.exports={set:c,clear:s}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(R,N,e){var A=R("./_to-integer"),f=Math.max,x=Math.min;N.exports=function(m,g){return m=A(m),m<0?f(m+g,0):x(m,g)}},{"./_to-integer":157}],157:[function(R,N,e){var A=Math.ceil,f=Math.floor;N.exports=function(x){return isNaN(x=+x)?0:(x>0?f:A)(x)}},{}],158:[function(R,N,e){var A=R("./_iobject"),f=R("./_defined");N.exports=function(x){return A(f(x))}},{"./_defined":102,"./_iobject":116}],159:[function(R,N,e){var A=R("./_to-integer"),f=Math.min;N.exports=function(x){return x>0?f(A(x),9007199254740991):0}},{"./_to-integer":157}],160:[function(R,N,e){var A=R("./_defined");N.exports=function(f){return Object(A(f))}},{"./_defined":102}],161:[function(R,N,e){var A=R("./_is-object");N.exports=function(f,x){if(!A(f))return f;var m,g;if(x&&typeof(m=f.toString)=="function"&&!A(g=m.call(f)))return g;if(typeof(m=f.valueOf)=="function"&&!A(g=m.call(f)))return g;if(!x&&typeof(m=f.toString)=="function"&&!A(g=m.call(f)))return g;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(R,N,e){var A=0,f=Math.random();N.exports=function(x){return"Symbol(".concat(x===void 0?"":x,")_",(++A+f).toString(36))}},{}],163:[function(R,N,e){var A=R("./_global"),f=A.navigator;N.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(R,N,e){var A=R("./_global"),f=R("./_core"),x=R("./_library"),m=R("./_wks-ext"),g=R("./_object-dp").f;N.exports=function(p){var c=f.Symbol||(f.Symbol=x?{}:A.Symbol||{});p.charAt(0)!="_"&&!(p in c)&&g(c,p,{value:m.f(p)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(R,N,e){e.f=R("./_wks")},{"./_wks":166}],166:[function(R,N,e){var A=R("./_shared")("wks"),f=R("./_uid"),x=R("./_global").Symbol,m=typeof x=="function",g=N.exports=function(p){return A[p]||(A[p]=m&&x[p]||(m?x:f)("Symbol."+p))};g.store=A},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(R,N,e){var A=R("./_classof"),f=R("./_wks")("iterator"),x=R("./_iterators");N.exports=R("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||x[A(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(R,N,e){"use strict";var A=R("./_ctx"),f=R("./_export"),x=R("./_to-object"),m=R("./_iter-call"),g=R("./_is-array-iter"),p=R("./_to-length"),c=R("./_create-property"),s=R("./core.get-iterator-method");f(f.S+f.F*!R("./_iter-detect")(function(a){Array.from(a)}),"Array",{from:function(n){var i=x(n),d=typeof this=="function"?this:Array,t=arguments.length,l=t>1?arguments[1]:void 0,r=l!==void 0,o=0,u=s(i),h,y,b,E;if(r&&(l=A(l,t>2?arguments[2]:void 0,2)),u!=null&&!(d==Array&&g(u)))for(E=u.call(i),y=new d;!(b=E.next()).done;o++)c(y,o,r?m(E,l,[b.value,o],!0):b.value);else for(h=p(i.length),y=new d(h);h>o;o++)c(y,o,r?l(i[o],o):i[o]);return y.length=o,y}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(R,N,e){"use strict";var A=R("./_add-to-unscopables"),f=R("./_iter-step"),x=R("./_iterators"),m=R("./_to-iobject");N.exports=R("./_iter-define")(Array,"Array",function(g,p){this._t=m(g),this._i=0,this._k=p},function(){var g=this._t,p=this._k,c=this._i++;return!g||c>=g.length?(this._t=void 0,f(1)):p=="keys"?f(0,c):p=="values"?f(0,g[c]):f(0,[c,g[c]])},"values"),x.Arguments=x.Array,A("keys"),A("values"),A("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(R,N,e){"use strict";var A=R("./_is-object"),f=R("./_object-gpo"),x=R("./_wks")("hasInstance"),m=Function.prototype;x in m||R("./_object-dp").f(m,x,{value:function(p){if(typeof this!="function"||!A(p))return!1;if(!A(this.prototype))return p instanceof this;for(;p=f(p);)if(this.prototype===p)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(R,N,e){var A=R("./_export");A(A.S+A.F,"Object",{assign:R("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(R,N,e){var A=R("./_export");A(A.S,"Object",{create:R("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(R,N,e){var A=R("./_export");A(A.S+A.F*!R("./_descriptors"),"Object",{defineProperty:R("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(R,N,e){R("./_object-sap")("getOwnPropertyNames",function(){return R("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(R,N,e){var A=R("./_to-object"),f=R("./_object-gpo");R("./_object-sap")("getPrototypeOf",function(){return function(m){return f(A(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(R,N,e){var A=R("./_to-object"),f=R("./_object-keys");R("./_object-sap")("keys",function(){return function(m){return f(A(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(R,N,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(R,N,e){"use strict";var A=R("./_library"),f=R("./_global"),x=R("./_ctx"),m=R("./_classof"),g=R("./_export"),p=R("./_is-object"),c=R("./_a-function"),s=R("./_an-instance"),a=R("./_for-of"),n=R("./_species-constructor"),i=R("./_task").set,d=R("./_microtask")(),t=R("./_new-promise-capability"),l=R("./_perform"),r=R("./_user-agent"),o=R("./_promise-resolve"),u="Promise",h=f.TypeError,y=f.process,b=y&&y.versions,E=b&&b.v8||"",v=f[u],w=m(y)=="process",O=function(){},T,S,C,_,I=S=t.f,k=!!function(){try{var H=v.resolve(1),W=(H.constructor={})[R("./_wks")("species")]=function(X){X(O,O)};return(w||typeof PromiseRejectionEvent=="function")&&H.then(O)instanceof W&&E.indexOf("6.6")!==0&&r.indexOf("Chrome/66")===-1}catch(X){}}(),F=function(W){var X;return p(W)&&typeof(X=W.then)=="function"?X:!1},B=function(W,X){if(W._n)return;W._n=!0;var K=W._c;d(function(){for(var $=W._v,ie=W._s==1,be=0,te=function(Ie){var Fe=ie?Ie.ok:Ie.fail,Qe=Ie.resolve,fe=Ie.reject,He=Ie.domain,se,Ce,mt;try{Fe?(ie||(W._h==2&&M(W),W._h=1),Fe===!0?se=$:(He&&He.enter(),se=Fe($),He&&(He.exit(),mt=!0)),se===Ie.promise?fe(h("Promise-chain cycle")):(Ce=F(se))?Ce.call(se,Qe,fe):Qe(se)):fe($)}catch(Ne){He&&!mt&&He.exit(),fe(Ne)}};K.length>be;)te(K[be++]);W._c=[],W._n=!1,X&&!W._h&&j(W)})},j=function(W){i.call(f,function(){var X=W._v,K=z(W),$,ie,be;if(K&&($=l(function(){w?y.emit("unhandledRejection",X,W):(ie=f.onunhandledrejection)?ie({promise:W,reason:X}):(be=f.console)&&be.error&&be.error("Unhandled promise rejection",X)}),W._h=w||z(W)?2:1),W._a=void 0,K&&$.e)throw $.v})},z=function(W){return W._h!==1&&(W._a||W._c).length===0},M=function(W){i.call(f,function(){var X;w?y.emit("rejectionHandled",W):(X=f.onrejectionhandled)&&X({promise:W,reason:W._v})})},U=function(W){var X=this;if(X._d)return;X._d=!0,X=X._w||X,X._v=W,X._s=2,X._a||(X._a=X._c.slice()),B(X,!0)},P=function H(W){var X=this,K;if(X._d)return;X._d=!0,X=X._w||X;try{if(X===W)throw h("Promise can't be resolved itself");(K=F(W))?d(function(){var $={_w:X,_d:!1};try{K.call(W,x(H,$,1),x(U,$,1))}catch(ie){U.call($,ie)}}):(X._v=W,X._s=1,B(X,!1))}catch($){U.call({_w:X,_d:!1},$)}};k||(v=function(W){s(this,v,u,"_h"),c(W),T.call(this);try{W(x(P,this,1),x(U,this,1))}catch(X){U.call(this,X)}},T=function(W){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=R("./_redefine-all")(v.prototype,{then:function(W,X){var K=I(n(this,v));return K.ok=typeof W=="function"?W:!0,K.fail=typeof X=="function"&&X,K.domain=w?y.domain:void 0,this._c.push(K),this._a&&this._a.push(K),this._s&&B(this,!1),K.promise},catch:function(W){return this.then(void 0,W)}}),C=function(){var W=new T;this.promise=W,this.resolve=x(P,W,1),this.reject=x(U,W,1)},t.f=I=function(W){return W===v||W===_?new C(W):S(W)}),g(g.G+g.W+g.F*!k,{Promise:v}),R("./_set-to-string-tag")(v,u),R("./_set-species")(u),_=R("./_core")[u],g(g.S+g.F*!k,u,{reject:function(W){var X=I(this),K=X.reject;return K(W),X.promise}}),g(g.S+g.F*(A||!k),u,{resolve:function(W){return o(A&&this===_?v:this,W)}}),g(g.S+g.F*!(k&&R("./_iter-detect")(function(H){v.all(H).catch(O)})),u,{all:function(W){var X=this,K=I(X),$=K.resolve,ie=K.reject,be=l(function(){var te=[],Te=0,Ie=1;a(W,!1,function(Fe){var Qe=Te++,fe=!1;te.push(void 0),Ie++,X.resolve(Fe).then(function(He){if(fe)return;fe=!0,te[Qe]=He,--Ie||$(te)},ie)}),--Ie||$(te)});return be.e&&ie(be.v),K.promise},race:function(W){var X=this,K=I(X),$=K.reject,ie=l(function(){a(W,!1,function(be){X.resolve(be).then(K.resolve,$)})});return ie.e&&$(ie.v),K.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(R,N,e){var A=R("./_export"),f=R("./_to-absolute-index"),x=String.fromCharCode,m=String.fromCodePoint;A(A.S+A.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(p){for(var c=[],s=arguments.length,a=0,n;s>a;){if(n=+arguments[a++],f(n,1114111)!==n)throw RangeError(n+" is not a valid code point");c.push(n<65536?x(n):x(((n-=65536)>>10)+55296,n%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(R,N,e){"use strict";var A=R("./_string-at")(!0);R("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,x=this._i,m;return x>=f.length?{value:void 0,done:!0}:(m=A(f,x),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(R,N,e){"use strict";var A=R("./_global"),f=R("./_has"),x=R("./_descriptors"),m=R("./_export"),g=R("./_redefine"),p=R("./_meta").KEY,c=R("./_fails"),s=R("./_shared"),a=R("./_set-to-string-tag"),n=R("./_uid"),i=R("./_wks"),d=R("./_wks-ext"),t=R("./_wks-define"),l=R("./_enum-keys"),r=R("./_is-array"),o=R("./_an-object"),u=R("./_is-object"),h=R("./_to-object"),y=R("./_to-iobject"),b=R("./_to-primitive"),E=R("./_property-desc"),v=R("./_object-create"),w=R("./_object-gopn-ext"),O=R("./_object-gopd"),T=R("./_object-gops"),S=R("./_object-dp"),C=R("./_object-keys"),_=O.f,I=S.f,k=w.f,F=A.Symbol,B=A.JSON,j=B&&B.stringify,z="prototype",M=i("_hidden"),U=i("toPrimitive"),P={}.propertyIsEnumerable,H=s("symbol-registry"),W=s("symbols"),X=s("op-symbols"),K=Object[z],$=typeof F=="function"&&!!T.f,ie=A.QObject,be=!ie||!ie[z]||!ie[z].findChild,te=x&&c(function(){return v(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a!=7})?function(Re,Ze,De){var ne=_(K,Ze);ne&&delete K[Ze],I(Re,Ze,De),ne&&Re!==K&&I(K,Ze,ne)}:I,Te=function(Ze){var De=W[Ze]=v(F[z]);return De._k=Ze,De},Ie=$&&typeof F.iterator=="symbol"?function(Re){return typeof Re=="symbol"}:function(Re){return Re instanceof F},Fe=function(Ze,De,ne){return Ze===K&&Fe(X,De,ne),o(Ze),De=b(De,!0),o(ne),f(W,De)?(ne.enumerable?(f(Ze,M)&&Ze[M][De]&&(Ze[M][De]=!1),ne=v(ne,{enumerable:E(0,!1)})):(f(Ze,M)||I(Ze,M,E(1,{})),Ze[M][De]=!0),te(Ze,De,ne)):I(Ze,De,ne)},Qe=function(Ze,De){o(Ze);for(var ne=l(De=y(De)),he=0,pe=ne.length,Xe;pe>he;)Fe(Ze,Xe=ne[he++],De[Xe]);return Ze},fe=function(Ze,De){return De===void 0?v(Ze):Qe(v(Ze),De)},He=function(Ze){var De=P.call(this,Ze=b(Ze,!0));return this===K&&f(W,Ze)&&!f(X,Ze)?!1:De||!f(this,Ze)||!f(W,Ze)||f(this,M)&&this[M][Ze]?De:!0},se=function(Ze,De){if(Ze=y(Ze),De=b(De,!0),Ze===K&&f(W,De)&&!f(X,De))return;var ne=_(Ze,De);return ne&&f(W,De)&&!(f(Ze,M)&&Ze[M][De])&&(ne.enumerable=!0),ne},Ce=function(Ze){for(var De=k(y(Ze)),ne=[],he=0,pe;De.length>he;)!f(W,pe=De[he++])&&pe!=M&&pe!=p&&ne.push(pe);return ne},mt=function(Ze){for(var De=Ze===K,ne=k(De?X:y(Ze)),he=[],pe=0,Xe;ne.length>pe;)f(W,Xe=ne[pe++])&&(De?f(K,Xe):!0)&&he.push(W[Xe]);return he};$||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var Ze=n(arguments.length>0?arguments[0]:void 0),De=function ne(he){this===K&&ne.call(X,he),f(this,M)&&f(this[M],Ze)&&(this[M][Ze]=!1),te(this,Ze,E(1,he))};return x&&be&&te(K,Ze,{configurable:!0,set:De}),Te(Ze)},g(F[z],"toString",function(){return this._k}),O.f=se,S.f=Fe,R("./_object-gopn").f=w.f=Ce,R("./_object-pie").f=He,T.f=mt,x&&!R("./_library")&&g(K,"propertyIsEnumerable",He,!0),d.f=function(Re){return Te(i(Re))}),m(m.G+m.W+m.F*!$,{Symbol:F});for(var Ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ae=0;Ne.length>ae;)i(Ne[ae++]);for(var ce=C(i.store),le=0;ce.length>le;)t(ce[le++]);m(m.S+m.F*!$,"Symbol",{for:function(Ze){return f(H,Ze+="")?H[Ze]:H[Ze]=F(Ze)},keyFor:function(Ze){if(!Ie(Ze))throw TypeError(Ze+" is not a symbol!");for(var De in H)if(H[De]===Ze)return De},useSetter:function(){be=!0},useSimple:function(){be=!1}}),m(m.S+m.F*!$,"Object",{create:fe,defineProperty:Fe,defineProperties:Qe,getOwnPropertyDescriptor:se,getOwnPropertyNames:Ce,getOwnPropertySymbols:mt});var je=c(function(){T.f(1)});m(m.S+m.F*je,"Object",{getOwnPropertySymbols:function(Ze){return T.f(h(Ze))}}),B&&m(m.S+m.F*(!$||c(function(){var Re=F();return j([Re])!="[null]"||j({a:Re})!="{}"||j(Object(Re))!="{}"})),"JSON",{stringify:function(Ze){for(var De=[Ze],ne=1,he,pe;arguments.length>ne;)De.push(arguments[ne++]);return pe=he=De[1],!u(he)&&Ze===void 0||Ie(Ze)?void 0:(r(he)||(he=function(lt,At){if(typeof pe=="function"&&(At=pe.call(this,lt,At)),!Ie(At))return At}),De[1]=he,j.apply(B,De))}}),F[z][U]||R("./_hide")(F[z],U,F[z].valueOf),a(F,"Symbol"),a(Math,"Math",!0),a(A.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(R,N,e){var A=R("./_export"),f=R("./_object-to-array")(!0);A(A.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(R,N,e){"use strict";var A=R("./_export"),f=R("./_core"),x=R("./_global"),m=R("./_species-constructor"),g=R("./_promise-resolve");A(A.P+A.R,"Promise",{finally:function(c){var s=m(this,f.Promise||x.Promise),a=typeof c=="function";return this.then(a?function(n){return g(s,c()).then(function(){return n})}:c,a?function(n){return g(s,c()).then(function(){throw n})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(R,N,e){"use strict";var A=R("./_export"),f=R("./_new-promise-capability"),x=R("./_perform");A(A.S,"Promise",{try:function(g){var p=f.f(this),c=x(g);return(c.e?p.reject:p.resolve)(c.v),p.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(R,N,e){R("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(R,N,e){R("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(R,N,e){R("./es6.array.iterator");for(var A=R("./_global"),f=R("./_hide"),x=R("./_iterators"),m=R("./_wks")("toStringTag"),g="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(","),p=0;p<g.length;p++){var c=g[p],s=A[c],a=s&&s.prototype;a&&!a[m]&&f(a,m,c),x[c]=x.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(R,N,e){var A=R("./_export"),f=R("./_task");A(A.G+A.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/helpers/typeof"),x=m(f);function m(b){return b&&b.__esModule?b:{default:b}}function g(b){return Array.isArray?Array.isArray(b):y(b)==="[object Array]"}e.isArray=g;function p(b){return typeof b=="boolean"}e.isBoolean=p;function c(b){return b===null}e.isNull=c;function s(b){return b==null}e.isNullOrUndefined=s;function a(b){return typeof b=="number"}e.isNumber=a;function n(b){return typeof b=="string"}e.isString=n;function i(b){return(typeof b=="undefined"?"undefined":(0,x.default)(b))==="symbol"}e.isSymbol=i;function d(b){return b===void 0}e.isUndefined=d;function t(b){return y(b)==="[object RegExp]"}e.isRegExp=t;function l(b){return(typeof b=="undefined"?"undefined":(0,x.default)(b))==="object"&&b!==null}e.isObject=l;function r(b){return y(b)==="[object Date]"}e.isDate=r;function o(b){return y(b)==="[object Error]"||b instanceof Error}e.isError=o;function u(b){return typeof b=="function"}e.isFunction=u;function h(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||(typeof b=="undefined"?"undefined":(0,x.default)(b))==="symbol"||typeof b=="undefined"}e.isPrimitive=h,e.isBuffer=A.isBuffer;function y(b){return Object.prototype.toString.call(b)}}).call(this,{isBuffer:R("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(R,N,e){"use strict";var A=R("babel-runtime/helpers/typeof"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var g=function(){var n=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g;return function(t,l,r,o){if(arguments.length===1&&a(t)==="string"&&!/\d/.test(t)&&(l=t,t=void 0),t=t||new Date,t instanceof Date||(t=new Date(t)),isNaN(t))throw TypeError("Invalid date");l=String(g.masks[l]||l||g.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),r=!0,u==="GMT:"&&(o=!0));var h=r?"getUTC":"get",y=t[h+"Date"](),b=t[h+"Day"](),E=t[h+"Month"](),v=t[h+"FullYear"](),w=t[h+"Hours"](),O=t[h+"Minutes"](),T=t[h+"Seconds"](),S=t[h+"Milliseconds"](),C=r?0:t.getTimezoneOffset(),_=c(t),I=s(t),k={d:y,dd:p(y),ddd:g.i18n.dayNames[b],dddd:g.i18n.dayNames[b+7],m:E+1,mm:p(E+1),mmm:g.i18n.monthNames[E],mmmm:g.i18n.monthNames[E+12],yy:String(v).slice(2),yyyy:v,h:w%12||12,hh:p(w%12||12),H:w,HH:p(w),M:O,MM:p(O),s:T,ss:p(T),l:p(S,3),L:p(Math.round(S/10)),t:w<12?"a":"p",tt:w<12?"am":"pm",T:w<12?"A":"P",TT:w<12?"AM":"PM",Z:o?"GMT":r?"UTC":(String(t).match(i)||[""]).pop().replace(d,""),o:(C>0?"-":"+")+p(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][y%10>3?0:(y%100-y%10!=10)*y%10],W:_,N:I};return l.replace(n,function(F){return F in k?k[F]:F.slice(1,F.length-1)})}}();g.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"},g.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 p(n,i){for(n=String(n),i=i||2;n.length<i;)n="0"+n;return n}function c(n){var i=new Date(n.getFullYear(),n.getMonth(),n.getDate());i.setDate(i.getDate()-(i.getDay()+6)%7+3);var d=new Date(i.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var t=i.getTimezoneOffset()-d.getTimezoneOffset();i.setHours(i.getHours()-t);var l=(i-d)/(864e5*7);return 1+Math.floor(l)}function s(n){var i=n.getDay();return i===0&&(i=7),i}function a(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 g}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?N.exports=g:m.dateFormat=g})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(R,N,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 A=/["'&<>]/;N.exports=f;function f(x){var m=""+x,g=A.exec(m);if(!g)return m;var p,c="",s=0,a=0;for(s=g.index;s<m.length;s++){switch(m.charCodeAt(s)){case 34:p=""";break;case 38:p="&";break;case 39:p="'";break;case 60:p="<";break;case 62:p=">";break;default:continue}a!==s&&(c+=m.substring(a,s)),a=s+1,c+=p}return a!==s?c+m.substring(a,s):c}},{}],192:[function(R,N,e){function A(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}N.exports=A,A.EventEmitter=A,A.prototype._events=void 0,A.prototype._maxListeners=void 0,A.defaultMaxListeners=10,A.prototype.setMaxListeners=function(p){if(!x(p)||p<0||isNaN(p))throw TypeError("n must be a positive number");return this._maxListeners=p,this},A.prototype.emit=function(p){var c,s,a,n,i,d;if(this._events||(this._events={}),p==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var t=new Error('Uncaught, unspecified "error" event. ('+c+")");throw t.context=c,t}if(s=this._events[p],g(s))return!1;if(f(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),s.apply(this,n)}else if(m(s))for(n=Array.prototype.slice.call(arguments,1),d=s.slice(),a=d.length,i=0;i<a;i++)d[i].apply(this,n);return!0},A.prototype.addListener=function(p,c){var s;if(!f(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",p,f(c.listener)?c.listener:c),this._events[p]?m(this._events[p])?this._events[p].push(c):this._events[p]=[this._events[p],c]:this._events[p]=c,m(this._events[p])&&!this._events[p].warned&&(g(this._maxListeners)?s=A.defaultMaxListeners:s=this._maxListeners,s&&s>0&&this._events[p].length>s&&(this._events[p].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[p].length),typeof console.trace=="function"&&console.trace())),this},A.prototype.on=A.prototype.addListener,A.prototype.once=function(p,c){if(!f(c))throw TypeError("listener must be a function");var s=!1;function a(){this.removeListener(p,a),s||(s=!0,c.apply(this,arguments))}return a.listener=c,this.on(p,a),this},A.prototype.removeListener=function(p,c){var s,a,n,i;if(!f(c))throw TypeError("listener must be a function");if(!this._events||!this._events[p])return this;if(s=this._events[p],n=s.length,a=-1,s===c||f(s.listener)&&s.listener===c)delete this._events[p],this._events.removeListener&&this.emit("removeListener",p,c);else if(m(s)){for(i=n;i-- >0;)if(s[i]===c||s[i].listener&&s[i].listener===c){a=i;break}if(a<0)return this;s.length===1?(s.length=0,delete this._events[p]):s.splice(a,1),this._events.removeListener&&this.emit("removeListener",p,c)}return this},A.prototype.removeAllListeners=function(p){var c,s;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[p]&&delete this._events[p],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(s=this._events[p],f(s))this.removeListener(p,s);else if(s)for(;s.length;)this.removeListener(p,s[s.length-1]);return delete this._events[p],this},A.prototype.listeners=function(p){var c;return!this._events||!this._events[p]?c=[]:f(this._events[p])?c=[this._events[p]]:c=this._events[p].slice(),c},A.prototype.listenerCount=function(p){if(this._events){var c=this._events[p];if(f(c))return 1;if(c)return c.length}return 0},A.listenerCount=function(p,c){return p.listenerCount(c)};function f(p){return typeof p=="function"}function x(p){return typeof p=="number"}function m(p){return typeof p=="object"&&p!==null}function g(p){return p===void 0}},{}],193:[function(R,N,e){var A=R("http"),f=N.exports;for(var x in A)A.hasOwnProperty(x)&&(f[x]=A[x]);f.request=function(m,g){return m||(m={}),m.scheme="https",m.protocol="https:",A.request.call(this,m,g)}},{http:231}],194:[function(R,N,e){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var A=R("util"),f=R("ms");N.exports=function(x){if(typeof x=="number")return x;var m=f(x);if(m===void 0){var g=new Error(A.format("humanize-ms(%j) result undefined",x));console.warn(g.stack)}return m}},{ms:204,util:243}],195:[function(R,N,e){e.read=function(A,f,x,m,g){var p,c,s=g*8-m-1,a=(1<<s)-1,n=a>>1,i=-7,d=x?g-1:0,t=x?-1:1,l=A[f+d];for(d+=t,p=l&(1<<-i)-1,l>>=-i,i+=s;i>0;p=p*256+A[f+d],d+=t,i-=8);for(c=p&(1<<-i)-1,p>>=-i,i+=m;i>0;c=c*256+A[f+d],d+=t,i-=8);if(p===0)p=1-n;else{if(p===a)return c?NaN:(l?-1:1)*Infinity;c=c+Math.pow(2,m),p=p-n}return(l?-1:1)*c*Math.pow(2,p-m)},e.write=function(A,f,x,m,g,p){var c,s,a,n=p*8-g-1,i=(1<<n)-1,d=i>>1,t=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:p-1,r=m?1:-1,o=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(s=isNaN(f)?1:0,c=i):(c=Math.floor(Math.log(f)/Math.LN2),f*(a=Math.pow(2,-c))<1&&(c--,a*=2),c+d>=1?f+=t/a:f+=t*Math.pow(2,1-d),f*a>=2&&(c++,a/=2),c+d>=i?(s=0,c=i):c+d>=1?(s=(f*a-1)*Math.pow(2,g),c=c+d):(s=f*Math.pow(2,d-1)*Math.pow(2,g),c=0));g>=8;A[x+l]=s&255,l+=r,s/=256,g-=8);for(c=c<<g|s,n+=g;n>0;A[x+l]=c&255,l+=r,c/=256,n-=8);A[x+l-r]|=o*128}},{}],196:[function(R,N,e){typeof Object.create=="function"?N.exports=function(f,x){x&&(f.super_=x,f.prototype=Object.create(x.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:N.exports=function(f,x){if(x){f.super_=x;var m=function(){};m.prototype=x.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(R,N,e){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/N.exports=function(x){return x!=null&&(A(x)||f(x)||!!x._isBuffer)};function A(x){return!!x.constructor&&typeof x.constructor.isBuffer=="function"&&x.constructor.isBuffer(x)}function f(x){return typeof x.readFloatLE=="function"&&typeof x.slice=="function"&&A(x.slice(0,0))}},{}],198:[function(R,N,e){var A={}.toString;N.exports=Array.isArray||function(f){return A.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(R,N){typeof exports=="object"&&typeof module!="undefined"?module.exports=N(R):typeof define=="function"&&define.amd?define(N):N(R)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(R){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(R){for(var N={},e=0,A=R.length;e<A;e++)N[R.charAt(e)]=e;return N}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(N){if(N.length<2){var e=N.charCodeAt(0);return e<128?N: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+(N.charCodeAt(0)-55296)*1024+(N.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(N){return N.replace(re_utob,cb_utob)},cb_encode=function(N){var e=[0,2,1][N.length%3],A=N.charCodeAt(0)<<16|(N.length>1?N.charCodeAt(1):0)<<8|(N.length>2?N.charCodeAt(2):0),f=[b64chars.charAt(A>>>18),b64chars.charAt(A>>>12&63),e>=2?"=":b64chars.charAt(A>>>6&63),e>=1?"=":b64chars.charAt(A&63)];return f.join("")},btoa=global.btoa?function(R){return global.btoa(R)}:function(R){return R.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(N){var e=Object.prototype.toString.call(N)==="[object Uint8Array]";return e?N.toString("base64"):btoa(utob(String(N)))},encode=function(N,e){return e?_encode(String(N)).replace(/[+\/]/g,function(A){return A=="+"?"-":"_"}).replace(/=/g,""):_encode(N)},encodeURI=function(N){return encode(N,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(N){switch(N.length){case 4:var e=(7&N.charCodeAt(0))<<18|(63&N.charCodeAt(1))<<12|(63&N.charCodeAt(2))<<6|63&N.charCodeAt(3),A=e-65536;return fromCharCode((A>>>10)+55296)+fromCharCode((A&1023)+56320);case 3:return fromCharCode((15&N.charCodeAt(0))<<12|(63&N.charCodeAt(1))<<6|63&N.charCodeAt(2));default:return fromCharCode((31&N.charCodeAt(0))<<6|63&N.charCodeAt(1))}},btou=function(N){return N.replace(re_btou,cb_btou)},cb_decode=function(N){var e=N.length,A=e%4,f=(e>0?b64tab[N.charAt(0)]<<18:0)|(e>1?b64tab[N.charAt(1)]<<12:0)|(e>2?b64tab[N.charAt(2)]<<6:0)|(e>3?b64tab[N.charAt(3)]:0),x=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return x.length-=[0,0,2,1][A],x.join("")},_atob=global.atob?function(R){return global.atob(R)}:function(R){return R.replace(/\S{1,4}/g,cb_decode)},atob=function(N){return _atob(String(N).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(R){return(R.constructor===buffer.constructor?R:buffer.from(R,"base64")).toString()}:function(R){return(R.constructor===buffer.constructor?R:new buffer(R,"base64")).toString()}:function(R){return btou(_atob(R))},decode=function(N){return _decode(String(N).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var N=global.Base64;return global.Base64=_Base64,N};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(N){return{value:N,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(R){return encode(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(R,N,e){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";N.exports=f;var A=Object.prototype.hasOwnProperty;function f(x,m,g){if(!x)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return g===void 0&&(g=!0),Object.getOwnPropertyNames(m).forEach(function(c){if(!g&&A.call(x,c))return;var s=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(x,c,s)}),x}},{}],201:[function(R,N,e){"use strict";function A(){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)}A.prototype.define=function(f,x){for(var m in f){var g=f[m].map(function(s){return s.toLowerCase()});m=m.toLowerCase();for(var p=0;p<g.length;p++){var c=g[p];if(c[0]=="*")continue;if(!x&&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(x||!this._extensions[m]){var c=g[0];this._extensions[m]=c[0]!="*"?c:c.substr(1)}}},A.prototype.getType=function(f){f=String(f);var x=f.replace(/^.*[/\\]/,"").toLowerCase(),m=x.replace(/^.*\./,"").toLowerCase(),g=x.length<f.length,p=m.length<x.length-1;return(p||!g)&&this._types[m]||null},A.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},N.exports=A},{}],202:[function(R,N,e){"use strict";var A=R("./Mime");N.exports=new A(R("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(R,N,e){N.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(R,N,e){var A=1e3,f=A*60,x=f*60,m=x*24,g=m*7,p=m*365.25;N.exports=function(i,d){d=d||{};var t=typeof i;if(t==="string"&&i.length>0)return c(i);if(t==="number"&&isFinite(i))return d.long?a(i):s(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function c(i){if(i=String(i),i.length>100)return;var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!d)return;var t=parseFloat(d[1]),l=(d[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return t*p;case"weeks":case"week":case"w":return t*g;case"days":case"day":case"d":return t*m;case"hours":case"hour":case"hrs":case"hr":case"h":return t*x;case"minutes":case"minute":case"mins":case"min":case"m":return t*f;case"seconds":case"second":case"secs":case"sec":case"s":return t*A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}function s(i){var d=Math.abs(i);return d>=m?Math.round(i/m)+"d":d>=x?Math.round(i/x)+"h":d>=f?Math.round(i/f)+"m":d>=A?Math.round(i/A)+"s":i+"ms"}function a(i){var d=Math.abs(i);return d>=m?n(i,d,m,"day"):d>=x?n(i,d,x,"hour"):d>=f?n(i,d,f,"minute"):d>=A?n(i,d,A,"second"):i+" ms"}function n(i,d,t,l){var r=d>=t*1.5;return Math.round(i/t)+" "+l+(r?"s":"")}},{}],205:[function(R,N,e){(function(A){function f(p,c){for(var s=0,a=p.length-1;a>=0;a--){var n=p[a];n==="."?p.splice(a,1):n===".."?(p.splice(a,1),s++):s&&(p.splice(a,1),s--)}if(c)for(;s--;s)p.unshift("..");return p}e.resolve=function(){for(var p="",c=!1,s=arguments.length-1;s>=-1&&!c;s--){var a=s>=0?arguments[s]:A.cwd();if(typeof a!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!a)continue;p=a+"/"+p,c=a.charAt(0)==="/"}return p=f(m(p.split("/"),function(n){return!!n}),!c).join("/"),(c?"/":"")+p||"."},e.normalize=function(p){var c=e.isAbsolute(p),s=g(p,-1)==="/";return p=f(m(p.split("/"),function(a){return!!a}),!c).join("/"),!p&&!c&&(p="."),p&&s&&(p+="/"),(c?"/":"")+p},e.isAbsolute=function(p){return p.charAt(0)==="/"},e.join=function(){var p=Array.prototype.slice.call(arguments,0);return e.normalize(m(p,function(c,s){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},e.relative=function(p,c){p=e.resolve(p).substr(1),c=e.resolve(c).substr(1);function s(r){for(var o=0;o<r.length&&!(r[o]!=="");o++);for(var u=r.length-1;u>=0&&!(r[u]!=="");u--);return o>u?[]:r.slice(o,u-o+1)}for(var a=s(p.split("/")),n=s(c.split("/")),i=Math.min(a.length,n.length),d=i,t=0;t<i;t++)if(a[t]!==n[t]){d=t;break}for(var l=[],t=d;t<a.length;t++)l.push("..");return l=l.concat(n.slice(d)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(p){if(typeof p!="string"&&(p=p+""),p.length===0)return".";for(var c=p.charCodeAt(0),s=c===47,a=-1,n=!0,i=p.length-1;i>=1;--i)if(c=p.charCodeAt(i),c===47){if(!n){a=i;break}}else n=!1;return a===-1?s?"/":".":s&&a===1?"/":p.slice(0,a)};function x(p){typeof p!="string"&&(p=p+"");var c=0,s=-1,a=!0,n;for(n=p.length-1;n>=0;--n)if(p.charCodeAt(n)===47){if(!a){c=n+1;break}}else s===-1&&(a=!1,s=n+1);return s===-1?"":p.slice(c,s)}e.basename=function(p,c){var s=x(p);return c&&s.substr(-1*c.length)===c&&(s=s.substr(0,s.length-c.length)),s},e.extname=function(p){typeof p!="string"&&(p=p+"");for(var c=-1,s=0,a=-1,n=!0,i=0,d=p.length-1;d>=0;--d){var t=p.charCodeAt(d);if(t===47){if(!n){s=d+1;break}continue}a===-1&&(n=!1,a=d+1),t===46?c===-1?c=d:i!==1&&(i=1):c!==-1&&(i=-1)}return c===-1||a===-1||i===0||i===1&&c===a-1&&c===s+1?"":p.slice(c,a)};function m(p,c){if(p.filter)return p.filter(c);for(var s=[],a=0;a<p.length;a++)c(p[a],a,p)&&s.push(p[a]);return s}var g="ab".substr(-1)==="b"?function(p,c,s){return p.substr(c,s)}:function(p,c,s){return c<0&&(c=p.length+c),p.substr(c,s)}}).call(this,R("_process"))},{_process:208}],206:[function(R,N,e){(function(A){/*!
|
|
|
* 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},x=f[typeof window]&&window||this,m=x,g=f[typeof e]&&e,p=f[typeof N]&&N&&!N.nodeType&&N,c=g&&p&&typeof A=="object"&&A;c&&(c.global===c||c.window===c||c.self===c)&&(x=c);var s=Math.pow(2,53)-1,a=/\bOpera/,n=this,i=Object.prototype,d=i.hasOwnProperty,t=i.toString;function l(S){return S=String(S),S.charAt(0).toUpperCase()+S.slice(1)}function r(S,C,_){var I={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return C&&_&&/^Win/i.test(S)&&!/^Windows Phone /i.test(S)&&(I=I[/[\d.]+$/.exec(S)])&&(S="Windows "+I),S=String(S),C&&_&&(S=S.replace(RegExp(C,"i"),_)),S=u(S.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]),S}function o(S,C){var _=-1,I=S?S.length:0;if(typeof I=="number"&&I>-1&&I<=s)for(;++_<I;)C(S[_],_,S);else h(S,C)}function u(S){return S=w(S),/^(?:webOS|i(?:OS|P))/.test(S)?S:l(S)}function h(S,C){for(var _ in S)d.call(S,_)&&C(S[_],_,S)}function y(S){return S==null?l(S):t.call(S).slice(8,-1)}function b(S,C){var _=S!=null?typeof S[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(_)&&(_=="object"?!!S[C]:!0)}function E(S){return String(S).replace(/([ -])(?!$)/g,"$1?")}function v(S,C){var _=null;return o(S,function(I,k){_=C(_,I,k,S)}),_}function w(S){return String(S).replace(/^ +| +$/g,"")}function O(S){var C=x,_=S&&typeof S=="object"&&y(S)!="String";_&&(C=S,S=null);var I=C.navigator||{},k=I.userAgent||"";S||(S=k);var F=_||n==m,B=_?!!I.likeChrome:/\bChrome\b/.test(S)&&!/internal|\n/i.test(t.toString()),j="Object",z=_?j:"ScriptBridgingProxyObject",M=_?j:"Environment",U=_&&C.java?"JavaPackage":y(C.java),P=_?j:"RuntimeObject",H=/\bJava/.test(U)&&C.java,W=H&&y(C.environment)==M,X=H?"a":"\u03B1",K=H?"b":"\u03B2",$=C.document||{},ie=C.operamini||C.opera,be=a.test(be=_&&ie?ie["[[Class]]"]:y(ie))?be:ie=null,te,Te=S,Ie=[],Fe=null,Qe=S==k,fe=Qe&&ie&&typeof ie.version=="function"&&ie.version(),He,se=ce([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ce=je(["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"]),mt=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"]),Ne=le({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}}),ae=Re(["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 ce(pe){return v(pe,function(Xe,lt){return Xe||RegExp("\\b"+(lt.pattern||E(lt))+"\\b","i").exec(S)&&(lt.label||lt)})}function le(pe){return v(pe,function(Xe,lt,At){return Xe||(lt[mt]||lt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(mt)]||RegExp("\\b"+E(At)+"(?:\\b|\\w*\\d)","i").exec(S))&&At})}function je(pe){return v(pe,function(Xe,lt){return Xe||RegExp("\\b"+(lt.pattern||E(lt))+"\\b","i").exec(S)&&(lt.label||lt)})}function Re(pe){return v(pe,function(Xe,lt){var At=lt.pattern||E(lt);return!Xe&&(Xe=RegExp("\\b"+At+"(?:/[\\d.]+|[ \\w.]*)","i").exec(S))&&(Xe=r(Xe,At,lt.label||lt)),Xe})}function Ze(pe){return v(pe,function(Xe,lt){var At=lt.pattern||E(lt);return!Xe&&(Xe=RegExp("\\b"+At+" *\\d+[.\\w_]*","i").exec(S)||RegExp("\\b"+At+" *\\w+-[\\w]*","i").exec(S)||RegExp("\\b"+At+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(S))&&((Xe=String(lt.label&&!RegExp(At,"i").test(lt.label)?lt.label:Xe).split("/"))[1]&&!/[\d.]+/.test(Xe[0])&&(Xe[0]+=" "+Xe[1]),lt=lt.label||lt,Xe=u(Xe[0].replace(RegExp(At,"i"),lt).replace(RegExp("; *(?:"+lt+"[_-])?","i")," ").replace(RegExp("("+lt+")[-_.]?(\\w)","i"),"$1 $2"))),Xe})}function De(pe){return v(pe,function(Xe,lt){return Xe||(RegExp(lt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(S)||0)[1]||null})}function ne(){return this.description||""}if(se&&(se=[se]),Ne&&!mt&&(mt=Ze([Ne])),(te=/\bGoogle TV\b/.exec(mt))&&(mt=te[0]),/\bSimulator\b/i.test(S)&&(mt=(mt?mt+" ":"")+"Simulator"),Ce=="Opera Mini"&&/\bOPiOS\b/.test(S)&&Ie.push("running in Turbo/Uncompressed mode"),Ce=="IE"&&/\blike iPhone OS\b/.test(S)?(te=O(S.replace(/like iPhone OS/,"")),Ne=te.manufacturer,mt=te.product):/^iP/.test(mt)?(Ce||(Ce="Safari"),ae="iOS"+((te=/ OS ([\d_]+)/i.exec(S))?" "+te[1].replace(/_/g,"."):"")):Ce=="Konqueror"&&!/buntu/i.test(ae)?ae="Kubuntu":Ne&&Ne!="Google"&&(/Chrome/.test(Ce)&&!/\bMobile Safari\b/i.test(S)||/\bVita\b/.test(mt))||/\bAndroid\b/.test(ae)&&/^Chrome/.test(Ce)&&/\bVersion\//i.test(S)?(Ce="Android Browser",ae=/\bAndroid\b/.test(ae)?ae:"Android"):Ce=="Silk"?(/\bMobi/i.test(S)||(ae="Android",Ie.unshift("desktop mode")),/Accelerated *= *true/i.test(S)&&Ie.unshift("accelerated")):Ce=="PaleMoon"&&(te=/\bFirefox\/([\d.]+)\b/.exec(S))?Ie.push("identifying as Firefox "+te[1]):Ce=="Firefox"&&(te=/\b(Mobile|Tablet|TV)\b/i.exec(S))?(ae||(ae="Firefox OS"),mt||(mt=te[1])):!Ce||(te=!/\bMinefield\b/i.test(S)&&/\b(?:Firefox|Safari)\b/.exec(Ce))?(Ce&&!mt&&/[\/,]|^[^(]+?\)/.test(S.slice(S.indexOf(te+"/")+8))&&(Ce=null),(te=mt||Ne||ae)&&(mt||Ne||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ae))&&(Ce=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ae)?ae:te)+" Browser")):Ce=="Electron"&&(te=(/\bChrome\/([\d.]+)\b/.exec(S)||0)[1])&&Ie.push("Chromium "+te),fe||(fe=De(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",E(Ce),"(?:Firefox|Minefield|NetFront)"])),(te=se=="iCab"&&parseFloat(fe)>3&&"WebKit"||/\bOpera\b/.test(Ce)&&(/\bOPR\b/.test(S)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(S)&&!/^(?:Trident|EdgeHTML)$/.test(se)&&"WebKit"||!se&&/\bMSIE\b/i.test(S)&&(ae=="Mac OS"?"Tasman":"Trident")||se=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ce)&&"NetFront")&&(se=[te]),Ce=="IE"&&(te=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(S)||0)[1])?(Ce+=" Mobile",ae="Windows Phone "+(/\+$/.test(te)?te:te+".x"),Ie.unshift("desktop mode")):/\bWPDesktop\b/i.test(S)?(Ce="IE Mobile",ae="Windows Phone 8.x",Ie.unshift("desktop mode"),fe||(fe=(/\brv:([\d.]+)/.exec(S)||0)[1])):Ce!="IE"&&se=="Trident"&&(te=/\brv:([\d.]+)/.exec(S))&&(Ce&&Ie.push("identifying as "+Ce+(fe?" "+fe:"")),Ce="IE",fe=te[1]),Qe){if(b(C,"global"))if(H&&(te=H.lang.System,Te=te.getProperty("os.arch"),ae=ae||te.getProperty("os.name")+" "+te.getProperty("os.version")),W){try{fe=C.require("ringo/engine").version.join("."),Ce="RingoJS"}catch(pe){(te=C.system)&&te.global.system==C.system&&(Ce="Narwhal",ae||(ae=te[0].os||null))}Ce||(Ce="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(te=C.process)&&(typeof te.versions=="object"&&(typeof te.versions.electron=="string"?(Ie.push("Node "+te.versions.node),Ce="Electron",fe=te.versions.electron):typeof te.versions.nw=="string"&&(Ie.push("Chromium "+fe,"Node "+te.versions.node),Ce="NW.js",fe=te.versions.nw)),Ce||(Ce="Node.js",Te=te.arch,ae=te.platform,fe=/[\d.]+/.exec(te.version),fe=fe?fe[0]:null));else y(te=C.runtime)==z?(Ce="Adobe AIR",ae=te.flash.system.Capabilities.os):y(te=C.phantom)==P?(Ce="PhantomJS",fe=(te=te.version||null)&&te.major+"."+te.minor+"."+te.patch):typeof $.documentMode=="number"&&(te=/\bTrident\/(\d+)/i.exec(S))?(fe=[fe,$.documentMode],(te=+te[1]+4)!=fe[1]&&(Ie.push("IE "+fe[1]+" mode"),se&&(se[1]=""),fe[1]=te),fe=Ce=="IE"?String(fe[1].toFixed(1)):fe[0]):typeof $.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ce)&&(Ie.push("masking as "+Ce+" "+fe),Ce="IE",fe="11.0",se=["Trident"],ae="Windows");ae=ae&&u(ae)}if(fe&&(te=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(fe)||/(?:alpha|beta)(?: ?\d)?/i.exec(S+";"+(Qe&&I.appMinorVersion))||/\bMinefield\b/i.test(S)&&"a")&&(Fe=/b/i.test(te)?"beta":"alpha",fe=fe.replace(RegExp(te+"\\+?$"),"")+(Fe=="beta"?K:X)+(/\d+\+?/.exec(te)||"")),Ce=="Fennec"||Ce=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(ae))Ce="Firefox Mobile";else if(Ce=="Maxthon"&&fe)fe=fe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(mt))mt=="Xbox 360"&&(ae=null),mt=="Xbox 360"&&/\bIEMobile\b/.test(S)&&Ie.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ce)||Ce&&!mt&&!/Browser|Mobi/.test(Ce))&&(ae=="Windows CE"||/Mobi/i.test(S)))Ce+=" Mobile";else if(Ce=="IE"&&Qe)try{C.external===null&&Ie.unshift("platform preview")}catch(pe){Ie.unshift("embedded")}else(/\bBlackBerry\b/.test(mt)||/\bBB10\b/.test(S))&&(te=(RegExp(mt.replace(/ +/g," *")+"/([.\\d]+)","i").exec(S)||0)[1]||fe)?(te=[te,/BB10/.test(S)],ae=(te[1]?(mt=null,Ne="BlackBerry"):"Device Software")+" "+te[0],fe=null):this!=h&&mt!="Wii"&&(Qe&&ie||/Opera/.test(Ce)&&/\b(?:MSIE|Firefox)\b/i.test(S)||Ce=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ae)||Ce=="IE"&&(ae&&!/^Win/.test(ae)&&fe>5.5||/\bWindows XP\b/.test(ae)&&fe>8||fe==8&&!/\bTrident\b/.test(S)))&&!a.test(te=O.call(h,S.replace(a,"")+";"))&&te.name&&(te="ing as "+te.name+((te=te.version)?" "+te:""),a.test(Ce)?(/\bIE\b/.test(te)&&ae=="Mac OS"&&(ae=null),te="identify"+te):(te="mask"+te,be?Ce=u(be.replace(/([a-z])([A-Z])/g,"$1 $2")):Ce="Opera",/\bIE\b/.test(te)&&(ae=null),Qe||(fe=null)),se=["Presto"],Ie.push(te));(te=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(S)||0)[1])&&(te=[parseFloat(te.replace(/\.(\d)$/,".0$1")),te],Ce=="Safari"&&te[1].slice(-1)=="+"?(Ce="WebKit Nightly",Fe="alpha",fe=te[1].slice(0,-1)):(fe==te[1]||fe==(te[2]=(/\bSafari\/([\d.]+\+?)/i.exec(S)||0)[1]))&&(fe=null),te[1]=(/\bChrome\/([\d.]+)/i.exec(S)||0)[1],te[0]==537.36&&te[2]==537.36&&parseFloat(te[1])>=28&&se=="WebKit"&&(se=["Blink"]),!Qe||!B&&!te[1]?(se&&(se[1]="like Safari"),te=(te=te[0],te<400?1:te<500?2:te<526?3:te<533?4:te<534?"4+":te<535?5:te<537?6:te<538?7:te<601?8:"8")):(se&&(se[1]="like Chrome"),te=te[1]||(te=te[0],te<530?1:te<532?2:te<532.05?3:te<533?4:te<534.03?5:te<534.07?6:te<534.1?7:te<534.13?8:te<534.16?9:te<534.24?10:te<534.3?11:te<535.01?12:te<535.02?"13+":te<535.07?15:te<535.11?16:te<535.19?17:te<536.05?18:te<536.1?19:te<537.01?20:te<537.11?"21+":te<537.13?23:te<537.18?24:te<537.24?25:te<537.36?26:se!="Blink"?"27":"28")),se&&(se[1]+=" "+(te+=typeof te=="number"?".x":/[.+]/.test(te)?"":"+")),Ce=="Safari"&&(!fe||parseInt(fe)>45)&&(fe=te)),Ce=="Opera"&&(te=/\bzbov|zvav$/.exec(ae))?(Ce+=" ",Ie.unshift("desktop mode"),te=="zvav"?(Ce+="Mini",fe=null):Ce+="Mobile",ae=ae.replace(RegExp(" *"+te+"$"),"")):Ce=="Safari"&&/\bChrome\b/.exec(se&&se[1])&&(Ie.unshift("desktop mode"),Ce="Chrome Mobile",fe=null,/\bOS X\b/.test(ae)?(Ne="Apple",ae="iOS 4.3+"):ae=null),fe&&fe.indexOf(te=/[\d.]+$/.exec(ae))==0&&S.indexOf("/"+te+"-")>-1&&(ae=w(ae.replace(te,""))),se&&!/\b(?:Avant|Nook)\b/.test(Ce)&&(/Browser|Lunascape|Maxthon/.test(Ce)||Ce!="Safari"&&/^iOS/.test(ae)&&/\bSafari\b/.test(se[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Ce)&&se[1])&&((te=se[se.length-1])&&Ie.push(te)),Ie.length&&(Ie=["("+Ie.join("; ")+")"]),Ne&&mt&&mt.indexOf(Ne)<0&&Ie.push("on "+Ne),mt&&Ie.push((/^on /.test(Ie[Ie.length-1])?"":"on ")+mt),ae&&(te=/ ([\d.+]+)$/.exec(ae),He=te&&ae.charAt(ae.length-te[0].length-1)=="/",ae={architecture:32,family:te&&!He?ae.replace(te[0],""):ae,version:te?te[1]:null,toString:function(){var Xe=this.version;return this.family+(Xe&&!He?" "+Xe:"")+(this.architecture==64?" 64-bit":"")}}),(te=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Te))&&!/\bi686\b/i.test(Te)?(ae&&(ae.architecture=64,ae.family=ae.family.replace(RegExp(" *"+te),"")),Ce&&(/\bWOW64\b/i.test(S)||Qe&&/\w(?:86|32)$/.test(I.cpuClass||I.platform)&&!/\bWin64; x64\b/i.test(S))&&Ie.unshift("32-bit")):ae&&/^OS X/.test(ae.family)&&Ce=="Chrome"&&parseFloat(fe)>=39&&(ae.architecture=64),S||(S=null);var he={};return he.description=S,he.layout=se&&se[0],he.manufacturer=Ne,he.name=Ce,he.prerelease=Fe,he.product=mt,he.ua=S,he.version=Ce&&fe,he.os=ae||{architecture:null,family:null,version:null,toString:function(){return"null"}},he.parse=O,he.toString=ne,he.version&&Ie.unshift(fe),he.name&&Ie.unshift(Ce),ae&&Ce&&!(ae==String(ae).split(" ")[0]&&(ae==Ce.split(" ")[0]||mt))&&Ie.push(mt?"("+ae+")":"on "+ae),Ie.length&&(he.description=Ie.join(" ")),he}var T=O();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(x.platform=T,define(function(){return T})):g&&p?h(T,function(S,C){g[C]=S}):x.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(R,N,e){(function(A){"use strict";typeof A=="undefined"||!A.version||A.version.indexOf("v0.")===0||A.version.indexOf("v1.")===0&&A.version.indexOf("v1.8.")!==0?N.exports={nextTick:f}:N.exports=A;function f(x,m,g,p){if(typeof x!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,s,a;switch(c){case 0:case 1:return A.nextTick(x);case 2:return A.nextTick(function(){x.call(null,m)});case 3:return A.nextTick(function(){x.call(null,m,g)});case 4:return A.nextTick(function(){x.call(null,m,g,p)});default:for(s=new Array(c-1),a=0;a<s.length;)s[a++]=arguments[a];return A.nextTick(function(){x.apply(null,s)})}}}).call(this,R("_process"))},{_process:208}],208:[function(R,N,e){var A=N.exports={},f,x;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch(o){f=m}try{typeof clearTimeout=="function"?x=clearTimeout:x=g}catch(o){x=g}})();function p(o){if(f===setTimeout)return setTimeout(o,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(o,0);try{return f(o,0)}catch(u){try{return f.call(null,o,0)}catch(h){return f.call(this,o,0)}}}function c(o){if(x===clearTimeout)return clearTimeout(o);if((x===g||!x)&&clearTimeout)return x=clearTimeout,clearTimeout(o);try{return x(o)}catch(u){try{return x.call(null,o)}catch(h){return x.call(this,o)}}}var s=[],a=!1,n,i=-1;function d(){if(!a||!n)return;a=!1,n.length?s=n.concat(s):i=-1,s.length&&t()}function t(){if(a)return;var o=p(d);a=!0;for(var u=s.length;u;){for(n=s,s=[];++i<u;)n&&n[i].run();i=-1,u=s.length}n=null,a=!1,c(o)}A.nextTick=function(o){var u=new Array(arguments.length-1);if(arguments.length>1)for(var h=1;h<arguments.length;h++)u[h-1]=arguments[h];s.push(new l(o,u)),s.length===1&&!a&&p(t)};function l(o,u){this.fun=o,this.array=u}l.prototype.run=function(){this.fun.apply(null,this.array)},A.title="browser",A.browser=!0,A.env={},A.argv=[],A.version="",A.versions={};function r(){}A.on=r,A.addListener=r,A.once=r,A.off=r,A.removeListener=r,A.removeAllListeners=r,A.emit=r,A.prependListener=r,A.prependOnceListener=r,A.listeners=function(o){return[]},A.binding=function(o){throw new Error("process.binding is not supported")},A.cwd=function(){return"/"},A.chdir=function(o){throw new Error("process.chdir is not supported")},A.umask=function(){return 0}},{}],209:[function(R,N,e){(function(A){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var x=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof N=="object"&&N&&!N.nodeType&&N,g=typeof A=="object"&&A;(g.global===g||g.window===g||g.self===g)&&(f=g);var p,c=2147483647,s=36,a=1,n=26,i=38,d=700,t=72,l=128,r="-",o=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=s-a,E=Math.floor,v=String.fromCharCode,w;function O(U){throw new RangeError(y[U])}function T(U,P){for(var H=U.length,W=[];H--;)W[H]=P(U[H]);return W}function S(U,P){var H=U.split("@"),W="";H.length>1&&(W=H[0]+"@",U=H[1]),U=U.replace(h,".");var X=U.split("."),K=T(X,P).join(".");return W+K}function C(U){for(var P=[],H=0,W=U.length,X,K;H<W;)X=U.charCodeAt(H++),X>=55296&&X<=56319&&H<W?(K=U.charCodeAt(H++),(K&64512)==56320?P.push(((X&1023)<<10)+(K&1023)+65536):(P.push(X),H--)):P.push(X);return P}function _(U){return T(U,function(P){var H="";return P>65535&&(P-=65536,H+=v(P>>>10&1023|55296),P=56320|P&1023),H+=v(P),H}).join("")}function I(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:s}function k(U,P){return U+22+75*(U<26)-((P!=0)<<5)}function F(U,P,H){var W=0;for(U=H?E(U/d):U>>1,U+=E(U/P);U>b*n>>1;W+=s)U=E(U/b);return E(W+(b+1)*U/(U+i))}function B(U){var P=[],H=U.length,W,X=0,K=l,$=t,ie,be,te,Te,Ie,Fe,Qe,fe,He;for(ie=U.lastIndexOf(r),ie<0&&(ie=0),be=0;be<ie;++be)U.charCodeAt(be)>=128&&O("not-basic"),P.push(U.charCodeAt(be));for(te=ie>0?ie+1:0;te<H;){for(Te=X,Ie=1,Fe=s;!(te>=H&&O("invalid-input"),Qe=I(U.charCodeAt(te++)),(Qe>=s||Qe>E((c-X)/Ie))&&O("overflow"),X+=Qe*Ie,fe=Fe<=$?a:Fe>=$+n?n:Fe-$,Qe<fe);Fe+=s)He=s-fe,Ie>E(c/He)&&O("overflow"),Ie*=He;W=P.length+1,$=F(X-Te,W,Te==0),E(X/W)>c-K&&O("overflow"),K+=E(X/W),X%=W,P.splice(X++,0,K)}return _(P)}function j(U){var P,H,W,X,K,$,ie,be,te,Te,Ie,Fe=[],Qe,fe,He,se;for(U=C(U),Qe=U.length,P=l,H=0,K=t,$=0;$<Qe;++$)Ie=U[$],Ie<128&&Fe.push(v(Ie));for(W=X=Fe.length,X&&Fe.push(r);W<Qe;){for(ie=c,$=0;$<Qe;++$)Ie=U[$],Ie>=P&&Ie<ie&&(ie=Ie);for(fe=W+1,ie-P>E((c-H)/fe)&&O("overflow"),H+=(ie-P)*fe,P=ie,$=0;$<Qe;++$)if(Ie=U[$],Ie<P&&++H>c&&O("overflow"),Ie==P){for(be=H,te=s;!(Te=te<=K?a:te>=K+n?n:te-K,be<Te);te+=s)se=be-Te,He=s-Te,Fe.push(v(k(Te+se%He,0))),be=E(se/He);Fe.push(v(k(be,0))),K=F(H,fe,W==X),H=0,++W}++H,++P}return Fe.join("")}function z(U){return S(U,function(P){return o.test(P)?B(P.slice(4).toLowerCase()):P})}function M(U){return S(U,function(P){return u.test(P)?"xn--"+j(P):P})}if(p={version:"1.4.1",ucs2:{decode:C,encode:_},decode:B,encode:j,toASCII:M,toUnicode:z},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return p});else if(x&&m)if(N.exports==x)m.exports=p;else for(w in p)p.hasOwnProperty(w)&&(x[w]=p[w]);else f.punycode=p})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(R,N,e){"use strict";function A(x,m){return Object.prototype.hasOwnProperty.call(x,m)}N.exports=function(x,m,g,p){m=m||"&",g=g||"=";var c={};if(typeof x!="string"||x.length===0)return c;var s=/\+/g;x=x.split(m);var a=1e3;p&&typeof p.maxKeys=="number"&&(a=p.maxKeys);var n=x.length;a>0&&n>a&&(n=a);for(var i=0;i<n;++i){var d=x[i].replace(s,"%20"),t=d.indexOf(g),l,r,o,u;t>=0?(l=d.substr(0,t),r=d.substr(t+1)):(l=d,r=""),o=decodeURIComponent(l),u=decodeURIComponent(r),A(c,o)?f(c[o])?c[o].push(u):c[o]=[c[o],u]:c[o]=u}return c};var f=Array.isArray||function(x){return Object.prototype.toString.call(x)==="[object Array]"}},{}],211:[function(R,N,e){"use strict";var A=function(p){switch(typeof p){case"string":return p;case"boolean":return p?"true":"false";case"number":return isFinite(p)?p:"";default:return""}};N.exports=function(g,p,c,s){return p=p||"&",c=c||"=",g===null&&(g=void 0),typeof g=="object"?x(m(g),function(a){var n=encodeURIComponent(A(a))+c;return f(g[a])?x(g[a],function(i){return n+encodeURIComponent(A(i))}).join(p):n+encodeURIComponent(A(g[a]))}).join(p):s?encodeURIComponent(A(s))+c+encodeURIComponent(A(g)):""};var f=Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"};function x(g,p){if(g.map)return g.map(p);for(var c=[],s=0;s<g.length;s++)c.push(p(g[s],s));return c}var m=Object.keys||function(g){var p=[];for(var c in g)Object.prototype.hasOwnProperty.call(g,c)&&p.push(c);return p}},{}],212:[function(R,N,e){"use strict";e.decode=e.parse=R("./decode"),e.encode=e.stringify=R("./encode")},{"./decode":210,"./encode":211}],213:[function(R,N,e){N.exports=R("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=g(A),x=R("babel-runtime/core-js/object/keys"),m=g(x);function g(u){return u&&u.__esModule?u:{default:u}}var p=R("process-nextick-args"),c=m.default||function(u){var h=[];for(var y in u)h.push(y);return h};N.exports=l;var s=(0,f.default)(R("core-util-is"));s.inherits=R("inherits");var a=R("./_stream_readable"),n=R("./_stream_writable");s.inherits(l,a);for(var i=c(n.prototype),d=0;d<i.length;d++){var t=i[d];l.prototype[t]||(l.prototype[t]=n.prototype[t])}function l(u){if(!(this instanceof l))return new l(u);a.call(this,u),n.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",r)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function r(){if(this.allowHalfOpen||this._writableState.ended)return;p.nextTick(o,this)}function o(u){u.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(h){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=h,this._writableState.destroyed=h}}),l.prototype._destroy=function(u,h){this.push(null),this.end(),p.nextTick(h,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(c){return c&&c.__esModule?c:{default:c}}N.exports=p;var m=R("./_stream_transform"),g=(0,f.default)(R("core-util-is"));g.inherits=R("inherits"),g.inherits(p,m);function p(c){if(!(this instanceof p))return new p(c);m.call(this,c)}p.prototype._transform=function(c,s,a){a(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(R,N,e){(function(A,f){"use strict";var x=R("babel-runtime/core-js/object/get-prototype-of"),m=c(x),g=R("babel-runtime/core-js/object/create"),p=c(g);function c(se){return se&&se.__esModule?se:{default:se}}var s=R("process-nextick-args");N.exports=C;var a=R("isarray"),n;C.ReadableState=S;var i=R("events").EventEmitter,d=function(Ce,mt){return Ce.listeners(mt).length},t=R("./internal/streams/stream"),l=R("safe-buffer").Buffer,r=f.Uint8Array||function(){};function o(se){return l.from(se)}function u(se){return l.isBuffer(se)||se instanceof r}var h=(0,p.default)(R("core-util-is"));h.inherits=R("inherits");var y=R("util"),b=void 0;y&&y.debuglog?b=y.debuglog("stream"):b=function(){};var E=R("./internal/streams/BufferList"),v=R("./internal/streams/destroy"),w;h.inherits(C,t);var O=["error","close","destroy","pause","resume"];function T(se,Ce,mt){if(typeof se.prependListener=="function")return se.prependListener(Ce,mt);!se._events||!se._events[Ce]?se.on(Ce,mt):a(se._events[Ce])?se._events[Ce].unshift(mt):se._events[Ce]=[mt,se._events[Ce]]}function S(se,Ce){n=n||R("./_stream_duplex"),se=se||{};var mt=Ce instanceof n;this.objectMode=!!se.objectMode,mt&&(this.objectMode=this.objectMode||!!se.readableObjectMode);var Ne=se.highWaterMark,ae=se.readableHighWaterMark,ce=this.objectMode?16:16*1024;Ne||Ne===0?this.highWaterMark=Ne:mt&&(ae||ae===0)?this.highWaterMark=ae:this.highWaterMark=ce,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=se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,se.encoding&&(w||(w=R("string_decoder/").StringDecoder),this.decoder=new w(se.encoding),this.encoding=se.encoding)}function C(se){if(n=n||R("./_stream_duplex"),!(this instanceof C))return new C(se);this._readableState=new S(se,this),this.readable=!0,se&&(typeof se.read=="function"&&(this._read=se.read),typeof se.destroy=="function"&&(this._destroy=se.destroy)),t.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ce){if(!this._readableState)return;this._readableState.destroyed=Ce}}),C.prototype.destroy=v.destroy,C.prototype._undestroy=v.undestroy,C.prototype._destroy=function(se,Ce){this.push(null),Ce(se)},C.prototype.push=function(se,Ce){var mt=this._readableState,Ne;return mt.objectMode?Ne=!0:typeof se=="string"&&(Ce=Ce||mt.defaultEncoding,Ce!==mt.encoding&&(se=l.from(se,Ce),Ce=""),Ne=!0),_(this,se,Ce,!1,Ne)},C.prototype.unshift=function(se){return _(this,se,null,!0,!1)};function _(se,Ce,mt,Ne,ae){var ce=se._readableState;if(Ce===null)ce.reading=!1,M(se,ce);else{var le;ae||(le=k(ce,Ce)),le?se.emit("error",le):ce.objectMode||Ce&&Ce.length>0?(typeof Ce!="string"&&!ce.objectMode&&(0,m.default)(Ce)!==l.prototype&&(Ce=o(Ce)),Ne?ce.endEmitted?se.emit("error",new Error("stream.unshift() after end event")):I(se,ce,Ce,!0):ce.ended?se.emit("error",new Error("stream.push() after EOF")):(ce.reading=!1,ce.decoder&&!mt?(Ce=ce.decoder.write(Ce),ce.objectMode||Ce.length!==0?I(se,ce,Ce,!1):H(se,ce)):I(se,ce,Ce,!1))):Ne||(ce.reading=!1)}return F(ce)}function I(se,Ce,mt,Ne){Ce.flowing&&Ce.length===0&&!Ce.sync?(se.emit("data",mt),se.read(0)):(Ce.length+=Ce.objectMode?1:mt.length,Ne?Ce.buffer.unshift(mt):Ce.buffer.push(mt),Ce.needReadable&&U(se)),H(se,Ce)}function k(se,Ce){var mt;return!u(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!se.objectMode&&(mt=new TypeError("Invalid non-string/buffer chunk")),mt}function F(se){return!se.ended&&(se.needReadable||se.length<se.highWaterMark||se.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(se){return w||(w=R("string_decoder/").StringDecoder),this._readableState.decoder=new w(se),this._readableState.encoding=se,this};var B=8388608;function j(se){return se>=B?se=B:(se--,se|=se>>>1,se|=se>>>2,se|=se>>>4,se|=se>>>8,se|=se>>>16,se++),se}function z(se,Ce){return se<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:se!==se?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(se>Ce.highWaterMark&&(Ce.highWaterMark=j(se)),se<=Ce.length?se:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}C.prototype.read=function(se){b("read",se),se=parseInt(se,10);var Ce=this._readableState,mt=se;if(se!==0&&(Ce.emittedReadable=!1),se===0&&Ce.needReadable&&(Ce.length>=Ce.highWaterMark||Ce.ended))return b("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?Qe(this):U(this),null;if(se=z(se,Ce),se===0&&Ce.ended)return Ce.length===0&&Qe(this),null;var Ne=Ce.needReadable;b("need readable",Ne),(Ce.length===0||Ce.length-se<Ce.highWaterMark)&&(Ne=!0,b("length less than watermark",Ne)),Ce.ended||Ce.reading?(Ne=!1,b("reading or ended",Ne)):Ne&&(b("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(se=z(mt,Ce)));var ae;return se>0?ae=te(se,Ce):ae=null,ae===null?(Ce.needReadable=!0,se=0):Ce.length-=se,Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),mt!==se&&Ce.ended&&Qe(this)),ae!==null&&this.emit("data",ae),ae};function M(se,Ce){if(Ce.ended)return;if(Ce.decoder){var mt=Ce.decoder.end();mt&&mt.length&&(Ce.buffer.push(mt),Ce.length+=Ce.objectMode?1:mt.length)}Ce.ended=!0,U(se)}function U(se){var Ce=se._readableState;Ce.needReadable=!1,Ce.emittedReadable||(b("emitReadable",Ce.flowing),Ce.emittedReadable=!0,Ce.sync?s.nextTick(P,se):P(se))}function P(se){b("emit readable"),se.emit("readable"),be(se)}function H(se,Ce){Ce.readingMore||(Ce.readingMore=!0,s.nextTick(W,se,Ce))}function W(se,Ce){for(var mt=Ce.length;!Ce.reading&&!Ce.flowing&&!Ce.ended&&Ce.length<Ce.highWaterMark&&!(b("maybeReadMore read 0"),se.read(0),mt===Ce.length);)mt=Ce.length;Ce.readingMore=!1}C.prototype._read=function(se){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(se,Ce){var mt=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=se;break;case 1:Ne.pipes=[Ne.pipes,se];break;default:Ne.pipes.push(se);break}Ne.pipesCount+=1,b("pipe count=%d opts=%j",Ne.pipesCount,Ce);var ae=(!Ce||Ce.end!==!1)&&se!==A.stdout&&se!==A.stderr,ce=ae?je:At;Ne.endEmitted?s.nextTick(ce):mt.once("end",ce),se.on("unpipe",le);function le(Me,Ht){b("onunpipe"),Me===mt&&(Ht&&Ht.hasUnpiped===!1&&(Ht.hasUnpiped=!0,De()))}function je(){b("onend"),se.end()}var Re=X(mt);se.on("drain",Re);var Ze=!1;function De(){b("cleanup"),se.removeListener("close",Xe),se.removeListener("finish",lt),se.removeListener("drain",Re),se.removeListener("error",pe),se.removeListener("unpipe",le),mt.removeListener("end",je),mt.removeListener("end",At),mt.removeListener("data",he),Ze=!0,Ne.awaitDrain&&(!se._writableState||se._writableState.needDrain)&&Re()}var ne=!1;mt.on("data",he);function he(Me){b("ondata"),ne=!1;var Ht=se.write(Me);Ht===!1&&!ne&&((Ne.pipesCount===1&&Ne.pipes===se||Ne.pipesCount>1&&He(Ne.pipes,se)!==-1)&&!Ze&&(b("false write response, pause",mt._readableState.awaitDrain),mt._readableState.awaitDrain++,ne=!0),mt.pause())}function pe(Me){b("onerror",Me),At(),se.removeListener("error",pe),d(se,"error")===0&&se.emit("error",Me)}T(se,"error",pe);function Xe(){se.removeListener("finish",lt),At()}se.once("close",Xe);function lt(){b("onfinish"),se.removeListener("close",Xe),At()}se.once("finish",lt);function At(){b("unpipe"),mt.unpipe(se)}return se.emit("pipe",mt),Ne.flowing||(b("pipe resume"),mt.resume()),se};function X(se){return function(){var Ce=se._readableState;b("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&d(se,"data")&&(Ce.flowing=!0,be(se))}}C.prototype.unpipe=function(se){var Ce=this._readableState,mt={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return se&&se!==Ce.pipes?this:(se||(se=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,se&&se.emit("unpipe",this,mt),this);if(!se){var Ne=Ce.pipes,ae=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var ce=0;ce<ae;ce++)Ne[ce].emit("unpipe",this,mt);return this}var le=He(Ce.pipes,se);return le===-1?this:(Ce.pipes.splice(le,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),se.emit("unpipe",this,mt),this)},C.prototype.on=function(se,Ce){var mt=t.prototype.on.call(this,se,Ce);if(se==="data")this._readableState.flowing!==!1&&this.resume();else if(se==="readable"){var Ne=this._readableState;!Ne.endEmitted&&!Ne.readableListening&&(Ne.readableListening=Ne.needReadable=!0,Ne.emittedReadable=!1,Ne.reading?Ne.length&&U(this):s.nextTick(K,this))}return mt},C.prototype.addListener=C.prototype.on;function K(se){b("readable nexttick read 0"),se.read(0)}C.prototype.resume=function(){var se=this._readableState;return se.flowing||(b("resume"),se.flowing=!0,$(this,se)),this};function $(se,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,s.nextTick(ie,se,Ce))}function ie(se,Ce){Ce.reading||(b("resume read 0"),se.read(0)),Ce.resumeScheduled=!1,Ce.awaitDrain=0,se.emit("resume"),be(se),Ce.flowing&&!Ce.reading&&se.read(0)}C.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function be(se){var Ce=se._readableState;for(b("flow",Ce.flowing);Ce.flowing&&se.read()!==null;);}C.prototype.wrap=function(se){var Ce=this,mt=this._readableState,Ne=!1;se.on("end",function(){if(b("wrapped end"),mt.decoder&&!mt.ended){var le=mt.decoder.end();le&&le.length&&Ce.push(le)}Ce.push(null)}),se.on("data",function(le){if(b("wrapped data"),mt.decoder&&(le=mt.decoder.write(le)),mt.objectMode&&le==null)return;if(!mt.objectMode&&(!le||!le.length))return;var je=Ce.push(le);je||(Ne=!0,se.pause())});for(var ae in se)this[ae]===void 0&&typeof se[ae]=="function"&&(this[ae]=function(le){return function(){return se[le].apply(se,arguments)}}(ae));for(var ce=0;ce<O.length;ce++)se.on(O[ce],this.emit.bind(this,O[ce]));return this._read=function(le){b("wrapped _read",le),Ne&&(Ne=!1,se.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=te;function te(se,Ce){if(Ce.length===0)return null;var mt;return Ce.objectMode?mt=Ce.buffer.shift():!se||se>=Ce.length?(Ce.decoder?mt=Ce.buffer.join(""):Ce.buffer.length===1?mt=Ce.buffer.head.data:mt=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):mt=Te(se,Ce.buffer,Ce.decoder),mt}function Te(se,Ce,mt){var Ne;return se<Ce.head.data.length?(Ne=Ce.head.data.slice(0,se),Ce.head.data=Ce.head.data.slice(se)):se===Ce.head.data.length?Ne=Ce.shift():Ne=mt?Ie(se,Ce):Fe(se,Ce),Ne}function Ie(se,Ce){var mt=Ce.head,Ne=1,ae=mt.data;for(se-=ae.length;mt=mt.next;){var ce=mt.data,le=se>ce.length?ce.length:se;if(le===ce.length?ae+=ce:ae+=ce.slice(0,se),se-=le,se===0){le===ce.length?(++Ne,mt.next?Ce.head=mt.next:Ce.head=Ce.tail=null):(Ce.head=mt,mt.data=ce.slice(le));break}++Ne}return Ce.length-=Ne,ae}function Fe(se,Ce){var mt=l.allocUnsafe(se),Ne=Ce.head,ae=1;for(Ne.data.copy(mt),se-=Ne.data.length;Ne=Ne.next;){var ce=Ne.data,le=se>ce.length?ce.length:se;if(ce.copy(mt,mt.length-se,0,le),se-=le,se===0){le===ce.length?(++ae,Ne.next?Ce.head=Ne.next:Ce.head=Ce.tail=null):(Ce.head=Ne,Ne.data=ce.slice(le));break}++ae}return Ce.length-=ae,mt}function Qe(se){var Ce=se._readableState;if(Ce.length>0)throw new Error('"endReadable()" called on non-empty stream');Ce.endEmitted||(Ce.ended=!0,s.nextTick(fe,Ce,se))}function fe(se,Ce){!se.endEmitted&&se.length===0&&(se.endEmitted=!0,Ce.readable=!1,Ce.emit("end"))}function He(se,Ce){for(var mt=0,Ne=se.length;mt<Ne;mt++)if(se[mt]===Ce)return mt;return-1}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(n){return n&&n.__esModule?n:{default:n}}N.exports=c;var m=R("./_stream_duplex"),g=(0,f.default)(R("core-util-is"));g.inherits=R("inherits"),g.inherits(c,m);function p(n,i){var d=this._transformState;d.transforming=!1;var t=d.writecb;if(!t)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,i!=null&&this.push(i),t(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:p.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",s)}function s(){var n=this;typeof this._flush=="function"?this._flush(function(i,d){a(n,i,d)}):a(this,null,null)}c.prototype.push=function(n,i){return this._transformState.needTransform=!1,m.prototype.push.call(this,n,i)},c.prototype._transform=function(n,i,d){throw new Error("_transform() is not implemented")},c.prototype._write=function(n,i,d){var t=this._transformState;if(t.writecb=d,t.writechunk=n,t.writeencoding=i,!t.transforming){var l=this._readableState;(t.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},c.prototype._read=function(n){var i=this._transformState;i.writechunk!==null&&i.writecb&&!i.transforming?(i.transforming=!0,this._transform(i.writechunk,i.writeencoding,i.afterTransform)):i.needTransform=!0},c.prototype._destroy=function(n,i){var d=this;m.prototype._destroy.call(this,n,function(t){i(t),d.emit("close")})};function a(n,i,d){if(i)return n.emit("error",i);if(d!=null&&n.push(d),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(R,N,e){(function(A,f){"use strict";var x=R("babel-runtime/core-js/object/define-property"),m=t(x),g=R("babel-runtime/core-js/symbol/has-instance"),p=t(g),c=R("babel-runtime/core-js/symbol"),s=t(c),a=R("babel-runtime/core-js/object/create"),n=t(a),i=R("babel-runtime/core-js/set-immediate"),d=t(i);function t(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}var l=R("process-nextick-args");N.exports=k;function r(Fe,Qe,fe){this.chunk=Fe,this.encoding=Qe,this.callback=fe,this.next=null}function o(Fe){var Qe=this;this.next=null,this.entry=null,this.finish=function(){Ie(Qe,Fe)}}var u=!A.browser&&["v0.10","v0.9."].indexOf(A.version.slice(0,5))>-1?d.default:l.nextTick,h;k.WritableState=_;var y=(0,n.default)(R("core-util-is"));y.inherits=R("inherits");var b={deprecate:R("util-deprecate")},E=R("./internal/streams/stream"),v=R("safe-buffer").Buffer,w=f.Uint8Array||function(){};function O(Fe){return v.from(Fe)}function T(Fe){return v.isBuffer(Fe)||Fe instanceof w}var S=R("./internal/streams/destroy");y.inherits(k,E);function C(){}function _(Fe,Qe){h=h||R("./_stream_duplex"),Fe=Fe||{};var fe=Qe instanceof h;this.objectMode=!!Fe.objectMode,fe&&(this.objectMode=this.objectMode||!!Fe.writableObjectMode);var He=Fe.highWaterMark,se=Fe.writableHighWaterMark,Ce=this.objectMode?16:16*1024;He||He===0?this.highWaterMark=He:fe&&(se||se===0)?this.highWaterMark=se:this.highWaterMark=Ce,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var mt=Fe.decodeStrings===!1;this.decodeStrings=!mt,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ne){H(Qe,Ne)},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 o(this)}_.prototype.getBuffer=function(){for(var Qe=this.bufferedRequest,fe=[];Qe;)fe.push(Qe),Qe=Qe.next;return fe},function(){try{Object.defineProperty(_.prototype,"buffer",{get:b.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Fe){}}();var I;typeof s.default=="function"&&p.default&&typeof Function.prototype[p.default]=="function"?(I=Function.prototype[p.default],(0,m.default)(k,p.default,{value:function(Qe){return I.call(this,Qe)?!0:this!==k?!1:Qe&&Qe._writableState instanceof _}})):I=function(Qe){return Qe instanceof this};function k(Fe){if(h=h||R("./_stream_duplex"),!I.call(k,this)&&!(this instanceof h))return new k(Fe);this._writableState=new _(Fe,this),this.writable=!0,Fe&&(typeof Fe.write=="function"&&(this._write=Fe.write),typeof Fe.writev=="function"&&(this._writev=Fe.writev),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy),typeof Fe.final=="function"&&(this._final=Fe.final)),E.call(this)}k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(Fe,Qe){var fe=new Error("write after end");Fe.emit("error",fe),l.nextTick(Qe,fe)}function B(Fe,Qe,fe,He){var se=!0,Ce=!1;return fe===null?Ce=new TypeError("May not write null values to stream"):typeof fe!="string"&&fe!==void 0&&!Qe.objectMode&&(Ce=new TypeError("Invalid non-string/buffer chunk")),Ce&&(Fe.emit("error",Ce),l.nextTick(He,Ce),se=!1),se}k.prototype.write=function(Fe,Qe,fe){var He=this._writableState,se=!1,Ce=!He.objectMode&&T(Fe);return Ce&&!v.isBuffer(Fe)&&(Fe=O(Fe)),typeof Qe=="function"&&(fe=Qe,Qe=null),Ce?Qe="buffer":Qe||(Qe=He.defaultEncoding),typeof fe!="function"&&(fe=C),He.ended?F(this,fe):(Ce||B(this,He,Fe,fe))&&(He.pendingcb++,se=z(this,He,Ce,Fe,Qe,fe)),se},k.prototype.cork=function(){var Fe=this._writableState;Fe.corked++},k.prototype.uncork=function(){var Fe=this._writableState;Fe.corked&&(Fe.corked--,!Fe.writing&&!Fe.corked&&!Fe.finished&&!Fe.bufferProcessing&&Fe.bufferedRequest&&K(this,Fe))},k.prototype.setDefaultEncoding=function(Qe){if(typeof Qe=="string"&&(Qe=Qe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Qe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Qe);return this._writableState.defaultEncoding=Qe,this};function j(Fe,Qe,fe){return!Fe.objectMode&&Fe.decodeStrings!==!1&&typeof Qe=="string"&&(Qe=v.from(Qe,fe)),Qe}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z(Fe,Qe,fe,He,se,Ce){if(!fe){var mt=j(Qe,He,se);He!==mt&&(fe=!0,se="buffer",He=mt)}var Ne=Qe.objectMode?1:He.length;Qe.length+=Ne;var ae=Qe.length<Qe.highWaterMark;if(ae||(Qe.needDrain=!0),Qe.writing||Qe.corked){var ce=Qe.lastBufferedRequest;Qe.lastBufferedRequest={chunk:He,encoding:se,isBuf:fe,callback:Ce,next:null},ce?ce.next=Qe.lastBufferedRequest:Qe.bufferedRequest=Qe.lastBufferedRequest,Qe.bufferedRequestCount+=1}else M(Fe,Qe,!1,Ne,He,se,Ce);return ae}function M(Fe,Qe,fe,He,se,Ce,mt){Qe.writelen=He,Qe.writecb=mt,Qe.writing=!0,Qe.sync=!0,fe?Fe._writev(se,Qe.onwrite):Fe._write(se,Ce,Qe.onwrite),Qe.sync=!1}function U(Fe,Qe,fe,He,se){--Qe.pendingcb,fe?(l.nextTick(se,He),l.nextTick(te,Fe,Qe),Fe._writableState.errorEmitted=!0,Fe.emit("error",He)):(se(He),Fe._writableState.errorEmitted=!0,Fe.emit("error",He),te(Fe,Qe))}function P(Fe){Fe.writing=!1,Fe.writecb=null,Fe.length-=Fe.writelen,Fe.writelen=0}function H(Fe,Qe){var fe=Fe._writableState,He=fe.sync,se=fe.writecb;if(P(fe),Qe)U(Fe,fe,He,Qe,se);else{var Ce=$(fe);!Ce&&!fe.corked&&!fe.bufferProcessing&&fe.bufferedRequest&&K(Fe,fe),He?u(W,Fe,fe,Ce,se):W(Fe,fe,Ce,se)}}function W(Fe,Qe,fe,He){fe||X(Fe,Qe),Qe.pendingcb--,He(),te(Fe,Qe)}function X(Fe,Qe){Qe.length===0&&Qe.needDrain&&(Qe.needDrain=!1,Fe.emit("drain"))}function K(Fe,Qe){Qe.bufferProcessing=!0;var fe=Qe.bufferedRequest;if(Fe._writev&&fe&&fe.next){var He=Qe.bufferedRequestCount,se=new Array(He),Ce=Qe.corkedRequestsFree;Ce.entry=fe;for(var mt=0,Ne=!0;fe;)se[mt]=fe,fe.isBuf||(Ne=!1),fe=fe.next,mt+=1;se.allBuffers=Ne,M(Fe,Qe,!0,Qe.length,se,"",Ce.finish),Qe.pendingcb++,Qe.lastBufferedRequest=null,Ce.next?(Qe.corkedRequestsFree=Ce.next,Ce.next=null):Qe.corkedRequestsFree=new o(Qe),Qe.bufferedRequestCount=0}else{for(;fe;){var ae=fe.chunk,ce=fe.encoding,le=fe.callback,je=Qe.objectMode?1:ae.length;if(M(Fe,Qe,!1,je,ae,ce,le),fe=fe.next,Qe.bufferedRequestCount--,Qe.writing)break}fe===null&&(Qe.lastBufferedRequest=null)}Qe.bufferedRequest=fe,Qe.bufferProcessing=!1}k.prototype._write=function(Fe,Qe,fe){fe(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(Fe,Qe,fe){var He=this._writableState;typeof Fe=="function"?(fe=Fe,Fe=null,Qe=null):typeof Qe=="function"&&(fe=Qe,Qe=null),Fe!=null&&this.write(Fe,Qe),He.corked&&(He.corked=1,this.uncork()),!He.ending&&!He.finished&&Te(this,He,fe)};function $(Fe){return Fe.ending&&Fe.length===0&&Fe.bufferedRequest===null&&!Fe.finished&&!Fe.writing}function ie(Fe,Qe){Fe._final(function(fe){Qe.pendingcb--,fe&&Fe.emit("error",fe),Qe.prefinished=!0,Fe.emit("prefinish"),te(Fe,Qe)})}function be(Fe,Qe){!Qe.prefinished&&!Qe.finalCalled&&(typeof Fe._final=="function"?(Qe.pendingcb++,Qe.finalCalled=!0,l.nextTick(ie,Fe,Qe)):(Qe.prefinished=!0,Fe.emit("prefinish")))}function te(Fe,Qe){var fe=$(Qe);return fe&&(be(Fe,Qe),Qe.pendingcb===0&&(Qe.finished=!0,Fe.emit("finish"))),fe}function Te(Fe,Qe,fe){Qe.ending=!0,te(Fe,Qe),fe&&(Qe.finished?l.nextTick(fe):Fe.once("finish",fe)),Qe.ended=!0,Fe.writable=!1}function Ie(Fe,Qe,fe){var He=Fe.entry;for(Fe.entry=null;He;){var se=He.callback;Qe.pendingcb--,se(fe),He=He.next}Qe.corkedRequestsFree?Qe.corkedRequestsFree.next=Fe:Qe.corkedRequestsFree=Fe}Object.defineProperty(k.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Qe){if(!this._writableState)return;this._writableState.destroyed=Qe}}),k.prototype.destroy=S.destroy,k.prototype._undestroy=S.undestroy,k.prototype._destroy=function(Fe,Qe){this.end(),Qe(Fe)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(R,N,e){"use strict";function A(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}var f=R("safe-buffer").Buffer,x=R("util");function m(g,p,c){g.copy(p,c)}N.exports=function(){function g(){A(this,g),this.head=null,this.tail=null,this.length=0}return g.prototype.push=function(c){var s={data:c,next:null};this.length>0?this.tail.next=s:this.head=s,this.tail=s,++this.length},g.prototype.unshift=function(c){var s={data:c,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length},g.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},g.prototype.clear=function(){this.head=this.tail=null,this.length=0},g.prototype.join=function(c){if(this.length===0)return"";for(var s=this.head,a=""+s.data;s=s.next;)a+=c+s.data;return a},g.prototype.concat=function(c){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var s=f.allocUnsafe(c>>>0),a=this.head,n=0;a;)m(a.data,s,n),n+=a.data.length,a=a.next;return s},g}(),x&&x.inspect&&x.inspect.custom&&(N.exports.prototype[x.inspect.custom]=function(){var g=x.inspect({length:this.length});return this.constructor.name+" "+g})},{"safe-buffer":228,util:71}],220:[function(R,N,e){"use strict";var A=R("process-nextick-args");function f(g,p){var c=this,s=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return s||a?(p?p(g):g&&(!this._writableState||!this._writableState.errorEmitted)&&A.nextTick(m,this,g),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,function(n){!p&&n?(A.nextTick(m,c,n),c._writableState&&(c._writableState.errorEmitted=!0)):p&&p(n)}),this)}function x(){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(g,p){g.emit("error",p)}N.exports={destroy:f,undestroy:x}},{"process-nextick-args":207}],221:[function(R,N,e){"use strict";N.exports=R("events").EventEmitter},{events:192}],222:[function(R,N,e){N.exports=R("./readable").PassThrough},{"./readable":223}],223:[function(R,N,e){e=N.exports=R("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=R("./lib/_stream_writable.js"),e.Duplex=R("./lib/_stream_duplex.js"),e.Transform=R("./lib/_stream_transform.js"),e.PassThrough=R("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(R,N,e){N.exports=R("./readable").Transform},{"./readable":223}],225:[function(R,N,e){N.exports=R("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(R,N,e){var A=function(){return this}()||Function("return this")(),f=A.regeneratorRuntime&&Object.getOwnPropertyNames(A).indexOf("regeneratorRuntime")>=0,x=f&&A.regeneratorRuntime;if(A.regeneratorRuntime=void 0,N.exports=R("./runtime"),f)A.regeneratorRuntime=x;else try{delete A.regeneratorRuntime}catch(m){A.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(R,N,e){!function(A){"use strict";var f=Object.prototype,x=f.hasOwnProperty,m,g=typeof Symbol=="function"?Symbol:{},p=g.iterator||"@@iterator",c=g.asyncIterator||"@@asyncIterator",s=g.toStringTag||"@@toStringTag",a=typeof N=="object",n=A.regeneratorRuntime;if(n){a&&(N.exports=n);return}n=A.regeneratorRuntime=a?N.exports:{};function i(z,M,U,P){var H=M&&M.prototype instanceof h?M:h,W=Object.create(H.prototype),X=new F(P||[]);return W._invoke=C(z,U,X),W}n.wrap=i;function d(z,M,U){try{return{type:"normal",arg:z.call(M,U)}}catch(P){return{type:"throw",arg:P}}}var t="suspendedStart",l="suspendedYield",r="executing",o="completed",u={};function h(){}function y(){}function b(){}var E={};E[p]=function(){return this};var v=Object.getPrototypeOf,w=v&&v(v(B([])));w&&w!==f&&x.call(w,p)&&(E=w);var O=b.prototype=h.prototype=Object.create(E);y.prototype=O.constructor=b,b.constructor=y,b[s]=y.displayName="GeneratorFunction";function T(z){["next","throw","return"].forEach(function(M){z[M]=function(U){return this._invoke(M,U)}})}n.isGeneratorFunction=function(z){var M=typeof z=="function"&&z.constructor;return M?M===y||(M.displayName||M.name)==="GeneratorFunction":!1},n.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,b):(z.__proto__=b,s in z||(z[s]="GeneratorFunction")),z.prototype=Object.create(O),z},n.awrap=function(z){return{__await:z}};function S(z){function M(H,W,X,K){var $=d(z[H],z,W);if($.type==="throw")K($.arg);else{var ie=$.arg,be=ie.value;return be&&typeof be=="object"&&x.call(be,"__await")?Promise.resolve(be.__await).then(function(te){M("next",te,X,K)},function(te){M("throw",te,X,K)}):Promise.resolve(be).then(function(te){ie.value=te,X(ie)},K)}}var U;function P(H,W){function X(){return new Promise(function(K,$){M(H,W,K,$)})}return U=U?U.then(X,X):X()}this._invoke=P}T(S.prototype),S.prototype[c]=function(){return this},n.AsyncIterator=S,n.async=function(z,M,U,P){var H=new S(i(z,M,U,P));return n.isGeneratorFunction(M)?H:H.next().then(function(W){return W.done?W.value:H.next()})};function C(z,M,U){var P=t;return function(W,X){if(P===r)throw new Error("Generator is already running");if(P===o){if(W==="throw")throw X;return j()}for(U.method=W,U.arg=X;;){var K=U.delegate;if(K){var $=_(K,U);if($){if($===u)continue;return $}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(P===t)throw P=o,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);P=r;var ie=d(z,M,U);if(ie.type==="normal"){if(P=U.done?o:l,ie.arg===u)continue;return{value:ie.arg,done:U.done}}else ie.type==="throw"&&(P=o,U.method="throw",U.arg=ie.arg)}}}function _(z,M){var U=z.iterator[M.method];if(U===m){if(M.delegate=null,M.method==="throw"){if(z.iterator.return&&(M.method="return",M.arg=m,_(z,M),M.method==="throw"))return u;M.method="throw",M.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var P=d(U,z.iterator,M.arg);if(P.type==="throw")return M.method="throw",M.arg=P.arg,M.delegate=null,u;var H=P.arg;if(!H)return M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,u;if(H.done)M[z.resultName]=H.value,M.next=z.nextLoc,M.method!=="return"&&(M.method="next",M.arg=m);else return H;return M.delegate=null,u}T(O),O[s]="Generator",O[p]=function(){return this},O.toString=function(){return"[object Generator]"};function I(z){var M={tryLoc:z[0]};1 in z&&(M.catchLoc=z[1]),2 in z&&(M.finallyLoc=z[2],M.afterLoc=z[3]),this.tryEntries.push(M)}function k(z){var M=z.completion||{};M.type="normal",delete M.arg,z.completion=M}function F(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(I,this),this.reset(!0)}n.keys=function(z){var M=[];for(var U in z)M.push(U);return M.reverse(),function P(){for(;M.length;){var H=M.pop();if(H in z)return P.value=H,P.done=!1,P}return P.done=!0,P}};function B(z){if(z){var M=z[p];if(M)return M.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var U=-1,P=function H(){for(;++U<z.length;)if(x.call(z,U))return H.value=z[U],H.done=!1,H;return H.value=m,H.done=!0,H};return P.next=P}}return{next:j}}n.values=B;function j(){return{value:m,done:!0}}F.prototype={constructor:F,reset:function(M){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),!M)for(var U in this)U.charAt(0)==="t"&&x.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var M=this.tryEntries[0],U=M.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var U=this;function P(ie,be){return X.type="throw",X.arg=M,U.next=ie,be&&(U.method="next",U.arg=m),!!be}for(var H=this.tryEntries.length-1;H>=0;--H){var W=this.tryEntries[H],X=W.completion;if(W.tryLoc==="root")return P("end");if(W.tryLoc<=this.prev){var K=x.call(W,"catchLoc"),$=x.call(W,"finallyLoc");if(K&&$){if(this.prev<W.catchLoc)return P(W.catchLoc,!0);if(this.prev<W.finallyLoc)return P(W.finallyLoc)}else if(K){if(this.prev<W.catchLoc)return P(W.catchLoc,!0)}else if($){if(this.prev<W.finallyLoc)return P(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(M,U){for(var P=this.tryEntries.length-1;P>=0;--P){var H=this.tryEntries[P];if(H.tryLoc<=this.prev&&x.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var W=H;break}}W&&(M==="break"||M==="continue")&&W.tryLoc<=U&&U<=W.finallyLoc&&(W=null);var X=W?W.completion:{};return X.type=M,X.arg=U,W?(this.method="next",this.next=W.finallyLoc,u):this.complete(X)},complete:function(M,U){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&U&&(this.next=U),u},finish:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var P=this.tryEntries[U];if(P.finallyLoc===M)return this.complete(P.completion,P.afterLoc),k(P),u}},catch:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var P=this.tryEntries[U];if(P.tryLoc===M){var H=P.completion;if(H.type==="throw"){var W=H.arg;k(P)}return W}}throw new Error("illegal catch attempt")},delegateYield:function(M,U,P){return this.delegate={iterator:B(M),resultName:U,nextLoc:P},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(R,N,e){var A=R("buffer"),f=A.Buffer;function x(g,p){for(var c in g)p[c]=g[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?N.exports=A:(x(A,e),e.Buffer=m);function m(g,p,c){return f(g,p,c)}x(f,m),m.from=function(g,p,c){if(typeof g=="number")throw new TypeError("Argument must not be a number");return f(g,p,c)},m.alloc=function(g,p,c){if(typeof g!="number")throw new TypeError("Argument must be a number");var s=f(g);return p!==void 0?typeof c=="string"?s.fill(p,c):s.fill(p):s.fill(0),s},m.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return f(g)},m.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return A.SlowBuffer(g)}},{buffer:73}],229:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/core-js/string/from-code-point"),x=l(f),m=R("babel-runtime/core-js/json/stringify"),g=l(m),p=R("babel-runtime/helpers/typeof"),c=l(p),s=R("babel-runtime/core-js/object/define-property"),a=l(s),n=R("babel-runtime/core-js/object/keys"),i=l(n),d=R("babel-runtime/core-js/object/create"),t=l(d);function l(r){return r&&r.__esModule?r:{default:r}}(function(r){r.parser=function(ce,le){return new u(ce,le)},r.SAXParser=u,r.SAXStream=O,r.createStream=w,r.MAX_BUFFER_LENGTH=64*1024;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(ce,le){if(!(this instanceof u))return new u(ce,le);var je=this;y(je),je.q=je.c="",je.bufferCheckPosition=r.MAX_BUFFER_LENGTH,je.opt=le||{},je.opt.lowercase=je.opt.lowercase||je.opt.lowercasetags,je.looseCase=je.opt.lowercase?"toLowerCase":"toUpperCase",je.tags=[],je.closed=je.closedRoot=je.sawRoot=!1,je.tag=je.error=null,je.strict=!!ce,je.noscript=!!(ce||je.opt.noscript),je.state=W.BEGIN,je.strictEntities=je.opt.strictEntities,je.ENTITIES=je.strictEntities?(0,t.default)(r.XML_ENTITIES):(0,t.default)(r.ENTITIES),je.attribList=[],je.opt.xmlns&&(je.ns=(0,t.default)(I)),je.trackPosition=je.opt.position!==!1,je.trackPosition&&(je.position=je.line=je.column=0),K(je,"onready")}t.default||(Object.create=function(ce){function le(){}le.prototype=ce;var je=new le;return je}),i.default||(Object.keys=function(ce){var le=[];for(var je in ce)ce.hasOwnProperty(je)&&le.push(je);return le});function h(ce){for(var le=Math.max(r.MAX_BUFFER_LENGTH,10),je=0,Re=0,Ze=o.length;Re<Ze;Re++){var De=ce[o[Re]].length;if(De>le)switch(o[Re]){case"textNode":ie(ce);break;case"cdata":$(ce,"oncdata",ce.cdata),ce.cdata="";break;case"script":$(ce,"onscript",ce.script),ce.script="";break;default:te(ce,"Max buffer length exceeded: "+o[Re])}je=Math.max(je,De)}var ne=r.MAX_BUFFER_LENGTH-je;ce.bufferCheckPosition=ne+ce.position}function y(ce){for(var le=0,je=o.length;le<je;le++)ce[o[le]]=""}function b(ce){ie(ce),ce.cdata!==""&&($(ce,"oncdata",ce.cdata),ce.cdata=""),ce.script!==""&&($(ce,"onscript",ce.script),ce.script="")}u.prototype={end:function(){Te(this)},write:ae,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){b(this)}};var E;try{E=R("stream").Stream}catch(ce){E=function(){}}var v=r.EVENTS.filter(function(ce){return ce!=="error"&&ce!=="end"});function w(ce,le){return new O(ce,le)}function O(ce,le){if(!(this instanceof O))return new O(ce,le);E.apply(this),this._parser=new u(ce,le),this.writable=!0,this.readable=!0;var je=this;this._parser.onend=function(){je.emit("end")},this._parser.onerror=function(Re){je.emit("error",Re),je._parser.error=null},this._decoder=null,v.forEach(function(Re){(0,a.default)(je,"on"+Re,{get:function(){return je._parser["on"+Re]},set:function(De){if(!De)return je.removeAllListeners(Re),je._parser["on"+Re]=De,De;je.on(Re,De)},enumerable:!0,configurable:!1})})}O.prototype=(0,t.default)(E.prototype,{constructor:{value:O}}),O.prototype.write=function(ce){if(typeof A=="function"&&typeof A.isBuffer=="function"&&A.isBuffer(ce)){if(!this._decoder){var le=R("string_decoder").StringDecoder;this._decoder=new le("utf8")}ce=this._decoder.write(ce)}return this._parser.write(ce.toString()),this.emit("data",ce),!0},O.prototype.end=function(ce){return ce&&ce.length&&this.write(ce),this._parser.end(),!0},O.prototype.on=function(ce,le){var je=this;return!je._parser["on"+ce]&&v.indexOf(ce)!==-1&&(je._parser["on"+ce]=function(){var Re=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Re.splice(0,0,ce),je.emit.apply(je,Re)}),E.prototype.on.call(je,ce,le)};var T="[CDATA[",S="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",I={xml:C,xmlns:_},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]/,j=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function z(ce){return ce===" "||ce===`
|
|
|
`||ce==="\r"||ce===" "}function M(ce){return ce==='"'||ce==="'"}function U(ce){return ce===">"||z(ce)}function P(ce,le){return ce.test(le)}function H(ce,le){return!P(ce,le)}var W=0;r.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,i.default)(r.ENTITIES).forEach(function(ce){var le=r.ENTITIES[ce],je=typeof le=="number"?String.fromCharCode(le):le;r.ENTITIES[ce]=je});for(var X in r.STATE)r.STATE[r.STATE[X]]=X;W=r.STATE;function K(ce,le,je){ce[le]&&ce[le](je)}function $(ce,le,je){ce.textNode&&ie(ce),K(ce,le,je)}function ie(ce){ce.textNode=be(ce.opt,ce.textNode),ce.textNode&&K(ce,"ontext",ce.textNode),ce.textNode=""}function be(ce,le){return ce.trim&&(le=le.trim()),ce.normalize&&(le=le.replace(/\s+/g," ")),le}function te(ce,le){return ie(ce),ce.trackPosition&&(le+=`
|
|
|
Line: `+ce.line+`
|
|
|
Column: `+ce.column+`
|
|
|
Char: `+ce.c),le=new Error(le),ce.error=le,K(ce,"onerror",le),ce}function Te(ce){return ce.sawRoot&&!ce.closedRoot&&Ie(ce,"Unclosed root tag"),ce.state!==W.BEGIN&&ce.state!==W.BEGIN_WHITESPACE&&ce.state!==W.TEXT&&te(ce,"Unexpected end"),ie(ce),ce.c="",ce.closed=!0,K(ce,"onend"),u.call(ce,ce.strict,ce.opt),ce}function Ie(ce,le){if((typeof ce=="undefined"?"undefined":(0,c.default)(ce))!=="object"||!(ce instanceof u))throw new Error("bad call to strictFail");ce.strict&&te(ce,le)}function Fe(ce){ce.strict||(ce.tagName=ce.tagName[ce.looseCase]());var le=ce.tags[ce.tags.length-1]||ce,je=ce.tag={name:ce.tagName,attributes:{}};ce.opt.xmlns&&(je.ns=le.ns),ce.attribList.length=0,$(ce,"onopentagstart",je)}function Qe(ce,le){var je=ce.indexOf(":"),Re=je<0?["",ce]:ce.split(":"),Ze=Re[0],De=Re[1];return le&&ce==="xmlns"&&(Ze="xmlns",De=""),{prefix:Ze,local:De}}function fe(ce){if(ce.strict||(ce.attribName=ce.attribName[ce.looseCase]()),ce.attribList.indexOf(ce.attribName)!==-1||ce.tag.attributes.hasOwnProperty(ce.attribName)){ce.attribName=ce.attribValue="";return}if(ce.opt.xmlns){var le=Qe(ce.attribName,!0),je=le.prefix,Re=le.local;if(je==="xmlns")if(Re==="xml"&&ce.attribValue!==C)Ie(ce,"xml: prefix must be bound to "+C+`
|
|
|
Actual: `+ce.attribValue);else if(Re==="xmlns"&&ce.attribValue!==_)Ie(ce,"xmlns: prefix must be bound to "+_+`
|
|
|
Actual: `+ce.attribValue);else{var Ze=ce.tag,De=ce.tags[ce.tags.length-1]||ce;Ze.ns===De.ns&&(Ze.ns=(0,t.default)(De.ns)),Ze.ns[Re]=ce.attribValue}ce.attribList.push([ce.attribName,ce.attribValue])}else ce.tag.attributes[ce.attribName]=ce.attribValue,$(ce,"onattribute",{name:ce.attribName,value:ce.attribValue});ce.attribName=ce.attribValue=""}function He(ce,le){if(ce.opt.xmlns){var je=ce.tag,Re=Qe(ce.tagName);je.prefix=Re.prefix,je.local=Re.local,je.uri=je.ns[Re.prefix]||"",je.prefix&&!je.uri&&(Ie(ce,"Unbound namespace prefix: "+(0,g.default)(ce.tagName)),je.uri=Re.prefix);var Ze=ce.tags[ce.tags.length-1]||ce;je.ns&&Ze.ns!==je.ns&&(0,i.default)(je.ns).forEach(function(Mt){$(ce,"onopennamespace",{prefix:Mt,uri:je.ns[Mt]})});for(var De=0,ne=ce.attribList.length;De<ne;De++){var he=ce.attribList[De],pe=he[0],Xe=he[1],lt=Qe(pe,!0),At=lt.prefix,Me=lt.local,Ht=At===""?"":je.ns[At]||"",tt={name:pe,value:Xe,prefix:At,local:Me,uri:Ht};At&&At!=="xmlns"&&!Ht&&(Ie(ce,"Unbound namespace prefix: "+(0,g.default)(At)),tt.uri=At),ce.tag.attributes[pe]=tt,$(ce,"onattribute",tt)}ce.attribList.length=0}ce.tag.isSelfClosing=!!le,ce.sawRoot=!0,ce.tags.push(ce.tag),$(ce,"onopentag",ce.tag),le||(!ce.noscript&&ce.tagName.toLowerCase()==="script"?ce.state=W.SCRIPT:ce.state=W.TEXT,ce.tag=null,ce.tagName=""),ce.attribName=ce.attribValue="",ce.attribList.length=0}function se(ce){if(!ce.tagName){Ie(ce,"Weird empty close tag."),ce.textNode+="</>",ce.state=W.TEXT;return}if(ce.script){if(ce.tagName!=="script"){ce.script+="</"+ce.tagName+">",ce.tagName="",ce.state=W.SCRIPT;return}$(ce,"onscript",ce.script),ce.script=""}var le=ce.tags.length,je=ce.tagName;ce.strict||(je=je[ce.looseCase]());for(var Re=je;le--;){var Ze=ce.tags[le];if(Ze.name!==Re)Ie(ce,"Unexpected close tag");else break}if(le<0){Ie(ce,"Unmatched closing tag: "+ce.tagName),ce.textNode+="</"+ce.tagName+">",ce.state=W.TEXT;return}ce.tagName=je;for(var De=ce.tags.length;De-- >le;){var ne=ce.tag=ce.tags.pop();ce.tagName=ce.tag.name,$(ce,"onclosetag",ce.tagName);var he={};for(var pe in ne.ns)he[pe]=ne.ns[pe];var Xe=ce.tags[ce.tags.length-1]||ce;ce.opt.xmlns&&ne.ns!==Xe.ns&&(0,i.default)(ne.ns).forEach(function(lt){var At=ne.ns[lt];$(ce,"onclosenamespace",{prefix:lt,uri:At})})}le===0&&(ce.closedRoot=!0),ce.tagName=ce.attribValue=ce.attribName="",ce.attribList.length=0,ce.state=W.TEXT}function Ce(ce){var le=ce.entity,je=le.toLowerCase(),Re,Ze="";return ce.ENTITIES[le]?ce.ENTITIES[le]:ce.ENTITIES[je]?ce.ENTITIES[je]:(le=je,le.charAt(0)==="#"&&(le.charAt(1)==="x"?(le=le.slice(2),Re=parseInt(le,16),Ze=Re.toString(16)):(le=le.slice(1),Re=parseInt(le,10),Ze=Re.toString(10))),le=le.replace(/^0+/,""),isNaN(Re)||Ze.toLowerCase()!==le?(Ie(ce,"Invalid character entity"),"&"+ce.entity+";"):(0,x.default)(Re))}function mt(ce,le){le==="<"?(ce.state=W.OPEN_WAKA,ce.startTagPosition=ce.position):z(le)||(Ie(ce,"Non-whitespace before first tag."),ce.textNode=le,ce.state=W.TEXT)}function Ne(ce,le){var je="";return le<ce.length&&(je=ce.charAt(le)),je}function ae(ce){var le=this;if(this.error)throw this.error;if(le.closed)return te(le,"Cannot write after close. Assign an onready handler.");if(ce===null)return Te(le);(typeof ce=="undefined"?"undefined":(0,c.default)(ce))==="object"&&(ce=ce.toString());for(var je=0,Re="";!(Re=Ne(ce,je++),le.c=Re,!Re);){le.trackPosition&&(le.position++,Re===`
|
|
|
`?(le.line++,le.column=0):le.column++);switch(le.state){case W.BEGIN:if(le.state=W.BEGIN_WHITESPACE,Re==="\uFEFF")continue;mt(le,Re);continue;case W.BEGIN_WHITESPACE:mt(le,Re);continue;case W.TEXT:if(le.sawRoot&&!le.closedRoot){for(var Ze=je-1;Re&&Re!=="<"&&Re!=="&";)Re=Ne(ce,je++),Re&&le.trackPosition&&(le.position++,Re===`
|
|
|
`?(le.line++,le.column=0):le.column++);le.textNode+=ce.substring(Ze,je-1)}Re==="<"&&!(le.sawRoot&&le.closedRoot&&!le.strict)?(le.state=W.OPEN_WAKA,le.startTagPosition=le.position):(!z(Re)&&(!le.sawRoot||le.closedRoot)&&Ie(le,"Text data outside of root node."),Re==="&"?le.state=W.TEXT_ENTITY:le.textNode+=Re);continue;case W.SCRIPT:Re==="<"?le.state=W.SCRIPT_ENDING:le.script+=Re;continue;case W.SCRIPT_ENDING:Re==="/"?le.state=W.CLOSE_TAG:(le.script+="<"+Re,le.state=W.SCRIPT);continue;case W.OPEN_WAKA:if(Re==="!")le.state=W.SGML_DECL,le.sgmlDecl="";else if(!z(Re))if(P(k,Re))le.state=W.OPEN_TAG,le.tagName=Re;else if(Re==="/")le.state=W.CLOSE_TAG,le.tagName="";else if(Re==="?")le.state=W.PROC_INST,le.procInstName=le.procInstBody="";else{if(Ie(le,"Unencoded <"),le.startTagPosition+1<le.position){var De=le.position-le.startTagPosition;Re=new Array(De).join(" ")+Re}le.textNode+="<"+Re,le.state=W.TEXT}continue;case W.SGML_DECL:(le.sgmlDecl+Re).toUpperCase()===T?($(le,"onopencdata"),le.state=W.CDATA,le.sgmlDecl="",le.cdata=""):le.sgmlDecl+Re==="--"?(le.state=W.COMMENT,le.comment="",le.sgmlDecl=""):(le.sgmlDecl+Re).toUpperCase()===S?(le.state=W.DOCTYPE,(le.doctype||le.sawRoot)&&Ie(le,"Inappropriately located doctype declaration"),le.doctype="",le.sgmlDecl=""):Re===">"?($(le,"onsgmldeclaration",le.sgmlDecl),le.sgmlDecl="",le.state=W.TEXT):(M(Re)&&(le.state=W.SGML_DECL_QUOTED),le.sgmlDecl+=Re);continue;case W.SGML_DECL_QUOTED:Re===le.q&&(le.state=W.SGML_DECL,le.q=""),le.sgmlDecl+=Re;continue;case W.DOCTYPE:Re===">"?(le.state=W.TEXT,$(le,"ondoctype",le.doctype),le.doctype=!0):(le.doctype+=Re,Re==="["?le.state=W.DOCTYPE_DTD:M(Re)&&(le.state=W.DOCTYPE_QUOTED,le.q=Re));continue;case W.DOCTYPE_QUOTED:le.doctype+=Re,Re===le.q&&(le.q="",le.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:le.doctype+=Re,Re==="]"?le.state=W.DOCTYPE:M(Re)&&(le.state=W.DOCTYPE_DTD_QUOTED,le.q=Re);continue;case W.DOCTYPE_DTD_QUOTED:le.doctype+=Re,Re===le.q&&(le.state=W.DOCTYPE_DTD,le.q="");continue;case W.COMMENT:Re==="-"?le.state=W.COMMENT_ENDING:le.comment+=Re;continue;case W.COMMENT_ENDING:Re==="-"?(le.state=W.COMMENT_ENDED,le.comment=be(le.opt,le.comment),le.comment&&$(le,"oncomment",le.comment),le.comment=""):(le.comment+="-"+Re,le.state=W.COMMENT);continue;case W.COMMENT_ENDED:Re!==">"?(Ie(le,"Malformed comment"),le.comment+="--"+Re,le.state=W.COMMENT):le.state=W.TEXT;continue;case W.CDATA:Re==="]"?le.state=W.CDATA_ENDING:le.cdata+=Re;continue;case W.CDATA_ENDING:Re==="]"?le.state=W.CDATA_ENDING_2:(le.cdata+="]"+Re,le.state=W.CDATA);continue;case W.CDATA_ENDING_2:Re===">"?(le.cdata&&$(le,"oncdata",le.cdata),$(le,"onclosecdata"),le.cdata="",le.state=W.TEXT):Re==="]"?le.cdata+="]":(le.cdata+="]]"+Re,le.state=W.CDATA);continue;case W.PROC_INST:Re==="?"?le.state=W.PROC_INST_ENDING:z(Re)?le.state=W.PROC_INST_BODY:le.procInstName+=Re;continue;case W.PROC_INST_BODY:if(!le.procInstBody&&z(Re))continue;Re==="?"?le.state=W.PROC_INST_ENDING:le.procInstBody+=Re;continue;case W.PROC_INST_ENDING:Re===">"?($(le,"onprocessinginstruction",{name:le.procInstName,body:le.procInstBody}),le.procInstName=le.procInstBody="",le.state=W.TEXT):(le.procInstBody+="?"+Re,le.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:P(F,Re)?le.tagName+=Re:(Fe(le),Re===">"?He(le):Re==="/"?le.state=W.OPEN_TAG_SLASH:(z(Re)||Ie(le,"Invalid character in tag name"),le.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:Re===">"?(He(le,!0),se(le)):(Ie(le,"Forward-slash in opening tag not followed by >"),le.state=W.ATTRIB);continue;case W.ATTRIB:if(z(Re))continue;Re===">"?He(le):Re==="/"?le.state=W.OPEN_TAG_SLASH:P(k,Re)?(le.attribName=Re,le.attribValue="",le.state=W.ATTRIB_NAME):Ie(le,"Invalid attribute name");continue;case W.ATTRIB_NAME:Re==="="?le.state=W.ATTRIB_VALUE:Re===">"?(Ie(le,"Attribute without value"),le.attribValue=le.attribName,fe(le),He(le)):z(Re)?le.state=W.ATTRIB_NAME_SAW_WHITE:P(F,Re)?le.attribName+=Re:Ie(le,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if(Re==="=")le.state=W.ATTRIB_VALUE;else{if(z(Re))continue;Ie(le,"Attribute without value"),le.tag.attributes[le.attribName]="",le.attribValue="",$(le,"onattribute",{name:le.attribName,value:""}),le.attribName="",Re===">"?He(le):P(k,Re)?(le.attribName=Re,le.state=W.ATTRIB_NAME):(Ie(le,"Invalid attribute name"),le.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(z(Re))continue;M(Re)?(le.q=Re,le.state=W.ATTRIB_VALUE_QUOTED):(Ie(le,"Unquoted attribute value"),le.state=W.ATTRIB_VALUE_UNQUOTED,le.attribValue=Re);continue;case W.ATTRIB_VALUE_QUOTED:if(Re!==le.q){Re==="&"?le.state=W.ATTRIB_VALUE_ENTITY_Q:le.attribValue+=Re;continue}fe(le),le.q="",le.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:z(Re)?le.state=W.ATTRIB:Re===">"?He(le):Re==="/"?le.state=W.OPEN_TAG_SLASH:P(k,Re)?(Ie(le,"No whitespace between attributes"),le.attribName=Re,le.attribValue="",le.state=W.ATTRIB_NAME):Ie(le,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!U(Re)){Re==="&"?le.state=W.ATTRIB_VALUE_ENTITY_U:le.attribValue+=Re;continue}fe(le),Re===">"?He(le):le.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(le.tagName)Re===">"?se(le):P(F,Re)?le.tagName+=Re:le.script?(le.script+="</"+le.tagName,le.tagName="",le.state=W.SCRIPT):(z(Re)||Ie(le,"Invalid tagname in closing tag"),le.state=W.CLOSE_TAG_SAW_WHITE);else{if(z(Re))continue;H(k,Re)?le.script?(le.script+="</"+Re,le.state=W.SCRIPT):Ie(le,"Invalid tagname in closing tag."):le.tagName=Re}continue;case W.CLOSE_TAG_SAW_WHITE:if(z(Re))continue;Re===">"?se(le):Ie(le,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var ne,he;switch(le.state){case W.TEXT_ENTITY:ne=W.TEXT,he="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:ne=W.ATTRIB_VALUE_QUOTED,he="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:ne=W.ATTRIB_VALUE_UNQUOTED,he="attribValue";break}Re===";"?(le[he]+=Ce(le),le.entity="",le.state=ne):P(le.entity.length?j:B,Re)?le.entity+=Re:(Ie(le,"Invalid character in entity name"),le[he]+="&"+le.entity+Re,le.entity="",le.state=ne);continue;default:throw new Error(le,"Unknown state: "+le.state)}}return le.position>=le.bufferCheckPosition&&h(le),le}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */x.default||function(){var ce=String.fromCharCode,le=Math.floor,je=function(){var Ze=16384,De=[],ne,he,pe=-1,Xe=arguments.length;if(!Xe)return"";for(var lt="";++pe<Xe;){var At=Number(arguments[pe]);if(!isFinite(At)||At<0||At>1114111||le(At)!==At)throw RangeError("Invalid code point: "+At);At<=65535?De.push(At):(At-=65536,ne=(At>>10)+55296,he=At%1024+56320,De.push(ne,he)),(pe+1===Xe||De.length>Ze)&&(lt+=ce.apply(null,De),De.length=0)}return lt};a.default?Object.defineProperty(String,"fromCodePoint",{value:je,configurable:!0,writable:!0}):String.fromCodePoint=je}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(R,N,e){N.exports=x;var A=R("events").EventEmitter,f=R("inherits");f(x,A),x.Readable=R("readable-stream/readable.js"),x.Writable=R("readable-stream/writable.js"),x.Duplex=R("readable-stream/duplex.js"),x.Transform=R("readable-stream/transform.js"),x.PassThrough=R("readable-stream/passthrough.js"),x.Stream=x;function x(){A.call(this)}x.prototype.pipe=function(m,g){var p=this;function c(l){m.writable&&(m.write(l)===!1&&p.pause&&p.pause())}p.on("data",c);function s(){p.readable&&p.resume&&p.resume()}m.on("drain",s),!m._isStdio&&(!g||g.end!==!1)&&(p.on("end",n),p.on("close",i));var a=!1;function n(){if(a)return;a=!0,m.end()}function i(){if(a)return;a=!0,typeof m.destroy=="function"&&m.destroy()}function d(l){if(t(),A.listenerCount(this,"error")===0)throw l}p.on("error",d),m.on("error",d);function t(){p.removeListener("data",c),m.removeListener("drain",s),p.removeListener("end",n),p.removeListener("close",i),p.removeListener("error",d),m.removeListener("error",d),p.removeListener("end",t),p.removeListener("close",t),m.removeListener("close",t)}return p.on("end",t),p.on("close",t),m.on("close",t),m.emit("pipe",p),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(R,N,e){(function(A){var f=R("./lib/request"),x=R("./lib/response"),m=R("xtend"),g=R("builtin-status-codes"),p=R("url"),c=e;c.request=function(s,a){typeof s=="string"?s=p.parse(s):s=m(s);var n=A.location.protocol.search(/^https?:$/)===-1?"http:":"",i=s.protocol||n,d=s.hostname||s.host,t=s.port,l=s.path||"/";d&&d.indexOf(":")!==-1&&(d="["+d+"]"),s.url=(d?i+"//"+d:"")+(t?":"+t:"")+l,s.method=(s.method||"GET").toUpperCase(),s.headers=s.headers||{};var r=new f(s);return a&&r.on("response",a),r},c.get=function(a,n){var i=c.request(a,n);return i.end(),i},c.ClientRequest=f,c.IncomingMessage=x.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=g,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(R,N,e){(function(A){"use strict";e.fetch=c(A.fetch)&&c(A.ReadableStream),e.writableStream=c(A.WritableStream),e.abortController=c(A.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(s){}var f;function x(){if(f!==void 0)return f;if(A.XMLHttpRequest){f=new A.XMLHttpRequest;try{f.open("GET",A.XDomainRequest?"/":"https://example.com")}catch(s){f=null}}else f=null;return f}function m(s){var a=x();if(!a)return!1;try{return a.responseType=s,a.responseType===s}catch(n){}return!1}var g=typeof A.ArrayBuffer!="undefined",p=g&&c(A.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||g&&m("arraybuffer"),e.msstream=!e.fetch&&p&&m("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&g&&m("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(x()?c(x().overrideMimeType):!1),e.vbArray=c(A.VBArray);function c(s){return typeof s=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(R,N,e){(function(A,f,x){"use strict";var m=R("babel-runtime/core-js/object/keys"),g=p(m);function p(h){return h&&h.__esModule?h:{default:h}}var c=R("./capability"),s=R("inherits"),a=R("./response"),n=R("readable-stream"),i=R("to-arraybuffer"),d=a.IncomingMessage,t=a.readyStates;function l(h,y){return c.fetch&&y?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&h?"arraybuffer":c.vbArray&&h?"text:vbarray":"text"}var r=N.exports=function(h){var y=this;n.Writable.call(y),y._opts=h,y._body=[],y._headers={},h.auth&&y.setHeader("Authorization","Basic "+new x(h.auth).toString("base64")),(0,g.default)(h.headers).forEach(function(v){y.setHeader(v,h.headers[v])});var b,E=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!c.abortController)E=!1,b=!0;else if(h.mode==="prefer-streaming")b=!1;else if(h.mode==="allow-wrong-content-type")b=!c.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");y._mode=l(b,E),y._fetchTimer=null,y.on("finish",function(){y._onFinish()})};s(r,n.Writable),r.prototype.setHeader=function(h,y){var b=this,E=h.toLowerCase();if(u.indexOf(E)!==-1)return;b._headers[E]={name:h,value:y}},r.prototype.getHeader=function(h){var y=this._headers[h.toLowerCase()];return y?y.value:null},r.prototype.removeHeader=function(h){var y=this;delete y._headers[h.toLowerCase()]},r.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var y=h._opts,b=h._headers,E=null;y.method!=="GET"&&y.method!=="HEAD"&&(c.arraybuffer?E=i(x.concat(h._body)):c.blobConstructor?E=new f.Blob(h._body.map(function(C){return i(C)}),{type:(b["content-type"]||{}).value||""}):E=x.concat(h._body).toString());var v=[];if((0,g.default)(b).forEach(function(C){var _=b[C].name,I=b[C].value;Array.isArray(I)?I.forEach(function(k){v.push([_,k])}):v.push([_,I])}),h._mode==="fetch"){var w=null,O=null;if(c.abortController){var T=new AbortController;w=T.signal,h._fetchAbortController=T,"requestTimeout"in y&&y.requestTimeout!==0&&(h._fetchTimer=f.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},y.requestTimeout))}f.fetch(h._opts.url,{method:h._opts.method,headers:v,body:E||void 0,mode:"cors",credentials:y.withCredentials?"include":"same-origin",signal:w}).then(function(C){h._fetchResponse=C,h._connect()},function(C){f.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",C)})}else{var S=h._xhr=new f.XMLHttpRequest;try{S.open(h._opts.method,h._opts.url,!0)}catch(C){A.nextTick(function(){h.emit("error",C)});return}"responseType"in S&&(S.responseType=h._mode.split(":")[0]),"withCredentials"in S&&(S.withCredentials=!!y.withCredentials),h._mode==="text"&&"overrideMimeType"in S&&S.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in y&&(S.timeout=y.requestTimeout,S.ontimeout=function(){h.emit("requestTimeout")}),v.forEach(function(C){S.setRequestHeader(C[0],C[1])}),h._response=null,S.onreadystatechange=function(){switch(S.readyState){case t.LOADING:case t.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(S.onprogress=function(){h._onXHRProgress()}),S.onerror=function(){if(h._destroyed)return;h.emit("error",new Error("XHR error"))};try{S.send(E)}catch(C){A.nextTick(function(){h.emit("error",C)});return}}};function o(h){try{var y=h.status;return y!==null&&y!==0}catch(b){return!1}}r.prototype._onXHRProgress=function(){var h=this;if(!o(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},r.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new d(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(y){h.emit("error",y)}),h.emit("response",h._response)},r.prototype._write=function(h,y,b){var E=this;E._body.push(h),b()},r.prototype.abort=r.prototype.destroy=function(){var h=this;h._destroyed=!0,f.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},r.prototype.end=function(h,y,b){var E=this;typeof h=="function"&&(b=h,h=void 0),n.Writable.prototype.end.call(E,h,y,b)},r.prototype.flushHeaders=function(){},r.prototype.setTimeout=function(){},r.prototype.setNoDelay=function(){},r.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(R,N,e){(function(A,f,x){"use strict";var m=R("babel-runtime/core-js/promise"),g=p(m);function p(d){return d&&d.__esModule?d:{default:d}}var c=R("./capability"),s=R("inherits"),a=R("readable-stream"),n=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},i=e.IncomingMessage=function(d,t,l,r){var o=this;if(a.Readable.call(o),o._mode=l,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){A.nextTick(function(){o.emit("close")})}),l==="fetch"){var u=function w(){y.read().then(function(O){if(o._destroyed)return;if(O.done){f.clearTimeout(r),o.push(null);return}o.push(new x(O.value)),w()}).catch(function(O){f.clearTimeout(r),o._destroyed||o.emit("error",O)})};if(o._fetchResponse=t,o.url=t.url,o.statusCode=t.status,o.statusMessage=t.statusText,t.headers.forEach(function(w,O){o.headers[O.toLowerCase()]=w,o.rawHeaders.push(O,w)}),c.writableStream){var h=new WritableStream({write:function(O){return new g.default(function(T,S){o._destroyed?S():o.push(new x(O))?T():o._resumeFetch=T})},close:function(){f.clearTimeout(r),o._destroyed||o.push(null)},abort:function(O){o._destroyed||o.emit("error",O)}});try{t.body.pipeTo(h).catch(function(w){f.clearTimeout(r),o._destroyed||o.emit("error",w)});return}catch(w){}}var y=t.body.getReader();u()}else{o._xhr=d,o._pos=0,o.url=d.responseURL,o.statusCode=d.status,o.statusMessage=d.statusText;var b=d.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(w){var O=w.match(/^([^:]+):\s*(.*)/);if(O){var T=O[1].toLowerCase();T==="set-cookie"?(o.headers[T]===void 0&&(o.headers[T]=[]),o.headers[T].push(O[2])):o.headers[T]!==void 0?o.headers[T]+=", "+O[2]:o.headers[T]=O[2],o.rawHeaders.push(O[1],O[2])}}),o._charset="x-user-defined",!c.overrideMimeType){var E=o.rawHeaders["mime-type"];if(E){var v=E.match(/;\s*charset=([^;])(;|$)/);v&&(o._charset=v[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};s(i,a.Readable),i.prototype._read=function(){var d=this,t=d._resumeFetch;t&&(d._resumeFetch=null,t())},i.prototype._onXHRProgress=function(){var d=this,t=d._xhr,l=null;switch(d._mode){case"text:vbarray":if(t.readyState!==n.DONE)break;try{l=new f.VBArray(t.responseBody).toArray()}catch(y){}if(l!==null){d.push(new x(l));break}case"text":try{l=t.responseText}catch(y){d._mode="text:vbarray";break}if(l.length>d._pos){var r=l.substr(d._pos);if(d._charset==="x-user-defined"){for(var o=new x(r.length),u=0;u<r.length;u++)o[u]=r.charCodeAt(u)&255;d.push(o)}else d.push(r,d._charset);d._pos=l.length}break;case"arraybuffer":if(t.readyState!==n.DONE||!t.response)break;l=t.response,d.push(new x(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=t.response,t.readyState!==n.LOADING||!l)break;d.push(new x(new Uint8Array(l)));break;case"ms-stream":if(l=t.response,t.readyState!==n.LOADING)break;var h=new f.MSStreamReader;h.onprogress=function(){h.result.byteLength>d._pos&&(d.push(new x(new Uint8Array(h.result.slice(d._pos)))),d._pos=h.result.byteLength)},h.onload=function(){d.push(null)},h.readAsArrayBuffer(l);break}d._xhr.readyState===n.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(R,N,e){"use strict";var A=R("safe-buffer").Buffer,f=A.isEncoding||function(h){h=""+h;switch(h&&h.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 x(h){if(!h)return"utf8";for(var y;;)switch(h){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 h;default:if(y)return;h=(""+h).toLowerCase(),y=!0}}function m(h){var y=x(h);if(typeof y!="string"&&(A.isEncoding===f||!f(h)))throw new Error("Unknown encoding: "+h);return y||h}e.StringDecoder=g;function g(h){this.encoding=m(h);var y;switch(this.encoding){case"utf16le":this.text=d,this.end=t,y=4;break;case"utf8":this.fillLast=a,y=4;break;case"base64":this.text=l,this.end=r,y=3;break;default:this.write=o,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=A.allocUnsafe(y)}g.prototype.write=function(h){if(h.length===0)return"";var y,b;if(this.lastNeed){if(y=this.fillLast(h),y===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<h.length?y?y+this.text(h,b):this.text(h,b):y||""},g.prototype.end=i,g.prototype.text=n,g.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length};function p(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function c(h,y,b){var E=y.length-1;if(E<b)return 0;var v=p(y[E]);return v>=0?(v>0&&(h.lastNeed=v-1),v):--E<b||v===-2?0:(v=p(y[E]),v>=0?(v>0&&(h.lastNeed=v-2),v):--E<b||v===-2?0:(v=p(y[E]),v>=0?(v>0&&(v===2?v=0:h.lastNeed=v-3),v):0))}function s(h,y,b){if((y[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&y.length>1){if((y[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&y.length>2&&(y[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function a(h){var y=this.lastTotal-this.lastNeed,b=s(this,h,y);if(b!==void 0)return b;if(this.lastNeed<=h.length)return h.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,y,0,h.length),this.lastNeed-=h.length}function n(h,y){var b=c(this,h,y);if(!this.lastNeed)return h.toString("utf8",y);this.lastTotal=b;var E=h.length-(b-this.lastNeed);return h.copy(this.lastChar,0,E),h.toString("utf8",y,E)}function i(h){var y=h&&h.length?this.write(h):"";return this.lastNeed?y+"\uFFFD":y}function d(h,y){if((h.length-y)%2===0){var b=h.toString("utf16le",y);if(b){var E=b.charCodeAt(b.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",y,h.length-1)}function t(h){var y=h&&h.length?this.write(h):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,b)}return y}function l(h,y){var b=(h.length-y)%3;return b===0?h.toString("base64",y):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",y,h.length-b))}function r(h){var y=h&&h.length?this.write(h):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function o(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(R,N,e){(function(A,f){var x=R("process/browser.js").nextTick,m=Function.prototype.apply,g=Array.prototype.slice,p={},c=0;e.setTimeout=function(){return new s(m.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new s(m.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(a){a.close()};function s(a,n){this._id=a,this._clearFn=n}s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(a,n){clearTimeout(a._idleTimeoutId),a._idleTimeout=n},e.unenroll=function(a){clearTimeout(a._idleTimeoutId),a._idleTimeout=-1},e._unrefActive=e.active=function(a){clearTimeout(a._idleTimeoutId);var n=a._idleTimeout;n>=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},n))},e.setImmediate=typeof A=="function"?A:function(a){var n=c++,i=arguments.length<2?!1:g.call(arguments,1);return p[n]=!0,x(function(){p[n]&&(i?a.apply(null,i):a.call(null),e.clearImmediate(n))}),n},e.clearImmediate=typeof f=="function"?f:function(a){delete p[a]}}).call(this,R("timers").setImmediate,R("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(R,N,e){var A=R("buffer").Buffer;N.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(A.isBuffer(f)){for(var x=new Uint8Array(f.length),m=f.length,g=0;g<m;g++)x[g]=f[g];return x.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(R,N,e){"use strict";var A=R("punycode"),f=R("./util");e.parse=y,e.resolve=E,e.resolveObject=v,e.format=b,e.Url=x;function x(){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,g=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],s=["{","}","|","\\","^","`"].concat(c),a=["'"].concat(s),n=["%","/","?",";","#"].concat(a),i=["/","?","#"],d=255,t=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,r={javascript:!0,"javascript:":!0},o={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},h=R("querystring");function y(w,O,T){if(w&&f.isObject(w)&&w instanceof x)return w;var S=new x;return S.parse(w,O,T),S}x.prototype.parse=function(w,O,T){if(!f.isString(w))throw new TypeError("Parameter 'url' must be a string, not "+typeof w);var S=w.indexOf("?"),C=S!==-1&&S<w.indexOf("#")?"?":"#",_=w.split(C),I=/\\/g;_[0]=_[0].replace(I,"/"),w=_.join(C);var k=w;if(k=k.trim(),!T&&w.split("#").length===1){var F=p.exec(k);if(F)return this.path=k,this.href=k,this.pathname=F[1],F[2]?(this.search=F[2],O?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):O&&(this.search="",this.query={}),this}var B=m.exec(k);if(B){B=B[0];var j=B.toLowerCase();this.protocol=j,k=k.substr(B.length)}if(T||B||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var z=k.substr(0,2)==="//";z&&!(B&&o[B])&&(k=k.substr(2),this.slashes=!0)}if(!o[B]&&(z||B&&!u[B])){for(var M=-1,U=0;U<i.length;U++){var P=k.indexOf(i[U]);P!==-1&&(M===-1||P<M)&&(M=P)}var H,W;M===-1?W=k.lastIndexOf("@"):W=k.lastIndexOf("@",M),W!==-1&&(H=k.slice(0,W),k=k.slice(W+1),this.auth=decodeURIComponent(H)),M=-1;for(var U=0;U<n.length;U++){var P=k.indexOf(n[U]);P!==-1&&(M===-1||P<M)&&(M=P)}M===-1&&(M=k.length),this.host=k.slice(0,M),k=k.slice(M),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var K=this.hostname.split(/\./),U=0,$=K.length;U<$;U++){var ie=K[U];if(!ie)continue;if(!ie.match(t)){for(var be="",te=0,Te=ie.length;te<Te;te++)ie.charCodeAt(te)>127?be+="x":be+=ie[te];if(!be.match(t)){var Ie=K.slice(0,U),Fe=K.slice(U+1),Qe=ie.match(l);Qe&&(Ie.push(Qe[1]),Fe.unshift(Qe[2])),Fe.length&&(k="/"+Fe.join(".")+k),this.hostname=Ie.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=A.toASCII(this.hostname));var fe=this.port?":"+this.port:"",He=this.hostname||"";this.host=He+fe,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!r[j])for(var U=0,$=a.length;U<$;U++){var se=a[U];if(k.indexOf(se)===-1)continue;var Ce=encodeURIComponent(se);Ce===se&&(Ce=escape(se)),k=k.split(se).join(Ce)}var mt=k.indexOf("#");mt!==-1&&(this.hash=k.substr(mt),k=k.slice(0,mt));var Ne=k.indexOf("?");if(Ne!==-1?(this.search=k.substr(Ne),this.query=k.substr(Ne+1),O&&(this.query=h.parse(this.query)),k=k.slice(0,Ne)):O&&(this.search="",this.query={}),k&&(this.pathname=k),u[j]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var fe=this.pathname||"",ae=this.search||"";this.path=fe+ae}return this.href=this.format(),this};function b(w){return f.isString(w)&&(w=y(w)),w instanceof x?w.format():x.prototype.format.call(w)}x.prototype.format=function(){var w=this.auth||"";w&&(w=encodeURIComponent(w),w=w.replace(/%3A/i,":"),w+="@");var O=this.protocol||"",T=this.pathname||"",S=this.hash||"",C=!1,_="";this.host?C=w+this.host:this.hostname&&(C=w+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(_=h.stringify(this.query));var I=this.search||_&&"?"+_||"";return O&&O.substr(-1)!==":"&&(O+=":"),this.slashes||(!O||u[O])&&C!==!1?(C="//"+(C||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):C||(C=""),S&&S.charAt(0)!=="#"&&(S="#"+S),I&&I.charAt(0)!=="?"&&(I="?"+I),T=T.replace(/[?#]/g,function(k){return encodeURIComponent(k)}),I=I.replace("#","%23"),O+C+T+I+S};function E(w,O){return y(w,!1,!0).resolve(O)}x.prototype.resolve=function(w){return this.resolveObject(y(w,!1,!0)).format()};function v(w,O){return w?y(w,!1,!0).resolveObject(O):O}x.prototype.resolveObject=function(w){if(f.isString(w)){var O=new x;O.parse(w,!1,!0),w=O}for(var T=new x,S=Object.keys(this),C=0;C<S.length;C++){var _=S[C];T[_]=this[_]}if(T.hash=w.hash,w.href==="")return T.href=T.format(),T;if(w.slashes&&!w.protocol){for(var I=Object.keys(w),k=0;k<I.length;k++){var F=I[k];F!=="protocol"&&(T[F]=w[F])}return u[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(w.protocol&&w.protocol!==T.protocol){if(!u[w.protocol]){for(var B=Object.keys(w),j=0;j<B.length;j++){var z=B[j];T[z]=w[z]}return T.href=T.format(),T}if(T.protocol=w.protocol,!w.host&&!o[w.protocol]){for(var $=(w.pathname||"").split("/");$.length&&!(w.host=$.shift()););w.host||(w.host=""),w.hostname||(w.hostname=""),$[0]!==""&&$.unshift(""),$.length<2&&$.unshift(""),T.pathname=$.join("/")}else T.pathname=w.pathname;if(T.search=w.search,T.query=w.query,T.host=w.host||"",T.auth=w.auth,T.hostname=w.hostname||w.host,T.port=w.port,T.pathname||T.search){var M=T.pathname||"",U=T.search||"";T.path=M+U}return T.slashes=T.slashes||w.slashes,T.href=T.format(),T}var P=T.pathname&&T.pathname.charAt(0)==="/",H=w.host||w.pathname&&w.pathname.charAt(0)==="/",W=H||P||T.host&&w.pathname,X=W,K=T.pathname&&T.pathname.split("/")||[],$=w.pathname&&w.pathname.split("/")||[],ie=T.protocol&&!u[T.protocol];if(ie&&(T.hostname="",T.port=null,T.host&&(K[0]===""?K[0]=T.host:K.unshift(T.host)),T.host="",w.protocol&&(w.hostname=null,w.port=null,w.host&&($[0]===""?$[0]=w.host:$.unshift(w.host)),w.host=null),W=W&&($[0]===""||K[0]==="")),H)T.host=w.host||w.host===""?w.host:T.host,T.hostname=w.hostname||w.hostname===""?w.hostname:T.hostname,T.search=w.search,T.query=w.query,K=$;else if($.length)K||(K=[]),K.pop(),K=K.concat($),T.search=w.search,T.query=w.query;else if(!f.isNullOrUndefined(w.search)){if(ie){T.hostname=T.host=K.shift();var be=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;be&&(T.auth=be.shift(),T.host=T.hostname=be.shift())}return T.search=w.search,T.query=w.query,(!f.isNull(T.pathname)||!f.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!K.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var te=K.slice(-1)[0],Te=(T.host||w.host||K.length>1)&&(te==="."||te==="..")||te==="",Ie=0,Fe=K.length;Fe>=0;Fe--)te=K[Fe],te==="."?K.splice(Fe,1):te===".."?(K.splice(Fe,1),Ie++):Ie&&(K.splice(Fe,1),Ie--);if(!W&&!X)for(;Ie--;Ie)K.unshift("..");W&&K[0]!==""&&(!K[0]||K[0].charAt(0)!=="/")&&K.unshift(""),Te&&K.join("/").substr(-1)!=="/"&&K.push("");var Qe=K[0]===""||K[0]&&K[0].charAt(0)==="/";if(ie){T.hostname=T.host=Qe?"":K.length?K.shift():"";var be=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;be&&(T.auth=be.shift(),T.host=T.hostname=be.shift())}return W=W||T.host&&K.length,W&&!Qe&&K.unshift(""),K.length?T.pathname=K.join("/"):(T.pathname=null,T.path=null),(!f.isNull(T.pathname)||!f.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=w.auth||T.auth,T.slashes=T.slashes||w.slashes,T.href=T.format(),T},x.prototype.parseHost=function(){var w=this.host,O=g.exec(w);O&&(O=O[0],O!==":"&&(this.port=O.substr(1)),w=w.substr(0,w.length-O.length)),w&&(this.hostname=w)}},{"./util":239,punycode:209,querystring:212}],239:[function(R,N,e){"use strict";N.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(R,N,e){(function(A){N.exports=f;function f(m,g){if(x("noDeprecation"))return m;var p=!1;function c(){if(!p){if(x("throwDeprecation"))throw new Error(g);x("traceDeprecation")?console.trace(g):console.warn(g),p=!0}return m.apply(this,arguments)}return c}function x(m){try{if(!A.localStorage)return!1}catch(p){return!1}var g=A.localStorage[m];return g==null?!1:String(g).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(R,N,e){typeof Object.create=="function"?N.exports=function(f,x){f.super_=x,f.prototype=Object.create(x.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:N.exports=function(f,x){f.super_=x;var m=function(){};m.prototype=x.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(R,N,e){N.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(R,N,e){(function(A,f){var x=/%[sdj%]/g;e.format=function(M){if(!E(M)){for(var U=[],P=0;P<arguments.length;P++)U.push(p(arguments[P]));return U.join(" ")}for(var P=1,H=arguments,W=H.length,X=String(M).replace(x,function($){if($==="%%")return"%";if(P>=W)return $;switch($){case"%s":return String(H[P++]);case"%d":return Number(H[P++]);case"%j":try{return JSON.stringify(H[P++])}catch(ie){return"[Circular]"}default:return $}}),K=H[P];P<W;K=H[++P])h(K)||!T(K)?X+=" "+K:X+=" "+p(K);return X},e.deprecate=function(M,U){if(w(f.process))return function(){return e.deprecate(M,U).apply(this,arguments)};if(A.noDeprecation===!0)return M;var P=!1;function H(){if(!P){if(A.throwDeprecation)throw new Error(U);A.traceDeprecation?console.trace(U):console.error(U),P=!0}return M.apply(this,arguments)}return H};var m={},g;e.debuglog=function(M){if(w(g)&&(g=A.env.NODE_DEBUG||""),M=M.toUpperCase(),!m[M])if(new RegExp("\\b"+M+"\\b","i").test(g)){var U=A.pid;m[M]=function(){var P=e.format.apply(e,arguments);console.error("%s %d: %s",M,U,P)}}else m[M]=function(){};return m[M]};function p(M,U){var P={seen:[],stylize:s};return arguments.length>=3&&(P.depth=arguments[2]),arguments.length>=4&&(P.colors=arguments[3]),u(U)?P.showHidden=U:U&&e._extend(P,U),w(P.showHidden)&&(P.showHidden=!1),w(P.depth)&&(P.depth=2),w(P.colors)&&(P.colors=!1),w(P.customInspect)&&(P.customInspect=!0),P.colors&&(P.stylize=c),n(P,M,P.depth)}e.inspect=p,p.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]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(M,U){var P=p.styles[U];return P?"["+p.colors[P][0]+"m"+M+"["+p.colors[P][1]+"m":M}function s(M,U){return M}function a(M){var U={};return M.forEach(function(P,H){U[P]=!0}),U}function n(M,U,P){if(M.customInspect&&U&&_(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var H=U.inspect(P,M);return E(H)||(H=n(M,H,P)),H}var W=i(M,U);if(W)return W;var X=Object.keys(U),K=a(X);if(M.showHidden&&(X=Object.getOwnPropertyNames(U)),C(U)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return d(U);if(X.length===0){if(_(U)){var $=U.name?": "+U.name:"";return M.stylize("[Function"+$+"]","special")}if(O(U))return M.stylize(RegExp.prototype.toString.call(U),"regexp");if(S(U))return M.stylize(Date.prototype.toString.call(U),"date");if(C(U))return d(U)}var ie="",be=!1,te=["{","}"];if(o(U)&&(be=!0,te=["[","]"]),_(U)){var Te=U.name?": "+U.name:"";ie=" [Function"+Te+"]"}if(O(U)&&(ie=" "+RegExp.prototype.toString.call(U)),S(U)&&(ie=" "+Date.prototype.toUTCString.call(U)),C(U)&&(ie=" "+d(U)),X.length===0&&(!be||U.length==0))return te[0]+ie+te[1];if(P<0)return O(U)?M.stylize(RegExp.prototype.toString.call(U),"regexp"):M.stylize("[Object]","special");M.seen.push(U);var Ie;return be?Ie=t(M,U,P,K,X):Ie=X.map(function(Fe){return l(M,U,P,K,Fe,be)}),M.seen.pop(),r(Ie,ie,te)}function i(M,U){if(w(U))return M.stylize("undefined","undefined");if(E(U)){var P="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return M.stylize(P,"string")}if(b(U))return M.stylize(""+U,"number");if(u(U))return M.stylize(""+U,"boolean");if(h(U))return M.stylize("null","null")}function d(M){return"["+Error.prototype.toString.call(M)+"]"}function t(M,U,P,H,W){for(var X=[],K=0,$=U.length;K<$;++K)z(U,String(K))?X.push(l(M,U,P,H,String(K),!0)):X.push("");return W.forEach(function(ie){ie.match(/^\d+$/)||X.push(l(M,U,P,H,ie,!0))}),X}function l(M,U,P,H,W,X){var K,$,ie;if(ie=Object.getOwnPropertyDescriptor(U,W)||{value:U[W]},ie.get?ie.set?$=M.stylize("[Getter/Setter]","special"):$=M.stylize("[Getter]","special"):ie.set&&($=M.stylize("[Setter]","special")),z(H,W)||(K="["+W+"]"),$||(M.seen.indexOf(ie.value)<0?(h(P)?$=n(M,ie.value,null):$=n(M,ie.value,P-1),$.indexOf(`
|
|
|
`)>-1&&(X?$=$.split(`
|
|
|
`).map(function(be){return" "+be}).join(`
|
|
|
`).substr(2):$=`
|
|
|
`+$.split(`
|
|
|
`).map(function(be){return" "+be}).join(`
|
|
|
`))):$=M.stylize("[Circular]","special")),w(K)){if(X&&W.match(/^\d+$/))return $;K=JSON.stringify(""+W),K.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(K=K.substr(1,K.length-2),K=M.stylize(K,"name")):(K=K.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),K=M.stylize(K,"string"))}return K+": "+$}function r(M,U,P){var H=0,W=M.reduce(function(X,K){return H++,K.indexOf(`
|
|
|
`)>=0&&H++,X+K.replace(/\u001b\[\d\d?m/g,"").length+1},0);return W>60?P[0]+(U===""?"":U+`
|
|
|
`)+" "+M.join(`,
|
|
|
`)+" "+P[1]:P[0]+U+" "+M.join(", ")+" "+P[1]}function o(M){return Array.isArray(M)}e.isArray=o;function u(M){return typeof M=="boolean"}e.isBoolean=u;function h(M){return M===null}e.isNull=h;function y(M){return M==null}e.isNullOrUndefined=y;function b(M){return typeof M=="number"}e.isNumber=b;function E(M){return typeof M=="string"}e.isString=E;function v(M){return typeof M=="symbol"}e.isSymbol=v;function w(M){return M===void 0}e.isUndefined=w;function O(M){return T(M)&&k(M)==="[object RegExp]"}e.isRegExp=O;function T(M){return typeof M=="object"&&M!==null}e.isObject=T;function S(M){return T(M)&&k(M)==="[object Date]"}e.isDate=S;function C(M){return T(M)&&(k(M)==="[object Error]"||M instanceof Error)}e.isError=C;function _(M){return typeof M=="function"}e.isFunction=_;function I(M){return M===null||typeof M=="boolean"||typeof M=="number"||typeof M=="string"||typeof M=="symbol"||typeof M=="undefined"}e.isPrimitive=I,e.isBuffer=R("./support/isBuffer");function k(M){return Object.prototype.toString.call(M)}function F(M){return M<10?"0"+M.toString(10):M.toString(10)}var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var M=new Date,U=[F(M.getHours()),F(M.getMinutes()),F(M.getSeconds())].join(":");return[M.getDate(),B[M.getMonth()],U].join(" ")}e.log=function(){console.log("%s - %s",j(),e.format.apply(e,arguments))},e.inherits=R("inherits"),e._extend=function(M,U){if(!U||!T(U))return M;for(var P=Object.keys(U),H=P.length;H--;)M[P[H]]=U[P[H]];return M};function z(M,U){return Object.prototype.hasOwnProperty.call(M,U)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(R,N,e){"use strict";(function(){"use strict";e.stripBOM=function(A){return A[0]==="\uFEFF"?A.substring(1):A}}).call(void 0)},{}],245:[function(R,N,e){"use strict";var A=R("babel-runtime/helpers/typeof"),f=g(A),x=R("babel-runtime/core-js/object/keys"),m=g(x);function g(p){return p&&p.__esModule?p:{default:p}}(function(){"use strict";var p,c,s,a,n,i={}.hasOwnProperty;p=R("xmlbuilder"),c=R("./defaults").defaults,a=function(t){return typeof t=="string"&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},n=function(t){return"<![CDATA["+s(t)+"]]>"},s=function(t){return t.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function d(t){var l,r,o;this.options={},r=c["0.2"];for(l in r){if(!i.call(r,l))continue;o=r[l],this.options[l]=o}for(l in t){if(!i.call(t,l))continue;o=t[l],this.options[l]=o}}return d.prototype.buildObject=function(t){var l,r,o,u,h;return l=this.options.attrkey,r=this.options.charkey,(0,m.default)(t).length===1&&this.options.rootName===c["0.2"].rootName?(h=(0,m.default)(t)[0],t=t[h]):h=this.options.rootName,o=function(y){return function(b,E){var v,w,O,T,S,C;if((typeof E=="undefined"?"undefined":(0,f.default)(E))!=="object")y.options.cdata&&a(E)?b.raw(n(E)):b.txt(E);else if(Array.isArray(E))for(T in E){if(!i.call(E,T))continue;w=E[T];for(S in w)O=w[S],b=o(b.ele(S),O).up()}else for(S in E){if(!i.call(E,S))continue;if(w=E[S],S===l){if((typeof w=="undefined"?"undefined":(0,f.default)(w))==="object")for(v in w)C=w[v],b=b.att(v,C)}else if(S===r)y.options.cdata&&a(w)?b=b.raw(n(w)):b=b.txt(w);else if(Array.isArray(w))for(T in w){if(!i.call(w,T))continue;O=w[T],typeof O=="string"?y.options.cdata&&a(O)?b=b.ele(S).raw(n(O)).up():b=b.ele(S,O).up():b=o(b.ele(S),O).up()}else(typeof w=="undefined"?"undefined":(0,f.default)(w))==="object"?b=o(b.ele(S),w).up():typeof w=="string"&&y.options.cdata&&a(w)?b=b.ele(S).raw(n(w)).up():(w==null&&(w=""),b=b.ele(S,w.toString()).up())}return b}}(this),u=p.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),o(u,t).end(this.options.renderOpts)},d}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(R,N,e){"use strict";(function(){e.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/promise"),f=a(A),x=R("babel-runtime/core-js/object/get-own-property-names"),m=a(x),g=R("babel-runtime/core-js/object/keys"),p=a(g),c=R("babel-runtime/helpers/typeof"),s=a(c);function a(n){return n&&n.__esModule?n:{default:n}}(function(){"use strict";var n,i,d,t,l,r,o,u,h=function(v,w){return function(){return v.apply(w,arguments)}},y=function(v,w){for(var O in w)b.call(w,O)&&(v[O]=w[O]);function T(){this.constructor=v}return T.prototype=w.prototype,v.prototype=new T,v.__super__=w.prototype,v},b={}.hasOwnProperty;o=R("sax"),d=R("events"),n=R("./bom"),r=R("./processors"),u=R("timers").setImmediate,i=R("./defaults").defaults,t=function(v){return(typeof v=="undefined"?"undefined":(0,s.default)(v))==="object"&&v!=null&&(0,p.default)(v).length===0},l=function(v,w,O){var T,S,C;for(T=0,S=v.length;T<S;T++)C=v[T],w=C(w,O);return w},e.Parser=function(E){y(v,E);function v(w){this.parseStringPromise=h(this.parseStringPromise,this),this.parseString=h(this.parseString,this),this.reset=h(this.reset,this),this.assignOrPush=h(this.assignOrPush,this),this.processAsync=h(this.processAsync,this);var O,T,S;if(!(this instanceof e.Parser))return new e.Parser(w);this.options={},T=i["0.2"];for(O in T){if(!b.call(T,O))continue;S=T[O],this.options[O]=S}for(O in w){if(!b.call(w,O))continue;S=w[O],this.options[O]=S}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(r.normalize)),this.reset()}return v.prototype.processAsync=function(){var w,O;try{return this.remaining.length<=this.options.chunkSize?(w=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(w),this.saxParser.close()):(w=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(w),u(this.processAsync))}catch(T){if(O=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(O)}},v.prototype.assignOrPush=function(w,O,T){return O in w?(w[O]instanceof Array||(w[O]=[w[O]]),w[O].push(T)):this.options.explicitArray?w[O]=[T]:w[O]=T},v.prototype.reset=function(){var w,O,T,S;return this.removeAllListeners(),this.saxParser=o.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(C){return function(_){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",_)}}(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,S=[],w=this.options.attrkey,O=this.options.charkey,this.saxParser.onopentag=function(C){return function(_){var I,k,F,B,j;if(F={},F[O]="",!C.options.ignoreAttrs){j=_.attributes;for(I in j){if(!b.call(j,I))continue;!(w in F)&&!C.options.mergeAttrs&&(F[w]={}),k=C.options.attrValueProcessors?l(C.options.attrValueProcessors,_.attributes[I],I):_.attributes[I],B=C.options.attrNameProcessors?l(C.options.attrNameProcessors,I):I,C.options.mergeAttrs?C.assignOrPush(F,B,k):F[w][B]=k}}return F["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,_.name):_.name,C.options.xmlns&&(F[C.options.xmlnskey]={uri:_.uri,local:_.local}),S.push(F)}}(this),this.saxParser.onclosetag=function(C){return function(){var _,I,k,F,B,j,z,M,U,P;if(j=S.pop(),B=j["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete j["#name"],j.cdata===!0&&(_=j.cdata,delete j.cdata),U=S[S.length-1],j[O].match(/^\s*$/)&&!_?(I=j[O],delete j[O]):(C.options.trim&&(j[O]=j[O].trim()),C.options.normalize&&(j[O]=j[O].replace(/\s{2,}/g," ").trim()),j[O]=C.options.valueProcessors?l(C.options.valueProcessors,j[O],B):j[O],(0,p.default)(j).length===1&&O in j&&!C.EXPLICIT_CHARKEY&&(j=j[O])),t(j)&&(j=C.options.emptyTag!==""?C.options.emptyTag:I),C.options.validator!=null&&(P="/"+function(){var H,W,X;for(X=[],H=0,W=S.length;H<W;H++)F=S[H],X.push(F["#name"]);return X}().concat(B).join("/"),function(){var H;try{return j=C.options.validator(P,U&&U[B],j)}catch(W){return H=W,C.emit("error",H)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof j=="undefined"?"undefined":(0,s.default)(j))==="object"){if(!C.options.preserveChildrenOrder)F={},C.options.attrkey in j&&(F[C.options.attrkey]=j[C.options.attrkey],delete j[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in j&&(F[C.options.charkey]=j[C.options.charkey],delete j[C.options.charkey]),(0,m.default)(j).length>0&&(F[C.options.childkey]=j),j=F;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],z={};for(k in j){if(!b.call(j,k))continue;z[k]=j[k]}U[C.options.childkey].push(z),delete j["#name"],(0,p.default)(j).length===1&&O in j&&!C.EXPLICIT_CHARKEY&&(j=j[O])}}return S.length>0?C.assignOrPush(U,B,j):(C.options.explicitRoot&&(M=j,j={},j[B]=M),C.resultObject=j,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),T=function(C){return function(_){var I,k;if(k=S[S.length-1],k)return k[O]+=_,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||_.replace(/\\n/g,"").trim()!=="")&&(k[C.options.childkey]=k[C.options.childkey]||[],I={"#name":"__text__"},I[O]=_,C.options.normalize&&(I[O]=I[O].replace(/\s{2,}/g," ").trim()),k[C.options.childkey].push(I)),k}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(C){return function(_){var I;if(I=T(_),I)return I.cdata=!0}}(this)},v.prototype.parseString=function(w,O){var T;O!=null&&typeof O=="function"&&(this.on("end",function(S){return this.reset(),O(null,S)}),this.on("error",function(S){return this.reset(),O(S)}));try{return w=w.toString(),w.trim()===""?(this.emit("end",null),!0):(w=n.stripBOM(w),this.options.async?(this.remaining=w,u(this.processAsync),this.saxParser):this.saxParser.write(w).close())}catch(S){if(T=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},v.prototype.parseStringPromise=function(w){return new f.default(function(O){return function(T,S){return O.parseString(w,function(C,_){return C?S(C):T(_)})}}(this))},v}(d),e.parseString=function(E,v,w){var O,T,S;return w!=null?(typeof w=="function"&&(O=w),(typeof v=="undefined"?"undefined":(0,s.default)(v))==="object"&&(T=v)):(typeof v=="function"&&(O=v),T={}),S=new e.Parser(T),S.parseString(E,O)},e.parseStringPromise=function(E,v){var w,O;return(typeof v=="undefined"?"undefined":(0,s.default)(v))==="object"&&(w=v),O=new e.Parser(w),O.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(R,N,e){"use strict";(function(){"use strict";var A;A=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(A,"")},e.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},e.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(R,N,e){"use strict";(function(){"use strict";var A,f,x,m,g=function(s,a){for(var n in a)p.call(a,n)&&(s[n]=a[n]);function i(){this.constructor=s}return i.prototype=a.prototype,s.prototype=new i,s.__super__=a.prototype,s},p={}.hasOwnProperty;f=R("./defaults"),A=R("./builder"),x=R("./parser"),m=R("./processors"),e.defaults=f.defaults,e.processors=m,e.ValidationError=function(c){g(s,c);function s(a){this.message=a}return s}(Error),e.Builder=A.Builder,e.Parser=x.Parser,e.parseString=x.parseString,e.parseStringPromise=x.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(R,N,e){"use strict";(function(){N.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(R,N,e){"use strict";(function(){N.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/get-prototype-of"),f=c(A),x=R("babel-runtime/helpers/typeof"),m=c(x),g=R("babel-runtime/core-js/object/assign"),p=c(g);function c(s){return s&&s.__esModule?s:{default:s}}(function(){var s,a,n,i,d,t,l,r=[].slice,o={}.hasOwnProperty;s=function(){var h,y,b,E,v,w;if(w=arguments[0],v=2<=arguments.length?r.call(arguments,1):[],d(p.default))p.default.apply(null,arguments);else for(h=0,b=v.length;h<b;h++)if(E=v[h],E!=null)for(y in E){if(!o.call(E,y))continue;w[y]=E[y]}return w},d=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},t=function(h){var y;return!!h&&((y=typeof h=="undefined"?"undefined":(0,m.default)(h))==="function"||y==="object")},n=function(h){return d(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},i=function(h){var y;if(n(h))return!h.length;for(y in h){if(!o.call(h,y))continue;return!1}return!0},l=function(h){var y,b;return t(h)&&(b=(0,f.default)(h))&&(y=b.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},a=function(h){return d(h.valueOf)?h.valueOf():h},N.exports.assign=s,N.exports.isFunction=d,N.exports.isObject=t,N.exports.isArray=n,N.exports.isEmpty=i,N.exports.isPlainObject=l,N.exports.getValue=a}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(R,N,e){"use strict";(function(){N.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p;m=R("./NodeType"),p=R("./XMLNode"),N.exports=g=function(){function c(s,a,n){if(this.parent=s,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),a==null)throw new Error("Missing attribute name. "+this.debugInfo(a));this.name=this.stringify.name(a),this.value=this.stringify.attValue(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(a){return this.value=a||""}}),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(s){return this.options.writer.attribute(this,this.options.writer.filterOptions(s))},c.prototype.debugInfo=function(s){return s=s||this.name,s==null?"parent: <"+this.parent.name+">":"attribute: {"+s+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(s){return s.namespaceURI!==this.namespaceURI||(s.prefix!==this.prefix||s.localName!==this.localName)?!1:!(s.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;m=R("./NodeType"),p=R("./XMLCharacterData"),N.exports=g=function(a){c(n,a);function n(i,d){if(n.__super__.constructor.call(this,i),d==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(d)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return this.options.writer.cdata(this,this.options.writer.filterOptions(i))},n}(p)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p=function(a,n){for(var i in n)c.call(n,i)&&(a[i]=n[i]);function d(){this.constructor=a}return d.prototype=n.prototype,a.prototype=new d,a.__super__=n.prototype,a},c={}.hasOwnProperty;g=R("./XMLNode"),N.exports=m=function(s){p(a,s);function a(n){a.__super__.constructor.call(this,n),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),a.prototype.clone=function(){return(0,f.default)(this)},a.prototype.substringData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(n,i,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(n){return a.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.data!==this.data):!1},a}(g)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=p=function(a){c(n,a);function n(i,d){if(n.__super__.constructor.call(this,i),d==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(d)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return this.options.writer.comment(this,this.options.writer.filterOptions(i))},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=g(A),x=R("babel-runtime/core-js/object/create"),m=g(x);function g(p){return p&&p.__esModule?p:{default:p}}(function(){var p,c,s;c=R("./XMLDOMErrorHandler"),s=R("./XMLDOMStringList"),N.exports=p=function(){function a(){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(a.prototype,"parameterNames",{get:function(){return new s((0,f.default)(this.defaultParams))}}),a.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},a.prototype.canSetParameter=function(n,i){return!0},a.prototype.setParameter=function(n,i){return i!=null?this.params[n]=i:delete this.params[n]},a}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(R,N,e){"use strict";(function(){var A;N.exports=A=function(){function f(){}return f.prototype.handleError=function(x){throw new Error(x)},f}()}).call(void 0)},{}],260:[function(R,N,e){"use strict";(function(){var A;N.exports=A=function(){function f(){}return f.prototype.hasFeature=function(x,m){return!0},f.prototype.createDocumentType=function(x,m,g){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(x,m,g){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(x){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(x,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(R,N,e){"use strict";(function(){var A;N.exports=A=function(){function f(x){this.arr=x||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(x){return this.arr[x]||null},f.prototype.contains=function(x){return this.arr.indexOf(x)!==-1},f}()}).call(void 0)},{}],262:[function(R,N,e){"use strict";(function(){var A,f,x,m=function(c,s){for(var a in s)g.call(s,a)&&(c[a]=s[a]);function n(){this.constructor=c}return n.prototype=s.prototype,c.prototype=new n,c.__super__=s.prototype,c},g={}.hasOwnProperty;x=R("./XMLNode"),A=R("./NodeType"),N.exports=f=function(p){m(c,p);function c(s,a,n,i,d,t){if(c.__super__.constructor.call(this,s),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(n==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(d.indexOf("#")!==0&&(d="#"+d),!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(t&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=A.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(i),t&&(this.defaultValue=this.stringify.dtdAttDefault(t)),this.defaultValueType=d}return c.prototype.toString=function(s){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(s))},c}(x)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(R,N,e){"use strict";(function(){var A,f,x,m=function(c,s){for(var a in s)g.call(s,a)&&(c[a]=s[a]);function n(){this.constructor=c}return n.prototype=s.prototype,c.prototype=new n,c.__super__=s.prototype,c},g={}.hasOwnProperty;x=R("./XMLNode"),A=R("./NodeType"),N.exports=f=function(p){m(c,p);function c(s,a,n){if(c.__super__.constructor.call(this,s),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(a),this.type=A.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}return c.prototype.toString=function(s){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(s))},c}(x)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(R,N,e){"use strict";(function(){var A,f,x,m,g=function(s,a){for(var n in a)p.call(a,n)&&(s[n]=a[n]);function i(){this.constructor=s}return i.prototype=a.prototype,s.prototype=new i,s.__super__=a.prototype,s},p={}.hasOwnProperty;m=R("./Utility").isObject,x=R("./XMLNode"),A=R("./NodeType"),N.exports=f=function(c){g(s,c);function s(a,n,i,d){if(s.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(d==null)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!n,this.name=this.stringify.name(i),this.type=A.EntityDeclaration,!m(d))this.value=this.stringify.dtdEntityValue(d),this.internal=!0;else{if(!d.pubID&&!d.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(d.pubID&&!d.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,d.pubID!=null&&(this.pubID=this.stringify.dtdPubID(d.pubID)),d.sysID!=null&&(this.sysID=this.stringify.dtdSysID(d.sysID)),d.nData!=null&&(this.nData=this.stringify.dtdNData(d.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}}return Object.defineProperty(s.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(s.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(s.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(s.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlVersion",{get:function(){return null}}),s.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},s}(x)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(R,N,e){"use strict";(function(){var A,f,x,m=function(c,s){for(var a in s)g.call(s,a)&&(c[a]=s[a]);function n(){this.constructor=c}return n.prototype=s.prototype,c.prototype=new n,c.__super__=s.prototype,c},g={}.hasOwnProperty;x=R("./XMLNode"),A=R("./NodeType"),N.exports=f=function(p){m(c,p);function c(s,a,n){if(c.__super__.constructor.call(this,s),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=A.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(s){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(s))},c}(x)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(R,N,e){"use strict";(function(){var A,f,x,m,g=function(s,a){for(var n in a)p.call(a,n)&&(s[n]=a[n]);function i(){this.constructor=s}return i.prototype=a.prototype,s.prototype=new i,s.__super__=a.prototype,s},p={}.hasOwnProperty;m=R("./Utility").isObject,x=R("./XMLNode"),A=R("./NodeType"),N.exports=f=function(c){g(s,c);function s(a,n,i,d){var t;s.__super__.constructor.call(this,a),m(n)&&(t=n,n=t.version,i=t.encoding,d=t.standalone),n||(n="1.0"),this.type=A.Declaration,this.version=this.stringify.xmlVersion(n),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),d!=null&&(this.standalone=this.stringify.xmlStandalone(d))}return s.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},s}(x)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a,n=function(t,l){for(var r in l)i.call(l,r)&&(t[r]=l[r]);function o(){this.constructor=t}return o.prototype=l.prototype,t.prototype=new o,t.__super__=l.prototype,t},i={}.hasOwnProperty;a=R("./Utility").isObject,s=R("./XMLNode"),A=R("./NodeType"),f=R("./XMLDTDAttList"),m=R("./XMLDTDEntity"),x=R("./XMLDTDElement"),g=R("./XMLDTDNotation"),c=R("./XMLNamedNodeMap"),N.exports=p=function(d){n(t,d);function t(l,r,o){var u,h,y,b,E,v;if(t.__super__.constructor.call(this,l),this.type=A.DocType,l.children){for(b=l.children,h=0,y=b.length;h<y;h++)if(u=b[h],u.type===A.Element){this.name=u.name;break}}this.documentObject=l,a(r)&&(E=r,r=E.pubID,o=E.sysID),o==null&&(v=[r,o],o=v[0],r=v[1]),r!=null&&(this.pubID=this.stringify.dtdPubID(r)),o!=null&&(this.sysID=this.stringify.dtdSysID(o))}return Object.defineProperty(t.prototype,"entities",{get:function(){var r,o,u,h,y;for(h={},y=this.children,o=0,u=y.length;o<u;o++)r=y[o],r.type===A.EntityDeclaration&&!r.pe&&(h[r.name]=r);return new c(h)}}),Object.defineProperty(t.prototype,"notations",{get:function(){var r,o,u,h,y;for(h={},y=this.children,o=0,u=y.length;o<u;o++)r=y[o],r.type===A.NotationDeclaration&&(h[r.name]=r);return new c(h)}}),Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.element=function(l,r){var o;return o=new x(this,l,r),this.children.push(o),this},t.prototype.attList=function(l,r,o,u,h){var y;return y=new f(this,l,r,o,u,h),this.children.push(y),this},t.prototype.entity=function(l,r){var o;return o=new m(this,!1,l,r),this.children.push(o),this},t.prototype.pEntity=function(l,r){var o;return o=new m(this,!0,l,r),this.children.push(o),this},t.prototype.notation=function(l,r){var o;return o=new g(this,l,r),this.children.push(o),this},t.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},t.prototype.ele=function(l,r){return this.element(l,r)},t.prototype.att=function(l,r,o,u,h){return this.attList(l,r,o,u,h)},t.prototype.ent=function(l,r){return this.entity(l,r)},t.prototype.pent=function(l,r){return this.pEntity(l,r)},t.prototype.not=function(l,r){return this.notation(l,r)},t.prototype.up=function(){return this.root()||this.documentObject},t.prototype.isEqualNode=function(l){return t.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},t}(s)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a=function(d,t){for(var l in t)n.call(t,l)&&(d[l]=t[l]);function r(){this.constructor=d}return r.prototype=t.prototype,d.prototype=new r,d.__super__=t.prototype,d},n={}.hasOwnProperty;s=R("./Utility").isPlainObject,x=R("./XMLDOMImplementation"),f=R("./XMLDOMConfiguration"),g=R("./XMLNode"),A=R("./NodeType"),c=R("./XMLStringifier"),p=R("./XMLStringWriter"),N.exports=m=function(i){a(d,i);function d(t){d.__super__.constructor.call(this,null),this.name="#document",this.type=A.Document,this.documentURI=null,this.domConfig=new f,t||(t={}),t.writer||(t.writer=new p),this.options=t,this.stringify=new c(t)}return Object.defineProperty(d.prototype,"implementation",{value:new x}),Object.defineProperty(d.prototype,"doctype",{get:function(){var l,r,o,u;for(u=this.children,r=0,o=u.length;r<o;r++)if(l=u[r],l.type===A.DocType)return l;return null}}),Object.defineProperty(d.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===A.Declaration?this.children[0].encoding:null}}),Object.defineProperty(d.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===A.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===A.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(d.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(d.prototype,"origin",{get:function(){return null}}),Object.defineProperty(d.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(d.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(d.prototype,"contentType",{get:function(){return null}}),d.prototype.end=function(t){var l;return l={},t?s(t)&&(l=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(l))},d.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},d.prototype.createElement=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTextNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createComment=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createCDATASection=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createProcessingInstruction=function(t,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttribute=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEntityReference=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.importNode=function(t,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createElementNS=function(t,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttributeNS=function(t,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagNameNS=function(t,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementById=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.adoptNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.renameNode=function(t,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEvent=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createNodeIterator=function(t,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTreeWalker=function(t,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},d}(g)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a,n,i,d,t,l,r,o,u,h,y,b,E,v,w,O,T={}.hasOwnProperty;O=R("./Utility"),v=O.isObject,E=O.isFunction,w=O.isPlainObject,b=O.getValue,A=R("./NodeType"),d=R("./XMLDocument"),l=R("./XMLElement"),m=R("./XMLCData"),g=R("./XMLComment"),o=R("./XMLRaw"),y=R("./XMLText"),r=R("./XMLProcessingInstruction"),n=R("./XMLDeclaration"),i=R("./XMLDocType"),p=R("./XMLDTDAttList"),s=R("./XMLDTDEntity"),c=R("./XMLDTDElement"),a=R("./XMLDTDNotation"),x=R("./XMLAttribute"),h=R("./XMLStringifier"),u=R("./XMLStringWriter"),f=R("./WriterState"),N.exports=t=function(){function S(C,_,I){var k;this.name="?xml",this.type=A.Document,C||(C={}),k={},C.writer?w(C.writer)&&(k=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(k),this.stringify=new h(C),this.onDataCallback=_||function(){},this.onEndCallback=I||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return S.prototype.createChildNode=function(C){var _,I,k,F,B,j,z,M;switch(C.type){case A.CData:this.cdata(C.value);break;case A.Comment:this.comment(C.value);break;case A.Element:k={},z=C.attribs;for(I in z){if(!T.call(z,I))continue;_=z[I],k[I]=_.value}this.node(C.name,k);break;case A.Dummy:this.dummy();break;case A.Raw:this.raw(C.value);break;case A.Text:this.text(C.value);break;case A.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(M=C.children,B=0,j=M.length;B<j;B++)F=M[B],this.createChildNode(F),F.type===A.Element&&this.up();return this},S.prototype.dummy=function(){return this},S.prototype.node=function(C,_,I){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=b(C),_==null&&(_={}),_=b(_),v(_)||(k=[_,I],I=k[0],_=k[1]),this.currentNode=new l(this,C,_),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,I!=null&&this.text(I),this},S.prototype.element=function(C,_,I){var k,F,B,j,z,M;if(this.currentNode&&this.currentNode.type===A.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||v(C)||E(C))for(j=this.options.noValidation,this.options.noValidation=!0,M=new d(this.options).element("TEMP_ROOT"),M.element(C),this.options.noValidation=j,z=M.children,F=0,B=z.length;F<B;F++)k=z[F],this.createChildNode(k),k.type===A.Element&&this.up();else this.node(C,_,I);return this},S.prototype.attribute=function(C,_){var I,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=b(C)),v(C))for(I in C){if(!T.call(C,I))continue;k=C[I],this.attribute(I,k)}else E(_)&&(_=_.apply()),this.options.keepNullAttributes&&_==null?this.currentNode.attribs[C]=new x(this,C,""):_!=null&&(this.currentNode.attribs[C]=new x(this,C,_));return this},S.prototype.text=function(C){var _;return this.openCurrent(),_=new y(this,C),this.onData(this.writer.text(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.cdata=function(C){var _;return this.openCurrent(),_=new m(this,C),this.onData(this.writer.cdata(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.comment=function(C){var _;return this.openCurrent(),_=new g(this,C),this.onData(this.writer.comment(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.raw=function(C){var _;return this.openCurrent(),_=new o(this,C),this.onData(this.writer.raw(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.instruction=function(C,_){var I,k,F,B,j;if(this.openCurrent(),C!=null&&(C=b(C)),_!=null&&(_=b(_)),Array.isArray(C))for(I=0,B=C.length;I<B;I++)k=C[I],this.instruction(k);else if(v(C))for(k in C){if(!T.call(C,k))continue;F=C[k],this.instruction(k,F)}else E(_)&&(_=_.apply()),j=new r(this,C,_),this.onData(this.writer.processingInstruction(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},S.prototype.declaration=function(C,_,I){var k;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return k=new n(this,C,_,I),this.onData(this.writer.declaration(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.doctype=function(C,_,I){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 i(this,_,I),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},S.prototype.dtdElement=function(C,_){var I;return this.openCurrent(),I=new c(this,C,_),this.onData(this.writer.dtdElement(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.attList=function(C,_,I,k,F){var B;return this.openCurrent(),B=new p(this,C,_,I,k,F),this.onData(this.writer.dtdAttList(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.entity=function(C,_){var I;return this.openCurrent(),I=new s(this,!1,C,_),this.onData(this.writer.dtdEntity(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.pEntity=function(C,_){var I;return this.openCurrent(),I=new s(this,!0,C,_),this.onData(this.writer.dtdEntity(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.notation=function(C,_){var I;return this.openCurrent(),I=new a(this,C,_),this.onData(this.writer.dtdNotation(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.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},S.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},S.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},S.prototype.openNode=function(C){var _,I,k,F;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===A.Element&&(this.root=C),I="",C.type===A.Element){this.writerOptions.state=f.OpenTag,I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,F=C.attribs;for(k in F){if(!T.call(F,k))continue;_=F[k],I+=this.writer.attribute(_,this.writerOptions,this.currentLevel)}I+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?I+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(I+=' SYSTEM "'+C.sysID+'"'),C.children?(I+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,I+=">"),I+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(I,this.currentLevel),C.isOpen=!0}},S.prototype.closeNode=function(C){var _;if(!C.isClosed)return _="",this.writerOptions.state=f.CloseTag,C.type===A.Element?_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(_,this.currentLevel),C.isClosed=!0},S.prototype.onData=function(C,_){return this.documentStarted=!0,this.onDataCallback(C,_+1)},S.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},S.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},S.prototype.ele=function(){return this.element.apply(this,arguments)},S.prototype.nod=function(C,_,I){return this.node(C,_,I)},S.prototype.txt=function(C){return this.text(C)},S.prototype.dat=function(C){return this.cdata(C)},S.prototype.com=function(C){return this.comment(C)},S.prototype.ins=function(C,_){return this.instruction(C,_)},S.prototype.dec=function(C,_,I){return this.declaration(C,_,I)},S.prototype.dtd=function(C,_,I){return this.doctype(C,_,I)},S.prototype.e=function(C,_,I){return this.element(C,_,I)},S.prototype.n=function(C,_,I){return this.node(C,_,I)},S.prototype.t=function(C){return this.text(C)},S.prototype.d=function(C){return this.cdata(C)},S.prototype.c=function(C){return this.comment(C)},S.prototype.r=function(C){return this.raw(C)},S.prototype.i=function(C,_){return this.instruction(C,_)},S.prototype.att=function(){return this.currentNode&&this.currentNode.type===A.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.a=function(){return this.currentNode&&this.currentNode.type===A.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.ent=function(C,_){return this.entity(C,_)},S.prototype.pent=function(C,_){return this.pEntity(C,_)},S.prototype.not=function(C,_){return this.notation(C,_)},S}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;p=R("./XMLNode"),m=R("./NodeType"),N.exports=g=function(a){c(n,a);function n(i){n.__super__.constructor.call(this,i),this.type=m.Dummy}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return""},n}(p)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c,s,a,n,i,d,t=function(o,u){for(var h in u)l.call(u,h)&&(o[h]=u[h]);function y(){this.constructor=o}return y.prototype=u.prototype,o.prototype=new y,o.__super__=u.prototype,o},l={}.hasOwnProperty;d=R("./Utility"),i=d.isObject,n=d.isFunction,a=d.getValue,s=R("./XMLNode"),m=R("./NodeType"),g=R("./XMLAttribute"),c=R("./XMLNamedNodeMap"),N.exports=p=function(r){t(o,r);function o(u,h,y){var b,E,v,w;if(o.__super__.constructor.call(this,u),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,y!=null&&this.attribute(y),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(w=u.children,E=0,v=w.length;E<v;E++)if(b=w[E],b.type===m.DocType){b.name=this.name;break}}}return Object.defineProperty(o.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(o.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(o.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(o.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(o.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(o.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(o.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(o.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new c(this.attribs)),this.attributeMap}}),o.prototype.clone=function(){var u,h,y,b;y=(0,f.default)(this),y.isRoot&&(y.documentObject=null),y.attribs={},b=this.attribs;for(h in b){if(!l.call(b,h))continue;u=b[h],y.attribs[h]=u.clone()}return y.children=[],this.children.forEach(function(E){var v;return v=E.clone(),v.parent=y,y.children.push(v)}),y},o.prototype.attribute=function(u,h){var y,b;if(u!=null&&(u=a(u)),i(u))for(y in u){if(!l.call(u,y))continue;b=u[y],this.attribute(y,b)}else n(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[u]=new g(this,u,""):h!=null&&(this.attribs[u]=new g(this,u,h));return this},o.prototype.removeAttribute=function(u){var h,y,b;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=a(u),Array.isArray(u))for(y=0,b=u.length;y<b;y++)h=u[y],delete this.attribs[h];else delete this.attribs[u];return this},o.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},o.prototype.att=function(u,h){return this.attribute(u,h)},o.prototype.a=function(u,h){return this.attribute(u,h)},o.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},o.prototype.setAttribute=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},o.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.setAttributeNS=function(u,h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.removeAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getAttributeNodeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},o.prototype.hasAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.setIdAttribute=function(u,h){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:h},o.prototype.setIdAttributeNS=function(u,h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.setIdAttributeNode=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.isEqualNode=function(u){var h,y,b;if(!o.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(h=y=0,b=this.attribs.length-1;0<=b?y<=b:y>=b;h=0<=b?++y:--y)if(!this.attribs[h].isEqualNode(u.attribs[h]))return!1;return!0},o}(s)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/keys"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m;N.exports=m=function(){function g(p){this.nodes=p}return Object.defineProperty(g.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),g.prototype.clone=function(){return this.nodes=null},g.prototype.getNamedItem=function(p){return this.nodes[p]},g.prototype.setNamedItem=function(p){var c;return c=this.nodes[p.nodeName],this.nodes[p.nodeName]=p,c||null},g.prototype.removeNamedItem=function(p){var c;return c=this.nodes[p],delete this.nodes[p],c||null},g.prototype.item=function(p){return this.nodes[(0,f.default)(this.nodes)[p]]||null},g.prototype.getNamedItemNS=function(p,c){throw new Error("This DOM method is not implemented.")},g.prototype.setNamedItemNS=function(p){throw new Error("This DOM method is not implemented.")},g.prototype.removeNamedItemNS=function(p,c){throw new Error("This DOM method is not implemented.")},g}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a,n,i,d,t,l,r,o,u,h,y,b={}.hasOwnProperty;y=R("./Utility"),h=y.isObject,u=y.isFunction,o=y.isEmpty,r=y.getValue,s=null,x=null,m=null,g=null,p=null,t=null,l=null,d=null,c=null,f=null,i=null,a=null,A=null,N.exports=n=function(){function E(v){this.parent=v,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,s||(s=R("./XMLElement"),x=R("./XMLCData"),m=R("./XMLComment"),g=R("./XMLDeclaration"),p=R("./XMLDocType"),t=R("./XMLRaw"),l=R("./XMLText"),d=R("./XMLProcessingInstruction"),c=R("./XMLDummy"),f=R("./NodeType"),i=R("./XMLNodeList"),a=R("./XMLNamedNodeMap"),A=R("./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 i(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 w;return w=this.parent.children.indexOf(this),this.parent.children[w-1]||null}}),Object.defineProperty(E.prototype,"nextSibling",{get:function(){var w;return w=this.parent.children.indexOf(this),this.parent.children[w+1]||null}}),Object.defineProperty(E.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(E.prototype,"textContent",{get:function(){var w,O,T,S,C;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(C="",S=this.children,O=0,T=S.length;O<T;O++)w=S[O],w.textContent&&(C+=w.textContent);return C}else return null},set:function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),E.prototype.setParent=function(v){var w,O,T,S,C;for(this.parent=v,v&&(this.options=v.options,this.stringify=v.stringify),S=this.children,C=[],O=0,T=S.length;O<T;O++)w=S[O],C.push(w.setParent(this));return C},E.prototype.element=function(v,w,O){var T,S,C,_,I,k,F,B,j,z,M;if(k=null,w===null&&O==null&&(j=[{},null],w=j[0],O=j[1]),w==null&&(w={}),w=r(w),h(w)||(z=[w,O],O=z[0],w=z[1]),v!=null&&(v=r(v)),Array.isArray(v))for(C=0,F=v.length;C<F;C++)S=v[C],k=this.element(S);else if(u(v))k=this.element(v.apply());else if(h(v))for(I in v){if(!b.call(v,I))continue;if(M=v[I],u(M)&&(M=M.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&I.indexOf(this.stringify.convertAttKey)===0)k=this.attribute(I.substr(this.stringify.convertAttKey.length),M);else if(!this.options.separateArrayItems&&Array.isArray(M)&&o(M))k=this.dummy();else if(h(M)&&o(M))k=this.element(I);else if(!this.options.keepNullNodes&&M==null)k=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(M))for(_=0,B=M.length;_<B;_++)S=M[_],T={},T[I]=S,k=this.element(T);else h(M)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&I.indexOf(this.stringify.convertTextKey)===0?k=this.element(M):(k=this.element(I),k.element(M)):k=this.element(I,M)}else!this.options.keepNullNodes&&O===null?k=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&v.indexOf(this.stringify.convertTextKey)===0?k=this.text(O):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&v.indexOf(this.stringify.convertCDataKey)===0?k=this.cdata(O):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&v.indexOf(this.stringify.convertCommentKey)===0?k=this.comment(O):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&v.indexOf(this.stringify.convertRawKey)===0?k=this.raw(O):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&v.indexOf(this.stringify.convertPIKey)===0?k=this.instruction(v.substr(this.stringify.convertPIKey.length),O):k=this.node(v,w,O);if(k==null)throw new Error("Could not create any elements with: "+v+". "+this.debugInfo());return k},E.prototype.insertBefore=function(v,w,O){var T,S,C,_,I;if(v!=null?v.type:void 0)return C=v,_=w,C.setParent(this),_?(S=children.indexOf(_),I=children.splice(S),children.push(C),Array.prototype.push.apply(children,I)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return S=this.parent.children.indexOf(this),I=this.parent.children.splice(S),T=this.parent.element(v,w,O),Array.prototype.push.apply(this.parent.children,I),T},E.prototype.insertAfter=function(v,w,O){var T,S,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return S=this.parent.children.indexOf(this),C=this.parent.children.splice(S+1),T=this.parent.element(v,w,O),Array.prototype.push.apply(this.parent.children,C),T},E.prototype.remove=function(){var v,w;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return v=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[v,v-v+1].concat(w=[])),this.parent},E.prototype.node=function(v,w,O){var T,S;return v!=null&&(v=r(v)),w||(w={}),w=r(w),h(w)||(S=[w,O],O=S[0],w=S[1]),T=new s(this,v,w),O!=null&&T.text(O),this.children.push(T),T},E.prototype.text=function(v){var w;return h(v)&&this.element(v),w=new l(this,v),this.children.push(w),this},E.prototype.cdata=function(v){var w;return w=new x(this,v),this.children.push(w),this},E.prototype.comment=function(v){var w;return w=new m(this,v),this.children.push(w),this},E.prototype.commentBefore=function(v){var w,O,T;return O=this.parent.children.indexOf(this),T=this.parent.children.splice(O),w=this.parent.comment(v),Array.prototype.push.apply(this.parent.children,T),this},E.prototype.commentAfter=function(v){var w,O,T;return O=this.parent.children.indexOf(this),T=this.parent.children.splice(O+1),w=this.parent.comment(v),Array.prototype.push.apply(this.parent.children,T),this},E.prototype.raw=function(v){var w;return w=new t(this,v),this.children.push(w),this},E.prototype.dummy=function(){var v;return v=new c(this),v},E.prototype.instruction=function(v,w){var O,T,S,C,_;if(v!=null&&(v=r(v)),w!=null&&(w=r(w)),Array.isArray(v))for(C=0,_=v.length;C<_;C++)O=v[C],this.instruction(O);else if(h(v))for(O in v){if(!b.call(v,O))continue;T=v[O],this.instruction(O,T)}else u(w)&&(w=w.apply()),S=new d(this,v,w),this.children.push(S);return this},E.prototype.instructionBefore=function(v,w){var O,T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T),O=this.parent.instruction(v,w),Array.prototype.push.apply(this.parent.children,S),this},E.prototype.instructionAfter=function(v,w){var O,T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T+1),O=this.parent.instruction(v,w),Array.prototype.push.apply(this.parent.children,S),this},E.prototype.declaration=function(v,w,O){var T,S;return T=this.document(),S=new g(T,v,w,O),T.children.length===0?T.children.unshift(S):T.children[0].type===f.Declaration?T.children[0]=S:T.children.unshift(S),T.root()||T},E.prototype.dtd=function(v,w){var O,T,S,C,_,I,k,F,B,j;for(T=this.document(),S=new p(T,v,w),B=T.children,C=_=0,k=B.length;_<k;C=++_)if(O=B[C],O.type===f.DocType)return T.children[C]=S,S;for(j=T.children,C=I=0,F=j.length;I<F;C=++I)if(O=j[C],O.isRoot)return T.children.splice(C,0,S),S;return T.children.push(S),S},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 v;for(v=this;v;){if(v.type===f.Document)return v.rootObject;if(v.isRoot)return v;v=v.parent}},E.prototype.document=function(){var v;for(v=this;v;){if(v.type===f.Document)return v;v=v.parent}},E.prototype.end=function(v){return this.document().end(v)},E.prototype.prev=function(){var v;if(v=this.parent.children.indexOf(this),v<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[v-1]},E.prototype.next=function(){var v;if(v=this.parent.children.indexOf(this),v===-1||v===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[v+1]},E.prototype.importDocument=function(v){var w;return w=v.root().clone(),w.parent=this,w.isRoot=!1,this.children.push(w),this},E.prototype.debugInfo=function(v){var w,O;return v=v||this.name,v==null&&!((w=this.parent)!=null?w.name:void 0)?"":v==null?"parent: <"+this.parent.name+">":((O=this.parent)!=null?O.name:void 0)?"node: <"+v+">, parent: <"+this.parent.name+">":"node: <"+v+">"},E.prototype.ele=function(v,w,O){return this.element(v,w,O)},E.prototype.nod=function(v,w,O){return this.node(v,w,O)},E.prototype.txt=function(v){return this.text(v)},E.prototype.dat=function(v){return this.cdata(v)},E.prototype.com=function(v){return this.comment(v)},E.prototype.ins=function(v,w){return this.instruction(v,w)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(v,w,O){return this.declaration(v,w,O)},E.prototype.e=function(v,w,O){return this.element(v,w,O)},E.prototype.n=function(v,w,O){return this.node(v,w,O)},E.prototype.t=function(v){return this.text(v)},E.prototype.d=function(v){return this.cdata(v)},E.prototype.c=function(v){return this.comment(v)},E.prototype.r=function(v){return this.raw(v)},E.prototype.i=function(v,w){return this.instruction(v,w)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(v){return this.importDocument(v)},E.prototype.replaceChild=function(v,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.removeChild=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.appendChild=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.hasChildNodes=function(){return this.children.length!==0},E.prototype.cloneNode=function(v){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(v,w){return!0},E.prototype.hasAttributes=function(){return this.attribs.length!==0},E.prototype.compareDocumentPosition=function(v){var w,O;return w=this,w===v?0:this.document()!==v.document()?(O=A.Disconnected|A.ImplementationSpecific,Math.random()<.5?O|=A.Preceding:O|=A.Following,O):w.isAncestor(v)?A.Contains|A.Preceding:w.isDescendant(v)?A.Contains|A.Following:w.isPreceding(v)?A.Preceding:A.Following},E.prototype.isSameNode=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupPrefix=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isDefaultNamespace=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupNamespaceURI=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isEqualNode=function(v){var w,O,T;if(v.nodeType!==this.nodeType)return!1;if(v.children.length!==this.children.length)return!1;for(w=O=0,T=this.children.length-1;0<=T?O<=T:O>=T;w=0<=T?++O:--O)if(!this.children[w].isEqualNode(v.children[w]))return!1;return!0},E.prototype.getFeature=function(v,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.setUserData=function(v,w,O){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getUserData=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.contains=function(v){return v?v===this||this.isDescendant(v):!1},E.prototype.isDescendant=function(v){var w,O,T,S,C;for(C=this.children,T=0,S=C.length;T<S;T++){if(w=C[T],v===w)return!0;if(O=w.isDescendant(v),O)return!0}return!1},E.prototype.isAncestor=function(v){return v.isDescendant(this)},E.prototype.isPreceding=function(v){var w,O;return w=this.treePosition(v),O=this.treePosition(this),w===-1||O===-1?!1:w<O},E.prototype.isFollowing=function(v){var w,O;return w=this.treePosition(v),O=this.treePosition(this),w===-1||O===-1?!1:w>O},E.prototype.treePosition=function(v){var w,O;return O=0,w=!1,this.foreachTreeNode(this.document(),function(T){if(O++,!w&&T===v)return w=!0}),w?O:-1},E.prototype.foreachTreeNode=function(v,w){var O,T,S,C,_;for(v||(v=this.document()),C=v.children,T=0,S=C.length;T<S;T++){if(O=C[T],_=w(O))return _;if(_=this.foreachTreeNode(O,w),_)return _}},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(R,N,e){"use strict";(function(){var A;N.exports=A=function(){function f(x){this.nodes=x}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(x){return this.nodes[x]||null},f}()}).call(void 0)},{}],275:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=p=function(a){c(n,a);function n(i,d,t){if(n.__super__.constructor.call(this,i),d==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,t&&(this.value=this.stringify.insValue(t))}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(i))},n.prototype.isEqualNode=function(i){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(i)?!(i.target!==this.target):!1},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLNode"),N.exports=p=function(a){c(n,a);function n(i,d){if(n.__super__.constructor.call(this,i),d==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(d)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return this.options.writer.raw(this,this.options.writer.filterOptions(i))},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(R,N,e){"use strict";(function(){var A,f,x,m,g=function(s,a){for(var n in a)p.call(a,n)&&(s[n]=a[n]);function i(){this.constructor=s}return i.prototype=a.prototype,s.prototype=new i,s.__super__=a.prototype,s},p={}.hasOwnProperty;A=R("./NodeType"),m=R("./XMLWriterBase"),f=R("./WriterState"),N.exports=x=function(c){g(s,c);function s(a,n){this.stream=a,s.__super__.constructor.call(this,n)}return s.prototype.endline=function(a,n,i){return a.isLastRootNode&&n.state===f.CloseTag?"":s.__super__.endline.call(this,a,n,i)},s.prototype.document=function(a,n){var i,d,t,l,r,o,u,h,y;for(u=a.children,d=t=0,r=u.length;t<r;d=++t)i=u[d],i.isLastRootNode=d===a.children.length-1;for(n=this.filterOptions(n),h=a.children,y=[],l=0,o=h.length;l<o;l++)i=h[l],y.push(this.writeChildNode(i,n,0));return y},s.prototype.attribute=function(a,n,i){return this.stream.write(s.__super__.attribute.call(this,a,n,i))},s.prototype.cdata=function(a,n,i){return this.stream.write(s.__super__.cdata.call(this,a,n,i))},s.prototype.comment=function(a,n,i){return this.stream.write(s.__super__.comment.call(this,a,n,i))},s.prototype.declaration=function(a,n,i){return this.stream.write(s.__super__.declaration.call(this,a,n,i))},s.prototype.docType=function(a,n,i){var d,t,l,r;if(i||(i=0),this.openNode(a,n,i),n.state=f.OpenTag,this.stream.write(this.indent(a,n,i)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a,n,i)),n.state=f.InsideTag,r=a.children,t=0,l=r.length;t<l;t++)d=r[t],this.writeChildNode(d,n,i+1);n.state=f.CloseTag,this.stream.write("]")}return n.state=f.CloseTag,this.stream.write(n.spaceBeforeSlash+">"),this.stream.write(this.endline(a,n,i)),n.state=f.None,this.closeNode(a,n,i)},s.prototype.element=function(a,n,i){var d,t,l,r,o,u,h,y,b,E;i||(i=0),this.openNode(a,n,i),n.state=f.OpenTag,this.stream.write(this.indent(a,n,i)+"<"+a.name),b=a.attribs;for(h in b){if(!p.call(b,h))continue;d=b[h],this.attribute(d,n,i)}if(l=a.children.length,r=l===0?null:a.children[0],l===0||a.children.every(function(v){return(v.type===A.Text||v.type===A.Raw)&&v.value===""}))n.allowEmpty?(this.stream.write(">"),n.state=f.CloseTag,this.stream.write("</"+a.name+">")):(n.state=f.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(n.pretty&&l===1&&(r.type===A.Text||r.type===A.Raw)&&r.value!=null)this.stream.write(">"),n.state=f.InsideTag,n.suppressPrettyCount++,y=!0,this.writeChildNode(r,n,i+1),n.suppressPrettyCount--,y=!1,n.state=f.CloseTag,this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.endline(a,n,i)),n.state=f.InsideTag,E=a.children,o=0,u=E.length;o<u;o++)t=E[o],this.writeChildNode(t,n,i+1);n.state=f.CloseTag,this.stream.write(this.indent(a,n,i)+"</"+a.name+">")}return this.stream.write(this.endline(a,n,i)),n.state=f.None,this.closeNode(a,n,i)},s.prototype.processingInstruction=function(a,n,i){return this.stream.write(s.__super__.processingInstruction.call(this,a,n,i))},s.prototype.raw=function(a,n,i){return this.stream.write(s.__super__.raw.call(this,a,n,i))},s.prototype.text=function(a,n,i){return this.stream.write(s.__super__.text.call(this,a,n,i))},s.prototype.dtdAttList=function(a,n,i){return this.stream.write(s.__super__.dtdAttList.call(this,a,n,i))},s.prototype.dtdElement=function(a,n,i){return this.stream.write(s.__super__.dtdElement.call(this,a,n,i))},s.prototype.dtdEntity=function(a,n,i){return this.stream.write(s.__super__.dtdEntity.call(this,a,n,i))},s.prototype.dtdNotation=function(a,n,i){return this.stream.write(s.__super__.dtdNotation.call(this,a,n,i))},s}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(R,N,e){"use strict";(function(){var A,f,x=function(p,c){for(var s in c)m.call(c,s)&&(p[s]=c[s]);function a(){this.constructor=p}return a.prototype=c.prototype,p.prototype=new a,p.__super__=c.prototype,p},m={}.hasOwnProperty;f=R("./XMLWriterBase"),N.exports=A=function(g){x(p,g);function p(c){p.__super__.constructor.call(this,c)}return p.prototype.document=function(c,s){var a,n,i,d,t;for(s=this.filterOptions(s),d="",t=c.children,n=0,i=t.length;n<i;n++)a=t[n],d+=this.writeChildNode(a,s,0);return s.pretty&&d.slice(-s.newline.length)===s.newline&&(d=d.slice(0,-s.newline.length)),d},p}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(R,N,e){"use strict";(function(){var A,f=function(g,p){return function(){return g.apply(p,arguments)}},x={}.hasOwnProperty;N.exports=A=function(){function m(g){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var p,c,s;g||(g={}),this.options=g,this.options.version||(this.options.version="1.0"),c=g.stringify||{};for(p in c){if(!x.call(c,p))continue;s=c[p],this[p]=s}}return m.prototype.name=function(g){return this.options.noValidation?g:this.assertLegalName(""+g||"")},m.prototype.text=function(g){return this.options.noValidation?g:this.assertLegalChar(this.textEscape(""+g||""))},m.prototype.cdata=function(g){return this.options.noValidation?g:(g=""+g||"",g=g.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(g))},m.prototype.comment=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+g);return this.assertLegalChar(g)},m.prototype.raw=function(g){return this.options.noValidation?g:""+g||""},m.prototype.attValue=function(g){return this.options.noValidation?g:this.assertLegalChar(this.attEscape(g=""+g||""))},m.prototype.insTarget=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.insValue=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/\?>/))throw new Error("Invalid processing instruction value: "+g);return this.assertLegalChar(g)},m.prototype.xmlVersion=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+g);return g},m.prototype.xmlEncoding=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+g);return this.assertLegalChar(g)},m.prototype.xmlStandalone=function(g){return this.options.noValidation?g:g?"yes":"no"},m.prototype.dtdPubID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdSysID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdElementValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttType=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttDefault=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdEntityValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdNData=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},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(g){var p,c;if(this.options.noValidation)return g;if(p="",this.options.version==="1.0"){if(p=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(p))throw new Error("Invalid character in string: "+g+" at index "+c.index)}else if(this.options.version==="1.1"&&(p=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(p)))throw new Error("Invalid character in string: "+g+" at index "+c.index);return g},m.prototype.assertLegalName=function(g){var p;if(this.options.noValidation)return g;if(this.assertLegalChar(g),p=/^([: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])*$/,!g.match(p))throw new Error("Invalid character in name");return g},m.prototype.textEscape=function(g){var p;return this.options.noValidation?g:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(p,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(g){var p;return this.options.noValidation?g:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(p,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(R,N,e){"use strict";var A=R("babel-runtime/core-js/object/create"),f=x(A);function x(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(n,i){for(var d in i)s.call(i,d)&&(n[d]=i[d]);function t(){this.constructor=n}return t.prototype=i.prototype,n.prototype=new t,n.__super__=i.prototype,n},s={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=p=function(a){c(n,a);function n(i,d){if(n.__super__.constructor.call(this,i),d==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(d)}return Object.defineProperty(n.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"wholeText",{get:function(){var d,t,l;for(l="",t=this.previousSibling;t;)l=t.data+l,t=t.previousSibling;for(l+=this.data,d=this.nextSibling;d;)l=l+d.data,d=d.nextSibling;return l}}),n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(i){return this.options.writer.text(this,this.options.writer.filterOptions(i))},n.prototype.splitText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceWholeText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a,n,i,d,t,l,r,o,u,h={}.hasOwnProperty;u=R("./Utility").assign,A=R("./NodeType"),a=R("./XMLDeclaration"),n=R("./XMLDocType"),x=R("./XMLCData"),m=R("./XMLComment"),d=R("./XMLElement"),l=R("./XMLRaw"),r=R("./XMLText"),t=R("./XMLProcessingInstruction"),i=R("./XMLDummy"),g=R("./XMLDTDAttList"),p=R("./XMLDTDElement"),c=R("./XMLDTDEntity"),s=R("./XMLDTDNotation"),f=R("./WriterState"),N.exports=o=function(){function y(b){var E,v,w;b||(b={}),this.options=b,v=b.writer||{};for(E in v){if(!h.call(v,E))continue;w=v[E],this["_"+E]=this[E],this[E]=w}}return y.prototype.filterOptions=function(b){var E,v,w,O,T,S,C,_;return b||(b={}),b=u({},this.options,b),E={writer:this},E.pretty=b.pretty||!1,E.allowEmpty=b.allowEmpty||!1,E.indent=(v=b.indent)!=null?v:" ",E.newline=(w=b.newline)!=null?w:`
|
|
|
`,E.offset=(O=b.offset)!=null?O:0,E.dontPrettyTextNodes=(T=(S=b.dontPrettyTextNodes)!=null?S:b.dontprettytextnodes)!=null?T:0,E.spaceBeforeSlash=(C=(_=b.spaceBeforeSlash)!=null?_:b.spacebeforeslash)!=null?C:"",E.spaceBeforeSlash===!0&&(E.spaceBeforeSlash=" "),E.suppressPrettyCount=0,E.user={},E.state=f.None,E},y.prototype.indent=function(b,E,v){var w;return!E.pretty||E.suppressPrettyCount?"":E.pretty&&(w=(v||0)+E.offset+1,w>0)?new Array(w).join(E.indent):""},y.prototype.endline=function(b,E,v){return!E.pretty||E.suppressPrettyCount?"":E.newline},y.prototype.attribute=function(b,E,v){var w;return this.openAttribute(b,E,v),w=" "+b.name+'="'+b.value+'"',this.closeAttribute(b,E,v),w},y.prototype.cdata=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<![CDATA[",E.state=f.InsideTag,w+=b.value,E.state=f.CloseTag,w+="]]>"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.comment=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<!-- ",E.state=f.InsideTag,w+=b.value,E.state=f.CloseTag,w+=" -->"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.declaration=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<?xml",E.state=f.InsideTag,w+=' version="'+b.version+'"',b.encoding!=null&&(w+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(w+=' standalone="'+b.standalone+'"'),E.state=f.CloseTag,w+=E.spaceBeforeSlash+"?>",w+=this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.docType=function(b,E,v){var w,O,T,S,C;if(v||(v=0),this.openNode(b,E,v),E.state=f.OpenTag,S=this.indent(b,E,v),S+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(S+=" [",S+=this.endline(b,E,v),E.state=f.InsideTag,C=b.children,O=0,T=C.length;O<T;O++)w=C[O],S+=this.writeChildNode(w,E,v+1);E.state=f.CloseTag,S+="]"}return E.state=f.CloseTag,S+=E.spaceBeforeSlash+">",S+=this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),S},y.prototype.element=function(b,E,v){var w,O,T,S,C,_,I,k,F,B,j,z,M,U;v||(v=0),B=!1,j="",this.openNode(b,E,v),E.state=f.OpenTag,j+=this.indent(b,E,v)+"<"+b.name,z=b.attribs;for(F in z){if(!h.call(z,F))continue;w=z[F],j+=this.attribute(w,E,v)}if(T=b.children.length,S=T===0?null:b.children[0],T===0||b.children.every(function(P){return(P.type===A.Text||P.type===A.Raw)&&P.value===""}))E.allowEmpty?(j+=">",E.state=f.CloseTag,j+="</"+b.name+">"+this.endline(b,E,v)):(E.state=f.CloseTag,j+=E.spaceBeforeSlash+"/>"+this.endline(b,E,v));else if(E.pretty&&T===1&&(S.type===A.Text||S.type===A.Raw)&&S.value!=null)j+=">",E.state=f.InsideTag,E.suppressPrettyCount++,B=!0,j+=this.writeChildNode(S,E,v+1),E.suppressPrettyCount--,B=!1,E.state=f.CloseTag,j+="</"+b.name+">"+this.endline(b,E,v);else{if(E.dontPrettyTextNodes){for(M=b.children,C=0,I=M.length;C<I;C++)if(O=M[C],(O.type===A.Text||O.type===A.Raw)&&O.value!=null){E.suppressPrettyCount++,B=!0;break}}for(j+=">"+this.endline(b,E,v),E.state=f.InsideTag,U=b.children,_=0,k=U.length;_<k;_++)O=U[_],j+=this.writeChildNode(O,E,v+1);E.state=f.CloseTag,j+=this.indent(b,E,v)+"</"+b.name+">",B&&E.suppressPrettyCount--,j+=this.endline(b,E,v),E.state=f.None}return this.closeNode(b,E,v),j},y.prototype.writeChildNode=function(b,E,v){switch(b.type){case A.CData:return this.cdata(b,E,v);case A.Comment:return this.comment(b,E,v);case A.Element:return this.element(b,E,v);case A.Raw:return this.raw(b,E,v);case A.Text:return this.text(b,E,v);case A.ProcessingInstruction:return this.processingInstruction(b,E,v);case A.Dummy:return"";case A.Declaration:return this.declaration(b,E,v);case A.DocType:return this.docType(b,E,v);case A.AttributeDeclaration:return this.dtdAttList(b,E,v);case A.ElementDeclaration:return this.dtdElement(b,E,v);case A.EntityDeclaration:return this.dtdEntity(b,E,v);case A.NotationDeclaration:return this.dtdNotation(b,E,v);default:throw new Error("Unknown XML node type: "+b.constructor.name)}},y.prototype.processingInstruction=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<?",E.state=f.InsideTag,w+=b.target,b.value&&(w+=" "+b.value),E.state=f.CloseTag,w+=E.spaceBeforeSlash+"?>",w+=this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.raw=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v),E.state=f.InsideTag,w+=b.value,E.state=f.CloseTag,w+=this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.text=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v),E.state=f.InsideTag,w+=b.value,E.state=f.CloseTag,w+=this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.dtdAttList=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<!ATTLIST",E.state=f.InsideTag,w+=" "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(w+=" "+b.defaultValueType),b.defaultValue&&(w+=' "'+b.defaultValue+'"'),E.state=f.CloseTag,w+=E.spaceBeforeSlash+">"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.dtdElement=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<!ELEMENT",E.state=f.InsideTag,w+=" "+b.name+" "+b.value,E.state=f.CloseTag,w+=E.spaceBeforeSlash+">"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.dtdEntity=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<!ENTITY",E.state=f.InsideTag,b.pe&&(w+=" %"),w+=" "+b.name,b.value?w+=' "'+b.value+'"':(b.pubID&&b.sysID?w+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(w+=' SYSTEM "'+b.sysID+'"'),b.nData&&(w+=" NDATA "+b.nData)),E.state=f.CloseTag,w+=E.spaceBeforeSlash+">"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.dtdNotation=function(b,E,v){var w;return this.openNode(b,E,v),E.state=f.OpenTag,w=this.indent(b,E,v)+"<!NOTATION",E.state=f.InsideTag,w+=" "+b.name,b.pubID&&b.sysID?w+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?w+=' PUBLIC "'+b.pubID+'"':b.sysID&&(w+=' SYSTEM "'+b.sysID+'"'),E.state=f.CloseTag,w+=E.spaceBeforeSlash+">"+this.endline(b,E,v),E.state=f.None,this.closeNode(b,E,v),w},y.prototype.openNode=function(b,E,v){},y.prototype.closeNode=function(b,E,v){},y.prototype.openAttribute=function(b,E,v){},y.prototype.closeAttribute=function(b,E,v){},y}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(R,N,e){"use strict";(function(){var A,f,x,m,g,p,c,s,a,n;n=R("./Utility"),s=n.assign,a=n.isFunction,x=R("./XMLDOMImplementation"),m=R("./XMLDocument"),g=R("./XMLDocumentCB"),c=R("./XMLStringWriter"),p=R("./XMLStreamWriter"),A=R("./NodeType"),f=R("./WriterState"),N.exports.create=function(i,d,t,l){var r,o;if(i==null)throw new Error("Root element needs a name.");return l=s({},d,t,l),r=new m(l),o=r.element(i),l.headless||(r.declaration(l),(l.pubID!=null||l.sysID!=null)&&r.dtd(l)),o},N.exports.begin=function(i,d,t){var l;return a(i)&&(l=[i,d],d=l[0],t=l[1],i={}),d?new g(i,d,t):new m(i)},N.exports.stringWriter=function(i){return new c(i)},N.exports.streamWriter=function(i,d){return new p(i,d)},N.exports.implementation=new x,N.exports.nodeType=A,N.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(R,N,e){N.exports=f;var A=Object.prototype.hasOwnProperty;function f(){for(var x={},m=0;m<arguments.length;m++){var g=arguments[m];for(var p in g)A.call(g,p)&&(x[p]=g[p])}return x}},{}],284:[function(R,N,e){"use strict";var A=R("buffer").Buffer,f=R("./sha"),x=R("./md5"),m={sha1:f,md5:x},g=64,p=A.alloc(g);p.fill(0);function c(n,i,d){A.isBuffer(i)||(i=A.from(i)),A.isBuffer(d)||(d=A.from(d)),i.length>g?i=n(i):i.length<g&&(i=A.concat([i,p],g));for(var t=A.alloc(g),l=A.alloc(g),r=0;r<g;r++)t[r]=i[r]^54,l[r]=i[r]^92;var o=n(A.concat([t,d]));return n(A.concat([l,o]))}function s(n,i){n=n||"sha1";var d=m[n],t=[],l=0;return d||a("algorithm:",n,"is not yet supported"),{update:function(o){return A.isBuffer(o)||(o=A.from(o)),t.push(o),l+=o.length,this},digest:function(o){var u=A.concat(t),h=i?c(d,i,u):d(u);return t=null,o?h.toString(o):h}}}function a(){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 s(n)},e.createHmac=function(n,i){return s(n,i)},e.createCredentials=function(){a("sorry,createCredentials is not implemented yet")},e.createCipher=function(){a("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){a("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){a("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){a("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){a("sorry,createSign is not implemented yet")},e.createVerify=function(){a("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){a("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){a("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(R,N,e){"use strict";var A=R("buffer").Buffer,f=4,x=A.alloc(f);x.fill(0);var m=8;function g(s,a){if(s.length%f!==0){var n=s.length+(f-s.length%f);s=A.concat([s,x],n)}for(var i=[],d=a?s.readInt32BE:s.readInt32LE,t=0;t<s.length;t+=f)i.push(d.call(s,t));return i}function p(s,a,n){for(var i=A.alloc(a),d=n?i.writeInt32BE:i.writeInt32LE,t=0;t<s.length;t++)d.call(i,s[t],t*4,!0);return i}function c(s,a,n,i){A.isBuffer(s)||(s=A.from(s));var d=a(g(s,i),s.length*m);return p(d,n,i)}N.exports={hash:c}},{buffer:73}],286:[function(R,N,e){"use strict";var A=R("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function x(i,d){i[d>>5]|=128<<d%32,i[(d+64>>>9<<4)+14]=d;for(var t=1732584193,l=-271733879,r=-1732584194,o=271733878,u=0;u<i.length;u+=16){var h=t,y=l,b=r,E=o;t=g(t,l,r,o,i[u+0],7,-680876936),o=g(o,t,l,r,i[u+1],12,-389564586),r=g(r,o,t,l,i[u+2],17,606105819),l=g(l,r,o,t,i[u+3],22,-1044525330),t=g(t,l,r,o,i[u+4],7,-176418897),o=g(o,t,l,r,i[u+5],12,1200080426),r=g(r,o,t,l,i[u+6],17,-1473231341),l=g(l,r,o,t,i[u+7],22,-45705983),t=g(t,l,r,o,i[u+8],7,1770035416),o=g(o,t,l,r,i[u+9],12,-1958414417),r=g(r,o,t,l,i[u+10],17,-42063),l=g(l,r,o,t,i[u+11],22,-1990404162),t=g(t,l,r,o,i[u+12],7,1804603682),o=g(o,t,l,r,i[u+13],12,-40341101),r=g(r,o,t,l,i[u+14],17,-1502002290),l=g(l,r,o,t,i[u+15],22,1236535329),t=p(t,l,r,o,i[u+1],5,-165796510),o=p(o,t,l,r,i[u+6],9,-1069501632),r=p(r,o,t,l,i[u+11],14,643717713),l=p(l,r,o,t,i[u+0],20,-373897302),t=p(t,l,r,o,i[u+5],5,-701558691),o=p(o,t,l,r,i[u+10],9,38016083),r=p(r,o,t,l,i[u+15],14,-660478335),l=p(l,r,o,t,i[u+4],20,-405537848),t=p(t,l,r,o,i[u+9],5,568446438),o=p(o,t,l,r,i[u+14],9,-1019803690),r=p(r,o,t,l,i[u+3],14,-187363961),l=p(l,r,o,t,i[u+8],20,1163531501),t=p(t,l,r,o,i[u+13],5,-1444681467),o=p(o,t,l,r,i[u+2],9,-51403784),r=p(r,o,t,l,i[u+7],14,1735328473),l=p(l,r,o,t,i[u+12],20,-1926607734),t=c(t,l,r,o,i[u+5],4,-378558),o=c(o,t,l,r,i[u+8],11,-2022574463),r=c(r,o,t,l,i[u+11],16,1839030562),l=c(l,r,o,t,i[u+14],23,-35309556),t=c(t,l,r,o,i[u+1],4,-1530992060),o=c(o,t,l,r,i[u+4],11,1272893353),r=c(r,o,t,l,i[u+7],16,-155497632),l=c(l,r,o,t,i[u+10],23,-1094730640),t=c(t,l,r,o,i[u+13],4,681279174),o=c(o,t,l,r,i[u+0],11,-358537222),r=c(r,o,t,l,i[u+3],16,-722521979),l=c(l,r,o,t,i[u+6],23,76029189),t=c(t,l,r,o,i[u+9],4,-640364487),o=c(o,t,l,r,i[u+12],11,-421815835),r=c(r,o,t,l,i[u+15],16,530742520),l=c(l,r,o,t,i[u+2],23,-995338651),t=s(t,l,r,o,i[u+0],6,-198630844),o=s(o,t,l,r,i[u+7],10,1126891415),r=s(r,o,t,l,i[u+14],15,-1416354905),l=s(l,r,o,t,i[u+5],21,-57434055),t=s(t,l,r,o,i[u+12],6,1700485571),o=s(o,t,l,r,i[u+3],10,-1894986606),r=s(r,o,t,l,i[u+10],15,-1051523),l=s(l,r,o,t,i[u+1],21,-2054922799),t=s(t,l,r,o,i[u+8],6,1873313359),o=s(o,t,l,r,i[u+15],10,-30611744),r=s(r,o,t,l,i[u+6],15,-1560198380),l=s(l,r,o,t,i[u+13],21,1309151649),t=s(t,l,r,o,i[u+4],6,-145523070),o=s(o,t,l,r,i[u+11],10,-1120210379),r=s(r,o,t,l,i[u+2],15,718787259),l=s(l,r,o,t,i[u+9],21,-343485551),t=a(t,h),l=a(l,y),r=a(r,b),o=a(o,E)}return Array(t,l,r,o)}function m(i,d,t,l,r,o){return a(n(a(a(d,i),a(l,o)),r),t)}function g(i,d,t,l,r,o,u){return m(d&t|~d&l,i,d,r,o,u)}function p(i,d,t,l,r,o,u){return m(d&l|t&~l,i,d,r,o,u)}function c(i,d,t,l,r,o,u){return m(d^t^l,i,d,r,o,u)}function s(i,d,t,l,r,o,u){return m(t^(d|~l),i,d,r,o,u)}function a(i,d){var t=(i&65535)+(d&65535),l=(i>>16)+(d>>16)+(t>>16);return l<<16|t&65535}function n(i,d){return i<<d|i>>>32-d}N.exports=function(d){return A.hash(d,x,16)}},{"./helpers":285}],287:[function(R,N,e){"use strict";var A=R("./helpers");function f(c,s){c[s>>5]|=128<<24-s%32,c[(s+64>>9<<4)+15]=s;for(var a=Array(80),n=1732584193,i=-271733879,d=-1732584194,t=271733878,l=-1009589776,r=0;r<c.length;r+=16){for(var o=n,u=i,h=d,y=t,b=l,E=0;E<80;E++){E<16?a[E]=c[r+E]:a[E]=p(a[E-3]^a[E-8]^a[E-14]^a[E-16],1);var v=g(g(p(n,5),x(E,i,d,t)),g(g(l,a[E]),m(E)));l=t,t=d,d=p(i,30),i=n,n=v}n=g(n,o),i=g(i,u),d=g(d,h),t=g(t,y),l=g(l,b)}return Array(n,i,d,t,l)}function x(c,s,a,n){return c<20?s&a|~s&n:c<40?s^a^n:c<60?s&a|s&n|a&n:s^a^n}function m(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function g(c,s){var a=(c&65535)+(s&65535),n=(c>>16)+(s>>16)+(a>>16);return n<<16|a&65535}function p(c,s){return c<<s|c>>>32-s}N.exports=function(s){return A.hash(s,f,20,!0)}},{"./helpers":285}],288:[function(R,N,e){"use strict";N.exports=function(){return function(){}}},{}],289:[function(R,N,e){(function(A){"use strict";var f=R("babel-runtime/helpers/typeof"),x=m(f);function m(n){return n&&n.__esModule?n:{default:n}}var g=R("stream"),p=g.Stream,c=R("../lib/common/utils/isArray"),s=c.isArray;N.exports.string=function(i){return typeof i=="string"},N.exports.array=s,N.exports.buffer=A.isBuffer;function a(n){return n instanceof p}N.exports.writableStream=function(i){return a(i)&&typeof i._write=="function"&&(0,x.default)(i._writableState)==="object"}}).call(this,{isBuffer:R("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(R,N,e){"use strict";e.encodeURIComponent=function(A){try{return encodeURIComponent(A)}catch(f){return A}},e.escape=R("escape-html"),e.timestamp=function(f){if(f){var x=f;return typeof x=="string"&&(x=Number(x)),String(f).length===10&&(x*=1e3),new Date(x)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(R,N,e){(function(A,f){"use strict";var x=R("babel-runtime/core-js/json/stringify"),m=c(x),g=R("babel-runtime/helpers/typeof"),p=c(g);function c(E){return E&&E.__esModule?E:{default:E}}var s=R("util"),a=R("url"),n=R("http"),i=R("https"),d=R("debug")("urllib"),t=R("humanize-ms"),l,r=0,o=Math.pow(2,31)-10,u=/^https?:\/\//i;function h(E,v){return E===void 0?v:E}function y(E,v){return function(w,O,T){if(w)return v(w);E({data:O,status:T.statusCode,headers:T.headers,res:T})}}e.TIMEOUTS=[t("300s"),t("300s")];var b=["json","text"];e.request=function(v,w,O){return arguments.length===2&&typeof w=="function"&&(O=w,w=null),typeof O=="function"?e.requestWithCallback(v,w,O):(l||(l=R("any-promise")),new l(function(T,S){e.requestWithCallback(v,w,y(T,S))}))},e.requestWithCallback=function(v,w,O){if(!v||typeof v!="string"&&(typeof v=="undefined"?"undefined":(0,p.default)(v))!=="object"){var T=s.format("expect request url to be a string or a http request options, but got %j",v);throw new Error(T)}arguments.length===2&&typeof w=="function"&&(O=w,w=null),w=w||{},r>=o&&(r=0);var S=++r;w.requestUrls=w.requestUrls||[];var C={requestId:S,url:v,args:w,ctx:w.ctx};w.emitter&&w.emitter.emit("request",C),w.timeout=w.timeout||e.TIMEOUTS,w.maxRedirects=w.maxRedirects||10,w.streaming=w.streaming||w.customResponse;var _=Date.now(),I;typeof v=="string"?(u.test(v)||(v="http://"+v),I=a.parse(v)):I=v;var k=(w.type||w.method||I.method||"GET").toUpperCase(),F=I.port||80,B=n,j=h(w.agent,e.agent),z=w.fixJSONCtlChars;I.protocol==="https:"&&(B=i,j=h(w.httpsAgent,e.httpsAgent),I.port||(F=443));var M={host:I.hostname||I.host||"localhost",path:I.path||"/",method:k,port:F,agent:j,headers:w.headers||{},lookup:w.lookup};Array.isArray(w.timeout)?M.requestTimeout=w.timeout[w.timeout.length-1]:typeof w.timeout!="undefined"&&(M.requestTimeout=w.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],P=0;P<U.length;P++){var H=U[P];w.hasOwnProperty(H)&&(M[H]=w[H])}M.rejectUnauthorized===!1&&!M.hasOwnProperty("secureOptions")&&(M.secureOptions=R("constants").SSL_OP_NO_TLSv1_2);var W=w.auth||I.auth;W&&(M.auth=W);var X=w.content||w.data,K=k==="GET"||k==="HEAD"||w.dataAsQueryString;if(!w.content&&(X&&!(typeof X=="string"||f.isBuffer(X))))if(K)X=w.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var $=M.headers["Content-Type"]||M.headers["content-type"];$||(w.contentType==="json"?$="application/json":$="application/x-www-form-urlencoded",M.headers["Content-Type"]=$),parseContentType($).type==="application/json"?X=(0,m.default)(X):X=w.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}K&&X&&(M.path+=(I.query?"&":"?")+X,X=null);var ie=0;if(X){var be=X.length;f.isBuffer(X)||(be=f.byteLength(X)),ie=M.headers["Content-Length"]=be}w.dataType==="json"&&(M.headers.Accept="application/json"),typeof w.beforeRequest=="function"&&w.beforeRequest(M);var te=null,Te=null,Ie=null,Fe=!1,Qe=!1,fe=0,He=-1,se=!1,Ce="",mt="",Ne=null;w.timing&&(Ne={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function ae(){te&&(clearTimeout(te),te=null)}function ce(){Te&&(clearTimeout(Te),Te=null)}function le(Me,Ht,tt){if(ce(),!O){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),S,A.pid,M.method,v),Me&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),S,A.pid,Me.name,Me.message,Me.stack);return}var Mt=O;O=null;var jt={};if(tt&&(He=tt.statusCode,jt=tt.headers),He===401&&jt["www-authenticate"]&&(!w.headers||!w.headers.Authorization)&&w.digestAuth){var kt=jt["www-authenticate"];if(kt.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",S,v,kt),w.headers=w.headers||{},w.headers.Authorization=digestAuthHeader(M.method,M.path,kt,w.digestAuth),d("Request#%d %s: auth with digest header: %s",S,v,w.headers.Authorization),tt.headers["set-cookie"]&&(w.headers.Cookie=tt.headers["set-cookie"].join(";")),e.requestWithCallback(v,w,Mt)}var Tt=Date.now()-_;Ne&&(Ne.contentDownload=Tt),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Tt,fe,He,M.method,M.host,M.path,Qe,Ne);var Dt={status:He,statusCode:He,headers:jt,size:fe,aborted:se,rt:Tt,keepAliveSocket:Qe,data:Ht,requestUrls:w.requestUrls,timing:Ne,remoteAddress:Ce,remotePort:mt};if(Me){var Ue="";j&&typeof j.getCurrentStatus=="function"&&(Ue=", agent status: "+(0,m.default)(j.getCurrentStatus())),Me.message+=", "+M.method+" "+v+" "+He+" (connected: "+Fe+", keepalive socket: "+Qe+Ue+`)
|
|
|
headers: `+(0,m.default)(jt),Me.data=Ht,Me.path=M.path,Me.status=He,Me.headers=jt,Me.res=Dt}Mt(Me,Ht,w.streaming?tt:Dt),w.emitter&&(C.url=v,C.socket=lt&<.connection,C.options=M,C.size=ie,w.emitter.emit("response",{requestId:S,error:Me,ctx:w.ctx,req:C,res:Dt}))}function je(Me){var Ht=null;if(w.followRedirect&&statuses.redirect[Me.statusCode]){w._followRedirectCount=(w._followRedirectCount||0)+1;var tt=Me.headers.location;if(!tt)Ht=new Error("Got statusCode "+Me.statusCode+" but cannot resolve next location from headers"),Ht.name="FollowRedirectError";else if(w._followRedirectCount>w.maxRedirects)Ht=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+v),Ht.name="MaxRedirectError";else{var Mt=w.formatRedirectUrl?w.formatRedirectUrl(v,tt):a.resolve(v,tt);d("Request#%d %s: `redirected` from %s to %s",S,M.path,v,Mt),ce(),w.headers&&w.headers.Host&&u.test(tt)&&(w.headers.Host=null);var jt=O;return O=null,e.requestWithCallback(Mt,w,jt),{redirect:!0,error:null}}}return{redirect:!1,error:Ht}}!M.headers["User-Agent"]&&!M.headers["user-agent"]&&(M.headers["User-Agent"]=navigator.userAgent),w.gzip&&(!M.headers["Accept-Encoding"]&&!M.headers["accept-encoding"]&&(M.headers["Accept-Encoding"]="gzip"));function Re(Me,Ht,tt){var Mt=Me.headers["content-encoding"];return tt(null,Ht,Mt)}var Ze=w.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",S,k,v,M.headers,M.path),w.requestUrls.push(v);function De(Me){if(Ne&&(Ne.waiting=Date.now()-_),d("Request#%d %s `req response` event emit: status %d, headers: %j",S,v,Me.statusCode,Me.headers),w.streaming){var Ht=je(Me);if(Ht.redirect){Me.resume();return}return Ht.error?(Me.resume(),le(Ht.error,null,Me)):le(null,null,Me)}if(Me.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",S,v,fe)}),Me.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",S,v,fe)}),Me.on("aborted",function(){se=!0,d("Request#%d %s: `res aborted` event emit, total size %d",S,v,fe)}),Ze){var Ht=je(Me);if(Ht.redirect){Me.resume();return}return Ht.error?(Me.resume(),Ze.end(),le(Ht.error,null,Me)):(w.consumeWriteStream===!1?Me.on("end",le.bind(null,null,null,Me)):isNode010||isNode012?first([[Ze,"close"],[Me,"aborted"]],function(jt,kt,Tt){d("Request#%d %s: writeStream or res %s event emitted",S,v,Tt),le(Ie||null,null,Me)}):Ze.on("close",function(){d("Request#%d %s: writeStream close event emitted",S,v),le(Ie||null,null,Me)}),Me.pipe(Ze))}var tt=[];Me.on("data",function(Mt){d("Request#%d %s: `res data` event emit, size %d",S,v,Mt.length),fe+=Mt.length,tt.push(Mt)}),Me.on("end",function(){var Mt=f.concat(tt,fe);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",S,v,fe,Me._dumped),Ie)return le(Ie,Mt,Me);var jt=je(Me);if(jt.error)return le(jt.error,Mt,Me);if(jt.redirect)return;Re(Me,Mt,function(kt,Tt,Dt){if(kt)return le(kt,Mt,Me);if(!Dt&&b.indexOf(w.dataType)>=0){try{Tt=decodeBodyByCharset(Tt,Me)}catch(G){return d("decodeBodyByCharset error: %s",G),le(null,Tt,Me)}if(w.dataType==="json")if(fe===0)Tt=null;else{var Ue=parseJSON(Tt,z);Ue.error?kt=Ue.error:Tt=Ue.data}}se&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",S,v),le(kt,Tt,Me)})})}var ne,he;Array.isArray(w.timeout)?(ne=t(w.timeout[0]),he=t(w.timeout[1])):ne=he=t(w.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",ne,he);function pe(){d("Connect timer ticking, timeout: %d",ne),te=setTimeout(function(){te=null,He===-1&&(He=-2);var Me="Connect timeout for "+ne+"ms",Ht="ConnectionTimeoutError";lt.socket||(Ht="SocketAssignTimeoutError",Me+=", working sockets is full"),Ie=new Error(Me),Ie.name=Ht,Ie.requestId=S,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",S,v,Ie.name,Me,Fe),At()},ne)}function Xe(){d("Response timer ticking, timeout: %d",he),Te=setTimeout(function(){Te=null;var Me="Response timeout for "+he+"ms",Ht="ResponseTimeoutError";Ie=new Error(Me),Ie.name=Ht,Ie.requestId=S,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",S,v,Ie.name,Me,Fe),At()},he)}var lt;M.mode=w.mode?w.mode:"";try{lt=B.request(M,De)}catch(Me){return le(Me)}typeof window=="undefined"?pe():lt.on("requestTimeout",function(){He===-1&&(He=-2);var Me="Connect timeout for "+ne+"ms",Ht="ConnectionTimeoutError";Ie=new Error(Me),Ie.name=Ht,Ie.requestId=S,At()});function At(){d("Request#%d %s abort, connected: %s",S,v,Fe),lt.socket||(Ie.noSocket=!0,le(Ie)),lt.abort()}return Ne&<.on("finish",function(){Ne.requestSent=Date.now()-_}),lt.once("socket",function(Me){Ne&&(Ne.queuing=Date.now()-_),isNode010&&Me.socket&&(Me=Me.socket);var Ht=Me.readyState;if(Ht==="opening"){Me.once("lookup",function(tt,Mt,jt){d("Request#%d %s lookup: %s, %s, %s",S,v,tt,Mt,jt),Ne&&(Ne.dnslookup=Date.now()-_),Mt&&(Ce=Mt)}),Me.once("connect",function(){Ne&&(Ne.connected=Date.now()-_),ae(),Xe(),d("Request#%d %s new socket connected",S,v),Fe=!0,Ce||(Ce=Me.remoteAddress),mt=Me.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",S,v,Ht),Fe=!0,Qe=!0,Ce||(Ce=Me.remoteAddress),mt=Me.remotePort,ae(),Xe()}),lt.on("error",function(Me){(Me.name==="Error"||Me.name==="TypeError")&&(Me.name=Fe?"ResponseError":"RequestError"),Me.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",S,v,Me.name,Me.message),le(Ie||Me)}),Ze&&Ze.once("error",function(Me){Me.message+=' (writeStream "error")',Ie=Me,d("Request#%d %s `writeStream error` event emit, %s: %s",S,v,Me.name,Me.message),At()}),w.stream?(w.stream.pipe(lt),w.stream.once("error",function(Me){Me.message+=' (stream "error")',Ie=Me,d("Request#%d %s `readStream error` event emit, %s: %s",S,v,Me.name,Me.message),At()})):lt.end(X),lt.requestId=S,lt}}).call(this,R("_process"),R("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(R,N,e){var A=e("hX1E"),f=A.normalizeRadian,x=Math.PI*2;function m(g,p,c,s,a,n,i,d,t){if(i===0)return!1;var l=i;d-=g,t-=p;var r=Math.sqrt(d*d+t*t);if(r-l>c||r+l<c)return!1;if(Math.abs(s-a)%x<1e-4)return!0;if(n){var o=s;s=f(a),a=f(o)}else s=f(s),a=f(a);s>a&&(a+=x);var u=Math.atan2(t,d);return u<0&&(u+=x),u>=s&&u<=a||u+x>=s&&u+x<=a}N.containStroke=m},n4Lv:function(R,N,e){var A=e("7hqr"),f=A.isDimensionStacked,x=e("bYtY"),m=x.map;function g(s,a,n){var i=s.getBaseAxis(),d=s.getOtherAxis(i),t=p(d,n),l=i.dim,r=d.dim,o=a.mapDimension(r),u=a.mapDimension(l),h=r==="x"||r==="radius"?1:0,y=m(s.dimensions,function(v){return a.mapDimension(v)}),b,E=a.getCalculationInfo("stackResultDimension");return(b|=f(a,y[0]))&&(y[0]=E),(b|=f(a,y[1]))&&(y[1]=E),{dataDimsForPoint:y,valueStart:t,valueAxisDim:r,baseAxisDim:l,stacked:!!b,valueDim:o,baseDim:u,baseDataOffset:h,stackedOverDimension:a.getCalculationInfo("stackedOverDimension")}}function p(s,a){var n=0,i=s.scale.getExtent();return a==="start"?n=i[0]:a==="end"?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function c(s,a,n,i){var d=NaN;s.stacked&&(d=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(d)&&(d=s.valueStart);var t=s.baseDataOffset,l=[];return l[t]=n.get(s.baseDim,i),l[1-t]=d,a.dataToPoint(l)}N.prepareDataCoordInfo=g,N.getStackedOnPoint=c},n6Mw:function(R,N,e){var A=e("SrGk"),f=e("bYtY"),x=e("Fofx");function m(p,c){A.call(this,p,c,"clipPath","__clippath_in_use__")}f.inherits(m,A),m.prototype.update=function(p){var c=this.getSvgElement(p);c&&this.updateDom(c,p.__clipPaths,!1);var s=this.getTextSvgElement(p);s&&this.updateDom(s,p.__clipPaths,!0),this.markUsed(p)},m.prototype.updateDom=function(p,c,s){if(c&&c.length>0){var a=this.getDefs(!0),n=c[0],i,d,t=s?"_textDom":"_dom";n[t]?(d=n[t].getAttribute("id"),i=n[t],a.contains(i)||a.appendChild(i)):(d="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",d),a.appendChild(i),n[t]=i);var l=this.getSvgProxy(n);if(n.transform&&n.parent.invTransform&&!s){var r=Array.prototype.slice.call(n.transform);x.mul(n.transform,n.parent.invTransform,n.transform),l.brush(n),n.transform=r}else l.brush(n);var o=this.getSvgElement(n);i.innerHTML="",i.appendChild(o.cloneNode()),p.setAttribute("clip-path","url(#"+d+")"),c.length>1&&this.updateDom(i,c.slice(1),s)}else p&&p.setAttribute("clip-path","none")},m.prototype.markUsed=function(p){var c=this;p.__clipPaths&&f.each(p.__clipPaths,function(s){s._dom&&A.prototype.markUsed.call(c,s._dom),s._textDom&&A.prototype.markUsed.call(c,s._textDom)})};var g=m;R.exports=g},nCxF:function(R,N,e){var A=e("QBsz"),f=A.min,x=A.max,m=A.scale,g=A.distance,p=A.add,c=A.clone,s=A.sub;function a(n,i,d,t){var l=[],r=[],o=[],u=[],h,y,b,E;if(t){b=[Infinity,Infinity],E=[-Infinity,-Infinity];for(var v=0,w=n.length;v<w;v++)f(b,b,n[v]),x(E,E,n[v]);f(b,b,t[0]),x(E,E,t[1])}for(var v=0,w=n.length;v<w;v++){var O=n[v];if(d)h=n[v?v-1:w-1],y=n[(v+1)%w];else if(v===0||v===w-1){l.push(c(n[v]));continue}else h=n[v-1],y=n[v+1];s(r,y,h),m(r,r,i);var T=g(O,h),S=g(O,y),C=T+S;C!==0&&(T/=C,S/=C),m(o,r,-T),m(u,r,S);var _=p([],O,o),I=p([],O,u);t&&(x(_,_,b),f(_,_,E),x(I,I,b),f(I,I,E)),l.push(_),l.push(I)}return d&&l.push(l.shift()),l}R.exports=a},nKiI:function(R,N,e){var A=e("bYtY"),f=e("mFDi"),x=e("OELB"),m=x.parsePercent,g=x.MAX_SAFE_INTEGER,p=e("+TT/"),c=e("VaxA"),s=Math.max,a=Math.min,n=A.retrieve,i=A.each,d=["itemStyle","borderWidth"],t=["itemStyle","gapWidth"],l=["upperLabel","show"],r=["upperLabel","height"],o={seriesType:"treemap",reset:function(_,I,k,F){var B=k.getWidth(),j=k.getHeight(),z=_.option,M=p.getLayoutRect(_.getBoxLayoutParams(),{width:k.getWidth(),height:k.getHeight()}),U=z.size||[],P=m(n(M.width,U[0]),B),H=m(n(M.height,U[1]),j),W=F&&F.type,X=["treemapZoomToNode","treemapRootToNode"],K=c.retrieveTargetInfo(F,X,_),$=W==="treemapRender"||W==="treemapMove"?F.rootRect:null,ie=_.getViewRoot(),be=c.getPathToRoot(ie);if(W!=="treemapMove"){var te=W==="treemapZoomToNode"?O(_,K,ie,P,H):$?[$.width,$.height]:[P,H],Te=z.sort;Te&&Te!=="asc"&&Te!=="desc"&&(Te="desc");var Ie={squareRatio:z.squareRatio,sort:Te,leafDepth:z.leafDepth};ie.hostTree.clearLayouts();var Fe={x:0,y:0,width:te[0],height:te[1],area:te[0]*te[1]};ie.setLayout(Fe),u(ie,Ie,!1,0);var Fe=ie.getLayout();i(be,function(fe,He){var se=(be[He+1]||ie).getValue();fe.setLayout(A.extend({dataExtent:[se,se],borderWidth:0,upperHeight:0},Fe))})}var Qe=_.getData().tree.root;Qe.setLayout(T(M,$,K),!0),_.setLayoutInfo(M),S(Qe,new f(-M.x,-M.y,B,j),be,ie,0)}};function u(_,I,k,F){var B,j;if(_.isRemoved())return;var z=_.getLayout();B=z.width,j=z.height;var M=_.getModel(),U=M.get(d),P=M.get(t)/2,H=C(M),W=Math.max(U,H),X=U-P,K=W-P,M=_.getModel();_.setLayout({borderWidth:U,upperHeight:W,upperLabelHeight:H},!0),B=s(B-2*X,0),j=s(j-X-K,0);var $=B*j,ie=h(_,M,$,I,k,F);if(!ie.length)return;var be={x:X,y:K,width:B,height:j},te=a(B,j),Te=Infinity,Ie=[];Ie.area=0;for(var Fe=0,Qe=ie.length;Fe<Qe;){var fe=ie[Fe];Ie.push(fe),Ie.area+=fe.getLayout().area;var He=v(Ie,te,I.squareRatio);He<=Te?(Fe++,Te=He):(Ie.area-=Ie.pop().getLayout().area,w(Ie,te,be,P,!1),te=a(be.width,be.height),Ie.length=Ie.area=0,Te=Infinity)}if(Ie.length&&w(Ie,te,be,P,!0),!k){var se=M.get("childrenVisibleMin");se!=null&&$<se&&(k=!0)}for(var Fe=0,Qe=ie.length;Fe<Qe;Fe++)u(ie[Fe],I,k,F+1)}function h(_,I,k,F,B,j){var z=_.children||[],M=F.sort;M!=="asc"&&M!=="desc"&&(M=null);var U=F.leafDepth!=null&&F.leafDepth<=j;if(B&&!U)return _.viewChildren=[];z=A.filter(z,function(K){return!K.isRemoved()}),b(z,M);var P=E(I,z,M);if(P.sum===0)return _.viewChildren=[];if(P.sum=y(I,k,P.sum,M,z),P.sum===0)return _.viewChildren=[];for(var H=0,W=z.length;H<W;H++){var X=z[H].getValue()/P.sum*k;z[H].setLayout({area:X})}return U&&(z.length&&_.setLayout({isLeafRoot:!0},!0),z.length=0),_.viewChildren=z,_.setLayout({dataExtent:P.dataExtent},!0),z}function y(_,I,k,F,B){if(!F)return k;for(var j=_.get("visibleMin"),z=B.length,M=z,U=z-1;U>=0;U--){var P=B[F==="asc"?z-U-1:U].getValue();P/k*I<j&&(M=U,k-=P)}return F==="asc"?B.splice(0,z-M):B.splice(M,z-M),k}function b(_,I){return I&&_.sort(function(k,F){var B=I==="asc"?k.getValue()-F.getValue():F.getValue()-k.getValue();return B===0?I==="asc"?k.dataIndex-F.dataIndex:F.dataIndex-k.dataIndex:B}),_}function E(_,I,k){for(var F=0,B=0,j=I.length;B<j;B++)F+=I[B].getValue();var z=_.get("visualDimension"),M;if(!I||!I.length)M=[NaN,NaN];else if(z==="value"&&k)M=[I[I.length-1].getValue(),I[0].getValue()],k==="asc"&&M.reverse();else{var M=[Infinity,-Infinity];i(I,function(P){var H=P.getValue(z);H<M[0]&&(M[0]=H),H>M[1]&&(M[1]=H)})}return{sum:F,dataExtent:M}}function v(_,I,k){for(var F=0,B=Infinity,j=0,z,M=_.length;j<M;j++)z=_[j].getLayout().area,z&&(z<B&&(B=z),z>F&&(F=z));var U=_.area*_.area,P=I*I*k;return U?s(P*F/U,U/(P*B)):Infinity}function w(_,I,k,F,B){var j=I===k.width?0:1,z=1-j,M=["x","y"],U=["width","height"],P=k[M[j]],H=I?_.area/I:0;(B||H>k[U[z]])&&(H=k[U[z]]);for(var W=0,X=_.length;W<X;W++){var K=_[W],$={},ie=H?K.getLayout().area/H:0,be=$[U[z]]=s(H-2*F,0),te=k[M[j]]+k[U[j]]-P,Te=W===X-1||te<ie?te:ie,Ie=$[U[j]]=s(Te-2*F,0);$[M[z]]=k[M[z]]+a(F,be/2),$[M[j]]=P+a(F,Ie/2),P+=Te,K.setLayout($,!0)}k[M[z]]+=H,k[U[z]]-=H}function O(_,I,k,F,B){var j=(I||{}).node,z=[F,B];if(!j||j===k)return z;for(var M,U=F*B,P=U*_.option.zoomToNodeRatio;M=j.parentNode;){for(var H=0,W=M.children,X=0,K=W.length;X<K;X++)H+=W[X].getValue();var $=j.getValue();if($===0)return z;P*=H/$;var ie=M.getModel(),be=ie.get(d),te=Math.max(be,C(ie,be));P+=4*be*be+(3*be+te)*Math.pow(P,.5),P>g&&(P=g),j=M}P<U&&(P=U);var Te=Math.pow(P/U,.5);return[F*Te,B*Te]}function T(_,I,k){if(I)return{x:I.x,y:I.y};var F={x:0,y:0};if(!k)return F;var B=k.node,j=B.getLayout();if(!j)return F;for(var z=[j.width/2,j.height/2],M=B;M;){var U=M.getLayout();z[0]+=U.x,z[1]+=U.y,M=M.parentNode}return{x:_.width/2-z[0],y:_.height/2-z[1]}}function S(_,I,k,F,B){var j=_.getLayout(),z=k[B],M=z&&z===_;if(z&&!M||B===k.length&&_!==F)return;_.setLayout({isInView:!0,invisible:!M&&!I.intersect(j),isAboveViewRoot:M},!0);var U=new f(I.x-j.x,I.y-j.y,I.width,I.height);i(_.viewChildren||[],function(P){S(P,U,k,F,B+1)})}function C(_){return _.get(l)?_.get(r):0}R.exports=o},nPnh:function(R,N){var e=Math.round;function A(m,g,p){if(!g)return;var c=g.x1,s=g.x2,a=g.y1,n=g.y2;m.x1=c,m.x2=s,m.y1=a,m.y2=n;var i=p&&p.lineWidth;if(!i)return;e(c*2)===e(s*2)&&(m.x1=m.x2=x(c,i,!0)),e(a*2)===e(n*2)&&(m.y1=m.y2=x(a,i,!0))}function f(m,g,p){if(!g)return;var c=g.x,s=g.y,a=g.width,n=g.height;m.x=c,m.y=s,m.width=a,m.height=n;var i=p&&p.lineWidth;if(!i)return;m.x=x(c,i,!0),m.y=x(s,i,!0),m.width=Math.max(x(c+a,i,!1)-m.x,a===0?0:1),m.height=Math.max(x(s+n,i,!1)-m.y,n===0?0:1)}function x(m,g,p){if(!g)return m;var c=e(m*2);return(c+e(g))%2===0?c/2:(c+(p?1:-1))/2}N.subPixelOptimizeLine=A,N.subPixelOptimizeRect=f,N.subPixelOptimize=x},nRaC:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("0fbx"),m=e.n(x),g=e("OaEy"),p=e("R9oj")},nVfU:function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=f.parsePercent,m=e("7hqr"),g=m.isDimensionStacked,p=e("zM3Q"),c="__ec_stack_",s=.5,a=typeof Float32Array!="undefined"?Float32Array:Array;function n(w){return w.get("stack")||c+w.seriesIndex}function i(w){return w.dim+w.index}function d(w){var O=[],T=w.axis,S="axis0";if(T.type!=="category")return;for(var C=T.getBandWidth(),_=0;_<w.count||0;_++)O.push(A.defaults({bandWidth:C,axisKey:S,stackId:c+_},w));for(var I=o(O),k=[],_=0;_<w.count;_++){var F=I[S][c+_];F.offsetCenter=F.offset+F.width/2,k.push(F)}return k}function t(w,O){var T=[];return O.eachSeriesByType(w,function(S){b(S)&&!E(S)&&T.push(S)}),T}function l(w){var O={};A.each(w,function(F){var B=F.coordinateSystem,j=B.getBaseAxis();if(j.type!=="time"&&j.type!=="value")return;for(var z=F.getData(),M=j.dim+"_"+j.index,U=z.mapDimension(j.dim),P=0,H=z.count();P<H;++P){var W=z.get(U,P);O[M]?O[M].push(W):O[M]=[W]}});var T=[];for(var S in O)if(O.hasOwnProperty(S)){var C=O[S];if(C){C.sort(function(F,B){return F-B});for(var _=null,I=1;I<C.length;++I){var k=C[I]-C[I-1];k>0&&(_=_===null?k:Math.min(_,k))}T[S]=_}}return T}function r(w){var O=l(w),T=[];return A.each(w,function(S){var C=S.coordinateSystem,_=C.getBaseAxis(),I=_.getExtent(),k;if(_.type==="category")k=_.getBandWidth();else if(_.type==="value"||_.type==="time"){var F=_.dim+"_"+_.index,B=O[F],j=Math.abs(I[1]-I[0]),z=_.scale.getExtent(),M=Math.abs(z[1]-z[0]);k=B?j/M*B:j}else{var U=S.getData();k=Math.abs(I[1]-I[0])/U.count()}var P=x(S.get("barWidth"),k),H=x(S.get("barMaxWidth"),k),W=x(S.get("barMinWidth")||1,k),X=S.get("barGap"),K=S.get("barCategoryGap");T.push({bandWidth:k,barWidth:P,barMaxWidth:H,barMinWidth:W,barGap:X,barCategoryGap:K,axisKey:i(_),stackId:n(S)})}),o(T)}function o(w){var O={};A.each(w,function(S,C){var _=S.axisKey,I=S.bandWidth,k=O[_]||{bandWidth:I,remainedWidth:I,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},F=k.stacks;O[_]=k;var B=S.stackId;F[B]||k.autoWidthCount++,F[B]=F[B]||{width:0,maxWidth:0};var j=S.barWidth;j&&!F[B].width&&(F[B].width=j,j=Math.min(k.remainedWidth,j),k.remainedWidth-=j);var z=S.barMaxWidth;z&&(F[B].maxWidth=z);var M=S.barMinWidth;M&&(F[B].minWidth=M);var U=S.barGap;U!=null&&(k.gap=U);var P=S.barCategoryGap;P!=null&&(k.categoryGap=P)});var T={};return A.each(O,function(S,C){T[C]={};var _=S.stacks,I=S.bandWidth,k=x(S.categoryGap,I),F=x(S.gap,1),B=S.remainedWidth,j=S.autoWidthCount,z=(B-k)/(j+(j-1)*F);z=Math.max(z,0),A.each(_,function(H){var W=H.maxWidth,X=H.minWidth;if(H.width){var K=H.width;W&&(K=Math.min(K,W)),X&&(K=Math.max(K,X)),H.width=K,B-=K+F*K,j--}else{var K=z;W&&W<K&&(K=Math.min(W,B)),X&&X>K&&(K=X),K!==z&&(H.width=K,B-=K+F*K,j--)}}),z=(B-k)/(j+(j-1)*F),z=Math.max(z,0);var M=0,U;A.each(_,function(H,W){H.width||(H.width=z),U=H,M+=H.width*(1+F)}),U&&(M-=U.width*F);var P=-M/2;A.each(_,function(H,W){T[C][W]=T[C][W]||{bandWidth:I,offset:P,width:H.width},P+=H.width*(1+F)})}),T}function u(w,O,T){if(w&&O){var S=w[i(O)];return S!=null&&T!=null&&(S=S[n(T)]),S}}function h(w,O){var T=t(w,O),S=r(T),C={},_={};A.each(T,function(I){var k=I.getData(),F=I.coordinateSystem,B=F.getBaseAxis(),j=n(I),z=S[i(B)][j],M=z.offset,U=z.width,P=F.getOtherAxis(B),H=I.get("barMinHeight")||0;C[j]=C[j]||[],_[j]=_[j]||[],k.setLayout({bandWidth:z.bandWidth,offset:M,size:U});for(var W=k.mapDimension(P.dim),X=k.mapDimension(B.dim),K=g(k,W),$=P.isHorizontal(),ie=v(B,P,K),be=0,te=k.count();be<te;be++){var Te=k.get(W,be),Ie=k.get(X,be),Fe=Te>=0?"p":"n",Qe=ie;K&&(C[j][Ie]||(C[j][Ie]={p:ie,n:ie}),Qe=C[j][Ie][Fe]);var fe,He,se,Ce;if($){var mt=F.dataToPoint([Te,Ie]);fe=Qe,He=mt[1]+M,se=mt[0]-ie,Ce=U,Math.abs(se)<H&&(se=(se<0?-1:1)*H),isNaN(se)||K&&(C[j][Ie][Fe]+=se)}else{var mt=F.dataToPoint([Ie,Te]);fe=mt[0]+M,He=Qe,se=U,Ce=mt[1]-ie,Math.abs(Ce)<H&&(Ce=(Ce<=0?-1:1)*H),isNaN(Ce)||K&&(C[j][Ie][Fe]+=Ce)}k.setItemLayout(be,{x:fe,y:He,width:se,height:Ce})}},this)}var y={seriesType:"bar",plan:p(),reset:function(w){if(!b(w)||!E(w))return;var O=w.getData(),T=w.coordinateSystem,S=T.grid.getRect(),C=T.getBaseAxis(),_=T.getOtherAxis(C),I=O.mapDimension(_.dim),k=O.mapDimension(C.dim),F=_.isHorizontal(),B=F?0:1,j=u(r([w]),C,w).width;return j>s||(j=s),{progress:z};function z(M,U){for(var P=M.count,H=new a(P*2),W=new a(P*2),X=new a(P),K,$=[],ie=[],be=0,te=0;(K=M.next())!=null;)ie[B]=U.get(I,K),ie[1-B]=U.get(k,K),$=T.dataToPoint(ie,null,$),W[be]=F?S.x+S.width:$[0],H[be++]=$[0],W[be]=F?$[1]:S.y+S.height,H[be++]=$[1],X[te++]=K;U.setLayout({largePoints:H,largeDataIndices:X,largeBackgroundPoints:W,barWidth:j,valueAxisStart:v(C,_,!1),backgroundStart:F?S.x:S.y,valueAxisHorizontal:F})}}};function b(w){return w.coordinateSystem&&w.coordinateSystem.type==="cartesian2d"}function E(w){return w.pipelineContext&&w.pipelineContext.large}function v(w,O,T){return O.toGlobalCoord(O.dataToCoord(O.type==="log"?1:0))}N.getLayoutOnAxis=d,N.prepareLayoutBarSeries=t,N.makeColumnLayout=r,N.retrieveColumnLayout=u,N.layout=h,N.largeLayout=y},ngQI:function(R,N,e){"use strict";e.d(N,"a",function(){return yu}),e.d(N,"b",function(){return Fu}),e.d(N,"c",function(){return eu});var A=e("q1tI"),f=e.n(A),x=e("dI71"),m=e("wx14"),g=e("ANjH"),p=e("/MKj");function c(ht,de){if(ht.length!==de.length)return!1;for(var Ve=0;Ve<ht.length;Ve++)if(ht[Ve]!==de[Ve])return!1;return!0}function s(ht,de){var Ve=Object(A.useState)(function(){return{inputs:de,result:ht()}})[0],Et=Object(A.useRef)(!0),Yt=Object(A.useRef)(Ve),or=Et.current||Boolean(de&&Yt.current.inputs&&c(de,Yt.current.inputs)),mr=or?Yt.current:{inputs:de,result:ht()};return Object(A.useEffect)(function(){Et.current=!1,Yt.current=mr},[mr]),mr.result}function a(ht,de){return s(function(){return ht},de)}var n=s,i=a,d=e("9R94"),t=function(de){var Ve=de.top,Et=de.right,Yt=de.bottom,or=de.left,mr=Et-or,Nr=Yt-Ve,Yr={top:Ve,right:Et,bottom:Yt,left:or,width:mr,height:Nr,x:or,y:Ve,center:{x:(Et+or)/2,y:(Yt+Ve)/2}};return Yr},l=function(de,Ve){return{top:de.top-Ve.top,left:de.left-Ve.left,bottom:de.bottom+Ve.bottom,right:de.right+Ve.right}},r=function(de,Ve){return{top:de.top+Ve.top,left:de.left+Ve.left,bottom:de.bottom-Ve.bottom,right:de.right-Ve.right}},o=function(de,Ve){return{top:de.top+Ve.y,left:de.left+Ve.x,bottom:de.bottom+Ve.y,right:de.right+Ve.x}},u={top:0,right:0,bottom:0,left:0},h=function(de){var Ve=de.borderBox,Et=de.margin,Yt=Et===void 0?u:Et,or=de.border,mr=or===void 0?u:or,Nr=de.padding,Yr=Nr===void 0?u:Nr,In=t(l(Ve,Yt)),Nn=t(r(Ve,mr)),bn=t(r(Nn,Yr));return{marginBox:In,borderBox:t(Ve),paddingBox:Nn,contentBox:bn,margin:Yt,border:mr,padding:Yr}},y=function(de){var Ve=de.slice(0,-2),Et=de.slice(-2);if(Et!=="px")return 0;var Yt=Number(Ve);return isNaN(Yt)&&Object(d.a)(!1),Yt},b=function(){return{x:window.pageXOffset,y:window.pageYOffset}},E=function(de,Ve){var Et=de.borderBox,Yt=de.border,or=de.margin,mr=de.padding,Nr=o(Et,Ve);return h({borderBox:Nr,border:Yt,margin:or,padding:mr})},v=function(de,Ve){return Ve===void 0&&(Ve=b()),E(de,Ve)},w=function(de,Ve){var Et={top:y(Ve.marginTop),right:y(Ve.marginRight),bottom:y(Ve.marginBottom),left:y(Ve.marginLeft)},Yt={top:y(Ve.paddingTop),right:y(Ve.paddingRight),bottom:y(Ve.paddingBottom),left:y(Ve.paddingLeft)},or={top:y(Ve.borderTopWidth),right:y(Ve.borderRightWidth),bottom:y(Ve.borderBottomWidth),left:y(Ve.borderLeftWidth)};return h({borderBox:de,margin:Et,padding:Yt,border:or})},O=function(de){var Ve=de.getBoundingClientRect(),Et=window.getComputedStyle(de);return w(Ve,Et)},T=Number.isNaN||function(de){return typeof de=="number"&&de!==de};function S(ht,de){return ht===de?!0:!!(T(ht)&&T(de))}function C(ht,de){if(ht.length!==de.length)return!1;for(var Ve=0;Ve<ht.length;Ve++)if(!S(ht[Ve],de[Ve]))return!1;return!0}function _(ht,de){de===void 0&&(de=C);var Ve,Et=[],Yt,or=!1;function mr(){for(var Nr=[],Yr=0;Yr<arguments.length;Yr++)Nr[Yr]=arguments[Yr];return or&&Ve===this&&de(Nr,Et)||(Yt=ht.apply(this,Nr),or=!0,Ve=this,Et=Nr),Yt}return mr}var I=_,k=function(de){var Ve=[],Et=null,Yt=function(){for(var mr=arguments.length,Nr=new Array(mr),Yr=0;Yr<mr;Yr++)Nr[Yr]=arguments[Yr];if(Ve=Nr,Et)return;Et=requestAnimationFrame(function(){Et=null,de.apply(void 0,Ve)})};return Yt.cancel=function(){if(!Et)return;cancelAnimationFrame(Et),Et=null},Yt},F=k,B=e("i8i4"),j=e.n(B),z=!0,M=/[ \t]{2,}/g,U=/^[ \t]*/gm,P=function(de){return de.replace(M," ").replace(U,"").trim()},H=function(de){return P(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+P(de)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},W=function(de){return[H(de),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},X="__react-beautiful-dnd-disable-dev-warnings";function K(ht,de){var Ve;if(z)return;if(typeof window!="undefined"&&window[X])return;(Ve=console)[ht].apply(Ve,W(de))}var $=K.bind(null,"warn"),ie=K.bind(null,"error");function be(){}function te(ht,de){return Object(m.a)({},ht,{},de)}function Te(ht,de,Ve){var Et=de.map(function(Yt){var or=te(Ve,Yt.options);return ht.addEventListener(Yt.eventName,Yt.fn,or),function(){ht.removeEventListener(Yt.eventName,Yt.fn,or)}});return function(){Et.forEach(function(or){or()})}}var Ie=!0,Fe="Invariant failed";function Qe(ht){this.message=ht}Qe.prototype.toString=function(){return this.message};function fe(ht,de){if(ht)return;throw Ie?new Qe(Fe):new Qe(Fe+": "+(de||""))}var He=function(ht){Object(x.a)(de,ht);function de(){for(var Et,Yt=arguments.length,or=new Array(Yt),mr=0;mr<Yt;mr++)or[mr]=arguments[mr];return Et=ht.call.apply(ht,[this].concat(or))||this,Et.callbacks=null,Et.unbind=be,Et.onWindowError=function(Nr){var Yr=Et.getCallbacks();Yr.isDragging()&&Yr.tryAbort();var In=Nr.error;In instanceof Qe&&Nr.preventDefault()},Et.getCallbacks=function(){if(!Et.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Et.callbacks},Et.setCallbacks=function(Nr){Et.callbacks=Nr},Et}var Ve=de.prototype;return Ve.componentDidMount=function(){this.unbind=Te(window,[{eventName:"error",fn:this.onWindowError}])},Ve.componentWillUnmount=function(){this.unbind()},Ve.componentDidCatch=function(Yt){if(Yt instanceof Qe){this.setState({});return}throw Yt},Ve.render=function(){return this.props.children(this.setCallbacks)},de}(f.a.Component),se=`
|
|
|
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
|
|
|
`,Ce=function(de){return de+1},mt=function(de){return`
|
|
|
You have lifted an item in position `+Ce(de.source.index)+`
|
|
|
`},Ne=function(de,Ve){var Et=de.droppableId===Ve.droppableId,Yt=Ce(de.index),or=Ce(Ve.index);return Et?`
|
|
|
You have moved the item from position `+Yt+`
|
|
|
to position `+or+`
|
|
|
`:`
|
|
|
You have moved the item from position `+Yt+`
|
|
|
in list `+de.droppableId+`
|
|
|
to list `+Ve.droppableId+`
|
|
|
in position `+or+`
|
|
|
`},ae=function(de,Ve,Et){var Yt=Ve.droppableId===Et.droppableId;return Yt?`
|
|
|
The item `+de+`
|
|
|
has been combined with `+Et.draggableId:`
|
|
|
The item `+de+`
|
|
|
in list `+Ve.droppableId+`
|
|
|
has been combined with `+Et.draggableId+`
|
|
|
in list `+Et.droppableId+`
|
|
|
`},ce=function(de){var Ve=de.destination;if(Ve)return Ne(de.source,Ve);var Et=de.combine;return Et?ae(de.draggableId,de.source,Et):"You are over an area that cannot be dropped on"},le=function(de){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+Ce(de.index)+`
|
|
|
`},je=function(de){if(de.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+le(de.source)+`
|
|
|
`;var Ve=de.destination,Et=de.combine;return Ve?`
|
|
|
You have dropped the item.
|
|
|
`+Ne(de.source,Ve)+`
|
|
|
`:Et?`
|
|
|
You have dropped the item.
|
|
|
`+ae(de.draggableId,de.source,Et)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+le(de.source)+`
|
|
|
`},Re={dragHandleUsageInstructions:se,onDragStart:mt,onDragUpdate:ce,onDragEnd:je},Ze={x:0,y:0},De=function(de,Ve){return{x:de.x+Ve.x,y:de.y+Ve.y}},ne=function(de,Ve){return{x:de.x-Ve.x,y:de.y-Ve.y}},he=function(de,Ve){return de.x===Ve.x&&de.y===Ve.y},pe=function(de){return{x:de.x!==0?-de.x:0,y:de.y!==0?-de.y:0}},Xe=function(de,Ve,Et){var Yt;return Et===void 0&&(Et=0),Yt={},Yt[de]=Ve,Yt[de==="x"?"y":"x"]=Et,Yt},lt=function(de,Ve){return Math.sqrt(Math.pow(Ve.x-de.x,2)+Math.pow(Ve.y-de.y,2))},At=function(de,Ve){return Math.min.apply(Math,Ve.map(function(Et){return lt(de,Et)}))},Me=function(de){return function(Ve){return{x:de(Ve.x),y:de(Ve.y)}}},Ht=function(de,Ve){var Et=t({top:Math.max(Ve.top,de.top),right:Math.min(Ve.right,de.right),bottom:Math.min(Ve.bottom,de.bottom),left:Math.max(Ve.left,de.left)});return Et.width<=0||Et.height<=0?null:Et},tt=function(de,Ve){return{top:de.top+Ve.y,left:de.left+Ve.x,bottom:de.bottom+Ve.y,right:de.right+Ve.x}},Mt=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}]},jt={top:0,right:0,bottom:0,left:0},kt=function(de,Ve){return Ve?tt(de,Ve.scroll.diff.displacement):de},Tt=function(de,Ve,Et){if(Et&&Et.increasedBy){var Yt;return Object(m.a)({},de,(Yt={},Yt[Ve.end]=de[Ve.end]+Et.increasedBy[Ve.line],Yt))}return de},Dt=function(de,Ve){return Ve&&Ve.shouldClipSubject?Ht(Ve.pageMarginBox,de):t(de)},Ue=function(de){var Ve=de.page,Et=de.withPlaceholder,Yt=de.axis,or=de.frame,mr=kt(Ve.marginBox,or),Nr=Tt(mr,Yt,Et),Yr=Dt(Nr,or);return{page:Ve,withPlaceholder:Et,active:Yr}},G=function(de,Ve){de.frame||fe(!1);var Et=de.frame,Yt=ne(Ve,Et.scroll.initial),or=pe(Yt),mr=Object(m.a)({},Et,{scroll:{initial:Et.scroll.initial,current:Ve,diff:{value:Yt,displacement:or},max:Et.scroll.max}}),Nr=Ue({page:de.subject.page,withPlaceholder:de.subject.withPlaceholder,axis:de.axis,frame:mr}),Yr=Object(m.a)({},de,{frame:mr,subject:Nr});return Yr};function Y(ht){return Number.isInteger?Number.isInteger(ht):typeof ht=="number"&&isFinite(ht)&&Math.floor(ht)===ht}function Pe(ht){return Object.values?Object.values(ht):Object.keys(ht).map(function(de){return ht[de]})}function Be(ht,de){if(ht.findIndex)return ht.findIndex(de);for(var Ve=0;Ve<ht.length;Ve++)if(de(ht[Ve]))return Ve;return-1}function J(ht,de){if(ht.find)return ht.find(de);var Ve=Be(ht,de);return Ve!==-1?ht[Ve]:void 0}function St(ht){return Array.prototype.slice.call(ht)}var bt=I(function(ht){return ht.reduce(function(de,Ve){return de[Ve.descriptor.id]=Ve,de},{})}),nt=I(function(ht){return ht.reduce(function(de,Ve){return de[Ve.descriptor.id]=Ve,de},{})}),Rt=I(function(ht){return Pe(ht)}),zt=I(function(ht){return Pe(ht)}),Fr=I(function(ht,de){var Ve=zt(de).filter(function(Et){return ht===Et.descriptor.droppableId}).sort(function(Et,Yt){return Et.descriptor.index-Yt.descriptor.index});return Ve});function Jt(ht){return ht.at&&ht.at.type==="REORDER"?ht.at.destination:null}function ge(ht){return ht.at&&ht.at.type==="COMBINE"?ht.at.combine:null}var ye=I(function(ht,de){return de.filter(function(Ve){return Ve.descriptor.id!==ht.descriptor.id})}),Le=function(de){var Ve=de.isMovingForward,Et=de.draggable,Yt=de.destination,or=de.insideDestination,mr=de.previousImpact;if(!Yt.isCombineEnabled)return null;var Nr=Jt(mr);if(!Nr)return null;function Yr(Pi){var oa={type:"COMBINE",combine:{draggableId:Pi,droppableId:Yt.descriptor.id}};return Object(m.a)({},mr,{at:oa})}var In=mr.displaced.all,Nn=In.length?In[0]:null;if(Ve)return Nn?Yr(Nn):null;var bn=ye(Et,or);if(!Nn){if(!bn.length)return null;var vn=bn[bn.length-1];return Yr(vn.descriptor.id)}var Cn=Be(bn,function(Pi){return Pi.descriptor.id===Nn});Cn!==-1||fe(!1);var Yn=Cn-1;if(Yn<0)return null;var fi=bn[Yn];return Yr(fi.descriptor.id)},we=function(de,Ve){return de.descriptor.droppableId===Ve.descriptor.id},Ke={point:Ze,value:0},Je={invisible:{},visible:{},all:[]},ut={displaced:Je,displacedBy:Ke,at:null},vt=function(de,Ve){return function(Et){return de<=Et&&Et<=Ve}},_t=function(de){var Ve=vt(de.top,de.bottom),Et=vt(de.left,de.right);return function(Yt){var or=Ve(Yt.top)&&Ve(Yt.bottom)&&Et(Yt.left)&&Et(Yt.right);if(or)return!0;var mr=Ve(Yt.top)||Ve(Yt.bottom),Nr=Et(Yt.left)||Et(Yt.right),Yr=mr&&Nr;if(Yr)return!0;var In=Yt.top<de.top&&Yt.bottom>de.bottom,Nn=Yt.left<de.left&&Yt.right>de.right,bn=In&&Nn;if(bn)return!0;var vn=In&&Nr||Nn&&mr;return vn}},Ut=function(de){var Ve=vt(de.top,de.bottom),Et=vt(de.left,de.right);return function(Yt){var or=Ve(Yt.top)&&Ve(Yt.bottom)&&Et(Yt.left)&&Et(Yt.right);return or}},Bt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},dr={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Oe=function(de){return function(Ve){var Et=vt(Ve.top,Ve.bottom),Yt=vt(Ve.left,Ve.right);return function(or){return de===Bt?Et(or.top)&&Et(or.bottom):Yt(or.left)&&Yt(or.right)}}},xe=function(de,Ve){var Et=Ve.frame?Ve.frame.scroll.diff.displacement:Ze;return tt(de,Et)},V=function(de,Ve,Et){return Ve.subject.active?Et(Ve.subject.active)(de):!1},q=function(de,Ve,Et){return Et(Ve)(de)},ue=function(de){var Ve=de.target,Et=de.destination,Yt=de.viewport,or=de.withDroppableDisplacement,mr=de.isVisibleThroughFrameFn,Nr=or?xe(Ve,Et):Ve;return V(Nr,Et,mr)&&q(Nr,Yt,mr)},me=function(de){return ue(Object(m.a)({},de,{isVisibleThroughFrameFn:_t}))},Ee=function(de){return ue(Object(m.a)({},de,{isVisibleThroughFrameFn:Ut}))},Ge=function(de){return ue(Object(m.a)({},de,{isVisibleThroughFrameFn:Oe(de.destination.axis)}))},dt=function(de,Ve,Et){if(typeof Et=="boolean")return Et;if(!Ve)return!0;var Yt=Ve.invisible,or=Ve.visible;if(Yt[de])return!1;var mr=or[de];return mr?mr.shouldAnimate:!0};function Kt(ht,de){var Ve=ht.page.marginBox,Et={top:de.point.y,right:0,bottom:0,left:de.point.x};return t(l(Ve,Et))}function tr(ht){var de=ht.afterDragging,Ve=ht.destination,Et=ht.displacedBy,Yt=ht.viewport,or=ht.forceShouldAnimate,mr=ht.last;return de.reduce(function(Yr,In){var Nn=Kt(In,Et),bn=In.descriptor.id;Yr.all.push(bn);var vn=me({target:Nn,destination:Ve,viewport:Yt,withDroppableDisplacement:!0});if(!vn)return Yr.invisible[In.descriptor.id]=!0,Yr;var Cn=dt(bn,mr,or),Yn={draggableId:bn,shouldAnimate:Cn};return Yr.visible[bn]=Yn,Yr},{all:[],visible:{},invisible:{}})}function wt(ht,de){if(!ht.length)return 0;var Ve=ht[ht.length-1].descriptor.index;return de.inHomeList?Ve:Ve+1}function It(ht){var de=ht.insideDestination,Ve=ht.inHomeList,Et=ht.displacedBy,Yt=ht.destination,or=wt(de,{inHomeList:Ve});return{displaced:Je,displacedBy:Et,at:{type:"REORDER",destination:{droppableId:Yt.descriptor.id,index:or}}}}function Lt(ht){var de=ht.draggable,Ve=ht.insideDestination,Et=ht.destination,Yt=ht.viewport,or=ht.displacedBy,mr=ht.last,Nr=ht.index,Yr=ht.forceShouldAnimate,In=we(de,Et);if(Nr==null)return It({insideDestination:Ve,inHomeList:In,displacedBy:or,destination:Et});var Nn=J(Ve,function(fi){return fi.descriptor.index===Nr});if(!Nn)return It({insideDestination:Ve,inHomeList:In,displacedBy:or,destination:Et});var bn=ye(de,Ve),vn=Ve.indexOf(Nn),Cn=bn.slice(vn),Yn=tr({afterDragging:Cn,destination:Et,displacedBy:or,last:mr,viewport:Yt.frame,forceShouldAnimate:Yr});return{displaced:Yn,displacedBy:or,at:{type:"REORDER",destination:{droppableId:Et.descriptor.id,index:Nr}}}}function Nt(ht,de){return Boolean(de.effected[ht])}var $e=function(de){var Ve=de.isMovingForward,Et=de.destination,Yt=de.draggables,or=de.combine,mr=de.afterCritical;if(!Et.isCombineEnabled)return null;var Nr=or.draggableId,Yr=Yt[Nr],In=Yr.descriptor.index,Nn=Nt(Nr,mr);return Nn?Ve?In:In-1:Ve?In+1:In},ot=function(de){var Ve=de.isMovingForward,Et=de.isInHomeList,Yt=de.insideDestination,or=de.location;if(!Yt.length)return null;var mr=or.index,Nr=Ve?mr+1:mr-1,Yr=Yt[0].descriptor.index,In=Yt[Yt.length-1].descriptor.index,Nn=Et?In:In+1;return Nr<Yr||Nr>Nn?null:Nr},ft=function(de){var Ve=de.isMovingForward,Et=de.isInHomeList,Yt=de.draggable,or=de.draggables,mr=de.destination,Nr=de.insideDestination,Yr=de.previousImpact,In=de.viewport,Nn=de.afterCritical,bn=Yr.at;if(bn||fe(!1),bn.type==="REORDER"){var vn=ot({isMovingForward:Ve,isInHomeList:Et,location:bn.destination,insideDestination:Nr});return vn==null?null:Lt({draggable:Yt,insideDestination:Nr,destination:mr,viewport:In,last:Yr.displaced,displacedBy:Yr.displacedBy,index:vn})}var Cn=$e({isMovingForward:Ve,destination:mr,displaced:Yr.displaced,draggables:or,combine:bn.combine,afterCritical:Nn});return Cn==null?null:Lt({draggable:Yt,insideDestination:Nr,destination:mr,viewport:In,last:Yr.displaced,displacedBy:Yr.displacedBy,index:Cn})},ze=function(de){var Ve=de.displaced,Et=de.afterCritical,Yt=de.combineWith,or=de.displacedBy,mr=Boolean(Ve.visible[Yt]||Ve.invisible[Yt]);return Nt(Yt,Et)?mr?Ze:pe(or.point):mr?or.point:Ze},Ye=function(de){var Ve=de.afterCritical,Et=de.impact,Yt=de.draggables,or=ge(Et);or||fe(!1);var mr=or.draggableId,Nr=Yt[mr].page.borderBox.center,Yr=ze({displaced:Et.displaced,afterCritical:Ve,combineWith:mr,displacedBy:Et.displacedBy});return De(Nr,Yr)},qe=function(de,Ve){return Ve.margin[de.start]+Ve.borderBox[de.size]/2},rt=function(de,Ve){return Ve.margin[de.end]+Ve.borderBox[de.size]/2},ct=function(de,Ve,Et){return Ve[de.crossAxisStart]+Et.margin[de.crossAxisStart]+Et.borderBox[de.crossAxisSize]/2},st=function(de){var Ve=de.axis,Et=de.moveRelativeTo,Yt=de.isMoving;return Xe(Ve.line,Et.marginBox[Ve.end]+qe(Ve,Yt),ct(Ve,Et.marginBox,Yt))},et=function(de){var Ve=de.axis,Et=de.moveRelativeTo,Yt=de.isMoving;return Xe(Ve.line,Et.marginBox[Ve.start]-rt(Ve,Yt),ct(Ve,Et.marginBox,Yt))},Ft=function(de){var Ve=de.axis,Et=de.moveInto,Yt=de.isMoving;return Xe(Ve.line,Et.contentBox[Ve.start]+qe(Ve,Yt),ct(Ve,Et.contentBox,Yt))},Ct=function(de){var Ve=de.impact,Et=de.draggable,Yt=de.draggables,or=de.droppable,mr=de.afterCritical,Nr=Fr(or.descriptor.id,Yt),Yr=Et.page,In=or.axis;if(!Nr.length)return Ft({axis:In,moveInto:or.page,isMoving:Yr});var Nn=Ve.displaced,bn=Ve.displacedBy,vn=Nn.all[0];if(vn){var Cn=Yt[vn];if(Nt(vn,mr))return et({axis:In,moveRelativeTo:Cn.page,isMoving:Yr});var Yn=E(Cn.page,bn.point);return et({axis:In,moveRelativeTo:Yn,isMoving:Yr})}var fi=Nr[Nr.length-1];if(fi.descriptor.id===Et.descriptor.id)return Yr.borderBox.center;if(Nt(fi.descriptor.id,mr)){var Pi=E(fi.page,pe(mr.displacedBy.point));return st({axis:In,moveRelativeTo:Pi,isMoving:Yr})}return st({axis:In,moveRelativeTo:fi.page,isMoving:Yr})},ir=function(de,Ve){var Et=de.frame;return Et?De(Ve,Et.scroll.diff.displacement):Ve},Xt=function(de){var Ve=de.impact,Et=de.draggable,Yt=de.droppable,or=de.draggables,mr=de.afterCritical,Nr=Et.page.borderBox.center,Yr=Ve.at;return Yt&&Yr?Yr.type==="REORDER"?Ct({impact:Ve,draggable:Et,draggables:or,droppable:Yt,afterCritical:mr}):Ye({impact:Ve,draggables:or,afterCritical:mr}):Nr},_r=function(de){var Ve=Xt(de),Et=de.droppable,Yt=Et?ir(Et,Ve):Ve;return Yt},Br=function(de,Ve){var Et=ne(Ve,de.scroll.initial),Yt=pe(Et),or=t({top:Ve.y,bottom:Ve.y+de.frame.height,left:Ve.x,right:Ve.x+de.frame.width}),mr={frame:or,scroll:{initial:de.scroll.initial,max:de.scroll.max,current:Ve,diff:{value:Et,displacement:Yt}}};return mr};function Gr(ht,de){return ht.map(function(Ve){return de[Ve]})}function un(ht,de){for(var Ve=0;Ve<de.length;Ve++){var Et=de[Ve].visible[ht];if(Et)return Et}return null}var mn=function(de){var Ve=de.impact,Et=de.viewport,Yt=de.destination,or=de.draggables,mr=de.maxScrollChange,Nr=Br(Et,De(Et.scroll.current,mr)),Yr=Yt.frame?G(Yt,De(Yt.frame.scroll.current,mr)):Yt,In=Ve.displaced,Nn=tr({afterDragging:Gr(In.all,or),destination:Yt,displacedBy:Ve.displacedBy,viewport:Nr.frame,last:In,forceShouldAnimate:!1}),bn=tr({afterDragging:Gr(In.all,or),destination:Yr,displacedBy:Ve.displacedBy,viewport:Et.frame,last:In,forceShouldAnimate:!1}),vn={},Cn={},Yn=[In,Nn,bn];In.all.forEach(function(Pi){var oa=un(Pi,Yn);if(oa){Cn[Pi]=oa;return}vn[Pi]=!0});var fi=Object(m.a)({},Ve,{displaced:{all:In.all,invisible:vn,visible:Cn}});return fi},_n=function(de,Ve){return De(de.scroll.diff.displacement,Ve)},qr=function(de){var Ve=de.pageBorderBoxCenter,Et=de.draggable,Yt=de.viewport,or=_n(Yt,Ve),mr=ne(or,Et.page.borderBox.center);return De(Et.client.borderBox.center,mr)},yn=function(de){var Ve=de.draggable,Et=de.destination,Yt=de.newPageBorderBoxCenter,or=de.viewport,mr=de.withDroppableDisplacement,Nr=de.onlyOnMainAxis,Yr=Nr===void 0?!1:Nr,In=ne(Yt,Ve.page.borderBox.center),Nn=tt(Ve.page.borderBox,In),bn={target:Nn,destination:Et,withDroppableDisplacement:mr,viewport:or};return Yr?Ge(bn):Ee(bn)},nn=function(de){var Ve=de.isMovingForward,Et=de.draggable,Yt=de.destination,or=de.draggables,mr=de.previousImpact,Nr=de.viewport,Yr=de.previousPageBorderBoxCenter,In=de.previousClientSelection,Nn=de.afterCritical;if(!Yt.isEnabled)return null;var bn=Fr(Yt.descriptor.id,or),vn=we(Et,Yt),Cn=Le({isMovingForward:Ve,draggable:Et,destination:Yt,insideDestination:bn,previousImpact:mr})||ft({isMovingForward:Ve,isInHomeList:vn,draggable:Et,draggables:or,destination:Yt,insideDestination:bn,previousImpact:mr,viewport:Nr,afterCritical:Nn});if(!Cn)return null;var Yn=_r({impact:Cn,draggable:Et,droppable:Yt,draggables:or,afterCritical:Nn}),fi=yn({draggable:Et,destination:Yt,newPageBorderBoxCenter:Yn,viewport:Nr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(fi){var Pi=qr({pageBorderBoxCenter:Yn,draggable:Et,viewport:Nr});return{clientSelection:Pi,impact:Cn,scrollJumpRequest:null}}var oa=ne(Yn,Yr),na=mn({impact:Cn,viewport:Nr,destination:Yt,draggables:or,maxScrollChange:oa});return{clientSelection:In,impact:na,scrollJumpRequest:oa}},cr=function(de){var Ve=de.subject.active;return Ve||fe(!1),Ve},Pr=function(de){var Ve=de.isMovingForward,Et=de.pageBorderBoxCenter,Yt=de.source,or=de.droppables,mr=de.viewport,Nr=Yt.subject.active;if(!Nr)return null;var Yr=Yt.axis,In=vt(Nr[Yr.start],Nr[Yr.end]),Nn=Rt(or).filter(function(vn){return vn!==Yt}).filter(function(vn){return vn.isEnabled}).filter(function(vn){return Boolean(vn.subject.active)}).filter(function(vn){return _t(mr.frame)(cr(vn))}).filter(function(vn){var Cn=cr(vn);return Ve?Nr[Yr.crossAxisEnd]<Cn[Yr.crossAxisEnd]:Cn[Yr.crossAxisStart]<Nr[Yr.crossAxisStart]}).filter(function(vn){var Cn=cr(vn),Yn=vt(Cn[Yr.start],Cn[Yr.end]);return In(Cn[Yr.start])||In(Cn[Yr.end])||Yn(Nr[Yr.start])||Yn(Nr[Yr.end])}).sort(function(vn,Cn){var Yn=cr(vn)[Yr.crossAxisStart],fi=cr(Cn)[Yr.crossAxisStart];return Ve?Yn-fi:fi-Yn}).filter(function(vn,Cn,Yn){return cr(vn)[Yr.crossAxisStart]===cr(Yn[0])[Yr.crossAxisStart]});if(!Nn.length)return null;if(Nn.length===1)return Nn[0];var bn=Nn.filter(function(vn){var Cn=vt(cr(vn)[Yr.start],cr(vn)[Yr.end]);return Cn(Et[Yr.line])});return bn.length===1?bn[0]:bn.length>1?bn.sort(function(vn,Cn){return cr(vn)[Yr.start]-cr(Cn)[Yr.start]})[0]:Nn.sort(function(vn,Cn){var Yn=At(Et,Mt(cr(vn))),fi=At(Et,Mt(cr(Cn)));return Yn!==fi?Yn-fi:cr(vn)[Yr.start]-cr(Cn)[Yr.start]})[0]},Ar=function(de,Ve){var Et=de.page.borderBox.center;return Nt(de.descriptor.id,Ve)?ne(Et,Ve.displacedBy.point):Et},Mr=function(de,Ve){var Et=de.page.borderBox;return Nt(de.descriptor.id,Ve)?tt(Et,pe(Ve.displacedBy.point)):Et},fn=function(de){var Ve=de.pageBorderBoxCenter,Et=de.viewport,Yt=de.destination,or=de.insideDestination,mr=de.afterCritical,Nr=or.filter(function(Yr){return Ee({target:Mr(Yr,mr),destination:Yt,viewport:Et.frame,withDroppableDisplacement:!0})}).sort(function(Yr,In){var Nn=lt(Ve,ir(Yt,Ar(Yr,mr))),bn=lt(Ve,ir(Yt,Ar(In,mr)));return Nn<bn?-1:bn<Nn?1:Yr.descriptor.index-In.descriptor.index});return Nr[0]||null},En=I(function(de,Ve){var Et=Ve[de.line];return{value:Et,point:Xe(de.line,Et)}}),Rn=function(de,Ve,Et){var Yt=de.axis;if(de.descriptor.mode==="virtual")return Xe(Yt.line,Ve[Yt.line]);var or=de.subject.page.contentBox[Yt.size],mr=Fr(de.descriptor.id,Et),Nr=mr.reduce(function(Nn,bn){return Nn+bn.client.marginBox[Yt.size]},0),Yr=Nr+Ve[Yt.line],In=Yr-or;return In<=0?null:Xe(Yt.line,In)},oi=function(de,Ve){return Object(m.a)({},de,{scroll:Object(m.a)({},de.scroll,{max:Ve})})},An=function(de,Ve,Et){var Yt=de.frame;we(Ve,de)&&fe(!1),de.subject.withPlaceholder&&fe(!1);var or=En(de.axis,Ve.displaceBy).point,mr=Rn(de,or,Et),Nr={placeholderSize:or,increasedBy:mr,oldFrameMaxScroll:de.frame?de.frame.scroll.max:null};if(!Yt){var Yr=Ue({page:de.subject.page,withPlaceholder:Nr,axis:de.axis,frame:de.frame});return Object(m.a)({},de,{subject:Yr})}var In=mr?De(Yt.scroll.max,mr):Yt.scroll.max,Nn=oi(Yt,In),bn=Ue({page:de.subject.page,withPlaceholder:Nr,axis:de.axis,frame:Nn});return Object(m.a)({},de,{subject:bn,frame:Nn})},mi=function(de){var Ve=de.subject.withPlaceholder;Ve||fe(!1);var Et=de.frame;if(!Et){var Yt=Ue({page:de.subject.page,axis:de.axis,frame:null,withPlaceholder:null});return Object(m.a)({},de,{subject:Yt})}var or=Ve.oldFrameMaxScroll;or||fe(!1);var mr=oi(Et,or),Nr=Ue({page:de.subject.page,axis:de.axis,frame:mr,withPlaceholder:null});return Object(m.a)({},de,{subject:Nr,frame:mr})},ai=function(de){var Ve=de.previousPageBorderBoxCenter,Et=de.moveRelativeTo,Yt=de.insideDestination,or=de.draggable,mr=de.draggables,Nr=de.destination,Yr=de.viewport,In=de.afterCritical;if(!Et){if(Yt.length)return null;var Nn={displaced:Je,displacedBy:Ke,at:{type:"REORDER",destination:{droppableId:Nr.descriptor.id,index:0}}},bn=_r({impact:Nn,draggable:or,droppable:Nr,draggables:mr,afterCritical:In}),vn=we(or,Nr)?Nr:An(Nr,or,mr),Cn=yn({draggable:or,destination:vn,newPageBorderBoxCenter:bn,viewport:Yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Cn?Nn:null}var Yn=Boolean(Ve[Nr.axis.line]<=Et.page.borderBox.center[Nr.axis.line]),fi=function(){var oa=Et.descriptor.index;return Et.descriptor.id===or.descriptor.id||Yn?oa:oa+1}(),Pi=En(Nr.axis,or.displaceBy);return Lt({draggable:or,insideDestination:Yt,destination:Nr,viewport:Yr,displacedBy:Pi,last:Je,index:fi})},Xr=function(de){var Ve=de.isMovingForward,Et=de.previousPageBorderBoxCenter,Yt=de.draggable,or=de.isOver,mr=de.draggables,Nr=de.droppables,Yr=de.viewport,In=de.afterCritical,Nn=Pr({isMovingForward:Ve,pageBorderBoxCenter:Et,source:or,droppables:Nr,viewport:Yr});if(!Nn)return null;var bn=Fr(Nn.descriptor.id,mr),vn=fn({pageBorderBoxCenter:Et,viewport:Yr,destination:Nn,insideDestination:bn,afterCritical:In}),Cn=ai({previousPageBorderBoxCenter:Et,destination:Nn,draggable:Yt,draggables:mr,moveRelativeTo:vn,insideDestination:bn,viewport:Yr,afterCritical:In});if(!Cn)return null;var Yn=_r({impact:Cn,draggable:Yt,droppable:Nn,draggables:mr,afterCritical:In}),fi=qr({pageBorderBoxCenter:Yn,draggable:Yt,viewport:Yr});return{clientSelection:fi,impact:Cn,scrollJumpRequest:null}},pn=function(de){var Ve=de.at;return Ve?Ve.type==="REORDER"?Ve.destination.droppableId:Ve.combine.droppableId:null},Ln=function(de,Ve){var Et=pn(de);return Et?Ve[Et]:null},tn=function(de){var Ve=de.state,Et=de.type,Yt=Ln(Ve.impact,Ve.dimensions.droppables),or=Boolean(Yt),mr=Ve.dimensions.droppables[Ve.critical.droppable.id],Nr=Yt||mr,Yr=Nr.axis.direction,In=Yr==="vertical"&&(Et==="MOVE_UP"||Et==="MOVE_DOWN")||Yr==="horizontal"&&(Et==="MOVE_LEFT"||Et==="MOVE_RIGHT");if(In&&!or)return null;var Nn=Et==="MOVE_DOWN"||Et==="MOVE_RIGHT",bn=Ve.dimensions.draggables[Ve.critical.draggable.id],vn=Ve.current.page.borderBoxCenter,Cn=Ve.dimensions,Yn=Cn.draggables,fi=Cn.droppables;return In?nn({isMovingForward:Nn,previousPageBorderBoxCenter:vn,draggable:bn,destination:Nr,draggables:Yn,viewport:Ve.viewport,previousClientSelection:Ve.current.client.selection,previousImpact:Ve.impact,afterCritical:Ve.afterCritical}):Xr({isMovingForward:Nn,previousPageBorderBoxCenter:vn,draggable:bn,isOver:Nr,draggables:Yn,droppables:fi,viewport:Ve.viewport,afterCritical:Ve.afterCritical})};function $t(ht){return ht.phase==="DRAGGING"||ht.phase==="COLLECTING"}function yr(ht){var de=vt(ht.top,ht.bottom),Ve=vt(ht.left,ht.right);return function(Yt){return de(Yt.y)&&Ve(Yt.x)}}function kr(ht,de){return ht.left<de.right&&ht.right>de.left&&ht.top<de.bottom&&ht.bottom>de.top}function gr(ht){var de=ht.pageBorderBox,Ve=ht.draggable,Et=ht.candidates,Yt=Ve.page.borderBox.center,or=Et.map(function(mr){var Nr=mr.axis,Yr=Xe(mr.axis.line,de.center[Nr.line],mr.page.borderBox.center[Nr.crossAxisLine]);return{id:mr.descriptor.id,distance:lt(Yt,Yr)}}).sort(function(mr,Nr){return Nr.distance-mr.distance});return or[0]?or[0].id:null}function Kr(ht){var de=ht.pageBorderBox,Ve=ht.draggable,Et=ht.droppables,Yt=Rt(Et).filter(function(or){if(!or.isEnabled)return!1;var mr=or.subject.active;if(!mr)return!1;if(!kr(de,mr))return!1;if(yr(mr)(de.center))return!0;var Nr=or.axis,Yr=mr.center[Nr.crossAxisLine],In=de[Nr.crossAxisStart],Nn=de[Nr.crossAxisEnd],bn=vt(mr[Nr.crossAxisStart],mr[Nr.crossAxisEnd]),vn=bn(In),Cn=bn(Nn);return!vn&&!Cn?!0:vn?In<Yr:Nn>Yr});return Yt.length?Yt.length===1?Yt[0].descriptor.id:gr({pageBorderBox:de,draggable:Ve,candidates:Yt}):null}var sn=function(de,Ve){return t(tt(de,Ve))},Ir=function(de,Ve){var Et=de.frame;return Et?sn(Ve,Et.scroll.diff.value):Ve};function Rr(ht){var de=ht.displaced,Ve=ht.id;return Boolean(de.visible[Ve]||de.invisible[Ve])}function ar(ht){var de=ht.draggable,Ve=ht.closest,Et=ht.inHomeList;return Ve?Et&&Ve.descriptor.index>de.descriptor.index?Ve.descriptor.index-1:Ve.descriptor.index:null}var Tr=function(de){var Ve=de.pageBorderBoxWithDroppableScroll,Et=de.draggable,Yt=de.destination,or=de.insideDestination,mr=de.last,Nr=de.viewport,Yr=de.afterCritical,In=Yt.axis,Nn=En(Yt.axis,Et.displaceBy),bn=Nn.value,vn=Ve[In.start],Cn=Ve[In.end],Yn=ye(Et,or),fi=J(Yn,function(oa){var na=oa.descriptor.id,ho=oa.page.borderBox.center[In.line],ea=Nt(na,Yr),Lo=Rr({displaced:mr,id:na});return ea?Lo?Cn<=ho:vn<ho-bn:Lo?Cn<=ho+bn:vn<ho}),Pi=ar({draggable:Et,closest:fi,inHomeList:we(Et,Yt)});return Lt({draggable:Et,insideDestination:or,destination:Yt,viewport:Nr,last:mr,displacedBy:Nn,index:Pi})},br=4,fr=function(de){var Ve=de.draggable,Et=de.pageBorderBoxWithDroppableScroll,Yt=de.previousImpact,or=de.destination,mr=de.insideDestination,Nr=de.afterCritical;if(!or.isCombineEnabled)return null;var Yr=or.axis,In=En(or.axis,Ve.displaceBy),Nn=In.value,bn=Et[Yr.start],vn=Et[Yr.end],Cn=ye(Ve,mr),Yn=J(Cn,function(Pi){var oa=Pi.descriptor.id,na=Pi.page.borderBox,ho=na[Yr.size],ea=ho/br,Lo=Nt(oa,Nr),Co=Rr({displaced:Yt.displaced,id:oa});return Lo?Co?vn>na[Yr.start]+ea&&vn<na[Yr.end]-ea:bn>na[Yr.start]-Nn+ea&&bn<na[Yr.end]-Nn-ea:Co?vn>na[Yr.start]+Nn+ea&&vn<na[Yr.end]+Nn-ea:bn>na[Yr.start]+ea&&bn<na[Yr.end]-ea});if(!Yn)return null;var fi={displacedBy:In,displaced:Yt.displaced,at:{type:"COMBINE",combine:{draggableId:Yn.descriptor.id,droppableId:or.descriptor.id}}};return fi},zr=function(de){var Ve=de.pageOffset,Et=de.draggable,Yt=de.draggables,or=de.droppables,mr=de.previousImpact,Nr=de.viewport,Yr=de.afterCritical,In=sn(Et.page.borderBox,Ve),Nn=Kr({pageBorderBox:In,draggable:Et,droppables:or});if(!Nn)return ut;var bn=or[Nn],vn=Fr(bn.descriptor.id,Yt),Cn=Ir(bn,In);return fr({pageBorderBoxWithDroppableScroll:Cn,draggable:Et,previousImpact:mr,destination:bn,insideDestination:vn,afterCritical:Yr})||Tr({pageBorderBoxWithDroppableScroll:Cn,draggable:Et,destination:bn,insideDestination:vn,last:mr.displaced,viewport:Nr,afterCritical:Yr})},wn=function(de,Ve){var Et;return Object(m.a)({},de,(Et={},Et[Ve.descriptor.id]=Ve,Et))},On=function(de){var Ve=de.previousImpact,Et=de.impact,Yt=de.droppables,or=pn(Ve),mr=pn(Et);if(!or)return Yt;if(or===mr)return Yt;var Nr=Yt[or];if(!Nr.subject.withPlaceholder)return Yt;var Yr=mi(Nr);return wn(Yt,Yr)},Wn=function(de){var Ve=de.draggable,Et=de.draggables,Yt=de.droppables,or=de.previousImpact,mr=de.impact,Nr=On({previousImpact:or,impact:mr,droppables:Yt}),Yr=pn(mr);if(!Yr)return Nr;var In=Yt[Yr];if(we(Ve,In))return Nr;if(In.subject.withPlaceholder)return Nr;var Nn=An(In,Ve,Et);return wn(Nr,Nn)},Xn=function(de){var Ve=de.state,Et=de.clientSelection,Yt=de.dimensions,or=de.viewport,mr=de.impact,Nr=de.scrollJumpRequest,Yr=or||Ve.viewport,In=Yt||Ve.dimensions,Nn=Et||Ve.current.client.selection,bn=ne(Nn,Ve.initial.client.selection),vn={offset:bn,selection:Nn,borderBoxCenter:De(Ve.initial.client.borderBoxCenter,bn)},Cn={selection:De(vn.selection,Yr.scroll.current),borderBoxCenter:De(vn.borderBoxCenter,Yr.scroll.current),offset:De(vn.offset,Yr.scroll.diff.value)},Yn={client:vn,page:Cn};if(Ve.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},Ve,{dimensions:In,viewport:Yr,current:Yn});var fi=In.draggables[Ve.critical.draggable.id],Pi=mr||zr({pageOffset:Cn.offset,draggable:fi,draggables:In.draggables,droppables:In.droppables,previousImpact:Ve.impact,viewport:Yr,afterCritical:Ve.afterCritical}),oa=Wn({draggable:fi,impact:Pi,previousImpact:Ve.impact,draggables:In.draggables,droppables:In.droppables}),na=Object(m.a)({},Ve,{current:Yn,dimensions:{draggables:In.draggables,droppables:oa},impact:Pi,viewport:Yr,scrollJumpRequest:Nr||null,forceShouldAnimate:Nr?!1:null});return na};function ii(ht,de){return ht.map(function(Ve){return de[Ve]})}var li=function(de){var Ve=de.impact,Et=de.viewport,Yt=de.draggables,or=de.destination,mr=de.forceShouldAnimate,Nr=Ve.displaced,Yr=ii(Nr.all,Yt),In=tr({afterDragging:Yr,destination:or,displacedBy:Ve.displacedBy,viewport:Et.frame,forceShouldAnimate:mr,last:Nr});return Object(m.a)({},Ve,{displaced:In})},bi=function(de){var Ve=de.impact,Et=de.draggable,Yt=de.droppable,or=de.draggables,mr=de.viewport,Nr=de.afterCritical,Yr=_r({impact:Ve,draggable:Et,draggables:or,droppable:Yt,afterCritical:Nr});return qr({pageBorderBoxCenter:Yr,draggable:Et,viewport:mr})},gi=function(de){var Ve=de.state,Et=de.dimensions,Yt=de.viewport;Ve.movementMode==="SNAP"||fe(!1);var or=Ve.impact,mr=Yt||Ve.viewport,Nr=Et||Ve.dimensions,Yr=Nr.draggables,In=Nr.droppables,Nn=Yr[Ve.critical.draggable.id],bn=pn(or);bn||fe(!1);var vn=In[bn],Cn=li({impact:or,viewport:mr,destination:vn,draggables:Yr}),Yn=bi({impact:Cn,draggable:Nn,droppable:vn,draggables:Yr,viewport:mr,afterCritical:Ve.afterCritical});return Xn({impact:Cn,clientSelection:Yn,state:Ve,dimensions:Nr,viewport:mr})},Ni=function(de){return{index:de.index,droppableId:de.droppableId}},ki=function(de){var Ve=de.draggable,Et=de.home,Yt=de.draggables,or=de.viewport,mr=En(Et.axis,Ve.displaceBy),Nr=Fr(Et.descriptor.id,Yt),Yr=Nr.indexOf(Ve);Yr!==-1||fe(!1);var In=Nr.slice(Yr+1),Nn=In.reduce(function(Yn,fi){return Yn[fi.descriptor.id]=!0,Yn},{}),bn={inVirtualList:Et.descriptor.mode==="virtual",displacedBy:mr,effected:Nn},vn=tr({afterDragging:In,destination:Et,displacedBy:mr,last:null,viewport:or.frame,forceShouldAnimate:!1}),Cn={displaced:vn,displacedBy:mr,at:{type:"REORDER",destination:Ni(Ve.descriptor)}};return{impact:Cn,afterCritical:bn}},sa=function(de,Ve){return{draggables:de.draggables,droppables:wn(de.droppables,Ve)}},Wi=function(de){},Ta=function(de){},La=function(de){var Ve=de.draggable,Et=de.offset,Yt=de.initialWindowScroll,or=E(Ve.client,Et),mr=v(or,Yt),Nr=Object(m.a)({},Ve,{placeholder:Object(m.a)({},Ve.placeholder,{client:or}),client:or,page:mr});return Nr},ta=function(de){var Ve=de.frame;return Ve||fe(!1),Ve},Ka=function(de){var Ve=de.additions,Et=de.updatedDroppables,Yt=de.viewport,or=Yt.scroll.diff.value;return Ve.map(function(mr){var Nr=mr.descriptor.droppableId,Yr=Et[Nr],In=ta(Yr),Nn=In.scroll.diff.value,bn=De(or,Nn),vn=La({draggable:mr,offset:bn,initialWindowScroll:Yt.scroll.initial});return vn})},ni=function(de){var Ve=de.state,Et=de.published;Wi();var Yt=Et.modified.map(function(ea){var Lo=Ve.dimensions.droppables[ea.droppableId],Co=G(Lo,ea.scroll);return Co}),or=Object(m.a)({},Ve.dimensions.droppables,{},bt(Yt)),mr=nt(Ka({additions:Et.additions,updatedDroppables:or,viewport:Ve.viewport})),Nr=Object(m.a)({},Ve.dimensions.draggables,{},mr);Et.removals.forEach(function(ea){delete Nr[ea]});var Yr={droppables:or,draggables:Nr},In=pn(Ve.impact),Nn=In?Yr.droppables[In]:null,bn=Yr.draggables[Ve.critical.draggable.id],vn=Yr.droppables[Ve.critical.droppable.id],Cn=ki({draggable:bn,home:vn,draggables:Nr,viewport:Ve.viewport}),Yn=Cn.impact,fi=Cn.afterCritical,Pi=Nn&&Nn.isCombineEnabled?Ve.impact:Yn,oa=zr({pageOffset:Ve.current.page.offset,draggable:Yr.draggables[Ve.critical.draggable.id],draggables:Yr.draggables,droppables:Yr.droppables,previousImpact:Pi,viewport:Ve.viewport,afterCritical:fi});Ta();var na=Object(m.a)({phase:"DRAGGING"},Ve,{phase:"DRAGGING",impact:oa,onLiftImpact:Yn,dimensions:Yr,afterCritical:fi,forceShouldAnimate:!1});if(Ve.phase==="COLLECTING")return na;var ho=Object(m.a)({phase:"DROP_PENDING"},na,{phase:"DROP_PENDING",reason:Ve.reason,isWaiting:!1});return ho},zi=function(de){return de.movementMode==="SNAP"},Va=function(de,Ve,Et){var Yt=sa(de.dimensions,Ve);return!zi(de)||Et?Xn({state:de,dimensions:Yt}):gi({state:de,dimensions:Yt})};function Za(ht){return ht.isDragging&&ht.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},ht,{scrollJumpRequest:null}):ht}var Oa={phase:"IDLE",completed:null,shouldFlush:!1},ma=function(de,Ve){if(de===void 0&&(de=Oa),Ve.type==="FLUSH")return Object(m.a)({},Oa,{shouldFlush:!0});if(Ve.type==="INITIAL_PUBLISH"){de.phase==="IDLE"||fe(!1);var Et=Ve.payload,Yt=Et.critical,or=Et.clientSelection,mr=Et.viewport,Nr=Et.dimensions,Yr=Et.movementMode,In=Nr.draggables[Yt.draggable.id],Nn=Nr.droppables[Yt.droppable.id],bn={selection:or,borderBoxCenter:In.client.borderBox.center,offset:Ze},vn={client:bn,page:{selection:De(bn.selection,mr.scroll.initial),borderBoxCenter:De(bn.selection,mr.scroll.initial),offset:De(bn.selection,mr.scroll.diff.value)}},Cn=Rt(Nr.droppables).every(function(Fo){return!Fo.isFixedOnPage}),Yn=ki({draggable:In,home:Nn,draggables:Nr.draggables,viewport:mr}),fi=Yn.impact,Pi=Yn.afterCritical,oa={phase:"DRAGGING",isDragging:!0,critical:Yt,movementMode:Yr,dimensions:Nr,initial:vn,current:vn,isWindowScrollAllowed:Cn,impact:fi,afterCritical:Pi,onLiftImpact:fi,viewport:mr,scrollJumpRequest:null,forceShouldAnimate:null};return oa}if(Ve.type==="COLLECTION_STARTING"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||fe(!1);var na=Object(m.a)({phase:"COLLECTING"},de,{phase:"COLLECTING"});return na}if(Ve.type==="PUBLISH_WHILE_DRAGGING")return de.phase==="COLLECTING"||de.phase==="DROP_PENDING"||fe(!1),ni({state:de,published:Ve.payload});if(Ve.type==="MOVE"){if(de.phase==="DROP_PENDING")return de;$t(de)||fe(!1);var ho=Ve.payload.client;return he(ho,de.current.client.selection)?de:Xn({state:de,clientSelection:ho,impact:zi(de)?de.impact:null})}if(Ve.type==="UPDATE_DROPPABLE_SCROLL"){if(de.phase==="DROP_PENDING")return Za(de);if(de.phase==="COLLECTING")return Za(de);$t(de)||fe(!1);var ea=Ve.payload,Lo=ea.id,Co=ea.newScroll,mo=de.dimensions.droppables[Lo];if(!mo)return de;var ws=G(mo,Co);return Va(de,ws,!1)}if(Ve.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(de.phase==="DROP_PENDING")return de;$t(de)||fe(!1);var L=Ve.payload,D=L.id,Q=L.isEnabled,Z=de.dimensions.droppables[D];Z||fe(!1),Z.isEnabled!==Q||fe(!1);var ee=Object(m.a)({},Z,{isEnabled:Q});return Va(de,ee,!0)}if(Ve.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(de.phase==="DROP_PENDING")return de;$t(de)||fe(!1);var ke=Ve.payload,yt=ke.id,Pt=ke.isCombineEnabled,Zt=de.dimensions.droppables[yt];Zt||fe(!1),Zt.isCombineEnabled!==Pt||fe(!1);var rr=Object(m.a)({},Zt,{isCombineEnabled:Pt});return Va(de,rr,!0)}if(Ve.type==="MOVE_BY_WINDOW_SCROLL"){if(de.phase==="DROP_PENDING"||de.phase==="DROP_ANIMATING")return de;$t(de)||fe(!1),de.isWindowScrollAllowed||fe(!1);var hn=Ve.payload.newScroll;if(he(de.viewport.scroll.current,hn))return Za(de);var Sn=Br(de.viewport,hn);return zi(de)?gi({state:de,viewport:Sn}):Xn({state:de,viewport:Sn})}if(Ve.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!$t(de))return de;var Pn=Ve.payload.maxScroll;if(he(Pn,de.viewport.scroll.max))return de;var zn=Object(m.a)({},de.viewport,{scroll:Object(m.a)({},de.viewport.scroll,{max:Pn})});return Object(m.a)({phase:"DRAGGING"},de,{viewport:zn})}if(Ve.type==="MOVE_UP"||Ve.type==="MOVE_DOWN"||Ve.type==="MOVE_LEFT"||Ve.type==="MOVE_RIGHT"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||fe(!1);var ci=tn({state:de,type:Ve.type});return ci?Xn({state:de,impact:ci.impact,clientSelection:ci.clientSelection,scrollJumpRequest:ci.scrollJumpRequest}):de}if(Ve.type==="DROP_PENDING"){var Ti=Ve.payload.reason;de.phase==="COLLECTING"||fe(!1);var ji=Object(m.a)({phase:"DROP_PENDING"},de,{phase:"DROP_PENDING",isWaiting:!0,reason:Ti});return ji}if(Ve.type==="DROP_ANIMATE"){var Ui=Ve.payload,ra=Ui.completed,ia=Ui.dropDuration,fa=Ui.newHomeClientOffset;de.phase==="DRAGGING"||de.phase==="DROP_PENDING"||fe(!1);var ao={phase:"DROP_ANIMATING",completed:ra,dropDuration:ia,newHomeClientOffset:fa,dimensions:de.dimensions};return ao}if(Ve.type==="DROP_COMPLETE"){var Qa=Ve.payload.completed;return{phase:"IDLE",completed:Qa,shouldFlush:!1}}return de},xr=function(de){return{type:"BEFORE_INITIAL_CAPTURE",payload:de}},nr=function(de){return{type:"LIFT",payload:de}},ln=function(de){return{type:"INITIAL_PUBLISH",payload:de}},er=function(de){return{type:"PUBLISH_WHILE_DRAGGING",payload:de}},hr=function(){return{type:"COLLECTION_STARTING",payload:null}},Dr=function(de){return{type:"UPDATE_DROPPABLE_SCROLL",payload:de}},Vr=function(de){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:de}},an=function(de){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:de}},Ot=function(de){return{type:"MOVE",payload:de}},lr=function(de){return{type:"MOVE_BY_WINDOW_SCROLL",payload:de}},vr=function(de){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:de}},Cr=function(){return{type:"MOVE_UP",payload:null}},Hr=function(){return{type:"MOVE_DOWN",payload:null}},cn=function(){return{type:"MOVE_RIGHT",payload:null}},Qr=function(){return{type:"MOVE_LEFT",payload:null}},gt=function(){return{type:"FLUSH",payload:null}},Gt=function(de){return{type:"DROP_ANIMATE",payload:de}},Sr=function(de){return{type:"DROP_COMPLETE",payload:de}},Zr=function(de){return{type:"DROP",payload:de}},en=function(de){return{type:"DROP_PENDING",payload:de}},xn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function kn(ht){if(ht.length<=1)return;for(var de=ht.map(function(Nr){return Nr.descriptor.index}),Ve={},Et=1;Et<de.length;Et++){var Yt=de[Et],or=de[Et-1];Yt!==or+1&&(Ve[Yt]=!0)}if(!Object.keys(Ve).length)return;var mr=de.map(function(Nr){var Yr=Boolean(Ve[Nr]);return Yr?"[\u{1F525}"+Nr+"]":""+Nr}).join(", ")}function Zn(ht,de){if(!1)var Ve}var ui=function(de){return function(Ve){var Et=Ve.getState,Yt=Ve.dispatch;return function(or){return function(mr){if(mr.type!=="LIFT"){or(mr);return}var Nr=mr.payload,Yr=Nr.id,In=Nr.clientSelection,Nn=Nr.movementMode,bn=Et();bn.phase==="DROP_ANIMATING"&&Yt(Sr({completed:bn.completed})),Et().phase==="IDLE"||fe(!1),Yt(gt()),Yt(xr({draggableId:Yr,movementMode:Nn}));var vn={shouldPublishImmediately:Nn==="SNAP"},Cn={draggableId:Yr,scrollOptions:vn},Yn=de.startPublishing(Cn),fi=Yn.critical,Pi=Yn.dimensions,oa=Yn.viewport;Zn(fi,Pi),Yt(ln({critical:fi,dimensions:Pi,clientSelection:In,movementMode:Nn,viewport:oa}))}}}},ti=function(de){return function(){return function(Ve){return function(Et){Et.type==="INITIAL_PUBLISH"&&de.dragging(),Et.type==="DROP_ANIMATE"&&de.dropping(Et.payload.completed.result.reason),(Et.type==="FLUSH"||Et.type==="DROP_COMPLETE")&&de.resting(),Ve(Et)}}}},Qn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},$n={opacity:{drop:0,combining:.7},scale:{drop:.75}},Si={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ci=Si.outOfTheWay+"s "+Qn.outOfTheWay,vi={fluid:"opacity "+Ci,snap:"transform "+Ci+", opacity "+Ci,drop:function(de){var Ve=de+"s "+Qn.drop;return"transform "+Ve+", opacity "+Ve},outOfTheWay:"transform "+Ci,placeholder:"height "+Ci+", width "+Ci+", margin "+Ci},xi=function(de){return he(de,Ze)?null:"translate("+de.x+"px, "+de.y+"px)"},Ei={moveTo:xi,drop:function(de,Ve){var Et=xi(de);return Et?Ve?Et+" scale("+$n.scale.drop+")":Et:null}},di=Si.minDropTime,pi=Si.maxDropTime,_i=pi-di,Ri=1500,Vi=.6,Ii=function(de){var Ve=de.current,Et=de.destination,Yt=de.reason,or=lt(Ve,Et);if(or<=0)return di;if(or>=Ri)return pi;var mr=or/Ri,Nr=di+_i*mr,Yr=Yt==="CANCEL"?Nr*Vi:Nr;return Number(Yr.toFixed(2))},ba=function(de){var Ve=de.impact,Et=de.draggable,Yt=de.dimensions,or=de.viewport,mr=de.afterCritical,Nr=Yt.draggables,Yr=Yt.droppables,In=pn(Ve),Nn=In?Yr[In]:null,bn=Yr[Et.descriptor.droppableId],vn=bi({impact:Ve,draggable:Et,draggables:Nr,afterCritical:mr,droppable:Nn||bn,viewport:or}),Cn=ne(vn,Et.client.borderBox.center);return Cn},ga=function(de){var Ve=de.draggables,Et=de.reason,Yt=de.lastImpact,or=de.home,mr=de.viewport,Nr=de.onLiftImpact;if(!Yt.at||Et!=="DROP"){var Yr=li({draggables:Ve,impact:Nr,destination:or,viewport:mr,forceShouldAnimate:!0});return{impact:Yr,didDropInsideDroppable:!1}}if(Yt.at.type==="REORDER")return{impact:Yt,didDropInsideDroppable:!0};var In=Object(m.a)({},Yt,{displaced:Je});return{impact:In,didDropInsideDroppable:!0}},Aa=function(de){var Ve=de.getState,Et=de.dispatch;return function(Yt){return function(or){if(or.type!=="DROP"){Yt(or);return}var mr=Ve(),Nr=or.payload.reason;if(mr.phase==="COLLECTING"){Et(en({reason:Nr}));return}if(mr.phase==="IDLE")return;var Yr=mr.phase==="DROP_PENDING"&&mr.isWaiting;Yr&&fe(!1),mr.phase==="DRAGGING"||mr.phase==="DROP_PENDING"||fe(!1);var In=mr.critical,Nn=mr.dimensions,bn=Nn.draggables[mr.critical.draggable.id],vn=ga({reason:Nr,lastImpact:mr.impact,afterCritical:mr.afterCritical,onLiftImpact:mr.onLiftImpact,home:mr.dimensions.droppables[mr.critical.droppable.id],viewport:mr.viewport,draggables:mr.dimensions.draggables}),Cn=vn.impact,Yn=vn.didDropInsideDroppable,fi=Yn?Jt(Cn):null,Pi=Yn?ge(Cn):null,oa={index:In.draggable.index,droppableId:In.droppable.id},na={draggableId:bn.descriptor.id,type:bn.descriptor.type,source:oa,reason:Nr,mode:mr.movementMode,destination:fi,combine:Pi},ho=ba({impact:Cn,draggable:bn,dimensions:Nn,viewport:mr.viewport,afterCritical:mr.afterCritical}),ea={critical:mr.critical,afterCritical:mr.afterCritical,result:na,impact:Cn},Lo=!he(mr.current.client.offset,ho)||Boolean(na.combine);if(!Lo){Et(Sr({completed:ea}));return}var Co=Ii({current:mr.current.client.offset,destination:ho,reason:Nr}),mo={newHomeClientOffset:ho,dropDuration:Co,completed:ea};Et(Gt(mo))}}},ha=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function vo(ht){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ve){if(Ve.target!==window&&Ve.target!==window.document)return;ht()}}}function la(ht){var de=ht.onWindowScroll;function Ve(){de(ha())}var Et=F(Ve),Yt=vo(Et),or=be;function mr(){return or!==be}function Nr(){mr()&&fe(!1),or=Te(window,[Yt])}function Yr(){mr()||fe(!1),Et.cancel(),or(),or=be}return{start:Nr,stop:Yr,isActive:mr}}var Ba=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},pa=function(de){var Ve=la({onWindowScroll:function(Yt){de.dispatch(lr({newScroll:Yt}))}});return function(Et){return function(Yt){!Ve.isActive()&&Yt.type==="INITIAL_PUBLISH"&&Ve.start(),Ve.isActive()&&Ba(Yt)&&Ve.stop(),Et(Yt)}}},to=function(de){var Ve=!1,Et=!1,Yt=setTimeout(function(){Et=!0}),or=function(Nr){if(Ve)return;if(Et)return;Ve=!0,de(Nr),clearTimeout(Yt)};return or.wasCalled=function(){return Ve},or},qa=function(){var de=[],Ve=function(mr){var Nr=Be(de,function(Nn){return Nn.timerId===mr});Nr!==-1||fe(!1);var Yr=de.splice(Nr,1),In=Yr[0];In.callback()},Et=function(mr){var Nr=setTimeout(function(){return Ve(Nr)}),Yr={timerId:Nr,callback:mr};de.push(Yr)},Yt=function(){if(!de.length)return;var mr=[].concat(de);de.length=0,mr.forEach(function(Nr){clearTimeout(Nr.timerId),Nr.callback()})};return{add:Et,flush:Yt}},Yi=function(de,Ve){return de==null&&Ve==null?!0:de==null||Ve==null?!1:de.droppableId===Ve.droppableId&&de.index===Ve.index},oo=function(de,Ve){return de==null&&Ve==null?!0:de==null||Ve==null?!1:de.draggableId===Ve.draggableId&&de.droppableId===Ve.droppableId},Ya=function(de,Ve){if(de===Ve)return!0;var Et=de.draggable.id===Ve.draggable.id&&de.draggable.droppableId===Ve.draggable.droppableId&&de.draggable.type===Ve.draggable.type&&de.draggable.index===Ve.draggable.index,Yt=de.droppable.id===Ve.droppable.id&&de.droppable.type===Ve.droppable.type;return Et&&Yt},wa=function(de,Ve){Wi(),Ve(),Ta()},$a=function(de,Ve){return{draggableId:de.draggable.id,type:de.droppable.type,source:{droppableId:de.droppable.id,index:de.draggable.index},mode:Ve}},Fi=function(de,Ve,Et,Yt){if(!de){Et(Yt(Ve));return}var or=to(Et),mr={announce:or};de(Ve,mr),or.wasCalled()||Et(Yt(Ve))},Sa=function(de,Ve){var Et=qa(),Yt=null,or=function(Cn,Yn){Yt&&fe(!1),wa("onBeforeCapture",function(){var fi=de().onBeforeCapture;if(fi){var Pi={draggableId:Cn,mode:Yn};fi(Pi)}})},mr=function(Cn,Yn){Yt&&fe(!1),wa("onBeforeDragStart",function(){var fi=de().onBeforeDragStart;fi&&fi($a(Cn,Yn))})},Nr=function(Cn,Yn){Yt&&fe(!1);var fi=$a(Cn,Yn);Yt={mode:Yn,lastCritical:Cn,lastLocation:fi.source,lastCombine:null},Et.add(function(){wa("onDragStart",function(){return Fi(de().onDragStart,fi,Ve,Re.onDragStart)})})},Yr=function(Cn,Yn){var fi=Jt(Yn),Pi=ge(Yn);Yt||fe(!1);var oa=!Ya(Cn,Yt.lastCritical);oa&&(Yt.lastCritical=Cn);var na=!Yi(Yt.lastLocation,fi);na&&(Yt.lastLocation=fi);var ho=!oo(Yt.lastCombine,Pi);if(ho&&(Yt.lastCombine=Pi),!oa&&!na&&!ho)return;var ea=Object(m.a)({},$a(Cn,Yt.mode),{combine:Pi,destination:fi});Et.add(function(){wa("onDragUpdate",function(){return Fi(de().onDragUpdate,ea,Ve,Re.onDragUpdate)})})},In=function(){Yt||fe(!1),Et.flush()},Nn=function(Cn){Yt||fe(!1),Yt=null,wa("onDragEnd",function(){return Fi(de().onDragEnd,Cn,Ve,Re.onDragEnd)})},bn=function(){if(!Yt)return;var Cn=Object(m.a)({},$a(Yt.lastCritical,Yt.mode),{combine:null,destination:null,reason:"CANCEL"});Nn(Cn)};return{beforeCapture:or,beforeStart:mr,start:Nr,update:Yr,flush:In,drop:Nn,abort:bn}},Ea=function(de,Ve){var Et=Sa(de,Ve);return function(Yt){return function(or){return function(mr){if(mr.type==="BEFORE_INITIAL_CAPTURE"){Et.beforeCapture(mr.payload.draggableId,mr.payload.movementMode);return}if(mr.type==="INITIAL_PUBLISH"){var Nr=mr.payload.critical;Et.beforeStart(Nr,mr.payload.movementMode),or(mr),Et.start(Nr,mr.payload.movementMode);return}if(mr.type==="DROP_COMPLETE"){var Yr=mr.payload.completed.result;Et.flush(),or(mr),Et.drop(Yr);return}if(or(mr),mr.type==="FLUSH"){Et.abort();return}var In=Yt.getState();In.phase==="DRAGGING"&&Et.update(In.critical,In.impact)}}}},yo=function(de){return function(Ve){return function(Et){if(Et.type!=="DROP_ANIMATION_FINISHED"){Ve(Et);return}var Yt=de.getState();Yt.phase==="DROP_ANIMATING"||fe(!1),de.dispatch(Sr({completed:Yt.completed}))}}},_a=function(de){var Ve=null,Et=null;function Yt(){Et&&(cancelAnimationFrame(Et),Et=null),Ve&&(Ve(),Ve=null)}return function(or){return function(mr){if((mr.type==="FLUSH"||mr.type==="DROP_COMPLETE"||mr.type==="DROP_ANIMATION_FINISHED")&&Yt(),or(mr),mr.type!=="DROP_ANIMATE")return;var Nr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var In=de.getState();In.phase==="DROP_ANIMATING"&&de.dispatch(xn())}};Et=requestAnimationFrame(function(){Et=null,Ve=Te(window,[Nr])})}}},Hi=function(de){return function(){return function(Ve){return function(Et){(Et.type==="DROP_COMPLETE"||Et.type==="FLUSH"||Et.type==="DROP_ANIMATE")&&de.stopPublishing(),Ve(Et)}}}},Xa=function(de){var Ve=!1;return function(){return function(Et){return function(Yt){if(Yt.type==="INITIAL_PUBLISH"){Ve=!0,de.tryRecordFocus(Yt.payload.critical.draggable.id),Et(Yt),de.tryRestoreFocusRecorded();return}if(Et(Yt),!Ve)return;if(Yt.type==="FLUSH"){Ve=!1,de.tryRestoreFocusRecorded();return}if(Yt.type==="DROP_COMPLETE"){Ve=!1;var or=Yt.payload.completed.result;or.combine&&de.tryShiftRecord(or.draggableId,or.combine.draggableId),de.tryRestoreFocusRecorded()}}}}},Da=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},va=function(de){return function(Ve){return function(Et){return function(Yt){if(Da(Yt)){de.stop(),Et(Yt);return}if(Yt.type==="INITIAL_PUBLISH"){Et(Yt);var or=Ve.getState();or.phase==="DRAGGING"||fe(!1),de.start(or);return}Et(Yt),de.scroll(Ve.getState())}}}},Di=function(de){return function(Ve){return function(Et){if(Ve(Et),Et.type!=="PUBLISH_WHILE_DRAGGING")return;var Yt=de.getState();if(Yt.phase!=="DROP_PENDING")return;if(Yt.isWaiting)return;de.dispatch(Zr({reason:Yt.reason}))}}},at=g.d,qt=function(de){var Ve=de.dimensionMarshal,Et=de.focusMarshal,Yt=de.styleMarshal,or=de.getResponders,mr=de.announce,Nr=de.autoScroller;return Object(g.e)(ma,at(Object(g.a)(ti(Yt),Hi(Ve),ui(Ve),Aa,yo,_a,Di,va(Nr),pa,Xa(Et),Ea(or,mr))))},pr=function(){return{additions:{},removals:{},modified:{}}};function ur(ht){var de=ht.registry,Ve=ht.callbacks,Et=pr(),Yt=null,or=function(){if(Yt)return;Ve.collectionStarting(),Yt=requestAnimationFrame(function(){Yt=null,Wi();var Nn=Et,bn=Nn.additions,vn=Nn.removals,Cn=Nn.modified,Yn=Object.keys(bn).map(function(oa){return de.draggable.getById(oa).getDimension(Ze)}).sort(function(oa,na){return oa.descriptor.index-na.descriptor.index}),fi=Object.keys(Cn).map(function(oa){var na=de.droppable.getById(oa),ho=na.callbacks.getScrollWhileDragging();return{droppableId:oa,scroll:ho}}),Pi={additions:Yn,removals:Object.keys(vn),modified:fi};Et=pr(),Ta(),Ve.publish(Pi)})},mr=function(Nn){var bn=Nn.descriptor.id;Et.additions[bn]=Nn,Et.modified[Nn.descriptor.droppableId]=!0,Et.removals[bn]&&delete Et.removals[bn],or()},Nr=function(Nn){var bn=Nn.descriptor;Et.removals[bn.id]=!0,Et.modified[bn.droppableId]=!0,Et.additions[bn.id]&&delete Et.additions[bn.id],or()},Yr=function(){if(!Yt)return;cancelAnimationFrame(Yt),Yt=null,Et=pr()};return{add:mr,remove:Nr,stop:Yr}}var $r=function(de){var Ve=de.scrollHeight,Et=de.scrollWidth,Yt=de.height,or=de.width,mr=ne({x:Et,y:Ve},{x:or,y:Yt}),Nr={x:Math.max(0,mr.x),y:Math.max(0,mr.y)};return Nr},Er=function(){var de=document.documentElement;return de||fe(!1),de},sr=function(){var de=Er(),Ve=$r({scrollHeight:de.scrollHeight,scrollWidth:de.scrollWidth,width:de.clientWidth,height:de.clientHeight});return Ve},dn=function(){var de=ha(),Ve=sr(),Et=de.y,Yt=de.x,or=Er(),mr=or.clientWidth,Nr=or.clientHeight,Yr=Yt+mr,In=Et+Nr,Nn=t({top:Et,left:Yt,right:Yr,bottom:In}),bn={frame:Nn,scroll:{initial:de,current:de,max:Ve,diff:{value:Ze,displacement:Ze}}};return bn},wr=function(de){var Ve=de.critical,Et=de.scrollOptions,Yt=de.registry;Wi();var or=dn(),mr=or.scroll.current,Nr=Ve.droppable,Yr=Yt.droppable.getAllByType(Nr.type).map(function(vn){return vn.callbacks.getDimensionAndWatchScroll(mr,Et)}),In=Yt.draggable.getAllByType(Ve.draggable.type).map(function(vn){return vn.getDimension(mr)}),Nn={draggables:nt(In),droppables:bt(Yr)};Ta();var bn={dimensions:Nn,critical:Ve,viewport:or};return bn};function rn(ht,de,Ve){if(Ve.descriptor.id===de.id)return!1;if(Ve.descriptor.type!==de.type)return!1;var Et=ht.droppable.getById(Ve.descriptor.droppableId);return!(Et.descriptor.mode!=="virtual")}var Fn=function(de,Ve){var Et=null,Yt=ur({callbacks:{publish:Ve.publishWhileDragging,collectionStarting:Ve.collectionStarting},registry:de}),or=function(Yn,fi){if(de.droppable.exists(Yn)||fe(!1),!Et)return;Ve.updateDroppableIsEnabled({id:Yn,isEnabled:fi})},mr=function(Yn,fi){if(!Et)return;de.droppable.exists(Yn)||fe(!1),Ve.updateDroppableIsCombineEnabled({id:Yn,isCombineEnabled:fi})},Nr=function(Yn,fi){if(!Et)return;de.droppable.exists(Yn)||fe(!1),Ve.updateDroppableScroll({id:Yn,newScroll:fi})},Yr=function(Yn,fi){if(!Et)return;de.droppable.getById(Yn).callbacks.scroll(fi)},In=function(){if(!Et)return;Yt.stop();var Yn=Et.critical.droppable;de.droppable.getAllByType(Yn.type).forEach(function(fi){return fi.callbacks.dragStopped()}),Et.unsubscribe(),Et=null},Nn=function(Yn){Et||fe(!1);var fi=Et.critical.draggable;Yn.type==="ADDITION"&&(rn(de,fi,Yn.value)&&Yt.add(Yn.value)),Yn.type==="REMOVAL"&&(rn(de,fi,Yn.value)&&Yt.remove(Yn.value))},bn=function(Yn){Et&&fe(!1);var fi=de.draggable.getById(Yn.draggableId),Pi=de.droppable.getById(fi.descriptor.droppableId),oa={draggable:fi.descriptor,droppable:Pi.descriptor},na=de.subscribe(Nn);return Et={critical:oa,unsubscribe:na},wr({critical:oa,registry:de,scrollOptions:Yn.scrollOptions})},vn={updateDroppableIsEnabled:or,updateDroppableIsCombineEnabled:mr,scrollDroppable:Yr,updateDroppableScroll:Nr,startPublishing:bn,stopPublishing:In};return vn},Bn=function(de,Ve){return de.phase==="IDLE"?!0:de.phase!=="DROP_ANIMATING"||de.completed.result.draggableId===Ve?!1:de.completed.result.reason==="DROP"},Tn=function(de){window.scrollBy(de.x,de.y)},Kn=I(function(ht){return Rt(ht).filter(function(de){return de.isEnabled?!!de.frame:!1})}),Mn=function(de,Ve){var Et=J(Kn(Ve),function(Yt){return Yt.frame||fe(!1),yr(Yt.frame.pageMarginBox)(de)});return Et},Un=function(de){var Ve=de.center,Et=de.destination,Yt=de.droppables;if(Et){var or=Yt[Et];return or.frame?or:null}var mr=Mn(Ve,Yt);return mr},Vn={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(de){return Math.pow(de,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},si=function(de,Ve){var Et=de[Ve.size]*Vn.startFromPercentage,Yt=de[Ve.size]*Vn.maxScrollAtPercentage,or={startScrollingFrom:Et,maxScrollValueAt:Yt};return or},Jn=function(de){var Ve=de.startOfRange,Et=de.endOfRange,Yt=de.current,or=Et-Ve;if(or===0)return 0;var mr=Yt-Ve,Nr=mr/or;return Nr},Ai=1,Ji=function(de,Ve){if(de>Ve.startScrollingFrom)return 0;if(de<=Ve.maxScrollValueAt)return Vn.maxPixelScroll;if(de===Ve.startScrollingFrom)return Ai;var Et=Jn({startOfRange:Ve.maxScrollValueAt,endOfRange:Ve.startScrollingFrom,current:de}),Yt=1-Et,or=Vn.maxPixelScroll*Vn.ease(Yt);return Math.ceil(or)},Oi=Vn.durationDampening.accelerateAt,Mi=Vn.durationDampening.stopDampeningAt,Li=function(de,Ve){var Et=Ve,Yt=Mi,or=Date.now(),mr=or-Et;if(mr>=Mi)return de;if(mr<Oi)return Ai;var Nr=Jn({startOfRange:Oi,endOfRange:Yt,current:mr}),Yr=de*Vn.ease(Nr);return Math.ceil(Yr)},Ki=function(de){var Ve=de.distanceToEdge,Et=de.thresholds,Yt=de.dragStartTime,or=de.shouldUseTimeDampening,mr=Ji(Ve,Et);return mr===0?0:or?Math.max(Li(mr,Yt),Ai):mr},so=function(de){var Ve=de.container,Et=de.distanceToEdges,Yt=de.dragStartTime,or=de.axis,mr=de.shouldUseTimeDampening,Nr=si(Ve,or),Yr=Et[or.end]<Et[or.start];return Yr?Ki({distanceToEdge:Et[or.end],thresholds:Nr,dragStartTime:Yt,shouldUseTimeDampening:mr}):-1*Ki({distanceToEdge:Et[or.start],thresholds:Nr,dragStartTime:Yt,shouldUseTimeDampening:mr})},Pa=function(de){var Ve=de.container,Et=de.subject,Yt=de.proposedScroll,or=Et.height>Ve.height,mr=Et.width>Ve.width;return!mr&&!or?Yt:mr&&or?null:{x:mr?0:Yt.x,y:or?0:Yt.y}},Xi=Me(function(ht){return ht===0?0:ht}),yi=function(de){var Ve=de.dragStartTime,Et=de.container,Yt=de.subject,or=de.center,mr=de.shouldUseTimeDampening,Nr={top:or.y-Et.top,right:Et.right-or.x,bottom:Et.bottom-or.y,left:or.x-Et.left},Yr=so({container:Et,distanceToEdges:Nr,dragStartTime:Ve,axis:Bt,shouldUseTimeDampening:mr}),In=so({container:Et,distanceToEdges:Nr,dragStartTime:Ve,axis:dr,shouldUseTimeDampening:mr}),Nn=Xi({x:In,y:Yr});if(he(Nn,Ze))return null;var bn=Pa({container:Et,subject:Yt,proposedScroll:Nn});return bn?he(bn,Ze)?null:bn:null},Bi=Me(function(ht){return ht===0?0:ht>0?1:-1}),Zi=function(){var ht=function(Ve,Et){return Ve<0?Ve:Ve>Et?Ve-Et:0};return function(de){var Ve=de.current,Et=de.max,Yt=de.change,or=De(Ve,Yt),mr={x:ht(or.x,Et.x),y:ht(or.y,Et.y)};return he(mr,Ze)?null:mr}}(),Fa=function(de){var Ve=de.max,Et=de.current,Yt=de.change,or={x:Math.max(Et.x,Ve.x),y:Math.max(Et.y,Ve.y)},mr=Bi(Yt),Nr=Zi({max:or,current:Et,change:mr});return Nr?mr.x!==0&&Nr.x===0?!0:mr.y!==0&&Nr.y===0:!0},ya=function(de,Ve){return Fa({current:de.scroll.current,max:de.scroll.max,change:Ve})},ja=function(de,Ve){if(!ya(de,Ve))return null;var Et=de.scroll.max,Yt=de.scroll.current;return Zi({current:Yt,max:Et,change:Ve})},Wa=function(de,Ve){var Et=de.frame;return Et?Fa({current:Et.scroll.current,max:Et.scroll.max,change:Ve}):!1},wo=function(de,Ve){var Et=de.frame;return Et&&Wa(de,Ve)?Zi({current:Et.scroll.current,max:Et.scroll.max,change:Ve}):null},Do=function(de){var Ve=de.viewport,Et=de.subject,Yt=de.center,or=de.dragStartTime,mr=de.shouldUseTimeDampening,Nr=yi({dragStartTime:or,container:Ve.frame,subject:Et,center:Yt,shouldUseTimeDampening:mr});return Nr&&ya(Ve,Nr)?Nr:null},es=function(de){var Ve=de.droppable,Et=de.subject,Yt=de.center,or=de.dragStartTime,mr=de.shouldUseTimeDampening,Nr=Ve.frame;if(!Nr)return null;var Yr=yi({dragStartTime:or,container:Nr.pageMarginBox,subject:Et,center:Yt,shouldUseTimeDampening:mr});return Yr&&Wa(Ve,Yr)?Yr:null},To=function(de){var Ve=de.state,Et=de.dragStartTime,Yt=de.shouldUseTimeDampening,or=de.scrollWindow,mr=de.scrollDroppable,Nr=Ve.current.page.borderBoxCenter,Yr=Ve.dimensions.draggables[Ve.critical.draggable.id],In=Yr.page.marginBox;if(Ve.isWindowScrollAllowed){var Nn=Ve.viewport,bn=Do({dragStartTime:Et,viewport:Nn,subject:In,center:Nr,shouldUseTimeDampening:Yt});if(bn){or(bn);return}}var vn=Un({center:Nr,destination:pn(Ve.impact),droppables:Ve.dimensions.droppables});if(!vn)return;var Cn=es({dragStartTime:Et,droppable:vn,subject:In,center:Nr,shouldUseTimeDampening:Yt});Cn&&mr(vn.descriptor.id,Cn)},So=function(de){var Ve=de.scrollWindow,Et=de.scrollDroppable,Yt=F(Ve),or=F(Et),mr=null,Nr=function(bn){mr||fe(!1);var vn=mr,Cn=vn.shouldUseTimeDampening,Yn=vn.dragStartTime;To({state:bn,scrollWindow:Yt,scrollDroppable:or,dragStartTime:Yn,shouldUseTimeDampening:Cn})},Yr=function(bn){Wi(),mr&&fe(!1);var vn=Date.now(),Cn=!1,Yn=function(){Cn=!0};To({state:bn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Yn,scrollDroppable:Yn}),mr={dragStartTime:vn,shouldUseTimeDampening:Cn},Ta(),Cn&&Nr(bn)},In=function(){if(!mr)return;Yt.cancel(),or.cancel(),mr=null};return{start:Yr,stop:In,scroll:Nr}},Ia=function(de){var Ve=de.move,Et=de.scrollDroppable,Yt=de.scrollWindow,or=function(Nn,bn){var vn=De(Nn.current.client.selection,bn);Ve({client:vn})},mr=function(Nn,bn){if(!Wa(Nn,bn))return bn;var vn=wo(Nn,bn);if(!vn)return Et(Nn.descriptor.id,bn),null;var Cn=ne(bn,vn);Et(Nn.descriptor.id,Cn);var Yn=ne(bn,Cn);return Yn},Nr=function(Nn,bn,vn){if(!Nn)return vn;if(!ya(bn,vn))return vn;var Cn=ja(bn,vn);if(!Cn)return Yt(vn),null;var Yn=ne(vn,Cn);Yt(Yn);var fi=ne(vn,Yn);return fi},Yr=function(Nn){var bn=Nn.scrollJumpRequest;if(!bn)return;var vn=pn(Nn.impact);vn||fe(!1);var Cn=mr(Nn.dimensions.droppables[vn],bn);if(!Cn)return;var Yn=Nn.viewport,fi=Nr(Nn.isWindowScrollAllowed,Yn,Cn);if(!fi)return;or(Nn,fi)};return Yr},Ua=function(de){var Ve=de.scrollDroppable,Et=de.scrollWindow,Yt=de.move,or=So({scrollWindow:Et,scrollDroppable:Ve}),mr=Ia({move:Yt,scrollWindow:Et,scrollDroppable:Ve}),Nr=function(Nn){if(Nn.phase!=="DRAGGING")return;if(Nn.movementMode==="FLUID"){or.scroll(Nn);return}if(!Nn.scrollJumpRequest)return;mr(Nn)},Yr={scroll:Nr,start:or.start,stop:or.stop};return Yr},aa="data-rbd",lo=function(){var ht=aa+"-drag-handle";return{base:ht,draggableId:ht+"-draggable-id",contextId:ht+"-context-id"}}(),Qo=function(){var ht=aa+"-draggable";return{base:ht,contextId:ht+"-context-id",id:ht+"-id"}}(),ro=function(){var ht=aa+"-droppable";return{base:ht,contextId:ht+"-context-id",id:ht+"-id"}}(),us={contextId:aa+"-scroll-container-context-id"},co=function(de){return function(Ve){return"["+Ve+'="'+de+'"]'}},go=function(de,Ve){return de.map(function(Et){var Yt=Et.styles[Ve];return Yt?Et.selector+" { "+Yt+" }":""}).join(" ")},$o="pointer-events: none;",Io=function(de){var Ve=co(de),Et=function(){var Yr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ve(lo.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:Yr,dragging:$o,dropAnimating:Yr}}}(),Yt=function(){var Yr=`
|
|
|
transition: `+vi.outOfTheWay+`;
|
|
|
`;return{selector:Ve(Qo.contextId),styles:{dragging:Yr,dropAnimating:Yr,userCancel:Yr}}}(),or={selector:Ve(ro.contextId),styles:{always:"overflow-anchor: none;"}},mr={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;
|
|
|
`}},Nr=[Yt,Et,or,mr];return{always:go(Nr,"always"),resting:go(Nr,"resting"),dragging:go(Nr,"dragging"),dropAnimating:go(Nr,"dropAnimating"),userCancel:go(Nr,"userCancel")}},Bo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?A.useLayoutEffect:A.useEffect,Wr=function(){var de=document.querySelector("head");return de||fe(!1),de},hi=function(de){var Ve=document.createElement("style");return de&&Ve.setAttribute("nonce",de),Ve.type="text/css",Ve};function Ds(ht,de){var Ve=n(function(){return Io(ht)},[ht]),Et=Object(A.useRef)(null),Yt=Object(A.useRef)(null),or=i(I(function(bn){var vn=Yt.current;vn||fe(!1),vn.textContent=bn}),[]),mr=i(function(bn){var vn=Et.current;vn||fe(!1),vn.textContent=bn},[]);Bo(function(){!Et.current&&!Yt.current||fe(!1);var bn=hi(de),vn=hi(de);return Et.current=bn,Yt.current=vn,bn.setAttribute(aa+"-always",ht),vn.setAttribute(aa+"-dynamic",ht),Wr().appendChild(bn),Wr().appendChild(vn),mr(Ve.always),or(Ve.resting),function(){var Cn=function(fi){var Pi=fi.current;Pi||fe(!1),Wr().removeChild(Pi),fi.current=null};Cn(Et),Cn(Yt)}},[de,mr,or,Ve.always,Ve.resting,ht]);var Nr=i(function(){return or(Ve.dragging)},[or,Ve.dragging]),Yr=i(function(bn){if(bn==="DROP"){or(Ve.dropAnimating);return}or(Ve.userCancel)},[or,Ve.dropAnimating,Ve.userCancel]),In=i(function(){if(!Yt.current)return;or(Ve.resting)},[or,Ve.resting]),Nn=n(function(){return{dragging:Nr,dropping:Yr,resting:In}},[Nr,Yr,In]);return Nn}var ds=function(de){return de&&de.ownerDocument?de.ownerDocument.defaultView:window};function ts(ht){return ht instanceof ds(ht).HTMLElement}function Ro(ht,de){var Ve="["+lo.contextId+'="'+ht+'"]',Et=St(document.querySelectorAll(Ve));if(!Et.length)return null;var Yt=J(Et,function(or){return or.getAttribute(lo.draggableId)===de});return Yt&&ts(Yt)?Yt:null}function is(ht){var de=Object(A.useRef)({}),Ve=Object(A.useRef)(null),Et=Object(A.useRef)(null),Yt=Object(A.useRef)(!1),or=i(function(vn,Cn){var Yn={id:vn,focus:Cn};return de.current[vn]=Yn,function(){var Pi=de.current,oa=Pi[vn];oa!==Yn&&delete Pi[vn]}},[]),mr=i(function(vn){var Cn=Ro(ht,vn);Cn&&Cn!==document.activeElement&&Cn.focus()},[ht]),Nr=i(function(vn,Cn){Ve.current===vn&&(Ve.current=Cn)},[]),Yr=i(function(){if(Et.current)return;if(!Yt.current)return;Et.current=requestAnimationFrame(function(){Et.current=null;var vn=Ve.current;vn&&mr(vn)})},[mr]),In=i(function(vn){Ve.current=null;var Cn=document.activeElement;if(!Cn)return;if(Cn.getAttribute(lo.draggableId)!==vn)return;Ve.current=vn},[]);Bo(function(){return Yt.current=!0,function(){Yt.current=!1;var vn=Et.current;vn&&cancelAnimationFrame(vn)}},[]);var Nn=n(function(){return{register:or,tryRecordFocus:In,tryRestoreFocusRecorded:Yr,tryShiftRecord:Nr}},[or,In,Yr,Nr]);return Nn}function vs(){var ht={draggables:{},droppables:{}},de=[];function Ve(bn){return de.push(bn),function(){var Cn=de.indexOf(bn);if(Cn===-1)return;de.splice(Cn,1)}}function Et(bn){de.length&&de.forEach(function(vn){return vn(bn)})}function Yt(bn){return ht.draggables[bn]||null}function or(bn){var vn=Yt(bn);return vn||fe(!1),vn}var mr={register:function(vn){ht.draggables[vn.descriptor.id]=vn,Et({type:"ADDITION",value:vn})},update:function(vn,Cn){var Yn=ht.draggables[Cn.descriptor.id];if(!Yn)return;if(Yn.uniqueId!==vn.uniqueId)return;delete ht.draggables[Cn.descriptor.id],ht.draggables[vn.descriptor.id]=vn},unregister:function(vn){var Cn=vn.descriptor.id,Yn=Yt(Cn);if(!Yn)return;if(vn.uniqueId!==Yn.uniqueId)return;delete ht.draggables[Cn],Et({type:"REMOVAL",value:vn})},getById:or,findById:Yt,exists:function(vn){return Boolean(Yt(vn))},getAllByType:function(vn){return Pe(ht.draggables).filter(function(Cn){return Cn.descriptor.type===vn})}};function Nr(bn){return ht.droppables[bn]||null}function Yr(bn){var vn=Nr(bn);return vn||fe(!1),vn}var In={register:function(vn){ht.droppables[vn.descriptor.id]=vn},unregister:function(vn){var Cn=Nr(vn.descriptor.id);if(!Cn)return;if(vn.uniqueId!==Cn.uniqueId)return;delete ht.droppables[vn.descriptor.id]},getById:Yr,findById:Nr,exists:function(vn){return Boolean(Nr(vn))},getAllByType:function(vn){return Pe(ht.droppables).filter(function(Cn){return Cn.descriptor.type===vn})}};function Nn(){ht.draggables={},ht.droppables={},de.length=0}return{draggable:mr,droppable:In,subscribe:Ve,clean:Nn}}function Yo(){var ht=n(vs,[]);return Object(A.useEffect)(function(){return function(){requestAnimationFrame(ht.clean)}},[ht]),ht}var Vo=f.a.createContext(null),rs=function(){var de=document.body;return de||fe(!1),de},hs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},as=function(de){return"rbd-announcement-"+de};function io(ht){var de=n(function(){return as(ht)},[ht]),Ve=Object(A.useRef)(null);Object(A.useEffect)(function(){var or=document.createElement("div");return Ve.current=or,or.id=de,or.setAttribute("aria-live","assertive"),or.setAttribute("aria-atomic","true"),Object(m.a)(or.style,hs),rs().appendChild(or),function(){setTimeout(function(){var Yr=rs();Yr.contains(or)&&Yr.removeChild(or),or===Ve.current&&(Ve.current=null)})}},[de]);var Et=i(function(Yt){var or=Ve.current;if(or){or.textContent=Yt;return}},[]);return Et}var Ga=0,Xo={separator:"::"};function Ho(){Ga=0}function Ra(ht,de){return de===void 0&&(de=Xo),n(function(){return""+ht+de.separator+Ga++},[de.separator,ht])}function Oo(ht){var de=ht.contextId,Ve=ht.uniqueId;return"rbd-hidden-text-"+de+"-"+Ve}function xs(ht){var de=ht.contextId,Ve=ht.text,Et=Ra("hidden-text",{separator:"-"}),Yt=n(function(){return Oo({contextId:de,uniqueId:Et})},[Et,de]);return Object(A.useEffect)(function(){var mr=document.createElement("div");return mr.id=Yt,mr.textContent=Ve,mr.style.display="none",rs().appendChild(mr),function(){var Yr=rs();Yr.contains(mr)&&Yr.removeChild(mr)}},[Yt,Ve]),Yt}var Po=f.a.createContext(null),Zo={react:"^16.8.5","react-dom":"^16.8.5"},Vt=/(\d+)\.(\d+)\.(\d+)/,re=function(de){var Ve=Vt.exec(de);Ve!=null||fe(!1);var Et=Number(Ve[1]),Yt=Number(Ve[2]),or=Number(Ve[3]);return{major:Et,minor:Yt,patch:or,raw:de}},ve=function(de,Ve){return Ve.major>de.major?!0:Ve.major<de.major?!1:Ve.minor>de.minor?!0:Ve.minor<de.minor?!1:Ve.patch>=de.patch},Se=function(de,Ve){var Et=re(de),Yt=re(Ve);if(ve(Et,Yt))return},We=`
|
|
|
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
|
|
|
`,xt=function(de){var Ve=de.doctype;if(!Ve)return;Ve.name.toLowerCase()!=="html",Ve.publicId!==""};function Qt(ht){}function Or(ht,de){Qt(function(){Object(A.useEffect)(function(){try{ht()}catch(Ve){ie(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Ve.message+`
|
|
|
`)}},de)})}function Ur(){Or(function(){Se(Zo.react,f.a.version),xt(document)},[])}function on(ht){var de=Object(A.useRef)(ht);return Object(A.useEffect)(function(){de.current=ht}),de}function Dn(){var ht=null;function de(){return Boolean(ht)}function Ve(mr){return mr===ht}function Et(mr){ht&&fe(!1);var Nr={abandon:mr};return ht=Nr,Nr}function Yt(){ht||fe(!1),ht=null}function or(){ht&&(ht.abandon(),Yt())}return{isClaimed:de,isActive:Ve,claim:Et,release:Yt,tryAbandon:or}}var Hn=9,jn=13,ri=27,wi=32,Gi=33,xa=34,no=35,uo=36,Ja=37,Go=38,_o=39,xo=40,Na,Ha=(Na={},Na[jn]=!0,Na[Hn]=!0,Na),ns=function(de){Ha[de.keyCode]&&de.preventDefault()},ps=function(){var ht="visibilitychange";if(typeof document=="undefined")return ht;var de=[ht,"ms"+ht,"webkit"+ht,"moz"+ht,"o"+ht],Ve=J(de,function(Et){return"on"+Et in document});return Ve||ht}(),Wo=0,Cs=5;function Ts(ht,de){return Math.abs(de.x-ht.x)>=Cs||Math.abs(de.y-ht.y)>=Cs}var Os={type:"IDLE"};function Mo(ht){var de=ht.cancel,Ve=ht.completed,Et=ht.getPhase,Yt=ht.setPhase;return[{eventName:"mousemove",fn:function(mr){var Nr=mr.button,Yr=mr.clientX,In=mr.clientY;if(Nr!==Wo)return;var Nn={x:Yr,y:In},bn=Et();if(bn.type==="DRAGGING"){mr.preventDefault(),bn.actions.move(Nn);return}bn.type==="PENDING"||fe(!1);var vn=bn.point;if(!Ts(vn,Nn))return;mr.preventDefault();var Cn=bn.actions.fluidLift(Nn);Yt({type:"DRAGGING",actions:Cn})}},{eventName:"mouseup",fn:function(mr){var Nr=Et();if(Nr.type!=="DRAGGING"){de();return}mr.preventDefault(),Nr.actions.drop({shouldBlockNextClick:!0}),Ve()}},{eventName:"mousedown",fn:function(mr){Et().type==="DRAGGING"&&mr.preventDefault(),de()}},{eventName:"keydown",fn:function(mr){var Nr=Et();if(Nr.type==="PENDING"){de();return}if(mr.keyCode===ri){mr.preventDefault(),de();return}ns(mr)}},{eventName:"resize",fn:de},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Et().type==="PENDING"&&de()}},{eventName:"webkitmouseforcedown",fn:function(mr){var Nr=Et();if(Nr.type!=="IDLE"||fe(!1),Nr.actions.shouldRespectForcePress()){de();return}mr.preventDefault()}},{eventName:ps,fn:de}]}function Ps(ht){var de=Object(A.useRef)(Os),Ve=Object(A.useRef)(be),Et=n(function(){return{eventName:"mousedown",fn:function(bn){if(bn.defaultPrevented)return;if(bn.button!==Wo)return;if(bn.ctrlKey||bn.metaKey||bn.shiftKey||bn.altKey)return;var vn=ht.findClosestDraggableId(bn);if(!vn)return;var Cn=ht.tryGetLock(vn,mr,{sourceEvent:bn});if(!Cn)return;bn.preventDefault();var Yn={x:bn.clientX,y:bn.clientY};Ve.current(),In(Cn,Yn)}}},[ht]),Yt=n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(bn){if(bn.defaultPrevented)return;var vn=ht.findClosestDraggableId(bn);if(!vn)return;var Cn=ht.findOptionsForDraggable(vn);if(!Cn)return;if(Cn.shouldRespectForcePress)return;if(!ht.canGetLock(vn))return;bn.preventDefault()}}},[ht]),or=i(function(){var bn={passive:!1,capture:!0};Ve.current=Te(window,[Yt,Et],bn)},[Yt,Et]),mr=i(function(){var Nn=de.current;if(Nn.type==="IDLE")return;de.current=Os,Ve.current(),or()},[or]),Nr=i(function(){var Nn=de.current;mr(),Nn.type==="DRAGGING"&&Nn.actions.cancel({shouldBlockNextClick:!0}),Nn.type==="PENDING"&&Nn.actions.abort()},[mr]),Yr=i(function(){var bn={capture:!0,passive:!1},vn=Mo({cancel:Nr,completed:mr,getPhase:function(){return de.current},setPhase:function(Yn){de.current=Yn}});Ve.current=Te(window,vn,bn)},[Nr,mr]),In=i(function(bn,vn){de.current.type==="IDLE"||fe(!1),de.current={type:"PENDING",point:vn,actions:bn},Yr()},[Yr]);Bo(function(){return or(),function(){Ve.current()}},[or])}var ms;function wl(){}var El=(ms={},ms[xa]=!0,ms[Gi]=!0,ms[uo]=!0,ms[no]=!0,ms);function Qs(ht,de){function Ve(){de(),ht.cancel()}function Et(){de(),ht.drop()}return[{eventName:"keydown",fn:function(or){if(or.keyCode===ri){or.preventDefault(),Ve();return}if(or.keyCode===wi){or.preventDefault(),Et();return}if(or.keyCode===xo){or.preventDefault(),ht.moveDown();return}if(or.keyCode===Go){or.preventDefault(),ht.moveUp();return}if(or.keyCode===_o){or.preventDefault(),ht.moveRight();return}if(or.keyCode===Ja){or.preventDefault(),ht.moveLeft();return}if(El[or.keyCode]){or.preventDefault();return}ns(or)}},{eventName:"mousedown",fn:Ve},{eventName:"mouseup",fn:Ve},{eventName:"click",fn:Ve},{eventName:"touchstart",fn:Ve},{eventName:"resize",fn:Ve},{eventName:"wheel",fn:Ve,options:{passive:!0}},{eventName:ps,fn:Ve}]}function os(ht){var de=Object(A.useRef)(wl),Ve=n(function(){return{eventName:"keydown",fn:function(or){if(or.defaultPrevented)return;if(or.keyCode!==wi)return;var mr=ht.findClosestDraggableId(or);if(!mr)return;var Nr=ht.tryGetLock(mr,Nn,{sourceEvent:or});if(!Nr)return;or.preventDefault();var Yr=!0,In=Nr.snapLift();de.current();function Nn(){Yr||fe(!1),Yr=!1,de.current(),Et()}de.current=Te(window,Qs(In,Nn),{capture:!0,passive:!1})}}},[ht]),Et=i(function(){var or={passive:!1,capture:!0};de.current=Te(window,[Ve],or)},[Ve]);Bo(function(){return Et(),function(){de.current()}},[Et])}var Qi={type:"IDLE"},nl=120,sl=.15;function po(ht){var de=ht.cancel,Ve=ht.getPhase;return[{eventName:"orientationchange",fn:de},{eventName:"resize",fn:de},{eventName:"contextmenu",fn:function(Yt){Yt.preventDefault()}},{eventName:"keydown",fn:function(Yt){if(Ve().type!=="DRAGGING"){de();return}Yt.keyCode===ri&&Yt.preventDefault(),de()}},{eventName:ps,fn:de}]}function Ca(ht){var de=ht.cancel,Ve=ht.completed,Et=ht.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(or){var mr=Et();if(mr.type!=="DRAGGING"){de();return}mr.hasMoved=!0;var Nr=or.touches[0],Yr=Nr.clientX,In=Nr.clientY,Nn={x:Yr,y:In};or.preventDefault(),mr.actions.move(Nn)}},{eventName:"touchend",fn:function(or){var mr=Et();if(mr.type!=="DRAGGING"){de();return}or.preventDefault(),mr.actions.drop({shouldBlockNextClick:!0}),Ve()}},{eventName:"touchcancel",fn:function(or){if(Et().type!=="DRAGGING"){de();return}or.preventDefault(),de()}},{eventName:"touchforcechange",fn:function(or){var mr=Et();mr.type!=="IDLE"||fe(!1);var Nr=or.touches[0];if(!Nr)return;var Yr=Nr.force>=sl;if(!Yr)return;var In=mr.actions.shouldRespectForcePress();if(mr.type==="PENDING"){In&&de();return}if(In){if(mr.hasMoved){or.preventDefault();return}de();return}or.preventDefault()}},{eventName:ps,fn:de}]}function Eo(ht){var de=Object(A.useRef)(Qi),Ve=Object(A.useRef)(be),Et=i(function(){return de.current},[]),Yt=i(function(Cn){de.current=Cn},[]),or=n(function(){return{eventName:"touchstart",fn:function(Cn){if(Cn.defaultPrevented)return;var Yn=ht.findClosestDraggableId(Cn);if(!Yn)return;var fi=ht.tryGetLock(Yn,Nr,{sourceEvent:Cn});if(!fi)return;var Pi=Cn.touches[0],oa=Pi.clientX,na=Pi.clientY,ho={x:oa,y:na};Ve.current(),bn(fi,ho)}}},[ht]),mr=i(function(){var Cn={capture:!0,passive:!1};Ve.current=Te(window,[or],Cn)},[or]),Nr=i(function(){var vn=de.current;if(vn.type==="IDLE")return;vn.type==="PENDING"&&clearTimeout(vn.longPressTimerId),Yt(Qi),Ve.current(),mr()},[mr,Yt]),Yr=i(function(){var vn=de.current;Nr(),vn.type==="DRAGGING"&&vn.actions.cancel({shouldBlockNextClick:!0}),vn.type==="PENDING"&&vn.actions.abort()},[Nr]),In=i(function(){var Cn={capture:!0,passive:!1},Yn={cancel:Yr,completed:Nr,getPhase:Et},fi=Te(window,Ca(Yn),Cn),Pi=Te(window,po(Yn),Cn);Ve.current=function(){fi(),Pi()}},[Yr,Et,Nr]),Nn=i(function(){var Cn=Et();Cn.type==="PENDING"||fe(!1);var Yn=Cn.actions.fluidLift(Cn.point);Yt({type:"DRAGGING",actions:Yn,hasMoved:!1})},[Et,Yt]),bn=i(function(Cn,Yn){Et().type==="IDLE"||fe(!1);var fi=setTimeout(Nn,nl);Yt({type:"PENDING",point:Yn,actions:Cn,longPressTimerId:fi}),In()},[In,Et,Yt,Nn]);Bo(function(){return mr(),function(){Ve.current();var Yn=Et();Yn.type==="PENDING"&&(clearTimeout(Yn.longPressTimerId),Yt(Qi))}},[Et,mr,Yt]),Bo(function(){var Cn=Te(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Cn},[])}function ko(ht){Qt(function(){var de=on(ht);Or(function(){de.current.length===ht.length||fe(!1)})})}var Ko={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ao(ht,de){if(de==null)return!1;var Ve=Boolean(Ko[de.tagName.toLowerCase()]);if(Ve)return!0;var Et=de.getAttribute("contenteditable");return Et==="true"||Et===""?!0:de===ht?!1:Ao(ht,de.parentElement)}function ss(ht,de){var Ve=de.target;return ts(Ve)?Ao(ht,Ve):!1}var ys=function(de){return t(de.getBoundingClientRect()).center};function Rs(ht){return ht instanceof ds(ht).Element}var Us=function(){var ht="matches";if(typeof document=="undefined")return ht;var de=[ht,"msMatchesSelector","webkitMatchesSelector"],Ve=J(de,function(Et){return Et in Element.prototype});return Ve||ht}();function Ws(ht,de){return ht==null?null:ht[Us](de)?ht:Ws(ht.parentElement,de)}function hl(ht,de){return ht.closest?ht.closest(de):Ws(ht,de)}function ll(ht){return"["+lo.contextId+'="'+ht+'"]'}function zl(ht,de){var Ve=de.target;if(!Rs(Ve))return null;var Et=ll(ht),Yt=hl(Ve,Et);return Yt&&ts(Yt)?Yt:null}function pu(ht,de){var Ve=zl(ht,de);return Ve?Ve.getAttribute(lo.draggableId):null}function Bl(ht,de){var Ve="["+Qo.contextId+'="'+ht+'"]',Et=St(document.querySelectorAll(Ve)),Yt=J(Et,function(or){return or.getAttribute(Qo.id)===de});return Yt&&ts(Yt)?Yt:null}function Pl(ht){ht.preventDefault()}function ul(ht){var de=ht.expected,Ve=ht.phase,Et=ht.isLockActive,Yt=ht.shouldWarn;return Et()?!(de!==Ve):!1}function Cl(ht){var de=ht.lockAPI,Ve=ht.store,Et=ht.registry,Yt=ht.draggableId;if(de.isClaimed())return!1;var or=Et.draggable.findById(Yt);return or&&or.options.isEnabled?!!Bn(Ve.getState(),Yt):!1}function Tl(ht){var de=ht.lockAPI,Ve=ht.contextId,Et=ht.store,Yt=ht.registry,or=ht.draggableId,mr=ht.forceSensorStop,Nr=ht.sourceEvent,Yr=Cl({lockAPI:de,store:Et,registry:Yt,draggableId:or});if(!Yr)return null;var In=Yt.draggable.getById(or),Nn=Bl(Ve,In.descriptor.id);if(!Nn)return null;if(Nr&&!In.options.canDragInteractiveElements&&ss(Nn,Nr))return null;var bn=de.claim(mr||be),vn="PRE_DRAG";function Cn(){return In.options.shouldRespectForcePress}function Yn(){return de.isActive(bn)}function fi(Co,mo){ul({expected:Co,phase:vn,isLockActive:Yn,shouldWarn:!0})&&Et.dispatch(mo())}var Pi=fi.bind(null,"DRAGGING");function oa(Co){function mo(){de.release(),vn="COMPLETED"}vn!=="PRE_DRAG"&&(mo(),vn==="PRE_DRAG"||fe(!1)),Et.dispatch(nr(Co.liftActionArgs)),vn="DRAGGING";function ws(L,D){if(D===void 0&&(D={shouldBlockNextClick:!1}),Co.cleanup(),D.shouldBlockNextClick){var Q=Te(window,[{eventName:"click",fn:Pl,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Q)}mo(),Et.dispatch(Zr({reason:L}))}return Object(m.a)({isActive:function(){return ul({expected:"DRAGGING",phase:vn,isLockActive:Yn,shouldWarn:!1})},shouldRespectForcePress:Cn,drop:function(D){return ws("DROP",D)},cancel:function(D){return ws("CANCEL",D)}},Co.actions)}function na(Co){var mo=F(function(L){Pi(function(){return Ot({client:L})})}),ws=oa({liftActionArgs:{id:or,clientSelection:Co,movementMode:"FLUID"},cleanup:function(){return mo.cancel()},actions:{move:mo}});return Object(m.a)({},ws,{move:mo})}function ho(){var Co={moveUp:function(){return Pi(Cr)},moveRight:function(){return Pi(cn)},moveDown:function(){return Pi(Hr)},moveLeft:function(){return Pi(Qr)}};return oa({liftActionArgs:{id:or,clientSelection:ys(Nn),movementMode:"SNAP"},cleanup:be,actions:Co})}function ea(){var Co=ul({expected:"PRE_DRAG",phase:vn,isLockActive:Yn,shouldWarn:!0});Co&&de.release()}var Lo={isActive:function(){return ul({expected:"PRE_DRAG",phase:vn,isLockActive:Yn,shouldWarn:!1})},shouldRespectForcePress:Cn,fluidLift:na,snapLift:ho,abort:ea};return Lo}var Sl=[Ps,os,Eo];function mu(ht){var de=ht.contextId,Ve=ht.store,Et=ht.registry,Yt=ht.customSensors,or=ht.enableDefaultSensors,mr=[].concat(or?Sl:[],Yt||[]),Nr=Object(A.useState)(function(){return Dn()})[0],Yr=i(function(na,ho){na.isDragging&&!ho.isDragging&&Nr.tryAbandon()},[Nr]);Bo(function(){var na=Ve.getState(),ho=Ve.subscribe(function(){var ea=Ve.getState();Yr(na,ea),na=ea});return ho},[Nr,Ve,Yr]),Bo(function(){return Nr.tryAbandon},[Nr.tryAbandon]);var In=i(function(oa){return Cl({lockAPI:Nr,registry:Et,store:Ve,draggableId:oa})},[Nr,Et,Ve]),Nn=i(function(oa,na,ho){return Tl({lockAPI:Nr,registry:Et,contextId:de,store:Ve,draggableId:oa,forceSensorStop:na,sourceEvent:ho&&ho.sourceEvent?ho.sourceEvent:null})},[de,Nr,Et,Ve]),bn=i(function(oa){return pu(de,oa)},[de]),vn=i(function(oa){var na=Et.draggable.findById(oa);return na?na.options:null},[Et.draggable]),Cn=i(function(){if(!Nr.isClaimed())return;Nr.tryAbandon(),Ve.getState().phase!=="IDLE"&&Ve.dispatch(gt())},[Nr,Ve]),Yn=i(Nr.isClaimed,[Nr]),fi=n(function(){return{canGetLock:In,tryGetLock:Nn,findClosestDraggableId:bn,findOptionsForDraggable:vn,tryReleaseLock:Cn,isLockClaimed:Yn}},[In,Nn,bn,vn,Cn,Yn]);ko(mr);for(var Pi=0;Pi<mr.length;Pi++)mr[Pi](fi)}var gu=function(de){return{onBeforeCapture:de.onBeforeCapture,onBeforeDragStart:de.onBeforeDragStart,onDragStart:de.onDragStart,onDragEnd:de.onDragEnd,onDragUpdate:de.onDragUpdate}};function js(ht){return ht.current||fe(!1),ht.current}function fl(ht){var de=ht.contextId,Ve=ht.setCallbacks,Et=ht.sensors,Yt=ht.nonce,or=ht.dragHandleUsageInstructions,mr=Object(A.useRef)(null);Ur();var Nr=on(ht),Yr=i(function(){return gu(Nr.current)},[Nr]),In=io(de),Nn=xs({contextId:de,text:or}),bn=Ds(de,Yt),vn=i(function(L){js(mr).dispatch(L)},[]),Cn=n(function(){return Object(g.b)({publishWhileDragging:er,updateDroppableScroll:Dr,updateDroppableIsEnabled:Vr,updateDroppableIsCombineEnabled:an,collectionStarting:hr},vn)},[vn]),Yn=Yo(),fi=n(function(){return Fn(Yn,Cn)},[Yn,Cn]),Pi=n(function(){return Ua(Object(m.a)({scrollWindow:Tn,scrollDroppable:fi.scrollDroppable},Object(g.b)({move:Ot},vn)))},[fi.scrollDroppable,vn]),oa=is(de),na=n(function(){return qt({announce:In,autoScroller:Pi,dimensionMarshal:fi,focusMarshal:oa,getResponders:Yr,styleMarshal:bn})},[In,Pi,fi,oa,Yr,bn]);mr.current=na;var ho=i(function(){var L=js(mr),D=L.getState();D.phase!=="IDLE"&&L.dispatch(gt())},[]),ea=i(function(){var L=js(mr).getState();return L.isDragging||L.phase==="DROP_ANIMATING"},[]),Lo=n(function(){return{isDragging:ea,tryAbort:ho}},[ea,ho]);Ve(Lo);var Co=i(function(L){return Bn(js(mr).getState(),L)},[]),mo=i(function(){return $t(js(mr).getState())},[]),ws=n(function(){return{marshal:fi,focus:oa,contextId:de,canLift:Co,isMovementAllowed:mo,dragHandleUsageInstructionsId:Nn,registry:Yn}},[de,fi,Nn,oa,Co,mo,Yn]);return mu({contextId:de,store:na,registry:Yn,customSensors:Et,enableDefaultSensors:ht.enableDefaultSensors!==!1}),Object(A.useEffect)(function(){return ho},[ho]),f.a.createElement(Po.Provider,{value:ws},f.a.createElement(p.a,{context:Vo,store:na},ht.children))}var Ol=0;function Au(){Ol=0}function vu(){return n(function(){return""+Ol++},[])}function nu(){Au(),Ho()}function yu(ht){var de=vu(),Ve=ht.dragHandleUsageInstructions||Re.dragHandleUsageInstructions;return f.a.createElement(He,null,function(Et){return f.a.createElement(fl,{nonce:ht.nonce,contextId:de,setCallbacks:Et,dragHandleUsageInstructions:Ve,enableDefaultSensors:ht.enableDefaultSensors,sensors:ht.sensors,onBeforeCapture:ht.onBeforeCapture,onBeforeDragStart:ht.onBeforeDragStart,onDragStart:ht.onDragStart,onDragUpdate:ht.onDragUpdate,onDragEnd:ht.onDragEnd},ht.children)})}var _l=function(de){return function(Ve){return de===Ve}},Hs=_l("scroll"),Vl=_l("auto"),iu=_l("visible"),Xl=function(de,Ve){return Ve(de.overflowX)||Ve(de.overflowY)},bu=function(de,Ve){return Ve(de.overflowX)&&Ve(de.overflowY)},Gl=function(de){var Ve=window.getComputedStyle(de),Et={overflowX:Ve.overflowX,overflowY:Ve.overflowY};return Xl(Et,Hs)||Xl(Et,Vl)},au=function(){return!1;var de,Ve;if(!Gl(de))return!1;var Et,Yt;if(bu(Yt,iu))return!1},Ll=function ht(de){return de==null?null:de===document.body?au()?de:null:de===document.documentElement?null:Gl(de)?de:ht(de.parentElement)},ou=function(de){if(!de)return;var Ve=Ll(de.parentElement);if(!Ve)return},Ul=function(de){return{x:de.scrollLeft,y:de.scrollTop}},wu=function ht(de){if(!de)return!1;var Ve=window.getComputedStyle(de);return Ve.position==="fixed"?!0:ht(de.parentElement)},il=function(de){var Ve=Ll(de),Et=wu(de);return{closestScrollable:Ve,isFixedOnPage:Et}},Il=function(de){var Ve=de.descriptor,Et=de.isEnabled,Yt=de.isCombineEnabled,or=de.isFixedOnPage,mr=de.direction,Nr=de.client,Yr=de.page,In=de.closest,Nn=function(){if(!In)return null;var Yn=In.scrollSize,fi=In.client,Pi=$r({scrollHeight:Yn.scrollHeight,scrollWidth:Yn.scrollWidth,height:fi.paddingBox.height,width:fi.paddingBox.width});return{pageMarginBox:In.page.marginBox,frameClient:fi,scrollSize:Yn,shouldClipSubject:In.shouldClipSubject,scroll:{initial:In.scroll,current:In.scroll,max:Pi,diff:{value:Ze,displacement:Ze}}}}(),bn=mr==="vertical"?Bt:dr,vn=Ue({page:Yr,withPlaceholder:null,axis:bn,frame:Nn}),Cn={descriptor:Ve,isCombineEnabled:Yt,isFixedOnPage:or,axis:bn,isEnabled:Et,client:Nr,page:Yr,frame:Nn,subject:vn};return Cn},xl=function(de,Ve){var Et=O(de);if(!Ve)return Et;if(de!==Ve)return Et;var Yt=Et.paddingBox.top-Ve.scrollTop,or=Et.paddingBox.left-Ve.scrollLeft,mr=Yt+Ve.scrollHeight,Nr=or+Ve.scrollWidth,Yr={top:Yt,right:Nr,bottom:mr,left:or},In=l(Yr,Et.border),Nn=h({borderBox:In,margin:Et.margin,border:Et.border,padding:Et.padding});return Nn},Nl=function(de){var Ve=de.ref,Et=de.descriptor,Yt=de.env,or=de.windowScroll,mr=de.direction,Nr=de.isDropDisabled,Yr=de.isCombineEnabled,In=de.shouldClipSubject,Nn=Yt.closestScrollable,bn=xl(Ve,Nn),vn=v(bn,or),Cn=function(){if(!Nn)return null;var fi=O(Nn),Pi={scrollHeight:Nn.scrollHeight,scrollWidth:Nn.scrollWidth};return{client:fi,page:v(fi,or),scroll:Ul(Nn),scrollSize:Pi,shouldClipSubject:In}}(),Yn=Il({descriptor:Et,isEnabled:!Nr,isCombineEnabled:Yr,isFixedOnPage:Yt.isFixedOnPage,direction:mr,client:bn,page:vn,closest:Cn});return Yn},al={passive:!1},Nu={passive:!0},zs=function(de){return de.shouldPublishImmediately?al:Nu};function $s(ht){var de=Object(A.useContext)(ht);return de||fe(!1),de}var jl=function(de){return de&&de.env.closestScrollable||null};function Su(ht){var de=Object(A.useRef)(null),Ve=$s(Po),Et=Ra("droppable"),Yt=Ve.registry,or=Ve.marshal,mr=on(ht),Nr=n(function(){return{id:ht.droppableId,type:ht.type,mode:ht.mode}},[ht.droppableId,ht.mode,ht.type]),Yr=Object(A.useRef)(Nr),In=n(function(){return I(function(ea,Lo){de.current||fe(!1);var Co={x:ea,y:Lo};or.updateDroppableScroll(Nr.id,Co)})},[Nr.id,or]),Nn=i(function(){var ea=de.current;return!ea||!ea.env.closestScrollable?Ze:Ul(ea.env.closestScrollable)},[]),bn=i(function(){var ea=Nn();In(ea.x,ea.y)},[Nn,In]),vn=n(function(){return F(bn)},[bn]),Cn=i(function(){var ea=de.current,Lo=jl(ea);ea&&Lo||fe(!1);var Co=ea.scrollOptions;if(Co.shouldPublishImmediately){bn();return}vn()},[vn,bn]),Yn=i(function(ea,Lo){de.current&&fe(!1);var Co=mr.current,mo=Co.getDroppableRef();mo||fe(!1);var ws=il(mo),L={ref:mo,descriptor:Nr,env:ws,scrollOptions:Lo};de.current=L;var D=Nl({ref:mo,descriptor:Nr,env:ws,windowScroll:ea,direction:Co.direction,isDropDisabled:Co.isDropDisabled,isCombineEnabled:Co.isCombineEnabled,shouldClipSubject:!Co.ignoreContainerClipping}),Q=ws.closestScrollable;return Q&&(Q.setAttribute(us.contextId,Ve.contextId),Q.addEventListener("scroll",Cn,zs(L.scrollOptions))),D},[Ve.contextId,Nr,Cn,mr]),fi=i(function(){var ea=de.current,Lo=jl(ea);return ea&&Lo||fe(!1),Ul(Lo)},[]),Pi=i(function(){var ea=de.current;ea||fe(!1);var Lo=jl(ea);if(de.current=null,!Lo)return;vn.cancel(),Lo.removeAttribute(us.contextId),Lo.removeEventListener("scroll",Cn,zs(ea.scrollOptions))},[Cn,vn]),oa=i(function(ea){var Lo=de.current;Lo||fe(!1);var Co=jl(Lo);Co||fe(!1),Co.scrollTop+=ea.y,Co.scrollLeft+=ea.x},[]),na=n(function(){return{getDimensionAndWatchScroll:Yn,getScrollWhileDragging:fi,dragStopped:Pi,scroll:oa}},[Pi,Yn,fi,oa]),ho=n(function(){return{uniqueId:Et,descriptor:Nr,callbacks:na}},[na,Nr,Et]);Bo(function(){return Yr.current=ho.descriptor,Yt.droppable.register(ho),function(){de.current&&Pi(),Yt.droppable.unregister(ho)}},[na,Nr,Pi,ho,or,Yt.droppable]),Bo(function(){if(!de.current)return;or.updateDroppableIsEnabled(Yr.current.id,!ht.isDropDisabled)},[ht.isDropDisabled,or]),Bo(function(){if(!de.current)return;or.updateDroppableIsCombineEnabled(Yr.current.id,ht.isCombineEnabled)},[ht.isCombineEnabled,or])}function Ql(){}var pl={width:0,height:0,margin:jt},Js=function(de){var Ve=de.isAnimatingOpenOnMount,Et=de.placeholder,Yt=de.animate;return Ve||Yt==="close"?pl:{height:Et.client.borderBox.height,width:Et.client.borderBox.width,margin:Et.client.margin}},Yl=function(de){var Ve=de.isAnimatingOpenOnMount,Et=de.placeholder,Yt=de.animate,or=Js({isAnimatingOpenOnMount:Ve,placeholder:Et,animate:Yt});return{display:Et.display,boxSizing:"border-box",width:or.width,height:or.height,marginTop:or.margin.top,marginRight:or.margin.right,marginBottom:or.margin.bottom,marginLeft:or.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Yt!=="none"?vi.placeholder:null}};function su(ht){var de=Object(A.useRef)(null),Ve=i(function(){if(!de.current)return;clearTimeout(de.current),de.current=null},[]),Et=ht.animate,Yt=ht.onTransitionEnd,or=ht.onClose,mr=ht.contextId,Nr=Object(A.useState)(ht.animate==="open"),Yr=Nr[0],In=Nr[1];Object(A.useEffect)(function(){return Yr?Et!=="open"?(Ve(),In(!1),Ql):de.current?Ql:(de.current=setTimeout(function(){de.current=null,In(!1)}),Ve):Ql},[Et,Yr,Ve]);var Nn=i(function(vn){if(vn.propertyName!=="height")return;Yt(),Et==="close"&&or()},[Et,or,Yt]),bn=Yl({isAnimatingOpenOnMount:Yr,animate:ht.animate,placeholder:ht.placeholder});return f.a.createElement(ht.placeholder.tagName,{style:bn,"data-rbd-placeholder-context-id":mr,onTransitionEnd:Nn,ref:ht.innerRef})}var lu=f.a.memo(su),uu=f.a.createContext(null);function ml(ht){ht&&ts(ht)||fe(!1)}function Hl(ht){return typeof ht=="boolean"}function Dl(ht,de){de.forEach(function(Ve){return Ve(ht)})}var Kl=[function(de){var Ve=de.props;Ve.droppableId||fe(!1),typeof Ve.droppableId=="string"||fe(!1)},function(de){var Ve=de.props;Hl(Ve.isDropDisabled)||fe(!1),Hl(Ve.isCombineEnabled)||fe(!1),Hl(Ve.ignoreContainerClipping)||fe(!1)},function(de){var Ve=de.getDroppableRef;ml(Ve())}],Es=[function(de){var Ve=de.props,Et=de.getPlaceholderRef;if(!Ve.placeholder)return;var Yt=Et();if(Yt)return}],Wl=[function(de){var Ve=de.props;Ve.renderClone||fe(!1)},function(de){var Ve=de.getPlaceholderRef;Ve()&&fe(!1)}];function Du(ht){Or(function(){Dl(ht,Kl),ht.props.mode==="standard"&&Dl(ht,Es),ht.props.mode==="virtual"&&Dl(ht,Wl)})}var bo=function(ht){Object(x.a)(de,ht);function de(){for(var Et,Yt=arguments.length,or=new Array(Yt),mr=0;mr<Yt;mr++)or[mr]=arguments[mr];return Et=ht.call.apply(ht,[this].concat(or))||this,Et.state={isVisible:Boolean(Et.props.on),data:Et.props.on,animate:Et.props.shouldAnimate&&Et.props.on?"open":"none"},Et.onClose=function(){if(Et.state.animate!=="close")return;Et.setState({isVisible:!1})},Et}de.getDerivedStateFromProps=function(Yt,or){return Yt.shouldAnimate?Yt.on?{isVisible:!0,data:Yt.on,animate:"open"}:or.isVisible?{isVisible:!0,data:or.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Yt.on),data:Yt.on,animate:"none"}};var Ve=de.prototype;return Ve.render=function(){if(!this.state.isVisible)return null;var Yt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Yt)},de}(f.a.PureComponent),ua={dragging:5e3,dropAnimating:4500},eo=function(de,Ve){return Ve?vi.drop(Ve.duration):de?vi.snap:vi.fluid},No=function(de,Ve){return de?Ve?$n.opacity.drop:$n.opacity.combining:null},bs=function(de){return de.forceShouldAnimate!=null?de.forceShouldAnimate:de.mode==="SNAP"};function gl(ht){var de=ht.dimension,Ve=de.client,Et=ht.offset,Yt=ht.combineWith,or=ht.dropping,mr=Boolean(Yt),Nr=bs(ht),Yr=Boolean(or),In=Yr?Ei.drop(Et,mr):Ei.moveTo(Et),Nn={position:"fixed",top:Ve.marginBox.top,left:Ve.marginBox.left,boxSizing:"border-box",width:Ve.borderBox.width,height:Ve.borderBox.height,transition:eo(Nr,or),transform:In,opacity:No(mr,Yr),zIndex:Yr?ua.dropAnimating:ua.dragging,pointerEvents:"none"};return Nn}function cl(ht){return{transform:Ei.moveTo(ht.offset),transition:ht.shouldAnimateDisplacement?null:"none"}}function Ys(ht){return ht.type==="DRAGGING"?gl(ht):cl(ht)}function el(ht,de,Ve){Ve===void 0&&(Ve=Ze);var Et=window.getComputedStyle(de),Yt=de.getBoundingClientRect(),or=w(Yt,Et),mr=v(or,Ve),Nr={client:or,tagName:de.tagName.toLowerCase(),display:Et.display},Yr={x:or.marginBox.width,y:or.marginBox.height},In={descriptor:ht,placeholder:Nr,displaceBy:Yr,client:or,page:mr};return In}function dl(ht){var de=Ra("draggable"),Ve=ht.descriptor,Et=ht.registry,Yt=ht.getDraggableRef,or=ht.canDragInteractiveElements,mr=ht.shouldRespectForcePress,Nr=ht.isEnabled,Yr=n(function(){return{canDragInteractiveElements:or,shouldRespectForcePress:mr,isEnabled:Nr}},[or,Nr,mr]),In=i(function(Cn){var Yn=Yt();return Yn||fe(!1),el(Ve,Yn,Cn)},[Ve,Yt]),Nn=n(function(){return{uniqueId:de,descriptor:Ve,options:Yr,getDimension:In}},[Ve,In,Yr,de]),bn=Object(A.useRef)(Nn),vn=Object(A.useRef)(!0);Bo(function(){return Et.draggable.register(bn.current),function(){return Et.draggable.unregister(bn.current)}},[Et.draggable]),Bo(function(){if(vn.current){vn.current=!1;return}var Cn=bn.current;bn.current=Nn,Et.draggable.update(Nn,Cn)},[Nn,Et.draggable])}function Al(ht,de,Ve){Or(function(){function Et(or){return"Draggable[id: "+or+"]: "}var Yt=ht.draggableId;if(Yt||fe(!1),typeof Yt=="string"||fe(!1),Y(ht.index)||fe(!1),ht.mapped.type==="DRAGGING")return;ml(Ve()),ht.isEnabled&&(Ro(de,Yt)||fe(!1))})}function Ls(ht){Qt(function(){var de=Object(A.useRef)(ht);Or(function(){ht===de.current||fe(!1)},[ht])})}function Zl(ht){ht.preventDefault()}function Ku(ht){var de=Object(A.useRef)(null),Ve=i(function(L){de.current=L},[]),Et=i(function(){return de.current},[]),Yt=$s(Po),or=Yt.contextId,mr=Yt.dragHandleUsageInstructionsId,Nr=Yt.registry,Yr=$s(uu),In=Yr.type,Nn=Yr.droppableId,bn=n(function(){return{id:ht.draggableId,index:ht.index,type:In,droppableId:Nn}},[ht.draggableId,ht.index,In,Nn]),vn=ht.children,Cn=ht.draggableId,Yn=ht.isEnabled,fi=ht.shouldRespectForcePress,Pi=ht.canDragInteractiveElements,oa=ht.isClone,na=ht.mapped,ho=ht.dropAnimationFinished;if(Al(ht,or,Et),Ls(oa),!oa){var ea=n(function(){return{descriptor:bn,registry:Nr,getDraggableRef:Et,canDragInteractiveElements:Pi,shouldRespectForcePress:fi,isEnabled:Yn}},[bn,Nr,Et,Pi,fi,Yn]);dl(ea)}var Lo=n(function(){return Yn?{tabIndex:0,role:"button","aria-describedby":mr,"data-rbd-drag-handle-draggable-id":Cn,"data-rbd-drag-handle-context-id":or,draggable:!1,onDragStart:Zl}:null},[or,mr,Cn,Yn]),Co=i(function(L){if(na.type!=="DRAGGING")return;if(!na.dropping)return;if(L.propertyName!=="transform")return;ho()},[ho,na]),mo=n(function(){var L=Ys(na),D=na.type==="DRAGGING"&&na.dropping?Co:null,Q={innerRef:Ve,draggableProps:{"data-rbd-draggable-context-id":or,"data-rbd-draggable-id":Cn,style:L,onTransitionEnd:D},dragHandleProps:Lo};return Q},[or,Lo,Cn,na,Co,Ve]),ws=n(function(){return{draggableId:bn.id,type:bn.type,source:{index:bn.index,droppableId:bn.droppableId}}},[bn.droppableId,bn.id,bn.index,bn.type]);return vn(mo,na.snapshot,ws)}var cu=function(de,Ve){return de===Ve},Wu=function(de){var Ve=de.combine,Et=de.destination;return Et?Et.droppableId:Ve?Ve.droppableId:null},Qu=function(de){return de.combine?de.combine.draggableId:null},Yu=function(de){return de.at&&de.at.type==="COMBINE"?de.at.combine.draggableId:null};function Zu(){var ht=I(function(Yt,or){return{x:Yt,y:or}}),de=I(function(Yt,or,mr,Nr,Yr){return{isDragging:!0,isClone:or,isDropAnimating:Boolean(Yr),dropAnimation:Yr,mode:Yt,draggingOver:mr,combineWith:Nr,combineTargetFor:null}}),Ve=I(function(Yt,or,mr,Nr,Yr,In,Nn){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Yr,combineWith:In,mode:or,offset:Yt,dimension:mr,forceShouldAnimate:Nn,snapshot:de(or,Nr,Yr,In,null)}}}),Et=function(or,mr){if(or.isDragging){if(or.critical.draggable.id!==mr.draggableId)return null;var Nr=or.current.client.offset,Yr=or.dimensions.draggables[mr.draggableId],In=pn(or.impact),Nn=Yu(or.impact),bn=or.forceShouldAnimate;return Ve(ht(Nr.x,Nr.y),or.movementMode,Yr,mr.isClone,In,Nn,bn)}if(or.phase==="DROP_ANIMATING"){var vn=or.completed;if(vn.result.draggableId!==mr.draggableId)return null;var Cn=mr.isClone,Yn=or.dimensions.draggables[mr.draggableId],fi=vn.result,Pi=fi.mode,oa=Wu(fi),na=Qu(fi),ho=or.dropDuration,ea={duration:ho,curve:Qn.drop,moveTo:or.newHomeClientOffset,opacity:na?$n.opacity.drop:null,scale:na?$n.scale.drop:null};return{mapped:{type:"DRAGGING",offset:or.newHomeClientOffset,dimension:Yn,dropping:ea,draggingOver:oa,combineWith:na,mode:Pi,forceShouldAnimate:null,snapshot:de(Pi,Cn,oa,na,ea)}}}return null};return Et}function ql(ht){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ht,combineWith:null}}var xu={mapped:{type:"SECONDARY",offset:Ze,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ql(null)}};function qu(){var ht=I(function(mr,Nr){return{x:mr,y:Nr}}),de=I(ql),Ve=I(function(mr,Nr,Yr){return Nr===void 0&&(Nr=null),{mapped:{type:"SECONDARY",offset:mr,combineTargetFor:Nr,shouldAnimateDisplacement:Yr,snapshot:de(Nr)}}}),Et=function(Nr){return Nr?Ve(Ze,Nr,!0):null},Yt=function(Nr,Yr,In,Nn){var bn=In.displaced.visible[Nr],vn=Boolean(Nn.inVirtualList&&Nn.effected[Nr]),Cn=ge(In),Yn=Cn&&Cn.draggableId===Nr?Yr:null;if(!bn){if(!vn)return Et(Yn);if(In.displaced.invisible[Nr])return null;var fi=pe(Nn.displacedBy.point),Pi=ht(fi.x,fi.y);return Ve(Pi,Yn,!0)}if(vn)return Et(Yn);var oa=In.displacedBy.point,na=ht(oa.x,oa.y);return Ve(na,Yn,bn.shouldAnimate)},or=function(Nr,Yr){if(Nr.isDragging)return Nr.critical.draggable.id===Yr.draggableId?null:Yt(Yr.draggableId,Nr.critical.draggable.id,Nr.impact,Nr.afterCritical);if(Nr.phase==="DROP_ANIMATING"){var In=Nr.completed;return In.result.draggableId===Yr.draggableId?null:Yt(Yr.draggableId,In.result.draggableId,In.impact,In.afterCritical)}return null};return or}var Ru=function(){var de=Zu(),Ve=qu(),Et=function(or,mr){return de(or,mr)||Ve(or,mr)||xu};return Et},du={dropAnimationFinished:xn},Mu=Object(p.c)(Ru,du,null,{context:Vo,pure:!0,areStatePropsEqual:cu})(Ku);function ku(ht){var de=$s(uu),Ve=de.isUsingCloneFor;return Ve===ht.draggableId&&!ht.isClone?null:f.a.createElement(Mu,ht)}function Fu(ht){var de=typeof ht.isDragDisabled=="boolean"?!ht.isDragDisabled:!0,Ve=Boolean(ht.disableInteractiveElementBlocking),Et=Boolean(ht.shouldRespectForcePress);return f.a.createElement(ku,Object(m.a)({},ht,{isClone:!1,isEnabled:de,canDragInteractiveElements:Ve,shouldRespectForcePress:Et}))}function $l(ht){var de=Object(A.useContext)(Po);de||fe(!1);var Ve=de.contextId,Et=de.isMovementAllowed,Yt=Object(A.useRef)(null),or=Object(A.useRef)(null),mr=ht.children,Nr=ht.droppableId,Yr=ht.type,In=ht.mode,Nn=ht.direction,bn=ht.ignoreContainerClipping,vn=ht.isDropDisabled,Cn=ht.isCombineEnabled,Yn=ht.snapshot,fi=ht.useClone,Pi=ht.updateViewportMaxScroll,oa=ht.getContainerForClone,na=i(function(){return Yt.current},[]),ho=i(function(Z){Yt.current=Z},[]),ea=i(function(){return or.current},[]),Lo=i(function(Z){or.current=Z},[]);Du({props:ht,getDroppableRef:na,getPlaceholderRef:ea});var Co=i(function(){Et()&&Pi({maxScroll:sr()})},[Et,Pi]);Su({droppableId:Nr,type:Yr,mode:In,direction:Nn,isDropDisabled:vn,isCombineEnabled:Cn,ignoreContainerClipping:bn,getDroppableRef:na});var mo=f.a.createElement(bo,{on:ht.placeholder,shouldAnimate:ht.shouldAnimatePlaceholder},function(Z){var ee=Z.onClose,ke=Z.data,yt=Z.animate;return f.a.createElement(lu,{placeholder:ke,onClose:ee,innerRef:Lo,animate:yt,contextId:Ve,onTransitionEnd:Co})}),ws=n(function(){return{innerRef:ho,placeholder:mo,droppableProps:{"data-rbd-droppable-id":Nr,"data-rbd-droppable-context-id":Ve}}},[Ve,Nr,mo,ho]),L=fi?fi.dragging.draggableId:null,D=n(function(){return{droppableId:Nr,type:Yr,isUsingCloneFor:L}},[Nr,L,Yr]);function Q(){if(!fi)return null;var Z=fi.dragging,ee=fi.render,ke=f.a.createElement(ku,{draggableId:Z.draggableId,index:Z.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(yt,Pt){return ee(yt,Pt,Z)});return j.a.createPortal(ke,oa())}return f.a.createElement(uu.Provider,{value:D},mr(ws,Yn),Q())}var Eu=function(de,Ve){return de===Ve.droppable.type},Jl=function(de,Ve){return Ve.draggables[de.draggable.id]},zu=function(){var de={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ve=Object(m.a)({},de,{shouldAnimatePlaceholder:!1}),Et=I(function(mr){return{draggableId:mr.id,type:mr.type,source:{index:mr.index,droppableId:mr.droppableId}}}),Yt=I(function(mr,Nr,Yr,In,Nn,bn){var vn=Nn.descriptor.id,Cn=Nn.descriptor.droppableId===mr;if(Cn){var Yn=bn?{render:bn,dragging:Et(Nn.descriptor)}:null,fi={isDraggingOver:Yr,draggingOverWith:Yr?vn:null,draggingFromThisWith:vn,isUsingPlaceholder:!0};return{placeholder:Nn.placeholder,shouldAnimatePlaceholder:!1,snapshot:fi,useClone:Yn}}if(!Nr)return Ve;if(!In)return de;var Pi={isDraggingOver:Yr,draggingOverWith:vn,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Nn.placeholder,shouldAnimatePlaceholder:!0,snapshot:Pi,useClone:null}}),or=function(Nr,Yr){var In=Yr.droppableId,Nn=Yr.type,bn=!Yr.isDropDisabled,vn=Yr.renderClone;if(Nr.isDragging){var Cn=Nr.critical;if(!Eu(Nn,Cn))return Ve;var Yn=Jl(Cn,Nr.dimensions),fi=pn(Nr.impact)===In;return Yt(In,bn,fi,fi,Yn,vn)}if(Nr.phase==="DROP_ANIMATING"){var Pi=Nr.completed;if(!Eu(Nn,Pi.critical))return Ve;var oa=Jl(Pi.critical,Nr.dimensions);return Yt(In,bn,Wu(Pi.result)===In,pn(Pi.impact)===In,oa,vn)}if(Nr.phase==="IDLE"&&Nr.completed&&!Nr.shouldFlush){var na=Nr.completed;if(!Eu(Nn,na.critical))return Ve;var ho=pn(na.impact)===In,ea=Boolean(na.impact.at&&na.impact.at.type==="COMBINE"),Lo=na.critical.droppable.id===In;return ho?ea?de:Ve:Lo?de:Ve}return Ve};return or},$u={updateViewportMaxScroll:vr};function Ju(){return document.body||fe(!1),document.body}var gs={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ju},eu=Object(p.c)(zu,$u,null,{context:Vo,pure:!0,areStatePropsEqual:cu})($l);eu.defaultProps=gs},ni6a:function(R,N,e){var A=e("pzxd"),f=e("mFDi"),x=e("gut8"),m=x.WILL_BE_RESTORED,g=new f,p=function(){};p.prototype={constructor:p,drawRectText:function(a,n){var i=this.style;n=i.textRect||n,this.__dirty&&A.normalizeTextStyle(i,!0);var d=i.text;if(d!=null&&(d+=""),!A.needDrawText(d,i))return;a.save();var t=this.transform;i.transformText?this.setTransform(a):t&&(g.copy(n),g.applyTransform(t),n=g),A.renderText(this,a,d,i,n,m),a.restore()}};var c=p;R.exports=c},nkfE:function(R,N,e){var A=e("bYtY"),f=e("ca2m"),x=e("bLfw"),m=e("+TT/"),g=m.getLayoutParams,p=m.mergeLayoutParam,c=e("jkPA"),s=["value","category","time","log"];function a(n,i,d,t){A.each(s,function(l){i.extend({type:n+"Axis."+l,mergeDefaultAndTheme:function(r,o){var u=this.layoutMode,h=u?g(r):{},y=o.getTheme();A.merge(r,y.get(l+"Axis")),A.merge(r,this.getDefaultOption()),r.type=d(n,r),u&&p(r,h,u)},optionUpdated:function(){var r=this.option;r.type==="category"&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(r){var o=this.option;if(o.type==="category")return r?o.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:A.mergeAll([{},f[l+"Axis"],t],!0)})}),x.registerSubTypeDefaulter(n+"Axis",A.curry(d,n))}R.exports=a},noeP:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("UOVi");A.registerAction("dataZoom",function(m,g){var p=x.createLinkedNodesFinder(f.bind(g.eachComponent,g,"dataZoom"),x.eachAxisDim,function(s,a){return s.get(a.axisIndex)}),c=[];g.eachComponent({mainType:"dataZoom",query:m},function(s,a){c.push.apply(c,p(s).nodes)}),f.each(c,function(s,a){s.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},"o/2+":function(R,N,e){"use strict";var A=e("q1tI"),f=e.n(A),x=Object(A.createContext)({});N.a=x},o40c:function(R,N,e){var A=e("IwbS"),f=e("OS9S"),x=e("loD1"),m=e("aKvl"),g=A.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(a,n){var i=n.segs,d=n.curveness;if(n.polyline)for(var t=0;t<i.length;){var l=i[t++];if(l>0){a.moveTo(i[t++],i[t++]);for(var r=1;r<l;r++)a.lineTo(i[t++],i[t++])}}else for(var t=0;t<i.length;){var o=i[t++],u=i[t++],h=i[t++],y=i[t++];if(a.moveTo(o,u),d>0){var b=(o+h)/2-(u-y)*d,E=(u+y)/2-(h-o)*d;a.quadraticCurveTo(b,E,h,y)}else a.lineTo(h,y)}},findDataIndex:function(a,n){var i=this.shape,d=i.segs,t=i.curveness;if(i.polyline)for(var l=0,r=0;r<d.length;){var o=d[r++];if(o>0)for(var u=d[r++],h=d[r++],y=1;y<o;y++){var b=d[r++],E=d[r++];if(x.containStroke(u,h,b,E))return l}l++}else for(var l=0,r=0;r<d.length;){var u=d[r++],h=d[r++],b=d[r++],E=d[r++];if(t>0){var v=(u+b)/2-(h-E)*t,w=(h+E)/2-(b-u)*t;if(m.containStroke(u,h,v,w,b,E))return l}else if(x.containStroke(u,h,b,E))return l;l++}return-1}});function p(){this.group=new A.Group}var c=p.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(a){this.group.removeAll();var n=new g({rectHover:!0,cursor:"default"});n.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(n,a),this.group.add(n),this._incremental=null},c.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(a,n){var i=new g;i.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(i,n,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=a.start,this.group.add(i))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(a,n,i){var d=n.hostModel;a.setShape({polyline:d.get("polyline"),curveness:d.get("lineStyle.curveness")}),a.useStyle(d.getModel("lineStyle").getLineStyle()),a.style.strokeNoScale=!0;var t=n.getVisual("color");t&&a.setStyle("stroke",t),a.setStyle("fill"),i||(a.seriesIndex=d.seriesIndex,a.on("mousemove",function(l){a.dataIndex=null;var r=a.findDataIndex(l.offsetX,l.offsetY);r>0&&(a.dataIndex=r+a.__startIndex)}))},c._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var s=p;R.exports=s},oBaM:function(R,N,e){var A=e("T4UG"),f=e("5GtS"),x=e("bYtY"),m=e("7aKB"),g=m.encodeHTML,p=e("xKMd"),c=A.extend({type:"series.radar",dependencies:["radar"],init:function(a){c.superApply(this,"init",arguments),this.legendVisualProvider=new p(x.bind(this.getData,this),x.bind(this.getRawData,this))},getInitialData:function(a,n){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(a){var n=this.getData(),i=this.coordinateSystem,d=i.getIndicatorAxes(),t=this.getData().getName(a);return g(t===""?this.name:t)+"<br/>"+x.map(d,function(l,r){var o=n.get(n.mapDimension(l.dim),a);return g(l.name+" : "+o)}).join("<br />")},getTooltipPosition:function(a){if(a!=null){for(var n=this.getData(),i=this.coordinateSystem,d=n.getValues(x.map(i.dimensions,function(o){return n.mapDimension(o)}),a,!0),t=0,l=d.length;t<l;t++)if(!isNaN(d[t])){var r=i.getIndicatorAxes();return i.coordToPoint(r[t].dataToCoord(d[t]),t)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),s=c;R.exports=s},oE7X:function(R,N,e){var A=e("bLfw");A.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(R,N,e){},oVpE:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("mFDi"),m=e("6GrX"),g=m.calculateTextPosition,p=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(o,u){var h=u.cx,y=u.cy,b=u.width/2,E=u.height/2;o.moveTo(h,y-E),o.lineTo(h+b,y+E),o.lineTo(h-b,y+E),o.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(o,u){var h=u.cx,y=u.cy,b=u.width/2,E=u.height/2;o.moveTo(h,y-E),o.lineTo(h+b,y),o.lineTo(h,y+E),o.lineTo(h-b,y),o.closePath()}}),s=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(o,u){var h=u.x,y=u.y,b=u.width/5*3,E=Math.max(b,u.height),v=b/2,w=v*v/(E-v),O=y-E+v+w,T=Math.asin(w/v),S=Math.cos(T)*v,C=Math.sin(T),_=Math.cos(T),I=v*.6,k=v*.7;o.moveTo(h-S,O+w),o.arc(h,O,v,Math.PI-T,Math.PI*2+T),o.bezierCurveTo(h+S-C*I,O+w+_*I,h,y-k,h,y),o.bezierCurveTo(h,y-k,h-S+C*I,O+w+_*I,h-S,O+w),o.closePath()}}),a=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(o,u){var h=u.height,y=u.width,b=u.x,E=u.y,v=y/3*2;o.moveTo(b,E),o.lineTo(b+v,E+h),o.lineTo(b,E+h/4*3),o.lineTo(b-v,E+h),o.lineTo(b,E),o.closePath()}}),n={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:c,pin:s,arrow:a,triangle:p},i={line:function(o,u,h,y,b){b.x1=o,b.y1=u+y/2,b.x2=o+h,b.y2=u+y/2},rect:function(o,u,h,y,b){b.x=o,b.y=u,b.width=h,b.height=y},roundRect:function(o,u,h,y,b){b.x=o,b.y=u,b.width=h,b.height=y,b.r=Math.min(h,y)/4},square:function(o,u,h,y,b){var E=Math.min(h,y);b.x=o,b.y=u,b.width=E,b.height=E},circle:function(o,u,h,y,b){b.cx=o+h/2,b.cy=u+y/2,b.r=Math.min(h,y)/2},diamond:function(o,u,h,y,b){b.cx=o+h/2,b.cy=u+y/2,b.width=h,b.height=y},pin:function(o,u,h,y,b){b.x=o+h/2,b.y=u+y/2,b.width=h,b.height=y},arrow:function(o,u,h,y,b){b.x=o+h/2,b.y=u+y/2,b.width=h,b.height=y},triangle:function(o,u,h,y,b){b.cx=o+h/2,b.cy=u+y/2,b.width=h,b.height=y}},d={};A.each(n,function(o,u){d[u]=new o});var t=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(o,u,h){var y=g(o,u,h),b=this.shape;return b&&b.symbolType==="pin"&&u.textPosition==="inside"&&(y.y=h.y+h.height*.4),y},buildPath:function(o,u,h){var y=u.symbolType;if(y!=="none"){var b=d[y];b||(y="rect",b=d[y]),i[y](u.x,u.y,u.width,u.height,b.shape),b.buildPath(o,b.shape,h)}}});function l(o,u){if(this.type!=="image"){var h=this.style,y=this.shape;y&&y.symbolType==="line"?h.stroke=o:this.__isEmptyBrush?(h.stroke=o,h.fill=u||"#fff"):(h.fill&&(h.fill=o),h.stroke&&(h.stroke=o)),this.dirty(!1)}}function r(o,u,h,y,b,E,v){var w=o.indexOf("empty")===0;w&&(o=o.substr(5,1).toLowerCase()+o.substr(6));var O;return o.indexOf("image://")===0?O=f.makeImage(o.slice(8),new x(u,h,y,b),v?"center":"cover"):o.indexOf("path://")===0?O=f.makePath(o.slice(7),{},new x(u,h,y,b),v?"center":"cover"):O=new t({shape:{symbolType:o,x:u,y:h,width:y,height:b}}),O.__isEmptyBrush=w,O.setColor=l,O.setColor(E),O}N.createSymbol=r},oY9F:function(R,N,e){var A=e("OlYY"),f=A.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});R.exports=f},osHv:function(R,N,e){(function(A){A(e("VrN/"))})(function(A){"use strict";var f=A.Pos;function x(u,h){return u.line-h.line||u.ch-h.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",g=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",p=new RegExp("<(/?)(["+m+"]["+g+"]*)","g");function c(u,h,y,b){this.line=h,this.ch=y,this.cm=u,this.text=u.getLine(h),this.min=b?Math.max(b.from,u.firstLine()):u.firstLine(),this.max=b?Math.min(b.to-1,u.lastLine()):u.lastLine()}function s(u,h){var y=u.cm.getTokenTypeAt(f(u.line,h));return y&&/\btag\b/.test(y)}function a(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function n(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function i(u){for(;;){var h=u.text.indexOf(">",u.ch);if(h==-1){if(a(u))continue;return}if(!s(u,h+1)){u.ch=h+1;continue}var y=u.text.lastIndexOf("/",h),b=y>-1&&!/\S/.test(u.text.slice(y+1,h));return u.ch=h+1,b?"selfClose":"regular"}}function d(u){for(;;){var h=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(h==-1){if(n(u))continue;return}if(!s(u,h+1)){u.ch=h;continue}p.lastIndex=h,u.ch=h;var y=p.exec(u.text);if(y&&y.index==h)return y}}function t(u){for(;;){p.lastIndex=u.ch;var h=p.exec(u.text);if(!h){if(a(u))continue;return}if(!s(u,h.index+1)){u.ch=h.index+1;continue}return u.ch=h.index+h[0].length,h}}function l(u){for(;;){var h=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(h==-1){if(n(u))continue;return}if(!s(u,h+1)){u.ch=h;continue}var y=u.text.lastIndexOf("/",h),b=y>-1&&!/\S/.test(u.text.slice(y+1,h));return u.ch=h+1,b?"selfClose":"regular"}}function r(u,h){for(var y=[];;){var b=t(u),E,v=u.line,w=u.ch-(b?b[0].length:0);if(!b||!(E=i(u)))return;if(E=="selfClose")continue;if(b[1]){for(var O=y.length-1;O>=0;--O)if(y[O]==b[2]){y.length=O;break}if(O<0&&(!h||h==b[2]))return{tag:b[2],from:f(v,w),to:f(u.line,u.ch)}}else y.push(b[2])}}function o(u,h){for(var y=[];;){var b=l(u);if(!b)return;if(b=="selfClose"){d(u);continue}var E=u.line,v=u.ch,w=d(u);if(!w)return;if(w[1])y.push(w[2]);else{for(var O=y.length-1;O>=0;--O)if(y[O]==w[2]){y.length=O;break}if(O<0&&(!h||h==w[2]))return{tag:w[2],from:f(u.line,u.ch),to:f(E,v)}}}}A.registerHelper("fold","xml",function(u,h){for(var y=new c(u,h.line,0);;){var b=t(y);if(!b||y.line!=h.line)return;var E=i(y);if(!E)return;if(!b[1]&&E!="selfClose"){var v=f(y.line,y.ch),w=r(y,b[2]);return w&&x(w.from,v)>0?{from:v,to:w.from}:null}}}),A.findMatchingTag=function(u,h,y){var b=new c(u,h.line,h.ch,y);if(b.text.indexOf(">")==-1&&b.text.indexOf("<")==-1)return;var E=i(b),v=E&&f(b.line,b.ch),w=E&&d(b);if(!E||!w||x(b,h)>0)return;var O={from:f(b.line,b.ch),to:v,tag:w[2]};return E=="selfClose"?{open:O,close:null,at:"open"}:w[1]?{open:o(b,w[2]),close:O,at:"close"}:(b=new c(u,v.line,v.ch,y),{open:O,close:r(b,w[2]),at:"open"})},A.findEnclosingTag=function(u,h,y,b){for(var E=new c(u,h.line,h.ch,y);;){var v=o(E,b);if(!v)break;var w=new c(u,h.line,h.ch,y),O=r(w,v.tag);if(O)return{open:v,close:O}}},A.scanForClosingTag=function(u,h,y,b){var E=new c(u,h.line,h.ch,b?{from:0,to:b}:null);return r(E,y)}})},ozfa:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("KxFI"),m=e.n(x)},"p+If":function(R,N,e){var A=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),x=e("7ph2");A.registerLayout(f),A.registerVisual(x)},"p/La":function(R,N){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function A(f,x){f==="china"&&x.name==="\u53F0\u6E7E"&&x.geometries.push({type:"polygon",exterior:e[0]})}R.exports=A},p1MT:function(R,N,e){var A=e("Hw7h"),f=e("IwbS"),x=e("6Ic6"),m=e("OELB"),g=m.parsePercent,p=m.round,c=m.linearMap;function s(t,l){var r=t.get("center"),o=l.getWidth(),u=l.getHeight(),h=Math.min(o,u),y=g(r[0],l.getWidth()),b=g(r[1],l.getHeight()),E=g(t.get("radius"),h/2);return{cx:y,cy:b,r:E}}function a(t,l){return l&&(typeof l=="string"?t=l.replace("{value}",t!=null?t:""):typeof l=="function"&&(t=l(t))),t}var n=Math.PI*2,i=x.extend({type:"gauge",render:function(t,l,r){this.group.removeAll();var o=t.get("axisLine.lineStyle.color"),u=s(t,r);this._renderMain(t,l,r,o,u)},dispose:function(){},_renderMain:function(t,l,r,o,u){for(var h=this.group,y=t.getModel("axisLine"),b=y.getModel("lineStyle"),E=t.get("clockwise"),v=-t.get("startAngle")/180*Math.PI,w=-t.get("endAngle")/180*Math.PI,O=(w-v)%n,T=v,S=b.get("width"),C=y.get("show"),_=0;C&&_<o.length;_++){var I=Math.min(Math.max(o[_][0],0),1),w=v+O*I,k=new f.Sector({shape:{startAngle:T,endAngle:w,cx:u.cx,cy:u.cy,clockwise:E,r0:u.r-S,r:u.r},silent:!0});k.setStyle({fill:o[_][1]}),k.setStyle(b.getLineStyle(["color","borderWidth","borderColor"])),h.add(k),T=w}var F=function(j){if(j<=0)return o[0][1];for(var z=0;z<o.length;z++)if(o[z][0]>=j&&(z===0?0:o[z-1][0])<j)return o[z][1];return o[z-1][1]};if(!E){var B=v;v=w,w=B}this._renderTicks(t,l,r,F,u,v,w,E),this._renderPointer(t,l,r,F,u,v,w,E),this._renderTitle(t,l,r,F,u),this._renderDetail(t,l,r,F,u)},_renderTicks:function(t,l,r,o,u,h,y,b){for(var E=this.group,v=u.cx,w=u.cy,O=u.r,T=+t.get("min"),S=+t.get("max"),C=t.getModel("splitLine"),_=t.getModel("axisTick"),I=t.getModel("axisLabel"),k=t.get("splitNumber"),F=_.get("splitNumber"),B=g(C.get("length"),O),j=g(_.get("length"),O),z=h,M=(y-h)/k,U=M/F,P=C.getModel("lineStyle").getLineStyle(),H=_.getModel("lineStyle").getLineStyle(),W=0;W<=k;W++){var X=Math.cos(z),K=Math.sin(z);if(C.get("show")){var $=new f.Line({shape:{x1:X*O+v,y1:K*O+w,x2:X*(O-B)+v,y2:K*(O-B)+w},style:P,silent:!0});P.stroke==="auto"&&$.setStyle({stroke:o(W/k)}),E.add($)}if(I.get("show")){var ie=a(p(W/k*(S-T)+T),I.get("formatter")),be=I.get("distance"),te=o(W/k);E.add(new f.Text({style:f.setTextStyle({},I,{text:ie,x:X*(O-B-be)+v,y:K*(O-B-be)+w,textVerticalAlign:K<-.4?"top":K>.4?"bottom":"middle",textAlign:X<-.4?"left":X>.4?"right":"center"},{autoColor:te}),silent:!0}))}if(_.get("show")&&W!==k){for(var Te=0;Te<=F;Te++){var X=Math.cos(z),K=Math.sin(z),Ie=new f.Line({shape:{x1:X*O+v,y1:K*O+w,x2:X*(O-j)+v,y2:K*(O-j)+w},silent:!0,style:H});H.stroke==="auto"&&Ie.setStyle({stroke:o((W+Te/F)/k)}),E.add(Ie),z+=U}z-=U}else z+=M}},_renderPointer:function(t,l,r,o,u,h,y,b){var E=this.group,v=this._data;if(!t.get("pointer.show")){v&&v.eachItemGraphicEl(function(C){E.remove(C)});return}var w=[+t.get("min"),+t.get("max")],O=[h,y],T=t.getData(),S=T.mapDimension("value");T.diff(v).add(function(C){var _=new A({shape:{angle:h}});f.initProps(_,{shape:{angle:c(T.get(S,C),w,O,!0)}},t),E.add(_),T.setItemGraphicEl(C,_)}).update(function(C,_){var I=v.getItemGraphicEl(_);f.updateProps(I,{shape:{angle:c(T.get(S,C),w,O,!0)}},t),E.add(I),T.setItemGraphicEl(C,I)}).remove(function(C){var _=v.getItemGraphicEl(C);E.remove(_)}).execute(),T.eachItemGraphicEl(function(C,_){var I=T.getItemModel(_),k=I.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:g(k.get("width"),u.r),r:g(k.get("length"),u.r)}),C.useStyle(I.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",o(c(T.get(S,_),w,[0,1],!0))),f.setHoverStyle(C,I.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(t,l,r,o,u){var h=t.getData(),y=h.mapDimension("value"),b=t.getModel("title");if(b.get("show")){var E=b.get("offsetCenter"),v=u.cx+g(E[0],u.r),w=u.cy+g(E[1],u.r),O=+t.get("min"),T=+t.get("max"),S=t.getData().get(y,0),C=o(c(S,[O,T],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},b,{x:v,y:w,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(t,l,r,o,u){var h=t.getModel("detail"),y=+t.get("min"),b=+t.get("max");if(h.get("show")){var E=h.get("offsetCenter"),v=u.cx+g(E[0],u.r),w=u.cy+g(E[1],u.r),O=g(h.get("width"),u.r),T=g(h.get("height"),u.r),S=t.getData(),C=S.get(S.mapDimension("value"),0),_=o(c(C,[y,b],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},h,{x:v,y:w,text:a(C,h.get("formatter")),textWidth:isNaN(O)?null:O,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}}),d=i;R.exports=d},"p77/":function(R,N,e){},pC0b:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("xzDV"),m=e.n(x),g=e("5Dmo")},"pED+":function(R,N,e){},pG52:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},pLH3:function(R,N,e){var A=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),x=e("JLnu"),m=e("0/Rx");A.registerVisual(f("funnel")),A.registerLayout(x),A.registerProcessor(m("funnel"))},pP6R:function(R,N,e){var A=e("ProS"),f="\0_ec_interaction_mutex";function x(c,s,a){var n=p(c);n[s]=a}function m(c,s,a){var n=p(c),i=n[s];i===a&&(n[s]=null)}function g(c,s){return!!p(c)[s]}function p(c){return c[f]||(c[f]={})}A.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),N.take=x,N.release=m,N.isTaken=g},pmaE:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS"),m=e("DEFe"),g="__seriesMapHighDown",p="__seriesMapCallKey",c=A.extendChartView({type:"map",render:function(n,i,d,t){if(t&&t.type==="mapToggleSelect"&&t.from===this.uid)return;var l=this.group;if(l.removeAll(),n.getHostGeoModel())return;if(t&&t.type==="geoRoam"&&t.componentType==="series"&&t.seriesId===n.id){var r=this._mapDraw;r&&l.add(r.group)}else if(n.needsDrawMap){var r=this._mapDraw||new m(d,!0);l.add(r.group),r.draw(n,i,d,this,t),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&i.getComponent("legend")&&this._renderSymbols(n,i,d)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(n,i,d){var t=n.originalData,l=this.group;t.each(t.mapDimension("value"),function(r,o){if(isNaN(r))return;var u=t.getItemLayout(o);if(!u||!u.point)return;var h=u.point,y=u.offset,b=new x.Circle({style:{fill:n.getData().getVisual("color")},shape:{cx:h[0]+y*9,cy:h[1],r:3},silent:!0,z2:8+(y?0:x.Z2_EMPHASIS_LIFT+1)});if(!y){var E=n.mainSeries.getData(),v=t.getName(o),w=E.indexOfName(v),O=t.getItemModel(o),T=O.getModel("label"),S=O.getModel("emphasis.label"),C=E.getItemGraphicEl(w),_=f.retrieve2(n.getFormattedLabel(w,"normal"),v),I=f.retrieve2(n.getFormattedLabel(w,"emphasis"),_),k=C[g],F=Math.random();if(!k){k=C[g]={};var B=f.curry(s,!0),j=f.curry(s,!1);C.on("mouseover",B).on("mouseout",j).on("emphasis",B).on("normal",j)}C[p]=F,f.extend(k,{recordVersion:F,circle:b,labelModel:T,hoverLabelModel:S,emphasisText:I,normalText:_}),a(k,!1)}l.add(b)})}});function s(n){var i=this[g];i&&i.recordVersion===this[p]&&a(i,n)}function a(n,i){var d=n.circle,t=n.labelModel,l=n.hoverLabelModel,r=n.emphasisText,o=n.normalText;i?(d.style.extendFrom(x.setTextStyle({},l,{text:l.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=x.Z2_EMPHASIS_LIFT):(x.setTextStyle(d.style,t,{text:t.get("show")?o:null,textPosition:t.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),d.dirty(!1),d.__mapOriginalZ2!=null&&(d.z2=d.__mapOriginalZ2,d.__mapOriginalZ2=null))}R.exports=c},pwpV:function(R,N,e){},pzxd:function(R,N,e){var A=e("bYtY"),f=A.retrieve2,x=A.retrieve3,m=A.each,g=A.normalizeCssArray,p=A.isString,c=A.isObject,s=e("6GrX"),a=e("VpOo"),n=e("Xnb7"),i=e("fW2E"),d=e("gut8"),t=d.ContextCachedBy,l=d.WILL_BE_RESTORED,r=s.DEFAULT_FONT,o={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],y={},b={};function E(W){return v(W),m(W.rich,v),W}function v(W){if(W){W.font=s.makeFont(W);var X=W.textAlign;X==="middle"&&(X="center"),W.textAlign=X==null||o[X]?X:"left";var K=W.textVerticalAlign||W.textBaseline;K==="center"&&(K="middle"),W.textVerticalAlign=K==null||u[K]?K:"top";var $=W.textPadding;$&&(W.textPadding=g(W.textPadding))}}function w(W,X,K,$,ie,be){$.rich?T(W,X,K,$,ie,be):O(W,X,K,$,ie,be)}function O(W,X,K,$,ie,be){"use strict";var te=I($),Te,Ie=!1,Fe=X.__attrCachedBy===t.PLAIN_TEXT;be!==l?(be&&(Te=be.style,Ie=!te&&Fe&&Te),X.__attrCachedBy=te?t.NONE:t.PLAIN_TEXT):Fe&&(X.__attrCachedBy=t.NONE);var Qe=$.font||r;(!Ie||Qe!==(Te.font||r))&&(X.font=Qe);var fe=W.__computedFont;W.__styleFont!==Qe&&(W.__styleFont=Qe,fe=W.__computedFont=X.font);var He=$.textPadding,se=$.textLineHeight,Ce=W.__textCotentBlock;(!Ce||W.__dirtyText)&&(Ce=W.__textCotentBlock=s.parsePlainText(K,fe,He,se,$.truncate));var mt=Ce.outerHeight,Ne=Ce.lines,ae=Ce.lineHeight,ce=B(b,W,$,ie),le=ce.baseX,je=ce.baseY,Re=ce.textAlign||"left",Ze=ce.textVerticalAlign;C(X,$,ie,le,je);var De=s.adjustTextY(je,mt,Ze),ne=le,he=De;if(te||He){var pe=s.getWidth(K,fe),Xe=pe;He&&(Xe+=He[1]+He[3]);var lt=s.adjustTextX(le,Xe,Re);te&&k(W,X,$,lt,De,Xe,mt),He&&(ne=P(le,Re,He),he+=He[0])}X.textAlign=Re,X.textBaseline="middle",X.globalAlpha=$.opacity||1;for(var At=0;At<h.length;At++){var Me=h[At],Ht=Me[0],tt=Me[1],Mt=$[Ht];(!Ie||Mt!==Te[Ht])&&(X[tt]=i(X,tt,Mt||Me[2]))}he+=ae/2;var jt=$.textStrokeWidth,kt=Ie?Te.textStrokeWidth:null,Tt=!Ie||jt!==kt,Dt=!Ie||Tt||$.textStroke!==Te.textStroke,Ue=z($.textStroke,jt),G=M($.textFill);if(Ue&&(Tt&&(X.lineWidth=jt),Dt&&(X.strokeStyle=Ue)),G&&((!Ie||$.textFill!==Te.textFill)&&(X.fillStyle=G)),Ne.length===1)Ue&&X.strokeText(Ne[0],ne,he),G&&X.fillText(Ne[0],ne,he);else for(var At=0;At<Ne.length;At++)Ue&&X.strokeText(Ne[At],ne,he),G&&X.fillText(Ne[At],ne,he),he+=ae}function T(W,X,K,$,ie,be){be!==l&&(X.__attrCachedBy=t.NONE);var te=W.__textCotentBlock;(!te||W.__dirtyText)&&(te=W.__textCotentBlock=s.parseRichText(K,$)),S(W,X,te,$,ie)}function S(W,X,K,$,ie){var be=K.width,te=K.outerWidth,Te=K.outerHeight,Ie=$.textPadding,Fe=B(b,W,$,ie),Qe=Fe.baseX,fe=Fe.baseY,He=Fe.textAlign,se=Fe.textVerticalAlign;C(X,$,ie,Qe,fe);var Ce=s.adjustTextX(Qe,te,He),mt=s.adjustTextY(fe,Te,se),Ne=Ce,ae=mt;Ie&&(Ne+=Ie[3],ae+=Ie[0]);var ce=Ne+be;I($)&&k(W,X,$,Ce,mt,te,Te);for(var le=0;le<K.lines.length;le++){for(var je=K.lines[le],Re=je.tokens,Ze=Re.length,De=je.lineHeight,ne=je.width,he=0,pe=Ne,Xe=ce,lt=Ze-1,At;he<Ze&&(At=Re[he],!At.textAlign||At.textAlign==="left");)_(W,X,At,$,De,ae,pe,"left"),ne-=At.width,pe+=At.width,he++;for(;lt>=0&&(At=Re[lt],At.textAlign==="right");)_(W,X,At,$,De,ae,Xe,"right"),ne-=At.width,Xe-=At.width,lt--;for(pe+=(be-(pe-Ne)-(ce-Xe)-ne)/2;he<=lt;)At=Re[he],_(W,X,At,$,De,ae,pe+At.width/2,"center"),pe+=At.width,he++;ae+=De}}function C(W,X,K,$,ie){if(K&&X.textRotation){var be=X.textOrigin;be==="center"?($=K.width/2+K.x,ie=K.height/2+K.y):be&&($=be[0]+K.x,ie=be[1]+K.y),W.translate($,ie),W.rotate(-X.textRotation),W.translate(-$,-ie)}}function _(W,X,K,$,ie,be,te,Te){var Ie=$.rich[K.styleName]||{};Ie.text=K.text;var Fe=K.textVerticalAlign,Qe=be+ie/2;Fe==="top"?Qe=be+K.height/2:Fe==="bottom"&&(Qe=be+ie-K.height/2),!K.isLineHolder&&I(Ie)&&k(W,X,Ie,Te==="right"?te-K.width:Te==="center"?te-K.width/2:te,Qe-K.height/2,K.width,K.height);var fe=K.textPadding;fe&&(te=P(te,Te,fe),Qe-=K.height/2-fe[2]-K.textHeight/2),j(X,"shadowBlur",x(Ie.textShadowBlur,$.textShadowBlur,0)),j(X,"shadowColor",Ie.textShadowColor||$.textShadowColor||"transparent"),j(X,"shadowOffsetX",x(Ie.textShadowOffsetX,$.textShadowOffsetX,0)),j(X,"shadowOffsetY",x(Ie.textShadowOffsetY,$.textShadowOffsetY,0)),j(X,"textAlign",Te),j(X,"textBaseline","middle"),j(X,"font",K.font||r);var He=z(Ie.textStroke||$.textStroke,Ce),se=M(Ie.textFill||$.textFill),Ce=f(Ie.textStrokeWidth,$.textStrokeWidth);He&&(j(X,"lineWidth",Ce),j(X,"strokeStyle",He),X.strokeText(K.text,te,Qe)),se&&(j(X,"fillStyle",se),X.fillText(K.text,te,Qe))}function I(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function k(W,X,K,$,ie,be,te){var Te=K.textBackgroundColor,Ie=K.textBorderWidth,Fe=K.textBorderColor,Qe=p(Te);if(j(X,"shadowBlur",K.textBoxShadowBlur||0),j(X,"shadowColor",K.textBoxShadowColor||"transparent"),j(X,"shadowOffsetX",K.textBoxShadowOffsetX||0),j(X,"shadowOffsetY",K.textBoxShadowOffsetY||0),Qe||Ie&&Fe){X.beginPath();var fe=K.textBorderRadius;fe?a.buildPath(X,{x:$,y:ie,width:be,height:te,r:fe}):X.rect($,ie,be,te),X.closePath()}if(Qe)if(j(X,"fillStyle",Te),K.fillOpacity!=null){var He=X.globalAlpha;X.globalAlpha=K.fillOpacity*K.opacity,X.fill(),X.globalAlpha=He}else X.fill();else if(c(Te)){var se=Te.image;se=n.createOrUpdateImage(se,null,W,F,Te),se&&n.isImageReady(se)&&X.drawImage(se,$,ie,be,te)}if(Ie&&Fe)if(j(X,"lineWidth",Ie),j(X,"strokeStyle",Fe),K.strokeOpacity!=null){var He=X.globalAlpha;X.globalAlpha=K.strokeOpacity*K.opacity,X.stroke(),X.globalAlpha=He}else X.stroke()}function F(W,X){X.image=W}function B(W,X,K,$){var ie=K.x||0,be=K.y||0,te=K.textAlign,Te=K.textVerticalAlign;if($){var Ie=K.textPosition;if(Ie instanceof Array)ie=$.x+U(Ie[0],$.width),be=$.y+U(Ie[1],$.height);else{var Fe=X&&X.calculateTextPosition?X.calculateTextPosition(y,K,$):s.calculateTextPosition(y,K,$);ie=Fe.x,be=Fe.y,te=te||Fe.textAlign,Te=Te||Fe.textVerticalAlign}var Qe=K.textOffset;Qe&&(ie+=Qe[0],be+=Qe[1])}return W=W||{},W.baseX=ie,W.baseY=be,W.textAlign=te,W.textVerticalAlign=Te,W}function j(W,X,K){return W[X]=i(W,X,K),W[X]}function z(W,X){return W==null||X<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function M(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function U(W,X){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*X:parseFloat(W):W}function P(W,X,K){return X==="right"?W-K[1]:X==="center"?W+K[3]/2-K[1]/2:W+K[3]}function H(W,X){return W!=null&&(W||X.textBackgroundColor||X.textBorderWidth&&X.textBorderColor||X.textPadding)}N.normalizeTextStyle=E,N.renderText=w,N.getBoxPosition=B,N.getStroke=z,N.getFill=M,N.parsePercent=U,N.needDrawText=H},"q/+u":function(R,N,e){var A=e("ProS"),f=e("9wZj"),x=e("yWXo"),m=e("h8O9");A.extendChartView({type:"scatter",render:function(g,p,c){var s=g.getData(),a=this._updateSymbolDraw(s,g);a.updateData(s,{clipShape:this._getClipShape(g)}),this._finished=!0},incrementalPrepareRender:function(g,p,c){var s=g.getData(),a=this._updateSymbolDraw(s,g);a.incrementalPrepareUpdate(s),this._finished=!1},incrementalRender:function(g,p,c){this._symbolDraw.incrementalUpdate(g,p.getData(),{clipShape:this._getClipShape(p)}),this._finished=g.end===p.getData().count()},updateTransform:function(g,p,c){var s=g.getData();if(this.group.dirty(),!this._finished||s.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=m().reset(g);a.progress&&a.progress({start:0,end:s.count()},s),this._symbolDraw.updateLayout(s)},_getClipShape:function(g){var p=g.coordinateSystem,c=p&&p.getArea&&p.getArea();return g.get("clip",!0)?c:null},_updateSymbolDraw:function(g,p){var c=this._symbolDraw,s=p.pipelineContext,a=s.large;return(!c||a!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=a?new x:new f,this._isLargeDraw=a,this.group.removeAll()),this.group.add(c.group),c},remove:function(g,p){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(R,N){var e=["lineStyle","normal","opacity"],A={seriesType:"parallel",reset:function(f,x,m){var g=f.getModel("itemStyle"),p=f.getModel("lineStyle"),c=x.get("color"),s=p.get("color")||g.get("color")||c[f.seriesIndex%c.length],a=f.get("inactiveOpacity"),n=f.get("activeOpacity"),i=f.getModel("lineStyle").getLineStyle(),d=f.coordinateSystem,t=f.getData(),l={normal:i.opacity,active:n,inactive:a};t.setVisual("color",s);function r(o,u){d.eachActiveState(u,function(h,y){var b=l[h];if(h==="normal"&&u.hasItemOption){var E=u.getItemModel(y).get(e,!0);E!=null&&(b=E)}u.setItemVisual(y,"opacity",b)},o.start,o.end)}return{progress:r}}};R.exports=A},q4HE:function(R,N){var e="\\ud800-\\udfff",A="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",x="\\u20d0-\\u20ff",m=A+f+x,g="\\ufe0e\\ufe0f",p="["+e+"]",c="["+m+"]",s="\\ud83c[\\udffb-\\udfff]",a="(?:"+c+"|"+s+")",n="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",t="\\u200d",l=a+"?",r="["+g+"]?",o="(?:"+t+"(?:"+[n,i,d].join("|")+")"+r+l+")*",u=r+l+o,h="(?:"+[n+c+"?",c,i,d,p].join("|")+")",y=RegExp(s+"(?="+s+")|"+h+u,"g");function b(E){for(var v=y.lastIndex=0;y.test(E);)++v;return v}R.exports=b},q7KB:function(R,N,e){},qH13:function(R,N,e){var A=e("ItGF"),f=e("QBsz"),x=f.applyTransform,m=e("mFDi"),g=e("Qe9p"),p=e("6GrX"),c=e("pzxd"),s=e("ni6a"),a=e("Gev7"),n=e("Dagg"),i=e("dqUG"),d=e("y+Vt"),t=e("IMiH"),l=e("QuXc"),r=e("06Qe"),o=t.CMD,u=Math.round,h=Math.sqrt,y=Math.abs,b=Math.cos,E=Math.sin,v=Math.max;if(!A.canvasSupported){var w=",",O="progid:DXImageTransform.Microsoft",T=21600,S=T/2,C=1e5,_=1e3,I=function(je){je.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",je.coordsize=T+","+T,je.coordorigin="0,0"},k=function(je){return String(je).replace(/&/g,"&").replace(/"/g,""")},F=function(je,Re,Ze){return"rgb("+[je,Re,Ze].join(",")+")"},B=function(je,Re){Re&&je&&Re.parentNode!==je&&je.appendChild(Re)},j=function(je,Re){Re&&je&&Re.parentNode===je&&je.removeChild(Re)},z=function(je,Re,Ze){return(parseFloat(je)||0)*C+(parseFloat(Re)||0)*_+Ze},M=c.parsePercent,U=function(je,Re,Ze){var De=g.parse(Re);Ze=+Ze,isNaN(Ze)&&(Ze=1),De&&(je.color=F(De[0],De[1],De[2]),je.opacity=Ze*De[3])},P=function(je){var Re=g.parse(je);return[F(Re[0],Re[1],Re[2]),Re[3]]},H=function(je,Re,Ze){var De=Re.fill;if(De!=null)if(De instanceof l){var ne,he=0,pe=[0,0],Xe=0,lt=1,At=Ze.getBoundingRect(),Me=At.width,Ht=At.height;if(De.type==="linear"){ne="gradient";var tt=Ze.transform,Mt=[De.x*Me,De.y*Ht],jt=[De.x2*Me,De.y2*Ht];tt&&(x(Mt,Mt,tt),x(jt,jt,tt));var kt=jt[0]-Mt[0],Tt=jt[1]-Mt[1];he=Math.atan2(kt,Tt)*180/Math.PI,he<0&&(he+=360),he<1e-6&&(he=0)}else{ne="gradientradial";var Mt=[De.x*Me,De.y*Ht],tt=Ze.transform,Dt=Ze.scale,Ue=Me,G=Ht;pe=[(Mt[0]-At.x)/Ue,(Mt[1]-At.y)/G],tt&&x(Mt,Mt,tt),Ue/=Dt[0]*T,G/=Dt[1]*T;var Y=v(Ue,G);Xe=2*0/Y,lt=2*De.r/Y-Xe}var Pe=De.colorStops.slice();Pe.sort(function(ye,Le){return ye.offset-Le.offset});for(var Be=Pe.length,J=[],St=[],bt=0;bt<Be;bt++){var nt=Pe[bt],Rt=P(nt.color);St.push(nt.offset*lt+Xe+" "+Rt[0]),(bt===0||bt===Be-1)&&J.push(Rt)}if(Be>=2){var zt=J[0][0],Fr=J[1][0],Jt=J[0][1]*Re.opacity,ge=J[1][1]*Re.opacity;je.type=ne,je.method="none",je.focus="100%",je.angle=he,je.color=zt,je.color2=Fr,je.colors=St.join(","),je.opacity=ge,je.opacity2=Jt}ne==="radial"&&(je.focusposition=pe.join(","))}else U(je,De,Re.opacity)},W=function(je,Re){Re.lineDash&&(je.dashstyle=Re.lineDash.join(" ")),Re.stroke!=null&&!(Re.stroke instanceof l)&&U(je,Re.stroke,Re.opacity)},X=function(je,Re,Ze,De){var ne=Re==="fill",he=je.getElementsByTagName(Re)[0];Ze[Re]!=null&&Ze[Re]!=="none"&&(ne||!ne&&Ze.lineWidth)?(je[ne?"filled":"stroked"]="true",Ze[Re]instanceof l&&j(je,he),he||(he=r.createNode(Re)),ne?H(he,Ze,De):W(he,Ze),B(je,he)):(je[ne?"filled":"stroked"]="false",j(je,he))},K=[[],[],[]],$=function(je,Re){var Ze=o.M,De=o.C,ne=o.L,he=o.A,pe=o.Q,Xe=[],lt,At,Me,Ht,tt,Mt,jt=je.data,kt=je.len();for(Ht=0;Ht<kt;){Me=jt[Ht++],At="",lt=0;switch(Me){case Ze:At=" m ",lt=1,tt=jt[Ht++],Mt=jt[Ht++],K[0][0]=tt,K[0][1]=Mt;break;case ne:At=" l ",lt=1,tt=jt[Ht++],Mt=jt[Ht++],K[0][0]=tt,K[0][1]=Mt;break;case pe:case De:At=" c ",lt=3;var Tt=jt[Ht++],Dt=jt[Ht++],Ue=jt[Ht++],G=jt[Ht++],Y,Pe;Me===pe?(Y=Ue,Pe=G,Ue=(Ue+2*Tt)/3,G=(G+2*Dt)/3,Tt=(tt+2*Tt)/3,Dt=(Mt+2*Dt)/3):(Y=jt[Ht++],Pe=jt[Ht++]),K[0][0]=Tt,K[0][1]=Dt,K[1][0]=Ue,K[1][1]=G,K[2][0]=Y,K[2][1]=Pe,tt=Y,Mt=Pe;break;case he:var Be=0,J=0,St=1,bt=1,nt=0;Re&&(Be=Re[4],J=Re[5],St=h(Re[0]*Re[0]+Re[1]*Re[1]),bt=h(Re[2]*Re[2]+Re[3]*Re[3]),nt=Math.atan2(-Re[1]/bt,Re[0]/St));var Rt=jt[Ht++],zt=jt[Ht++],Fr=jt[Ht++],Jt=jt[Ht++],ge=jt[Ht++]+nt,ye=jt[Ht++]+ge+nt;Ht++;var Le=jt[Ht++],we=Rt+b(ge)*Fr,Ke=zt+E(ge)*Jt,Tt=Rt+b(ye)*Fr,Dt=zt+E(ye)*Jt,Je=Le?" wa ":" at ";Math.abs(we-Tt)<1e-4&&(Math.abs(ye-ge)>.01?Le&&(we+=270/T):Math.abs(Ke-zt)<1e-4?Le&&we<Rt||!Le&&we>Rt?Dt-=270/T:Dt+=270/T:Le&&Ke<zt||!Le&&Ke>zt?Tt+=270/T:Tt-=270/T),Xe.push(Je,u(((Rt-Fr)*St+Be)*T-S),w,u(((zt-Jt)*bt+J)*T-S),w,u(((Rt+Fr)*St+Be)*T-S),w,u(((zt+Jt)*bt+J)*T-S),w,u((we*St+Be)*T-S),w,u((Ke*bt+J)*T-S),w,u((Tt*St+Be)*T-S),w,u((Dt*bt+J)*T-S)),tt=Tt,Mt=Dt;break;case o.R:var ut=K[0],vt=K[1];ut[0]=jt[Ht++],ut[1]=jt[Ht++],vt[0]=ut[0]+jt[Ht++],vt[1]=ut[1]+jt[Ht++],Re&&(x(ut,ut,Re),x(vt,vt,Re)),ut[0]=u(ut[0]*T-S),vt[0]=u(vt[0]*T-S),ut[1]=u(ut[1]*T-S),vt[1]=u(vt[1]*T-S),Xe.push(" m ",ut[0],w,ut[1]," l ",vt[0],w,ut[1]," l ",vt[0],w,vt[1]," l ",ut[0],w,vt[1]);break;case o.Z:Xe.push(" x ")}if(lt>0){Xe.push(At);for(var _t=0;_t<lt;_t++){var Ut=K[_t];Re&&x(Ut,Ut,Re),Xe.push(u(Ut[0]*T-S),w,u(Ut[1]*T-S),_t<lt-1?w:"")}}}return Xe.join("")};d.prototype.brushVML=function(le){var je=this.style,Re=this._vmlEl;Re||(Re=r.createNode("shape"),I(Re),this._vmlEl=Re),X(Re,"fill",je,this),X(Re,"stroke",je,this);var Ze=this.transform,De=Ze!=null,ne=Re.getElementsByTagName("stroke")[0];if(ne){var he=je.lineWidth;if(De&&!je.strokeNoScale){var pe=Ze[0]*Ze[3]-Ze[1]*Ze[2];he*=h(y(pe))}ne.weight=he+"px"}var Xe=this.path||(this.path=new t);this.__dirtyPath&&(Xe.beginPath(),Xe.subPixelOptimize=!1,this.buildPath(Xe,this.shape),Xe.toStatic(),this.__dirtyPath=!1),Re.path=$(Xe,this.transform),Re.style.zIndex=z(this.zlevel,this.z,this.z2),B(le,Re),je.text!=null?this.drawRectText(le,this.getBoundingRect()):this.removeRectText(le)},d.prototype.onRemove=function(le){j(le,this._vmlEl),this.removeRectText(le)},d.prototype.onAdd=function(le){B(le,this._vmlEl),this.appendRectText(le)};var ie=function(je){return typeof je=="object"&&je.tagName&&je.tagName.toUpperCase()==="IMG"};n.prototype.brushVML=function(le){var je=this.style,Re=je.image,Ze,De;if(ie(Re)){var ne=Re.src;if(ne===this._imageSrc)Ze=this._imageWidth,De=this._imageHeight;else{var he=Re.runtimeStyle,pe=he.width,Xe=he.height;he.width="auto",he.height="auto",Ze=Re.width,De=Re.height,he.width=pe,he.height=Xe,this._imageSrc=ne,this._imageWidth=Ze,this._imageHeight=De}Re=ne}else Re===this._imageSrc&&(Ze=this._imageWidth,De=this._imageHeight);if(!Re)return;var lt=je.x||0,At=je.y||0,Me=je.width,Ht=je.height,tt=je.sWidth,Mt=je.sHeight,jt=je.sx||0,kt=je.sy||0,Tt=tt&&Mt,Dt=this._vmlEl;Dt||(Dt=r.doc.createElement("div"),I(Dt),this._vmlEl=Dt);var Ue=Dt.style,G=!1,Y,Pe=1,Be=1;if(this.transform&&(Y=this.transform,Pe=h(Y[0]*Y[0]+Y[1]*Y[1]),Be=h(Y[2]*Y[2]+Y[3]*Y[3]),G=Y[1]||Y[2]),G){var J=[lt,At],St=[lt+Me,At],bt=[lt,At+Ht],nt=[lt+Me,At+Ht];x(J,J,Y),x(St,St,Y),x(bt,bt,Y),x(nt,nt,Y);var Rt=v(J[0],St[0],bt[0],nt[0]),zt=v(J[1],St[1],bt[1],nt[1]),Fr=[];Fr.push("M11=",Y[0]/Pe,w,"M12=",Y[2]/Be,w,"M21=",Y[1]/Pe,w,"M22=",Y[3]/Be,w,"Dx=",u(lt*Pe+Y[4]),w,"Dy=",u(At*Be+Y[5])),Ue.padding="0 "+u(Rt)+"px "+u(zt)+"px 0",Ue.filter=O+".Matrix("+Fr.join("")+", SizingMethod=clip)"}else Y&&(lt=lt*Pe+Y[4],At=At*Be+Y[5]),Ue.filter="",Ue.left=u(lt)+"px",Ue.top=u(At)+"px";var Jt=this._imageEl,ge=this._cropEl;Jt||(Jt=r.doc.createElement("div"),this._imageEl=Jt);var ye=Jt.style;if(Tt){if(Ze&&De)ye.width=u(Pe*Ze*Me/tt)+"px",ye.height=u(Be*De*Ht/Mt)+"px";else{var Le=new Image,we=this;Le.onload=function(){Le.onload=null,Ze=Le.width,De=Le.height,ye.width=u(Pe*Ze*Me/tt)+"px",ye.height=u(Be*De*Ht/Mt)+"px",we._imageWidth=Ze,we._imageHeight=De,we._imageSrc=Re},Le.src=Re}ge||(ge=r.doc.createElement("div"),ge.style.overflow="hidden",this._cropEl=ge);var Ke=ge.style;Ke.width=u((Me+jt*Me/tt)*Pe),Ke.height=u((Ht+kt*Ht/Mt)*Be),Ke.filter=O+".Matrix(Dx="+-jt*Me/tt*Pe+",Dy="+-kt*Ht/Mt*Be+")",ge.parentNode||Dt.appendChild(ge),Jt.parentNode!==ge&&ge.appendChild(Jt)}else ye.width=u(Pe*Me)+"px",ye.height=u(Be*Ht)+"px",Dt.appendChild(Jt),ge&&ge.parentNode&&(Dt.removeChild(ge),this._cropEl=null);var Je="",ut=je.opacity;ut<1&&(Je+=".Alpha(opacity="+u(ut*100)+") "),Je+=O+".AlphaImageLoader(src="+Re+", SizingMethod=scale)",ye.filter=Je,Dt.style.zIndex=z(this.zlevel,this.z,this.z2),B(le,Dt),je.text!=null&&this.drawRectText(le,this.getBoundingRect())},n.prototype.onRemove=function(le){j(le,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(le)},n.prototype.onAdd=function(le){B(le,this._vmlEl),this.appendRectText(le)};var be="normal",te={},Te=0,Ie=100,Fe=document.createElement("div"),Qe=function(je){var Re=te[je];if(!Re){Te>Ie&&(Te=0,te={});var Ze=Fe.style,De;try{Ze.font=je,De=Ze.fontFamily.split(",")[0]}catch(ne){}Re={style:Ze.fontStyle||be,variant:Ze.fontVariant||be,weight:Ze.fontWeight||be,size:parseFloat(Ze.fontSize||12)|0,family:De||"Microsoft YaHei"},te[je]=Re,Te++}return Re},fe;p.$override("measureText",function(le,je){var Re=r.doc;fe||(fe=Re.createElement("div"),fe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",r.doc.body.appendChild(fe));try{fe.style.font=je}catch(Ze){}return fe.innerHTML="",fe.appendChild(Re.createTextNode(le)),{width:fe.offsetWidth}});for(var He=new m,se=function(je,Re,Ze,De){var ne=this.style;this.__dirty&&c.normalizeTextStyle(ne,!0);var he=ne.text;if(he!=null&&(he+=""),!he)return;if(ne.rich){var pe=p.parseRichText(he,ne);he=[];for(var Xe=0;Xe<pe.lines.length;Xe++){for(var lt=pe.lines[Xe].tokens,At=[],Me=0;Me<lt.length;Me++)At.push(lt[Me].text);he.push(At.join(""))}he=he.join(`
|
|
|
`)}var Ht,tt,Mt=ne.textAlign,jt=ne.textVerticalAlign,kt=Qe(ne.font),Tt=kt.style+" "+kt.variant+" "+kt.weight+" "+kt.size+'px "'+kt.family+'"';Ze=Ze||p.getBoundingRect(he,Tt,Mt,jt,ne.textPadding,ne.textLineHeight);var Dt=this.transform;if(Dt&&!De&&(He.copy(Re),He.applyTransform(Dt),Re=He),De)Ht=Re.x,tt=Re.y;else{var Ue=ne.textPosition;if(Ue instanceof Array)Ht=Re.x+M(Ue[0],Re.width),tt=Re.y+M(Ue[1],Re.height),Mt=Mt||"left";else{var G=this.calculateTextPosition?this.calculateTextPosition({},ne,Re):p.calculateTextPosition({},ne,Re);Ht=G.x,tt=G.y,Mt=Mt||G.textAlign,jt=jt||G.textVerticalAlign}}Ht=p.adjustTextX(Ht,Ze.width,Mt),tt=p.adjustTextY(tt,Ze.height,jt),tt+=Ze.height/2;var Y=r.createNode,Pe=this._textVmlEl,Be,J,St;Pe?(St=Pe.firstChild,Be=St.nextSibling,J=Be.nextSibling):(Pe=Y("line"),Be=Y("path"),J=Y("textpath"),St=Y("skew"),J.style["v-text-align"]="left",I(Pe),Be.textpathok=!0,J.on=!0,Pe.from="0 0",Pe.to="1000 0.05",B(Pe,St),B(Pe,Be),B(Pe,J),this._textVmlEl=Pe);var bt=[Ht,tt],nt=Pe.style;Dt&&De?(x(bt,bt,Dt),St.on=!0,St.matrix=Dt[0].toFixed(3)+w+Dt[2].toFixed(3)+w+Dt[1].toFixed(3)+w+Dt[3].toFixed(3)+",0,0",St.offset=(u(bt[0])||0)+","+(u(bt[1])||0),St.origin="0 0",nt.left="0px",nt.top="0px"):(St.on=!1,nt.left=u(Ht)+"px",nt.top=u(tt)+"px"),J.string=k(he);try{J.style.font=Tt}catch(Rt){}X(Pe,"fill",{fill:ne.textFill,opacity:ne.opacity},this),X(Pe,"stroke",{stroke:ne.textStroke,opacity:ne.opacity,lineDash:ne.lineDash||null},this),Pe.style.zIndex=z(this.zlevel,this.z,this.z2),B(je,Pe)},Ce=function(je){j(je,this._textVmlEl),this._textVmlEl=null},mt=function(je){B(je,this._textVmlEl)},Ne=[s,a,n,d,i],ae=0;ae<Ne.length;ae++){var ce=Ne[ae].prototype;ce.drawRectText=se,ce.removeRectText=Ce,ce.appendRectText=mt}i.prototype.brushVML=function(le){var je=this.style;je.text!=null?this.drawRectText(le,{x:je.x||0,y:je.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(le)},i.prototype.onRemove=function(le){this.removeRectText(le)},i.prototype.onAdd=function(le){this.appendRectText(le)}}},qJCg:function(R,N,e){var A=e("BlVb"),f=e("mFDi"),x=e("IwbS"),m=x.linePolygonIntersect,g={lineX:p(0),lineY:p(1),rect:{point:function(a,n,i){return a&&i.boundingRect.contain(a[0],a[1])},rect:function(a,n,i){return a&&i.boundingRect.intersect(a)}},polygon:{point:function(a,n,i){return a&&i.boundingRect.contain(a[0],a[1])&&A.contain(i.range,a[0],a[1])},rect:function(a,n,i){var d=i.range;if(!a||d.length<=1)return!1;var t=a.x,l=a.y,r=a.width,o=a.height,u=d[0];if(A.contain(d,t,l)||A.contain(d,t+r,l)||A.contain(d,t,l+o)||A.contain(d,t+r,l+o)||f.create(a).contain(u[0],u[1])||m(t,l,t+r,l,d)||m(t,l,t,l+o,d)||m(t+r,l,t+r,l+o,d)||m(t,l+o,t+r,l+o,d))return!0}}};function p(a){var n=["x","y"],i=["width","height"];return{point:function(d,t,l){if(d){var r=l.range,o=d[a];return c(o,r)}},rect:function(d,t,l){if(d){var r=l.range,o=[d[n[a]],d[n[a]]+d[i[a]]];return o[1]<o[0]&&o.reverse(),c(o[0],r)||c(o[1],r)||c(r[0],o)||c(r[1],o)}}}}function c(a,n){return n[0]<=a&&a<=n[1]}var s=g;R.exports=s},qMZE:function(R,N,e){var A=e("JEkh"),f=A.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});R.exports=f},qOx5:function(R,N,e){"use strict";e.d(N,"a",function(){return p});var A=e("Kwbf");function f(c,s){var a=new Set;return c.forEach(function(n){s.has(n)||a.add(n)}),a}function x(c){var s=c||{},a=s.disabled,n=s.disableCheckbox,i=s.checkable;return!!(a||n)||i===!1}function m(c,s,a,n){for(var i=new Set(c),d=new Set,t=0;t<=a;t+=1){var l=s.get(t)||new Set;l.forEach(function(h){var y=h.key,b=h.node,E=h.children,v=E===void 0?[]:E;i.has(y)&&!n(b)&&v.filter(function(w){return!n(w.node)}).forEach(function(w){i.add(w.key)})})}for(var r=new Set,o=a;o>=0;o-=1){var u=s.get(o)||new Set;u.forEach(function(h){var y=h.parent,b=h.node;if(n(b)||!h.parent||r.has(h.parent.key))return;if(n(h.parent.node)){r.add(y.key);return}var E=!0,v=!1;(y.children||[]).filter(function(w){return!n(w.node)}).forEach(function(w){var O=w.key,T=i.has(O);E&&!T&&(E=!1),!v&&(T||d.has(O))&&(v=!0)}),E&&i.add(y.key),v&&d.add(y.key),r.add(y.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(f(d,i))}}function g(c,s,a,n,i){for(var d=new Set(c),t=new Set(s),l=0;l<=n;l+=1){var r=a.get(l)||new Set;r.forEach(function(y){var b=y.key,E=y.node,v=y.children,w=v===void 0?[]:v;!d.has(b)&&!t.has(b)&&!i(E)&&w.filter(function(O){return!i(O.node)}).forEach(function(O){d.delete(O.key)})})}t=new Set;for(var o=new Set,u=n;u>=0;u-=1){var h=a.get(u)||new Set;h.forEach(function(y){var b=y.parent,E=y.node;if(i(E)||!y.parent||o.has(y.parent.key))return;if(i(y.parent.node)){o.add(b.key);return}var v=!0,w=!1;(b.children||[]).filter(function(O){return!i(O.node)}).forEach(function(O){var T=O.key,S=d.has(T);v&&!S&&(v=!1),!w&&(S||t.has(T))&&(w=!0)}),v||d.delete(b.key),w&&t.add(b.key),o.add(b.key)})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(f(t,d))}}function p(c,s,a,n){var i=[],d;n?d=n:d=x;var t=new Set(c.filter(function(u){var h=!!a[u];return h||i.push(u),h})),l=new Map,r=0;Object.keys(a).forEach(function(u){var h=a[u],y=h.level,b=l.get(y);b||(b=new Set,l.set(y,b)),b.add(h),r=Math.max(r,y)}),Object(A.a)(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var o;return s===!0?o=m(t,l,r,d):o=g(t,s.halfCheckedKeys,l,r,d),o}},qPY4:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},qWUW:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("DL4k")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="CaretDownOutlined";var s=m.forwardRef(c);N.default=s},qWt2:function(R,N,e){var A=e("ProS"),f=A.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});R.exports=f},qZFw:function(R,N,e){var A=e("bYtY"),f=e("6GrX"),x=e("hM6l"),m=e("4NO4"),g=m.makeInner,p=g();function c(a,n){n=n||[0,360],x.call(this,"angle",a,n),this.type="category"}c.prototype={constructor:c,pointToData:function(a,n){return this.polar.pointToData(a,n)[this.dim==="radius"?0:1]},dataToAngle:x.prototype.dataToCoord,angleToData:x.prototype.coordToData,calculateCategoryInterval:function(){var a=this,n=a.getLabelModel(),i=a.scale,d=i.getExtent(),t=i.count();if(d[1]-d[0]<1)return 0;var l=d[0],r=a.dataToCoord(l+1)-a.dataToCoord(l),o=Math.abs(r),u=f.getBoundingRect(l,n.getFont(),"center","top"),h=Math.max(u.height,7),y=h/o;isNaN(y)&&(y=Infinity);var b=Math.max(0,Math.floor(y)),E=p(a.model),v=E.lastAutoInterval,w=E.lastTickCount;return v!=null&&w!=null&&Math.abs(v-b)<=1&&Math.abs(w-t)<=1&&v>b?b=v:(E.lastTickCount=t,E.lastAutoInterval=b),b}},A.inherits(c,x);var s=c;R.exports=s},qgGe:function(R,N,e){var A=e("bYtY"),f=e("T4UG"),x=e("Bsck"),m=e("VaxA"),g=m.wrapTreePathInfo,p=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(s,a){var n={name:s.name,children:s.data};c(n);var i=s.levels||[],d={};return d.levels=i,x.createTree(n,this,d).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(s){var a=f.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(s);return a.treePathInfo=g(n,this),a},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(s){s?this._viewRoot=s:s=this._viewRoot;var a=this.getRawData().tree.root;(!s||s!==a&&!a.contains(s))&&(this._viewRoot=a)}});function c(s){var a=0;A.each(s.children,function(i){c(i);var d=i.value;A.isArray(d)&&(d=d[0]),a+=d});var n=s.value;A.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=a),n<0&&(n=0),A.isArray(s.value)?s.value[0]=n:s.value=n}R.exports=p},qj72:function(R,N,e){var A=e("bYtY");function f(m,g){return g=g||[0,0],A.map(["x","y"],function(p,c){var s=this.getAxis(p),a=g[c],n=m[c]/2;return s.type==="category"?s.getBandWidth():Math.abs(s.dataToCoord(a-n)-s.dataToCoord(a+n))},this)}function x(m){var g=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(p){return m.dataToPoint(p)},size:A.bind(f,m)}}}R.exports=x},qrJ5:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("cDf5"),p=e.n(g),c=e("J4zp"),s=e.n(c),a=e("q1tI"),n=e.n(a),i=e("TSYQ"),d=e.n(i),t=e("H84U"),l=e("o/2+"),r=e("CWQg"),o=e("ACnJ"),u=function(E,v){var w={};for(var O in E)Object.prototype.hasOwnProperty.call(E,O)&&v.indexOf(O)<0&&(w[O]=E[O]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,O=Object.getOwnPropertySymbols(E);T<O.length;T++)v.indexOf(O[T])<0&&Object.prototype.propertyIsEnumerable.call(E,O[T])&&(w[O[T]]=E[O[T]]);return w},h=Object(r.a)("top","middle","bottom","stretch"),y=Object(r.a)("start","end","center","space-around","space-between"),b=a.forwardRef(function(E,v){var w=a.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),O=s()(w,2),T=O[0],S=O[1],C=a.useRef();C.current=E.gutter,a.useEffect(function(){var k=o.a.subscribe(function(F){var B=C.current||0;(!Array.isArray(B)&&p()(B)==="object"||Array.isArray(B)&&(p()(B[0])==="object"||p()(B[1])==="object"))&&S(F)});return function(){o.a.unsubscribe(k)}},[]);var _=function(){var F=[0,0],B=E.gutter,j=B===void 0?0:B,z=Array.isArray(j)?j:[j,0];return z.forEach(function(M,U){if(p()(M)==="object")for(var P=0;P<o.b.length;P++){var H=o.b[P];if(T[H]&&M[H]!==void 0){F[U]=M[H];break}}else F[U]=M||0}),F},I=function(F){var B,j=F.getPrefixCls,z=F.direction,M=E.prefixCls,U=E.justify,P=E.align,H=E.className,W=E.style,X=E.children,K=u(E,["prefixCls","justify","align","className","style","children"]),$=j("row",M),ie=_(),be=d()($,(B={},m()(B,"".concat($,"-").concat(U),U),m()(B,"".concat($,"-").concat(P),P),m()(B,"".concat($,"-rtl"),z==="rtl"),B),H),te=f()(f()(f()({},ie[0]>0?{marginLeft:ie[0]/-2,marginRight:ie[0]/-2}:{}),ie[1]>0?{marginTop:ie[1]/-2,marginBottom:ie[1]/2}:{}),W),Te=f()({},K);return delete Te.gutter,a.createElement(l.a.Provider,{value:{gutter:ie}},a.createElement("div",f()({},Te,{className:be,style:te,ref:v}),X))};return a.createElement(t.a,null,I)});b.displayName="Row",N.a=b},"qt/9":function(R,N,e){var A=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var x=e("nVfU"),m=x.layout,g=e("f5Yq");e("Ae16"),A.registerLayout(f.curry(m,"pictorialBar")),A.registerVisual(g("pictorialBar","roundRect"))},quyA:function(R,N){var e="\\ud800-\\udfff",A="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",x="\\u20d0-\\u20ff",m=A+f+x,g="\\ufe0e\\ufe0f",p="\\u200d",c=RegExp("["+p+e+m+g+"]");function s(a){return c.test(a)}R.exports=s},qwVE:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("K4ya"),m=e("XxSj"),g=A.PRIORITY.VISUAL.COMPONENT;A.registerVisual(g,{createOnAllSeries:!0,reset:function(c,s){var a=[];return s.eachComponent("visualMap",function(n){var i=c.pipelineContext;if(!n.isTargetSeries(c)||i&&i.large)return;a.push(x.incrementalApplyVisual(n.stateList,n.targetVisuals,f.bind(n.getValueState,n),n.getDataDimension(c.getData())))}),a}}),A.registerVisual(g,{createOnAllSeries:!0,reset:function(c,s){var a=c.getData(),n=[];s.eachComponent("visualMap",function(i){if(i.isTargetSeries(c)){var d=i.getVisualMeta(f.bind(p,null,c,i))||{stops:[],outerColors:[]},t=i.getDataDimension(a),l=a.getDimensionInfo(t);l!=null&&(d.dimension=l.index,n.push(d))}}),c.getData().setVisual("visualMeta",n)}});function p(c,s,a,n){for(var i=s.targetVisuals[n],d=m.prepareVisualTypes(i),t={color:c.getData().getVisual("color")},l=0,r=d.length;l<r;l++){var o=d[l],u=i[o==="opacity"?"__alphaForOpacity":o];u&&u.applyVisual(a,h,y)}return t.color;function h(b){return t[b]}function y(b,E){t[b]=E}}},"r+aA":function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("s2MQ")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="EyeInvisibleOutlined";var s=m.forwardRef(c);N.default=s},"r/2G":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},r6Bn:function(R,N,e){var A=e("bYtY"),f=e("ItGF"),x=e("4fz+"),m=e("BPZU");function g(s,a){return s.zlevel===a.zlevel?s.z===a.z?s.z2-a.z2:s.z-a.z:s.zlevel-a.zlevel}var p=function(){this._roots=[],this._displayList=[],this._displayListLen=0};p.prototype={constructor:p,traverse:function(a,n){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(a,n)},getDisplayList:function(a,n){return n=n||!1,a&&this.updateDisplayList(n),this._displayList},updateDisplayList:function(a){this._displayListLen=0;for(var n=this._roots,i=this._displayList,d=0,t=n.length;d<t;d++)this._updateAndAddDisplayable(n[d],null,a);i.length=this._displayListLen,f.canvasSupported&&m(i,g)},_updateAndAddDisplayable:function(a,n,i){if(a.ignore&&!i)return;a.beforeUpdate(),a.__dirty&&a.update(),a.afterUpdate();var d=a.clipPath;if(d){n?n=n.slice():n=[];for(var t=d,l=a;t;)t.parent=l,t.updateTransform(),n.push(t),l=t,t=t.clipPath}if(a.isGroup){for(var r=a._children,o=0;o<r.length;o++){var u=r[o];a.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,n,i)}a.__dirty=!1}else a.__clipPaths=n,this._displayList[this._displayListLen++]=a},addRoot:function(a){if(a.__storage===this)return;a instanceof x&&a.addChildrenToStorage(this),this.addToStorage(a),this._roots.push(a)},delRoot:function(a){if(a==null){for(var n=0;n<this._roots.length;n++){var i=this._roots[n];i instanceof x&&i.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(a instanceof Array){for(var n=0,d=a.length;n<d;n++)this.delRoot(a[n]);return}var t=A.indexOf(this._roots,a);t>=0&&(this.delFromStorage(a),this._roots.splice(t,1),a instanceof x&&a.delChildrenFromStorage(this))},addToStorage:function(a){return a&&(a.__storage=this,a.dirty(!1)),this},delFromStorage:function(a){return a&&(a.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:g};var c=p;R.exports=c},rA99:function(R,N,e){var A=e("y+Vt"),f=e("QBsz"),x=e("Sj9i"),m=x.quadraticSubdivide,g=x.cubicSubdivide,p=x.quadraticAt,c=x.cubicAt,s=x.quadraticDerivativeAt,a=x.cubicDerivativeAt,n=[];function i(t,l,r){var o=t.cpx2,u=t.cpy2;return o===null||u===null?[(r?a:c)(t.x1,t.cpx1,t.cpx2,t.x2,l),(r?a:c)(t.y1,t.cpy1,t.cpy2,t.y2,l)]:[(r?s:p)(t.x1,t.cpx1,t.x2,l),(r?s:p)(t.y1,t.cpy1,t.y2,l)]}var d=A.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,r){var o=r.x1,u=r.y1,h=r.x2,y=r.y2,b=r.cpx1,E=r.cpy1,v=r.cpx2,w=r.cpy2,O=r.percent;if(O===0)return;l.moveTo(o,u),v==null||w==null?(O<1&&(m(o,b,h,O,n),b=n[1],h=n[2],m(u,E,y,O,n),E=n[1],y=n[2]),l.quadraticCurveTo(b,E,h,y)):(O<1&&(g(o,b,v,h,O,n),b=n[1],v=n[2],h=n[3],g(u,E,w,y,O,n),E=n[1],w=n[2],y=n[3]),l.bezierCurveTo(b,E,v,w,h,y))},pointAt:function(l){return i(this.shape,l,!1)},tangentAt:function(l){var r=i(this.shape,l,!0);return f.normalize(r,r)}});R.exports=d},"rAM+":function(R,N,e){"use strict";e.d(N,"a",function(){return f});var A=e("Qw5x");function f(x,m){var g;if(typeof Symbol=="undefined"||x[Symbol.iterator]==null){if(Array.isArray(x)||(g=Object(A.a)(x))||m&&x&&typeof x.length=="number"){g&&(x=g);var p=0,c=function(){};return{s:c,n:function(){return p>=x.length?{done:!0}:{done:!1,value:x[p++]}},e:function(d){throw d},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,n;return{s:function(){g=x[Symbol.iterator]()},n:function(){var d=g.next();return s=d.done,d},e:function(d){a=!0,n=d},f:function(){try{!s&&g.return!=null&&g.return()}finally{if(a)throw n}}}}},rHrb:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var A=x(e("q1tI")),f=x(e("+QRC"));function x(y){return y&&y.__esModule?y:{default:y}}function m(y){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(y)}function g(y,b){var E=Object.keys(y);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(y);b&&(v=v.filter(function(w){return Object.getOwnPropertyDescriptor(y,w).enumerable})),E.push.apply(E,v)}return E}function p(y){for(var b=1;b<arguments.length;b++){var E=arguments[b]!=null?arguments[b]:{};b%2?g(E,!0).forEach(function(v){u(y,v,E[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(E)):g(E).forEach(function(v){Object.defineProperty(y,v,Object.getOwnPropertyDescriptor(E,v))})}return y}function c(y,b){if(y==null)return{};var E=s(y,b),v,w;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(y);for(w=0;w<O.length;w++){if(v=O[w],b.indexOf(v)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(y,v))continue;E[v]=y[v]}}return E}function s(y,b){if(y==null)return{};var E={},v=Object.keys(y),w,O;for(O=0;O<v.length;O++){if(w=v[O],b.indexOf(w)>=0)continue;E[w]=y[w]}return E}function a(y,b){if(!(y instanceof b))throw new TypeError("Cannot call a class as a function")}function n(y,b){for(var E=0;E<b.length;E++){var v=b[E];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(y,v.key,v)}}function i(y,b,E){return b&&n(y.prototype,b),E&&n(y,E),y}function d(y,b){return b&&(m(b)==="object"||typeof b=="function")?b:l(y)}function t(y){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},t(y)}function l(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function r(y,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(b&&b.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),b&&o(y,b)}function o(y,b){return o=Object.setPrototypeOf||function(v,w){return v.__proto__=w,v},o(y,b)}function u(y,b,E){return b in y?Object.defineProperty(y,b,{value:E,enumerable:!0,configurable:!0,writable:!0}):y[b]=E,y}var h=function(y){r(b,y);function b(){var E,v;a(this,b);for(var w=arguments.length,O=new Array(w),T=0;T<w;T++)O[T]=arguments[T];return v=d(this,(E=t(b)).call.apply(E,[this].concat(O))),u(l(v),"onClick",function(S){var C=v.props,_=C.text,I=C.onCopy,k=C.children,F=C.options,B=A.default.Children.only(k),j=(0,f.default)(_,F);I&&I(_,j),B&&B.props&&typeof B.props.onClick=="function"&&B.props.onClick(S)}),v}return i(b,[{key:"render",value:function(){var v=this.props,w=v.text,O=v.onCopy,T=v.options,S=v.children,C=c(v,["text","onCopy","options","children"]),_=A.default.Children.only(S);return A.default.cloneElement(_,p({},C,{onClick:this.onClick}))}}]),b}(A.default.PureComponent);N.CopyToClipboard=h,u(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="ReloadOutlined";var c=N.a=f.forwardRef(p)},rUJ1:function(R,N){var e=/[&<>"']/,A=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(S){return m[S]};function p(T,S){if(S){if(e.test(T))return T.replace(A,g)}else if(f.test(T))return T.replace(x,g);return T}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function s(T){return T.replace(c,function(S,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 a=/(^|[^\[])\^/g;function n(T,S){T=T.source||T,S=S||"";var C={replace:function(I,k){return k=k.source||k,k=k.replace(a,"$1"),T=T.replace(I,k),C},getRegex:function(){return new RegExp(T,S)}};return C}var i=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function t(T,S,C){if(T){var _;try{_=decodeURIComponent(s(C)).replace(i,"").toLowerCase()}catch(I){return null}if(_.indexOf("javascript:")===0||_.indexOf("vbscript:")===0||_.indexOf("data:")===0)return null}S&&!d.test(C)&&(C=h(S,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(I){return null}return C}var l={},r=/^[^:]+:\/*[^/]*$/,o=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,S){l[" "+T]||(r.test(T)?l[" "+T]=T+"/":l[" "+T]=v(T,"/",!0)),T=l[" "+T];var C=T.indexOf(":")===-1;return S.substring(0,2)==="//"?C?S:T.replace(o,"$1")+S:S.charAt(0)==="/"?C?S:T.replace(u,"$1")+S:T+S}var y={exec:function(){}};function b(T){for(var S=1,C,_;S<arguments.length;S++){C=arguments[S];for(_ in C)Object.prototype.hasOwnProperty.call(C,_)&&(T[_]=C[_])}return T}function E(T,S){var C=T.replace(/\|/g,function(k,F,B){for(var j=!1,z=F;--z>=0&&B[z]==="\\";)j=!j;return j?"|":" |"}),_=C.split(/ \|/),I=0;if(_.length>S)_.splice(S);else for(;_.length<S;)_.push("");for(;I<_.length;I++)_[I]=_[I].trim().replace(/\\\|/g,"|");return _}function v(T,S,C){var _=T.length;if(_===0)return"";for(var I=0;I<_;){var k=T.charAt(_-I-1);if(k===S&&!C)I++;else if(k!==S&&C)I++;else break}return T.substr(0,_-I)}function w(T,S){if(T.indexOf(S[1])===-1)return-1;for(var C=T.length,_=0,I=0;I<C;I++)if(T[I]==="\\")I++;else if(T[I]===S[0])_++;else if(T[I]===S[1]&&(_--,_<0))return I;return-1}function O(T){T&&T.sanitize&&!T.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}R.exports={escape:p,unescape:s,edit:n,cleanUrl:t,resolveUrl:h,noopTest:y,merge:b,splitCells:E,rtrim:v,findClosingBracket:w,checkSanitizeDeprecation:O}},rdUC:function(R,N,e){var A=e("MFOe"),f=A.Global;R.exports={name:"localStorage",read:m,write:g,each:p,remove:c,clearAll:s};function x(){return f.localStorage}function m(a){return x().getItem(a)}function g(a,n){return x().setItem(a,n)}function p(a){for(var n=x().length-1;n>=0;n--){var i=x().key(n);a(m(i),i)}}function c(a){return x().removeItem(a)}function s(){return x().clear()}},rdor:function(R,N,e){var A=e("lOQZ"),f=A.circularLayout;function x(m){m.eachSeriesByType("graph",function(g){g.get("layout")==="circular"&&f(g,"symbolSize")})}R.exports=x},rfSb:function(R,N,e){var A=e("T4UG"),f=e("sdST"),x=e("L0Ub"),m=x.getDimensionTypeByAxis,g=e("YXkt"),p=e("bYtY"),c=e("4NO4"),s=c.groupData,a=e("7aKB"),n=a.encodeHTML,i=e("xKMd"),d=2,t=A.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(r){t.superApply(this,"init",arguments),this.legendVisualProvider=new i(p.bind(this.getData,this),p.bind(this.getRawData,this))},fixData:function(r){var o=r.length,u=s(r,function(B){return B[2]}),h=[];u.buckets.each(function(B,j){h.push({name:j,dataList:B})});for(var y=h.length,b=-1,E=-1,v=0;v<y;++v){var w=h[v].dataList.length;w>b&&(b=w,E=v)}for(var O=0;O<y;++O){if(O===E)continue;for(var T=h[O].name,S=0;S<b;++S){for(var C=h[E].dataList[S][0],_=h[O].dataList.length,I=-1,k=0;k<_;++k){var F=h[O].dataList[k][0];if(F===C){I=k;break}}I===-1&&(r[o]=[],r[o][0]=C,r[o][1]=0,r[o][2]=T,o++)}}return r},getInitialData:function(r,o){for(var u=o.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=u.get("type"),y=p.filter(r.data,function(C){return C[2]!==void 0}),b=this.fixData(y||[]),E=[],v=this.nameMap=p.createHashMap(),w=0,O=0;O<b.length;++O)E.push(b[O][d]),v.get(b[O][d])||(v.set(b[O][d],w),w++);var T=f(b,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),S=new g(T,this);return S.initData(b),S},getLayerSeries:function(){for(var r=this.getData(),o=r.count(),u=[],h=0;h<o;++h)u[h]=h;var y=r.mapDimension("single"),b=s(u,function(v){return r.get("name",v)}),E=[];return b.buckets.each(function(v,w){v.sort(function(O,T){return r.get(y,O)-r.get(y,T)}),E.push({name:w,indices:v})}),E},getAxisTooltipData:function(r,o,u){p.isArray(r)||(r=r?[r]:[]);for(var h=this.getData(),y=this.getLayerSeries(),b=[],E=y.length,v,w=0;w<E;++w){for(var O=Number.MAX_VALUE,T=-1,S=y[w].indices.length,C=0;C<S;++C){var _=h.get(r[0],y[w].indices[C]),I=Math.abs(_-o);I<=O&&(v=_,O=I,T=y[w].indices[C])}b.push(T)}return{dataIndices:b,nestestValue:v}},formatTooltip:function(r){var o=this.getData(),u=o.getName(r),h=o.get(o.mapDimension("value"),r);return(isNaN(h)||h==null)&&(h="-"),n(u+" : "+h)},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=t;R.exports=l},rkZ5:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("ProS"),m=e("c8qY"),g=e("D9ME"),p=e("fls0"),c=e("RSch"),s=e("akwb"),a=e("o40c"),n=e("ZYIC"),i=e("sK/D"),d=i.createClipPath,t=x.extendChartView({type:"lines",init:function(){},render:function(l,r,o){var u=l.getData(),h=this._updateLineDraw(u,l),y=l.get("zlevel"),b=l.get("effect.trailLength"),E=o.getZr(),v=E.painter.getType()==="svg";v||E.painter.getLayer(y).clear(!0),this._lastZlevel!=null&&!v&&E.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&b&&(v||E.configLayer(y,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(b/10+.9,1),0)})),h.updateData(u);var w=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);w?this.group.setClipPath(w):this.group.removeClipPath(),this._lastZlevel=y,this._finished=!0},incrementalPrepareRender:function(l,r,o){var u=l.getData(),h=this._updateLineDraw(u,l);h.incrementalPrepareUpdate(u),this._clearLayer(o),this._finished=!1},incrementalRender:function(l,r,o){this._lineDraw.incrementalUpdate(l,r.getData()),this._finished=l.end===r.getData().count()},updateTransform:function(l,r,o){var u=l.getData(),h=l.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var y=n.reset(l);y.progress&&y.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(o)},_updateLineDraw:function(l,r){var o=this._lineDraw,u=this._showEffect(r),h=!!r.get("polyline"),y=r.pipelineContext,b=y.large;return(!o||u!==this._hasEffet||h!==this._isPolyline||b!==this._isLargeDraw)&&(o&&o.remove(),o=this._lineDraw=b?new a:new m(h?u?s:c:u?g:p),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=b,this.group.removeAll()),this.group.add(o.group),o},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var r=l.getZr(),o=r.painter.getType()==="svg";!o&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},dispose:function(){}});R.exports=t},rmlV:function(R,N,e){var A=e("y+Vt"),f=A.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,g){var p=.5522848,c=g.cx,s=g.cy,a=g.rx,n=g.ry,i=a*p,d=n*p;m.moveTo(c-a,s),m.bezierCurveTo(c-a,s-d,c-i,s-n,c,s-n),m.bezierCurveTo(c+i,s-n,c+a,s-d,c+a,s),m.bezierCurveTo(c+a,s+d,c+i,s+n,c,s+n),m.bezierCurveTo(c-i,s+n,c-a,s+d,c-a,s),m.closePath()}});R.exports=f},rnVJ:function(R,N,e){var A=e("bYtY"),f=["rect","polygon","keep","clear"];function x(g,p){var c=g&&g.brush;if(A.isArray(c)||(c=c?[c]:[]),!c.length)return;var s=[];A.each(c,function(t){var l=t.hasOwnProperty("toolbox")?t.toolbox:[];l instanceof Array&&(s=s.concat(l))});var a=g&&g.toolbox;A.isArray(a)&&(a=a[0]),a||(a={feature:{}},g.toolbox=[a]);var n=a.feature||(a.feature={}),i=n.brush||(n.brush={}),d=i.type||(i.type=[]);d.push.apply(d,s),m(d),p&&!d.length&&d.push.apply(d,f)}function m(g){var p={};A.each(g,function(c){p[c]=1}),g.length=0,A.each(p,function(c,s){g.push(s)})}R.exports=x},rwxt:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=e("GdRQ");function f(c,s){if(!(c instanceof s))throw new TypeError("Cannot call a class as a function")}function x(c,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(c,n.key,n)}}function m(c,s,a){return s&&x(c.prototype,s),a&&x(c,a),c}var g=!A.supportsCursorURIs||A.isTouchDevice,p=function(){function c(){f(this,c),this._target=null,this._canvas=document.createElement("canvas"),g&&(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(a){if(this._target&&this.detach(),this._target=a,g){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(g){var a={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,a),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,a),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,a),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,a),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(a,n,i,d,t){if(d===0||t===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-n,this._position.y=this._position.y+this._hotSpot.y-i,this._hotSpot.x=n,this._hotSpot.y=i;var l=this._canvas.getContext("2d");this._canvas.width=d,this._canvas.height=t;var r;try{r=new ImageData(new Uint8ClampedArray(a),d,t)}catch(u){r=l.createImageData(d,t),r.data.set(new Uint8ClampedArray(a))}if(l.clearRect(0,0,d,t),l.putImageData(r,0,0),g)this._updatePosition();else{var o=this._canvas.toDataURL();this._target.style.cursor="url("+o+")"+n+" "+i+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(a,n){if(!g)return;window.visualViewport?(this._position.x=a+window.visualViewport.offsetLeft,this._position.y=n+window.visualViewport.offsetTop):(this._position.x=a,this._position.y=n),this._updatePosition();var i=document.elementFromPoint(a,n);this._updateVisibility(i)}},{key:"_handleMouseOver",value:function(a){this._handleMouseMove(a)}},{key:"_handleMouseLeave",value:function(a){this._updateVisibility(a.relatedTarget)}},{key:"_handleMouseMove",value:function(a){this._updateVisibility(a.target),this._position.x=a.clientX-this._hotSpot.x,this._position.y=a.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(a){var n=this,i=document.elementFromPoint(a.clientX,a.clientY);this._updateVisibility(i),this._captureIsActive()&&window.setTimeout(function(){if(!n._target)return;i=document.elementFromPoint(a.clientX,a.clientY),n._updateVisibility(i)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(a){return a?a===this._target?!0:this._target.contains(a)?!(window.getComputedStyle(a).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(a){this._captureIsActive()&&(a=document.captureElement),this._shouldShowCursor(a)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),c}();N.default=p},rySg:function(R,N,e){e("SMc4"),e("8nMs")},s2MQ:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},s2lz:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("IwbS"),m=e("gPAo"),g=e("VaxA"),p=e("9hCq"),c=e("SgGq"),s=e("mFDi"),a=e("Fofx"),n=e("5s0K"),i=e("KCsZ"),d=e("7aKB"),t=d.windowOpen,l=f.bind,r=x.Group,o=x.Rect,u=f.each,h=3,y=["label"],b=["emphasis","label"],E=["upperLabel"],v=["emphasis","upperLabel"],w=10,O=1,T=2,S=i([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(B){var j=S(B);return j.stroke=j.fill=j.lineWidth=null,j},_=A.extendChartView({type:"treemap",init:function(B,j){this._containerGroup,this._storage=I(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(B,j,z,M){var U=j.findComponents({mainType:"series",subType:"treemap",query:M});if(f.indexOf(U,B)<0)return;this.seriesModel=B,this.api=z,this.ecModel=j;var P=["treemapZoomToNode","treemapRootToNode"],H=g.retrieveTargetInfo(M,P,B),W=M&&M.type,X=B.layoutInfo,K=!this._oldTree,$=this._storage,ie=W==="treemapRootToNode"&&H&&$?{rootNodeGroup:$.nodeGroup[H.node.getRawIndex()],direction:M.direction}:null,be=this._giveContainerGroup(X),te=this._doRender(be,B,ie);!K&&(!W||W==="treemapZoomToNode"||W==="treemapRootToNode")?this._doAnimation(be,te,B,ie):te.renderFinally(),this._resetController(z),this._renderBreadcrumb(B,z,H)},_giveContainerGroup:function(B){var j=this._containerGroup;return j||(j=this._containerGroup=new r,this._initEvents(j),this.group.add(j)),j.attr("position",[B.x,B.y]),j},_doRender:function(B,j,z){var M=j.getData().tree,U=this._oldTree,P=I(),H=I(),W=this._storage,X=[],K=f.curry(k,j,H,W,z,P,X);ie(M.root?[M.root]:[],U&&U.root?[U.root]:[],B,M===U||!U,0);var $=be(W);return this._oldTree=M,this._storage=H,{lastsForAnimation:P,willDeleteEls:$,renderFinally:te};function ie(Te,Ie,Fe,Qe,fe){Qe?(Ie=Te,u(Te,function(Ce,mt){!Ce.isRemoved()&&se(mt,mt)})):new m(Ie,Te,He,He).add(se).update(se).remove(f.curry(se,null)).execute();function He(Ce){return Ce.getId()}function se(Ce,mt){var Ne=Ce!=null?Te[Ce]:null,ae=mt!=null?Ie[mt]:null,ce=K(Ne,ae,Fe,fe);ce&&ie(Ne&&Ne.viewChildren||[],ae&&ae.viewChildren||[],ce,Qe,fe+1)}}function be(Te){var Ie=I();return Te&&u(Te,function(Fe,Qe){var fe=Ie[Qe];u(Fe,function(He){He&&(fe.push(He),He.__tmWillDelete=1)})}),Ie}function te(){u($,function(Te){u(Te,function(Ie){Ie.parent&&Ie.parent.remove(Ie)})}),u(X,function(Te){Te.invisible=!0,Te.dirty()})}},_doAnimation:function(B,j,z,M){if(!z.get("animation"))return;var U=z.get("animationDurationUpdate"),P=z.get("animationEasing"),H=n.createWrap();u(j.willDeleteEls,function(W,X){u(W,function(K,$){if(K.invisible)return;var ie=K.parent,be;if(M&&M.direction==="drillDown")be=ie===M.rootNodeGroup?{shape:{x:0,y:0,width:ie.__tmNodeWidth,height:ie.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var te=0,Te=0;ie.__tmWillDelete||(te=ie.__tmNodeWidth/2,Te=ie.__tmNodeHeight/2),be=X==="nodeGroup"?{position:[te,Te],style:{opacity:0}}:{shape:{x:te,y:Te,width:0,height:0},style:{opacity:0}}}be&&H.add(K,be,U,P)})}),u(this._storage,function(W,X){u(W,function(K,$){var ie=j.lastsForAnimation[X][$],be={};if(!ie)return;X==="nodeGroup"?ie.old&&(be.position=K.position.slice(),K.attr("position",ie.old)):(ie.old&&(be.shape=f.extend({},K.shape),K.setShape(ie.old)),ie.fadein?(K.setStyle("opacity",0),be.style={opacity:1}):K.style.opacity!==1&&(be.style={opacity:1})),H.add(K,be,U,P)})},this),this._state="animating",H.done(l(function(){this._state="ready",j.renderFinally()},this)).start()},_resetController:function(B){var j=this._controller;j||(j=this._controller=new c(B.getZr()),j.enable(this.seriesModel.get("roam")),j.on("pan",l(this._onPan,this)),j.on("zoom",l(this._onZoom,this)));var z=new s(0,0,B.getWidth(),B.getHeight());j.setPointerChecker(function(M,U,P){return z.contain(U,P)})},_clearController:function(){var B=this._controller;B&&(B.dispose(),B=null)},_onPan:function(B){if(this._state!=="animating"&&(Math.abs(B.dx)>h||Math.abs(B.dy)>h)){var j=this.seriesModel.getData().tree.root;if(!j)return;var z=j.getLayout();if(!z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x+B.dx,y:z.y+B.dy,width:z.width,height:z.height}})}},_onZoom:function(B){var j=B.originX,z=B.originY;if(this._state!=="animating"){var M=this.seriesModel.getData().tree.root;if(!M)return;var U=M.getLayout();if(!U)return;var P=new s(U.x,U.y,U.width,U.height),H=this.seriesModel.layoutInfo;j-=H.x,z-=H.y;var W=a.create();a.translate(W,W,[-j,-z]),a.scale(W,W,[B.scale,B.scale]),a.translate(W,W,[j,z]),P.applyTransform(W),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:P.x,y:P.y,width:P.width,height:P.height}})}},_initEvents:function(B){B.on("click",function(j){if(this._state!=="ready")return;var z=this.seriesModel.get("nodeClick",!0);if(!z)return;var M=this.findTarget(j.offsetX,j.offsetY);if(!M)return;var U=M.node;if(U.getLayout().isLeafRoot)this._rootToNode(M);else if(z==="zoomToNode")this._zoomToNode(M);else if(z==="link"){var P=U.hostTree.data.getItemModel(U.dataIndex),H=P.get("link",!0),W=P.get("target",!0)||"blank";H&&t(H,W)}},this)},_renderBreadcrumb:function(B,j,z){z||(z=B.get("leafDepth",!0)!=null?{node:B.getViewRoot()}:this.findTarget(j.getWidth()/2,j.getHeight()/2),z||(z={node:B.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new p(this.group))).render(B,j,z.node,l(M,this));function M(U){this._state!=="animating"&&(g.aboveViewRoot(B.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=I(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(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,j){var z,M=this.seriesModel.getViewRoot();return M.eachNode({attr:"viewChildren",order:"preorder"},function(U){var P=this._storage.background[U.getRawIndex()];if(P){var H=P.transformCoordToLocal(B,j),W=P.shape;if(W.x<=H[0]&&H[0]<=W.x+W.width&&W.y<=H[1]&&H[1]<=W.y+W.height)z={node:U,offsetX:H[0],offsetY:H[1]};else return!1}},this),z}});function I(){return{nodeGroup:[],background:[],content:[]}}function k(B,j,z,M,U,P,H,W,X,K){if(!H)return;var $=H.getLayout(),ie=B.getData();if(ie.setItemGraphicEl(H.dataIndex,null),!$||!$.isInView)return;var be=$.width,te=$.height,Te=$.borderWidth,Ie=$.invisible,Fe=H.getRawIndex(),Qe=W&&W.getRawIndex(),fe=H.viewChildren,He=$.upperHeight,se=fe&&fe.length,Ce=H.getModel("itemStyle"),mt=H.getModel("emphasis.itemStyle"),Ne=he("nodeGroup",r);if(!Ne)return;if(X.add(Ne),Ne.attr("position",[$.x||0,$.y||0]),Ne.__tmNodeWidth=be,Ne.__tmNodeHeight=te,$.isAboveViewRoot)return Ne;var ae=H.getModel(),ce=he("background",o,K,O);if(ce&&je(Ne,ce,se&&$.upperLabelHeight),se)x.isHighDownDispatcher(Ne)&&x.setAsHighDownDispatcher(Ne,!1),ce&&(x.setAsHighDownDispatcher(ce,!0),ie.setItemGraphicEl(H.dataIndex,ce));else{var le=he("content",o,K,T);le&&Re(Ne,le),ce&&x.isHighDownDispatcher(ce)&&x.setAsHighDownDispatcher(ce,!1),x.setAsHighDownDispatcher(Ne,!0),ie.setItemGraphicEl(H.dataIndex,Ne)}return Ne;function je(lt,At,Me){if(At.dataIndex=H.dataIndex,At.seriesIndex=B.seriesIndex,At.setShape({x:0,y:0,width:be,height:te}),Ie)Ze(At);else{At.invisible=!1;var Ht=H.getVisual("borderColor",!0),tt=mt.get("borderColor"),Mt=C(Ce);Mt.fill=Ht;var jt=S(mt);if(jt.fill=tt,Me){var kt=be-2*Te;De(Mt,jt,Ht,kt,He,{x:Te,y:0,width:kt,height:He})}else Mt.text=jt.text=null;At.setStyle(Mt),x.setElementHoverStyle(At,jt)}lt.add(At)}function Re(lt,At){At.dataIndex=H.dataIndex,At.seriesIndex=B.seriesIndex;var Me=Math.max(be-2*Te,0),Ht=Math.max(te-2*Te,0);if(At.culling=!0,At.setShape({x:Te,y:Te,width:Me,height:Ht}),Ie)Ze(At);else{At.invisible=!1;var tt=H.getVisual("color",!0),Mt=C(Ce);Mt.fill=tt;var jt=S(mt);De(Mt,jt,tt,Me,Ht),At.setStyle(Mt),x.setElementHoverStyle(At,jt)}lt.add(At)}function Ze(lt){!lt.invisible&&P.push(lt)}function De(lt,At,Me,Ht,tt,Mt){var jt=ae.get("name"),kt=ae.getModel(Mt?E:y),Tt=ae.getModel(Mt?v:b),Dt=kt.getShallow("show");x.setLabelStyle(lt,At,kt,Tt,{defaultText:Dt?jt:null,autoColor:Me,isRectText:!0,labelFetcher:B,labelDataIndex:H.dataIndex,labelProp:Mt?"upperLabel":"label"}),ne(lt,Mt,$),ne(At,Mt,$),Mt&&(lt.textRect=f.clone(Mt)),lt.truncate=Dt&&kt.get("ellipsis")?{outerWidth:Ht,outerHeight:tt,minChar:2}:null}function ne(lt,At,Me){var Ht=lt.text;if(!At&&Me.isLeafRoot&&Ht!=null){var tt=B.get("drillDownIcon",!0);lt.text=tt?tt+" "+Ht:Ht}}function he(lt,At,Me,Ht){var tt=Qe!=null&&z[lt][Qe],Mt=U[lt];return tt?(z[lt][Qe]=null,pe(Mt,tt,lt)):Ie||(tt=new At({z:F(Me,Ht)}),tt.__tmDepth=Me,tt.__tmStorageName=lt,Xe(Mt,tt,lt)),j[lt][Fe]=tt}function pe(lt,At,Me){var Ht=lt[Fe]={};Ht.old=Me==="nodeGroup"?At.position.slice():f.extend({},At.shape)}function Xe(lt,At,Me){var Ht=lt[Fe]={},tt=H.parentNode;if(tt&&(!M||M.direction==="drillDown")){var Mt=0,jt=0,kt=U.background[tt.getRawIndex()];!M&&kt&&kt.old&&(Mt=kt.old.width,jt=kt.old.height),Ht.old=Me==="nodeGroup"?[0,jt]:{x:Mt,y:jt,width:0,height:0}}Ht.fadein=Me!=="nodeGroup"}}function F(B,j){var z=B*w+j;return(z-1)/z}R.exports=_},sAZ8:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("+rIm"),m=e("/IIm"),g=e("9KIM"),p=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],s=A.extendComponentView({type:"parallelAxis",init:function(t,l){s.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(t,l,r,o){if(a(t,l,o))return;this.axisModel=t,this.api=r,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new p.Group,this.group.add(this._axisGroup),!t.get("show"))return;var h=i(t,l),y=h.coordinateSystem,b=t.getAreaSelectStyle(),E=b.width,v=t.axis.dim,w=y.getAxisLayout(v),O=f.extend({strokeContainThreshold:E},w),T=new x(t,O);f.each(c,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(O,b,t,h,E,r);var S=o&&o.animation===!1?null:t;p.groupTransition(u,this._axisGroup,S)},_refreshBrushController:function(t,l,r,o,u,h){var y=r.axis.getExtent(),b=y[1]-y[0],E=Math.min(30,Math.abs(b)*.1),v=p.BoundingRect.create({x:y[0],y:-u/2,width:b,height:u});v.x-=E,v.width+=2*E,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:g.makeRectPanelClipPath(v),isTargetByCursor:g.makeRectIsTargetByCursor(v,h,o),getLinearBrushOtherExtent:g.makeLinearBrushOtherExtent(v,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(n(r))},_onBrush:function(t,l){var r=this.axisModel,o=r.axis,u=f.map(t,function(h){return[o.coordToData(h.range[0],!0),o.coordToData(h.range[1],!0)]});(!r.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function a(t,l,r){return r&&r.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:r})[0]===t}function n(t){var l=t.axis;return f.map(t.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(r[0],!0),l.dataToCoord(r[1],!0)]}})}function i(t,l){return l.getComponent("parallel",t.get("parallelIndex"))}var d=s;R.exports=d},sE09:function(R,N,e){},sGsY:function(R,N,e){"use strict";var A=e("lSNA"),f=e.n(A),x=e("pVnL"),m=e.n(x),g=e("q1tI"),p=e("TSYQ"),c=e.n(p),s=e("H84U"),a=e("B6l+"),n=e.n(a),i=function(H){var W=H.value,X=H.formatter,K=H.precision,$=H.decimalSeparator,ie=H.groupSeparator,be=ie===void 0?"":ie,te=H.prefixCls,Te;if(typeof X=="function")Te=X(W);else{var Ie=String(W),Fe=Ie.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Fe||Ie==="-")Te=Ie;else{var Qe=Fe[1],fe=Fe[2]||"0",He=Fe[4]||"";fe=fe.replace(/\B(?=(\d{3})+(?!\d))/g,be),typeof K=="number"&&(He=n()(He,K,"0").slice(0,K)),He&&(He="".concat($).concat(He)),Te=[g.createElement("span",{key:"int",className:"".concat(te,"-content-value-int")},Qe,fe),He&&g.createElement("span",{key:"decimal",className:"".concat(te,"-content-value-decimal")},He)]}}return g.createElement("span",{className:"".concat(te,"-content-value")},Te)},d=i,t=function(H){var W=H.prefixCls,X=H.className,K=H.style,$=H.valueStyle,ie=H.value,be=ie===void 0?0:ie,te=H.title,Te=H.valueRender,Ie=H.prefix,Fe=H.suffix,Qe=H.direction,fe=H.onMouseEnter,He=H.onMouseLeave,se=g.createElement(d,m()({},H,{value:be})),Ce=c()(W,X,f()({},"".concat(W,"-rtl"),Qe==="rtl"));return g.createElement("div",{className:Ce,style:K,onMouseEnter:fe,onMouseLeave:He},te&&g.createElement("div",{className:"".concat(W,"-title")},te),g.createElement("div",{style:$,className:"".concat(W,"-content")},Ie&&g.createElement("span",{className:"".concat(W,"-content-prefix")},Ie),Te?Te(se):se,Fe&&g.createElement("span",{className:"".concat(W,"-content-suffix")},Fe)))};t.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(s.c)({prefixCls:"statistic"})(t),r=l,o=e("lwsE"),u=e.n(o),h=e("W8MJ"),y=e.n(h),b=e("7W2i"),E=e.n(b),v=e("LQ03"),w=e.n(v),O=e("J4zp"),T=e.n(O),S=e("QQZ/"),C=e.n(S),_=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function I(P,H){var W=P,X=/\[[^\]]*]/g,K=(H.match(X)||[]).map(function(te){return te.slice(1,-1)}),$=H.replace(X,"[]"),ie=_.reduce(function(te,Te){var Ie=T()(Te,2),Fe=Ie[0],Qe=Ie[1];if(te.indexOf(Fe)!==-1){var fe=Math.floor(W/Qe);return W-=fe*Qe,te.replace(new RegExp("".concat(Fe,"+"),"g"),function(He){var se=He.length;return C()(fe.toString(),se,"0")})}return te},$),be=0;return ie.replace(X,function(){var te=K[be];return be+=1,te})}function k(P,H){var W=H.format,X=W===void 0?"":W,K=new Date(P).getTime(),$=Date.now(),ie=Math.max(K-$,0);return I(ie,X)}var F=e("0n0R"),B=1e3/30;function j(P){return new Date(P).getTime()}var z=function(P){E()(W,P);var H=w()(W);function W(){var X;return u()(this,W),X=H.apply(this,arguments),X.syncTimer=function(){var K=X.props.value,$=j(K);$>=Date.now()?X.startTimer():X.stopTimer()},X.startTimer=function(){if(X.countdownId)return;X.countdownId=window.setInterval(function(){X.forceUpdate()},B)},X.stopTimer=function(){var K=X.props,$=K.onFinish,ie=K.value;if(X.countdownId){clearInterval(X.countdownId),X.countdownId=void 0;var be=j(ie);$&&be<Date.now()&&$()}},X.formatCountdown=function(K,$){var ie=X.props.format;return k(K,m()(m()({},$),{format:ie}))},X.valueRender=function(K){return Object(F.a)(K,{title:void 0})},X}return y()(W,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return g.createElement(r,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),W}(g.Component);z.defaultProps={format:"HH:mm:ss"};var M=z;r.Countdown=M;var U=N.a=r},"sK/D":function(R,N,e){var A=e("IwbS"),f=e("OELB"),x=f.round;function m(c,s,a){var n=c.getArea(),i=c.getBaseAxis().isHorizontal(),d=n.x,t=n.y,l=n.width,r=n.height,o=a.get("lineStyle.width")||2;d-=o/2,t-=o/2,l+=o,r+=o,d=Math.floor(d),l=Math.round(l);var u=new A.Rect({shape:{x:d,y:t,width:l,height:r}});return s&&(u.shape[i?"width":"height"]=0,A.initProps(u,{shape:{width:l,height:r}},a)),u}function g(c,s,a){var n=c.getArea(),i=new A.Sector({shape:{cx:x(c.cx,1),cy:x(c.cy,1),r0:x(n.r0,1),r:x(n.r,1),startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return s&&(i.shape.endAngle=n.startAngle,A.initProps(i,{shape:{endAngle:n.endAngle}},a)),i}function p(c,s,a){if(c){if(c.type==="polar")return g(c,s,a);if(c.type==="cartesian2d")return m(c,s,a)}else return null;return null}N.createGridClipPath=m,N.createPolarClipPath=g,N.createClipPath=p},sKgW:function(R,N){var e=9007199254740991,A=Math.floor;function f(x,m){var g="";if(!x||m<1||m>e)return g;do m%2&&(g+=x),m=A(m/2),m&&(x+=x);while(m);return g}R.exports=f},sPJy:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("AOa7"),m=e.n(x),g=e("lUTK"),p=e("qVdP")},sPtV:function(R,N,e){"use strict";e.d(N,"a",function(){return m});var A=e("q1tI"),f=e.n(A),x=e("hkKa");function m(g){var p=A.useRef(g),c=Object(x.a)();return[function(){return p.current},function(s){p.current=s,c()}]}},sRBo:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("KCY9"),m=e.n(x)},sRwP:function(R,N,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(R,N,e){var A=e("4fz+"),f=e("iRjW"),x=e("Yl7c"),m=function(){this.group=new A,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(c,s){},render:function(c,s,a,n){},dispose:function(){},filterForExposedEvent:null};var g=m.prototype;g.updateView=g.updateLayout=g.updateVisual=function(c,s,a,n){},x.enableClassExtend(m),x.enableClassManagement(m,{registerWhenExtend:!0});var p=m;R.exports=p},"sW+o":function(R,N,e){var A=e("SrGk"),f=e("bYtY"),x=e("SUKs"),m=e("Qe9p");function g(c,s){A.call(this,c,s,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(g,A),g.prototype.addWithoutUpdate=function(c,s){if(s&&s.style){var a=this;f.each(["fill","stroke"],function(n){if(s.style[n]&&(s.style[n].type==="linear"||s.style[n].type==="radial")){var i=s.style[n],d=a.getDefs(!0),t;i._dom?(t=i._dom,d.contains(i._dom)||a.addDom(t)):t=a.add(i),a.markUsed(s);var l=t.getAttribute("id");c.setAttribute(n,"url(#"+l+")")}})}},g.prototype.add=function(c){var s;if(c.type==="linear")s=this.createElement("linearGradient");else if(c.type==="radial")s=this.createElement("radialGradient");else return x("Illegal gradient type."),null;return c.id=c.id||this.nextId++,s.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,s),this.addDom(s),s},g.prototype.update=function(c){var s=this;A.prototype.update.call(this,c,function(){var a=c.type,n=c._dom.tagName;a==="linear"&&n==="linearGradient"||a==="radial"&&n==="radialGradient"?s.updateDom(c,c._dom):(s.removeDom(c),s.add(c))})},g.prototype.updateDom=function(c,s){if(c.type==="linear")s.setAttribute("x1",c.x),s.setAttribute("y1",c.y),s.setAttribute("x2",c.x2),s.setAttribute("y2",c.y2);else if(c.type==="radial")s.setAttribute("cx",c.x),s.setAttribute("cy",c.y),s.setAttribute("r",c.r);else{x("Illegal gradient type.");return}c.global?s.setAttribute("gradientUnits","userSpaceOnUse"):s.setAttribute("gradientUnits","objectBoundingBox"),s.innerHTML="";for(var a=c.colorStops,n=0,i=a.length;n<i;++n){var d=this.createElement("stop");d.setAttribute("offset",a[n].offset*100+"%");var t=a[n].color;if(t.indexOf("rgba">-1)){var l=m.parse(t)[3],r=m.toHex(t);d.setAttribute("stop-color","#"+r),d.setAttribute("stop-opacity",l)}else d.setAttribute("stop-color",a[n].color);s.appendChild(d)}c._dom=s},g.prototype.markUsed=function(c){if(c.style){var s=c.style.fill;s&&s._dom&&A.prototype.markUsed.call(this,s._dom),s=c.style.stroke,s&&s._dom&&A.prototype.markUsed.call(this,s._dom)}};var p=g;R.exports=p},sdST:function(R,N,e){var A=e("hi0g");function f(x,m){return m=m||{},A(m.coordDimensions||[],x,{dimsDef:m.dimensionsDefine||x.dimensionsDefine,encodeDef:m.encodeDefine||x.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}R.exports=f},sjKO:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=x;var A=30,f=12;function x(m,g){var p,c,s,a,n,i,d,t,l,r,o,u,h,y,b,E,v,w,O,T,S,C,_,I,k;p=m.state,c=m.next_in,I=m.input,s=c+(m.avail_in-5),a=m.next_out,k=m.output,n=a-(g-m.avail_out),i=a+(m.avail_out-257),d=p.dmax,t=p.wsize,l=p.whave,r=p.wnext,o=p.window,u=p.hold,h=p.bits,y=p.lencode,b=p.distcode,E=(1<<p.lenbits)-1,v=(1<<p.distbits)-1;e:do{h<15&&(u+=I[c++]<<h,h+=8,u+=I[c++]<<h,h+=8),w=y[u&E];t:for(;;){if(O=w>>>24,u>>>=O,h-=O,O=w>>>16&255,O===0)k[a++]=w&65535;else if(O&16){T=w&65535,O&=15,O&&(h<O&&(u+=I[c++]<<h,h+=8),T+=u&(1<<O)-1,u>>>=O,h-=O),h<15&&(u+=I[c++]<<h,h+=8,u+=I[c++]<<h,h+=8),w=b[u&v];r:for(;;){if(O=w>>>24,u>>>=O,h-=O,O=w>>>16&255,O&16){if(S=w&65535,O&=15,h<O&&(u+=I[c++]<<h,h+=8,h<O&&(u+=I[c++]<<h,h+=8)),S+=u&(1<<O)-1,S>d){m.msg="invalid distance too far back",p.mode=A;break e}if(u>>>=O,h-=O,O=a-n,S>O){if(O=S-O,O>l&&p.sane){m.msg="invalid distance too far back",p.mode=A;break e}if(C=0,_=o,r===0){if(C+=t-O,O<T){T-=O;do k[a++]=o[C++];while(--O);C=a-S,_=k}}else if(r<O){if(C+=t+r-O,O-=r,O<T){T-=O;do k[a++]=o[C++];while(--O);if(C=0,r<T){O=r,T-=O;do k[a++]=o[C++];while(--O);C=a-S,_=k}}}else if(C+=r-O,O<T){T-=O;do k[a++]=o[C++];while(--O);C=a-S,_=k}for(;T>2;)k[a++]=_[C++],k[a++]=_[C++],k[a++]=_[C++],T-=3;T&&(k[a++]=_[C++],T>1&&(k[a++]=_[C++]))}else{C=a-S;do k[a++]=k[C++],k[a++]=k[C++],k[a++]=k[C++],T-=3;while(T>2);T&&(k[a++]=k[C++],T>1&&(k[a++]=k[C++]))}}else if((O&64)===0){w=b[(w&65535)+(u&(1<<O)-1)];continue r}else{m.msg="invalid distance code",p.mode=A;break e}break}}else if((O&64)===0){w=y[(w&65535)+(u&(1<<O)-1)];continue t}else if(O&32){p.mode=f;break e}else{m.msg="invalid literal/length code",p.mode=A;break e}break}}while(c<s&&a<i);T=h>>3,c-=T,h-=T<<3,u&=(1<<h)-1,m.next_in=c,m.next_out=a,m.avail_in=c<s?5+(s-c):5-(c-s),m.avail_out=a<i?257+(i-a):257-(a-i),p.hold=u,p.bits=h;return}},szbU:function(R,N,e){var A=e("bYtY"),f=A.each;function x(g){var p=g&&g.visualMap;A.isArray(p)||(p=p?[p]:[]),f(p,function(c){if(!c)return;m(c,"splitList")&&!m(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var s=c.pieces;s&&A.isArray(s)&&f(s,function(a){A.isObject(a)&&(m(a,"start")&&!m(a,"min")&&(a.min=a.start),m(a,"end")&&!m(a,"max")&&(a.max=a.end))})})}function m(g,p){return g&&g.hasOwnProperty&&g.hasOwnProperty(p)}R.exports=x},t23M:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("1OyB"),x=e("vuIU"),m=e("Ji7U"),g=e("LK+K"),p=e("q1tI"),c=e.n(p),s=e("m+aA"),a=e("Zm9Q"),n=e("Kwbf"),i=e("c+Xe"),d=e("bdgK"),t="rc-observer-key",l=function(r){Object(m.a)(u,r);var o=Object(g.a)(u);function u(){var h;Object(f.a)(this,u);for(var y=arguments.length,b=new Array(y),E=0;E<y;E++)b[E]=arguments[E];return h=o.call.apply(o,[this].concat(b)),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(v){var w=h.props.onResize,O=v[0].target,T=O.getBoundingClientRect(),S=T.width,C=T.height,_=O.offsetWidth,I=O.offsetHeight,k=Math.floor(S),F=Math.floor(C);if(h.state.width!==k||h.state.height!==F||h.state.offsetWidth!==_||h.state.offsetHeight!==I){var B={width:k,height:F,offsetWidth:_,offsetHeight:I};if(h.setState(B),w){var j=_===Math.round(S)?S:_,z=I===Math.round(C)?C:I;Promise.resolve().then(function(){w(Object(A.a)(Object(A.a)({},B),{},{offsetWidth:j,offsetHeight:z}),O)})}}},h.setChildNode=function(v){h.childNode=v},h}return Object(x.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var y=this.props.disabled;if(y){this.destroyObserver();return}var b=Object(s.a)(this.childNode||this),E=b!==this.currentElement;E&&(this.destroyObserver(),this.currentElement=b),!this.resizeObserver&&b&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(b))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var y=this.props.children,b=Object(a.a)(y);if(b.length>1)Object(n.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(b.length===0)return Object(n.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var E=b[0];if(p.isValidElement(E)&&Object(i.c)(E)){var v=E.ref;b[0]=p.cloneElement(E,{ref:Object(i.a)(v,this.setChildNode)})}return b.length===1?b[0]:b.map(function(w,O){return!p.isValidElement(w)||"key"in w&&w.key!==null?w:p.cloneElement(w,{key:"".concat(t,"-").concat(O)})})}}]),u}(p.Component);l.displayName="ResizeObserver",N.a=l},t3Fx:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=Object.assign||function(o){for(var u=1;u<arguments.length;u++){var h=arguments[u];for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(o[y]=h[y])}return o},f=function(){function o(u,h){for(var y=0;y<h.length;y++){var b=h[y];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,h,y){return h&&o(u.prototype,h),y&&o(u,y),u}}(),x=e("q1tI"),m=i(x),g=e("17x9"),p=i(g),c=e("tkwv"),s=i(c),a=e("u3os"),n=e("kzFp");function i(o){return o&&o.__esModule?o:{default:o}}function d(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}function t(o,u){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:o}function l(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(o,u):o.__proto__=u)}var r=function(o){l(u,o);function u(h){d(this,u);var y=t(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,h));return y.getEchartsInstance=function(){return y.echartsLib.getInstanceByDom(y.echartsElement)||y.echartsLib.init(y.echartsElement,y.props.theme,y.props.opts)},y.dispose=function(){if(y.echartsElement){try{(0,a.clear)(y.echartsElement)}catch(b){console.warn(b)}y.echartsLib.dispose(y.echartsElement)}},y.rerender=function(){var b=y.props,E=b.onEvents,v=b.onChartReady,w=y.renderEchartDom();y.bindEvents(w,E||{}),typeof v=="function"&&y.props.onChartReady(w),y.echartsElement&&(0,a.bind)(y.echartsElement,function(){try{w.resize()}catch(O){console.warn(O)}})},y.bindEvents=function(b,E){var v=function(T,S){typeof T=="string"&&typeof S=="function"&&b.on(T,function(C){S(C,b)})};for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&v(w,E[w])},y.renderEchartDom=function(){var b=y.getEchartsInstance();return b.setOption(y.props.option,y.props.notMerge||!1,y.props.lazyUpdate||!1),y.props.showLoading?b.showLoading(y.props.loadingOption||null):b.hideLoading(),b},y.echartsLib=h.echarts,y.echartsElement=null,y}return f(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(y){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(y,this.props))return;if(!(0,s.default)(y.theme,this.props.theme)||!(0,s.default)(y.opts,this.props.opts)||!(0,s.default)(y.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var b=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,s.default)((0,n.pick)(this.props,b),(0,n.pick)(y,b)))return;var E=this.renderEchartDom();if(!(0,s.default)(y.style,this.props.style)||!(0,s.default)(y.className,this.props.className))try{E.resize()}catch(v){console.warn(v)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var y=this,b=this.props,E=b.style,v=b.className,w=A({height:300},E);return m.default.createElement("div",{ref:function(T){y.echartsElement=T},style:w,className:"echarts-for-react "+v})}}]),u}(x.Component);N.default=r,r.propTypes={option:p.default.object.isRequired,echarts:p.default.object,notMerge:p.default.bool,lazyUpdate:p.default.bool,style:p.default.object,className:p.default.string,theme:p.default.oneOfType([p.default.string,p.default.object]),onChartReady:p.default.func,showLoading:p.default.bool,loadingOption:p.default.object,onEvents:p.default.object,opts:p.default.shape({devicePixelRatio:p.default.number,renderer:p.default.oneOf(["canvas","svg"]),width:p.default.oneOfType([p.default.number,p.default.oneOf([null,void 0,"auto"])]),height:p.default.oneOfType([p.default.number,p.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:p.default.func},r.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(R,N,e){var A=e("bYtY"),f=e("IwbS"),x=e("Qxkt"),m=e("Znkb"),g=e("+rIm"),p=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(i,d,t){d[1]>d[0]&&(d=d.slice().reverse());var l=i.coordToPoint([d[0],t]),r=i.coordToPoint([d[1],t]);return{x1:l[0],y1:l[1],x2:r[0],y2:r[1]}}function s(i){var d=i.getRadiusAxis();return d.inverse?0:1}function a(i){var d=i[0],t=i[i.length-1];d&&t&&Math.abs(Math.abs(d.coord-t.coord)-360)<1e-4&&i.pop()}var n=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(i,d){if(this.group.removeAll(),!i.get("show"))return;var t=i.axis,l=t.polar,r=l.getRadiusAxis().getExtent(),o=t.getTicksCoords(),u=t.getMinorTicksCoords(),h=A.map(t.getViewLabels(),function(y){var y=A.clone(y);return y.coord=t.dataToCoord(y.tickValue),y});a(h),a(o),A.each(p,function(y){i.get(y+".show")&&(!t.scale.isBlank()||y==="axisLine")&&this["_"+y](i,l,o,u,r,h)},this)},_axisLine:function(i,d,t,l,r){var o=i.getModel("axisLine.lineStyle"),u=s(d),h=u?0:1,y;r[h]===0?y=new f.Circle({shape:{cx:d.cx,cy:d.cy,r:r[u]},style:o.getLineStyle(),z2:1,silent:!0}):y=new f.Ring({shape:{cx:d.cx,cy:d.cy,r:r[u],r0:r[h]},style:o.getLineStyle(),z2:1,silent:!0}),y.style.fill=null,this.group.add(y)},_axisTick:function(i,d,t,l,r){var o=i.getModel("axisTick"),u=(o.get("inside")?-1:1)*o.get("length"),h=r[s(d)],y=A.map(t,function(b){return new f.Line({shape:c(d,[h,h+u],b.coord)})});this.group.add(f.mergePath(y,{style:A.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")})}))},_minorTick:function(i,d,t,l,r){if(!l.length)return;for(var o=i.getModel("axisTick"),u=i.getModel("minorTick"),h=(o.get("inside")?-1:1)*u.get("length"),y=r[s(d)],b=[],E=0;E<l.length;E++)for(var v=0;v<l[E].length;v++)b.push(new f.Line({shape:c(d,[y,y+h],l[E][v].coord)}));this.group.add(f.mergePath(b,{style:A.defaults(u.getModel("lineStyle").getLineStyle(),A.defaults(o.getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(i,d,t,l,r,o){var u=i.getCategories(!0),h=i.getModel("axisLabel"),y=h.get("margin"),b=i.get("triggerEvent");A.each(o,function(E,v){var w=h,O=E.tickValue,T=r[s(d)],S=d.coordToPoint([T+y,E.coord]),C=d.cx,_=d.cy,I=Math.abs(S[0]-C)/T<.3?"center":S[0]>C?"left":"right",k=Math.abs(S[1]-_)/T<.3?"middle":S[1]>_?"top":"bottom";u&&u[O]&&u[O].textStyle&&(w=new x(u[O].textStyle,h,h.ecModel));var F=new f.Text({silent:g.isLabelSilent(i)});this.group.add(F),f.setTextStyle(F.style,w,{x:S[0],y:S[1],textFill:w.getTextColor()||i.get("axisLine.lineStyle.color"),text:E.formattedLabel,textAlign:I,textVerticalAlign:k}),b&&(F.eventData=g.makeAxisEventDataBase(i),F.eventData.targetType="axisLabel",F.eventData.value=E.rawLabel)},this)},_splitLine:function(i,d,t,l,r){var o=i.getModel("splitLine"),u=o.getModel("lineStyle"),h=u.get("color"),y=0;h=h instanceof Array?h:[h];for(var b=[],E=0;E<t.length;E++){var v=y++%h.length;b[v]=b[v]||[],b[v].push(new f.Line({shape:c(d,r,t[E].coord)}))}for(var E=0;E<b.length;E++)this.group.add(f.mergePath(b[E],{style:A.defaults({stroke:h[E%h.length]},u.getLineStyle()),silent:!0,z:i.get("z")}))},_minorSplitLine:function(i,d,t,l,r){if(!l.length)return;for(var o=i.getModel("minorSplitLine"),u=o.getModel("lineStyle"),h=[],y=0;y<l.length;y++)for(var b=0;b<l[y].length;b++)h.push(new f.Line({shape:c(d,r,l[y][b].coord)}));this.group.add(f.mergePath(h,{style:u.getLineStyle(),silent:!0,z:i.get("z")}))},_splitArea:function(i,d,t,l,r){if(!t.length)return;var o=i.getModel("splitArea"),u=o.getModel("areaStyle"),h=u.get("color"),y=0;h=h instanceof Array?h:[h];for(var b=[],E=Math.PI/180,v=-t[0].coord*E,w=Math.min(r[0],r[1]),O=Math.max(r[0],r[1]),T=i.get("clockwise"),S=1;S<t.length;S++){var C=y++%h.length;b[C]=b[C]||[],b[C].push(new f.Sector({shape:{cx:d.cx,cy:d.cy,r0:w,r:O,startAngle:v,endAngle:-t[S].coord*E,clockwise:T},silent:!0})),v=-t[S].coord*E}for(var S=0;S<b.length;S++)this.group.add(f.mergePath(b[S],{style:A.defaults({fill:h[S%h.length]},u.getAreaStyle()),silent:!0}))}});R.exports=n},tSko:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("SRve")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="PlusOutlined";var s=m.forwardRef(c);N.default=s},tceW:function(R,N,e){var A=e("KCsZ"),f=A([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),x={getBarItemStyle:function(m){var g=f(this,m);if(this.getBorderLineDash){var p=this.getBorderLineDash();p&&(g.lineDash=p)}return g}};R.exports=x},tkwv:function(R,N,e){"use strict";var A=Array.isArray,f=Object.keys,x=Object.prototype.hasOwnProperty;R.exports=function m(g,p){if(g===p)return!0;if(g&&p&&typeof g=="object"&&typeof p=="object"){var c=A(g),s=A(p),a,n,i;if(c&&s){if(n=g.length,n!=p.length)return!1;for(a=n;a--!==0;)if(!m(g[a],p[a]))return!1;return!0}if(c!=s)return!1;var d=g instanceof Date,t=p instanceof Date;if(d!=t)return!1;if(d&&t)return g.getTime()==p.getTime();var l=g instanceof RegExp,r=p instanceof RegExp;if(l!=r)return!1;if(l&&r)return g.toString()==p.toString();var o=f(g);if(n=o.length,n!==f(p).length)return!1;for(a=n;a--!==0;)if(!x.call(p,o[a]))return!1;for(a=n;a--!==0;)if(i=o[a],!m(g[i],p[i]))return!1;return!0}return g!==g&&p!==p}},txkQ:function(R,N,e){var A=e("aX58");N.zrender=A;var f=e("Fofx");N.matrix=f;var x=e("QBsz");N.vector=x;var m=e("bYtY"),g=e("Qe9p");N.color=g;var p=e("IwbS"),c=e("OELB");N.number=c;var s=e("7aKB");N.format=s;var a=e("iLNv"),n=a.throttle;N.throttle=a.throttle;var i=e("FUi9");N.helper=i;var d=e("vafp");N.parseGeoJSON=d;var t=e("YXkt");N.List=t;var l=e("Qxkt");N.Model=l;var r=e("hM6l");N.Axis=r;var o=e("ItGF");N.env=o;var u=d,h={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(b){h[b]=m[b]});var y={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(b){y[b]=p[b]}),N.parseGeoJson=u,N.util=h,N.graphic=y},u3DP:function(R,N,e){var A=e("6GrX"),f=e("OELB"),x=f.parsePercent,m=Math.PI/180;function g(a,n,i,d,t,l,r,o,u,h){a.sort(function(I,k){return I.y-k.y});function y(I,k,F,B){for(var j=I;j<k&&!(a[j].y+F>u+r);j++)if(a[j].y+=F,j>I&&j+1<k&&a[j+1].y>a[j].y+a[j].height){b(j,F/2);return}b(k-1,F/2)}function b(I,k){for(var F=I;F>=0&&!(a[F].y-k<u);F--)if(a[F].y-=k,F>0&&a[F].y>a[F-1].y+a[F-1].height)break}function E(I,k,F,B,j,z){for(var M=(z>0,k?Number.MAX_VALUE:0),U=0,P=I.length;U<P;U++){if(I[U].labelAlignTo!=="none")continue;var H=Math.abs(I[U].y-B),W=I[U].len,X=I[U].len2,K=H<j+W?Math.sqrt((j+W+X)*(j+W+X)-H*H):Math.abs(I[U].x-F);k&&K>=M&&(K=M-10),!k&&K<=M&&(K=M+10),I[U].x=F+K*z,M=K}}for(var v=0,w,O=a.length,T=[],S=[],C=0;C<O;C++){if(a[C].position==="outer"&&a[C].labelAlignTo==="labelLine"){var _=a[C].x-h;a[C].linePoints[1][0]+=_,a[C].x=h}w=a[C].y-v,w<0&&y(C,O,-w,t),v=a[C].y+a[C].height}r-v<0&&b(O-1,v-r);for(var C=0;C<O;C++)a[C].y>=i?S.push(a[C]):T.push(a[C]);E(T,!1,n,i,d,t),E(S,!0,n,i,d,t)}function p(a,n,i,d,t,l,r,o){for(var u=[],h=[],y=Number.MAX_VALUE,b=-Number.MAX_VALUE,E=0;E<a.length;E++){if(c(a[E]))continue;a[E].x<n?(y=Math.min(y,a[E].x),u.push(a[E])):(b=Math.max(b,a[E].x),h.push(a[E]))}g(h,n,i,d,1,t,l,r,o,b),g(u,n,i,d,-1,t,l,r,o,y);for(var E=0;E<a.length;E++){var v=a[E];if(c(v))continue;var w=v.linePoints;if(w){var O=v.labelAlignTo==="edge",T=v.textRect.width,S;O?v.x<n?S=w[2][0]-v.labelDistance-r-v.labelMargin:S=r+t-v.labelMargin-w[2][0]-v.labelDistance:v.x<n?S=v.x-r-v.bleedMargin:S=r+t-v.x-v.bleedMargin,S<v.textRect.width&&(v.text=A.truncateText(v.text,S,v.font),v.labelAlignTo==="edge"&&(T=A.getWidth(v.text,v.font)));var C=w[1][0]-w[2][0];O?v.x<n?w[2][0]=r+v.labelMargin+T+v.labelDistance:w[2][0]=r+t-v.labelMargin-T-v.labelDistance:(v.x<n?w[2][0]=v.x+v.labelDistance:w[2][0]=v.x-v.labelDistance,w[1][0]=w[2][0]+C),w[1][1]=w[2][1]=v.y}}}function c(a){return a.position==="center"}function s(a,n,i,d,t,l){var r=a.getData(),o=[],u,h,y=!1,b=(a.get("minShowLabelAngle")||0)*m;r.each(function(E){var v=r.getItemLayout(E),w=r.getItemModel(E),O=w.getModel("label"),T=O.get("position")||w.get("emphasis.label.position"),S=O.get("distanceToLabelLine"),C=O.get("alignTo"),_=x(O.get("margin"),i),I=O.get("bleedMargin"),k=O.getFont(),F=w.getModel("labelLine"),B=F.get("length");B=x(B,i);var j=F.get("length2");if(j=x(j,i),v.angle<b)return;var z=(v.startAngle+v.endAngle)/2,M=Math.cos(z),U=Math.sin(z),P,H,W,X;u=v.cx,h=v.cy;var K=a.getFormattedLabel(E,"normal")||r.getName(E),$=A.getBoundingRect(K,k,X,"top"),ie=T==="inside"||T==="inner";if(T==="center")P=v.cx,H=v.cy,X="center";else{var be=(ie?(v.r+v.r0)/2*M:v.r*M)+u,te=(ie?(v.r+v.r0)/2*U:v.r*U)+h;if(P=be+M*3,H=te+U*3,!ie){var Te=be+M*(B+n-v.r),Ie=te+U*(B+n-v.r),Fe=Te+(M<0?-1:1)*j,Qe=Ie;C==="edge"?P=M<0?t+_:t+i-_:P=Fe+(M<0?-S:S),H=Qe,W=[[be,te],[Te,Ie],[Fe,Qe]]}X=ie?"center":C==="edge"?M>0?"right":"left":M>0?"left":"right"}var fe,He=O.get("rotate");typeof He=="number"?fe=He*(Math.PI/180):fe=He?M<0?-z+Math.PI:-z:0,y=!!fe,v.label={x:P,y:H,position:T,height:$.height,len:B,len2:j,linePoints:W,textAlign:X,verticalAlign:"middle",rotation:fe,inside:ie,labelDistance:S,labelAlignTo:C,labelMargin:_,bleedMargin:I,textRect:$,text:K,font:k},ie||o.push(v.label)}),!y&&a.get("avoidLabelOverlap")&&p(o,u,h,n,i,d,t,l)}R.exports=s},u3os:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.ver=N.clear=N.bind=void 0;var A=e("P4Qj"),f=function(p,c){var s=(0,A.getSensor)(p);return s.bind(c),function(){s.unbind(c)}};N.bind=f;var x=function(p){var c=(0,A.getSensor)(p);(0,A.removeSensor)(c)};N.clear=x;var m="1.0.1";N.ver=m},u4NN:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("Uc92")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="EyeOutlined";var s=m.forwardRef(c);N.default=s},u9fO:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},uAnK:function(R,N,e){var A=e("bYtY"),f=e("Kagy"),x=e("KxfA"),m=x.retrieveRawValue;function g(p,c){var s=c.getModel("aria");if(s.get("show")){if(s.get("description")){p.setAttribute("aria-label",s.get("description"));return}}else return;var a=0;c.eachSeries(function(E,v){++a},this);var n=s.get("data.maxCount")||10,i=s.get("series.maxCount")||10,d=Math.min(a,i),t;if(a<1)return;var l=y();l?t=u(h("general.withTitle"),{title:l}):t=h("general.withoutTitle");var r=[],o=a>1?"series.multiple.prefix":"series.single.prefix";t+=u(h(o),{seriesCount:a}),c.eachSeries(function(E,v){if(v<d){var w,O=E.get("name"),T="series."+(a>1?"multiple":"single")+".";w=h(O?T+"withName":T+"withoutName"),w=u(w,{seriesId:E.seriesIndex,seriesName:E.get("name"),seriesType:b(E.subType)});var S=E.getData();window.data=S,S.count()>n?w+=u(h("data.partialData"),{displayCnt:n}):w+=h("data.allData");for(var C=[],_=0;_<S.count();_++)if(_<n){var I=S.getName(_),k=m(S,_);C.push(u(h(I?"data.withName":"data.withoutName"),{name:I,value:k}))}w+=C.join(h("data.separator.middle"))+h("data.separator.end"),r.push(w)}}),t+=r.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),p.setAttribute("aria-label",t);function u(E,v){if(typeof E!="string")return E;var w=E;return A.each(v,function(O,T){w=w.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),O)}),w}function h(E){var v=s.get(E);if(v==null){for(var w=E.split("."),O=f.aria,T=0;T<w.length;++T)O=O[w[T]];return O}else return v}function y(){var E=c.getModel("title").option;return E&&E.length&&(E=E[0]),E&&E.text}function b(E){return f.series.typeNames[E]||"\u81EA\u5B9A\u4E49\u56FE"}}R.exports=g},uK0f:function(R,N,e){(function(A,f){R.exports=f()})(this,function(){"use strict";function A(f,x,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var g=f||[],p=[],c=0;do{var s=g.filter(function(a){return x(a,c)})[0];if(!s)break;p.push(s),g=s[m.childrenKeyName]||[],c+=1}while(g.length>0);return p}return A})},uOyE:function(R,N,e){var A=e("ProS");A.registerAction({type:"brush",event:"brush"},function(f,x){x.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),A.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),A.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(R,N,e){R.exports=A;function A(){return e("gaXo"),{}}},uciX:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("wx14"),x=e("1OyB"),m=e("vuIU"),g=e("JX7q"),p=e("Ji7U"),c=e("LK+K"),s=e("q1tI"),a=e("i8i4"),n=e.n(a),i=e("wgJM"),d=e("l4aY"),t=e("m+aA"),l=e("c+Xe"),r=e("zT1h"),o=e("QC+M"),u=e("TSYQ"),h=e.n(u);function y(fe,He,se){return se?fe[0]===He[0]:fe[0]===He[0]&&fe[1]===He[1]}function b(fe,He,se){var Ce=fe[He]||{};return Object(A.a)(Object(A.a)({},Ce),se)}function E(fe,He,se,Ce){for(var mt=se.points,Ne=Object.keys(fe),ae=0;ae<Ne.length;ae+=1){var ce=Ne[ae];if(y(fe[ce].points,mt,Ce))return"".concat(He,"-placement-").concat(ce)}return""}var v=e("ODXe"),w=e("Ff2n"),O=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var fe=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(fe)||/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(fe==null?void 0:fe.substr(0,4)))},T=e("8XRh");function S(fe){var He=fe.prefixCls,se=fe.motion,Ce=fe.animation,mt=fe.transitionName;return se||(Ce?{motionName:"".concat(He,"-").concat(Ce)}:mt?{motionName:mt}:null)}function C(fe){var He=fe.prefixCls,se=fe.visible,Ce=fe.zIndex,mt=fe.mask,Ne=fe.maskMotion,ae=fe.maskAnimation,ce=fe.maskTransitionName;if(!mt)return null;var le={};return(Ne||ce||ae)&&(le=Object(A.a)({motionAppear:!0},S({motion:Ne,prefixCls:He,transitionName:ce,animation:ae}))),s.createElement(T.b,Object(f.a)({},le,{visible:se,removeOnLeave:!0}),function(je){var Re=je.className;return s.createElement("div",{style:{zIndex:Ce},className:h()("".concat(He,"-mask"),Re)})})}var _=e("9mu1"),I=e("o0o1"),k=e.n(I),F=e("HaE+"),B=["measure","align",null,"motion"],j=function(fe,He){var se=Object(s.useState)(null),Ce=Object(v.a)(se,2),mt=Ce[0],Ne=Ce[1],ae=Object(s.useRef)(),ce=Object(s.useRef)(!1);function le(Ze){ce.current||Ne(Ze)}function je(){i.a.cancel(ae.current)}function Re(Ze){je(),ae.current=Object(i.a)(function(){le(function(De){switch(mt){case"align":return"motion";case"motion":return"stable";default:}return De}),Ze==null||Ze()})}return Object(s.useEffect)(function(){le("measure")},[fe]),Object(s.useEffect)(function(){switch(mt){case"measure":He();break;default:}mt&&(ae.current=Object(i.a)(Object(F.a)(k.a.mark(function Ze(){var De,ne;return k.a.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:De=B.indexOf(mt),ne=B[De+1],ne&&De!==-1&&le(ne);case 3:case"end":return pe.stop()}},Ze)}))))},[mt]),Object(s.useEffect)(function(){return function(){ce.current=!0,je()}},[]),[mt,Re]},z=function(fe){var He=s.useState({width:0,height:0}),se=Object(v.a)(He,2),Ce=se[0],mt=se[1];function Ne(ce){mt({width:ce.offsetWidth,height:ce.offsetHeight})}var ae=s.useMemo(function(){var ce={};if(fe){var le=Ce.width,je=Ce.height;fe.indexOf("height")!==-1&&je?ce.height=je:fe.indexOf("minHeight")!==-1&&je&&(ce.minHeight=je),fe.indexOf("width")!==-1&&le?ce.width=le:fe.indexOf("minWidth")!==-1&&le&&(ce.minWidth=le)}return ce},[fe,Ce]);return[ae,Ne]},M=s.forwardRef(function(fe,He){var se=fe.visible,Ce=fe.prefixCls,mt=fe.className,Ne=fe.style,ae=fe.children,ce=fe.zIndex,le=fe.stretch,je=fe.destroyPopupOnHide,Re=fe.forceRender,Ze=fe.align,De=fe.point,ne=fe.getRootDomNode,he=fe.getClassNameFromAlign,pe=fe.onAlign,Xe=fe.onMouseEnter,lt=fe.onMouseLeave,At=fe.onMouseDown,Me=fe.onTouchStart,Ht=Object(s.useRef)(),tt=Object(s.useRef)(),Mt=Object(s.useState)(),jt=Object(v.a)(Mt,2),kt=jt[0],Tt=jt[1],Dt=z(le),Ue=Object(v.a)(Dt,2),G=Ue[0],Y=Ue[1];function Pe(){le&&Y(ne())}var Be=j(se,Pe),J=Object(v.a)(Be,2),St=J[0],bt=J[1],nt=Object(s.useRef)();function Rt(){return De||ne}function zt(){var Ke;(Ke=Ht.current)===null||Ke===void 0||Ke.forceAlign()}function Fr(Ke,Je){var ut=he(Je);kt!==ut&&Tt(ut),St==="align"&&(kt!==ut?Promise.resolve().then(function(){zt()}):bt(function(){var vt;(vt=nt.current)===null||vt===void 0||vt.call(nt)}),pe==null||pe(Ke,Je))}var Jt=Object(A.a)({},S(fe));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ke){var Je=Jt[Ke];Jt[Ke]=function(ut,vt){return bt(),Je==null?void 0:Je(ut,vt)}});function ge(){return new Promise(function(Ke){nt.current=Ke})}s.useEffect(function(){!Jt.motionName&&St==="motion"&&bt()},[Jt.motionName,St]),s.useImperativeHandle(He,function(){return{forceAlign:zt,getElement:function(){return tt.current}}});var ye=Object(A.a)(Object(A.a)({},G),{},{zIndex:ce,opacity:St==="motion"||St==="stable"||!se?void 0:0,pointerEvents:St==="stable"?void 0:"none"},Ne),Le=!0;(Ze==null?void 0:Ze.points)&&(St==="align"||St==="stable")&&(Le=!1);var we=ae;return s.Children.count(ae)>1&&(we=s.createElement("div",{className:"".concat(Ce,"-content")},ae)),s.createElement(T.b,Object(f.a)({visible:se,ref:tt,leavedClassName:"".concat(Ce,"-hidden")},Jt,{onAppearPrepare:ge,onEnterPrepare:ge,removeOnLeave:je,forceRender:Re}),function(Ke,Je){var ut=Ke.className,vt=Ke.style,_t=h()(Ce,mt,kt,ut);return s.createElement(_.a,{target:Rt(),key:"popup",ref:Ht,monitorWindowResize:!0,disabled:Le,align:Ze,onAlign:Fr},s.createElement("div",{ref:Je,className:_t,onMouseEnter:Xe,onMouseLeave:lt,onMouseDownCapture:At,onTouchStartCapture:Me,style:Object(A.a)(Object(A.a)({},vt),ye)},we))})});M.displayName="PopupInner";var U=M,P=s.forwardRef(function(fe,He){var se=fe.prefixCls,Ce=fe.visible,mt=fe.zIndex,Ne=fe.children,ae=fe.mobile;ae=ae===void 0?{}:ae;var ce=ae.popupClassName,le=ae.popupStyle,je=ae.popupMotion,Re=je===void 0?{}:je,Ze=ae.popupRender,De=s.useRef();s.useImperativeHandle(He,function(){return{forceAlign:function(){},getElement:function(){return De.current}}});var ne=Object(A.a)({zIndex:mt},le),he=Ne;return s.Children.count(Ne)>1&&(he=s.createElement("div",{className:"".concat(se,"-content")},Ne)),Ze&&(he=Ze(he)),s.createElement(T.b,Object(f.a)({visible:Ce,ref:De,removeOnLeave:!0},Re),function(pe,Xe){var lt=pe.className,At=pe.style,Me=h()(se,ce,lt);return s.createElement("div",{ref:Xe,className:Me,style:Object(A.a)(Object(A.a)({},At),ne)},he)})});P.displayName="MobilePopupInner";var H=P,W=["visible","mobile"],X=s.forwardRef(function(fe,He){var se=fe.visible,Ce=fe.mobile,mt=Object(w.a)(fe,W),Ne=Object(s.useState)(se),ae=Object(v.a)(Ne,2),ce=ae[0],le=ae[1],je=Object(s.useState)(!1),Re=Object(v.a)(je,2),Ze=Re[0],De=Re[1],ne=Object(A.a)(Object(A.a)({},mt),{},{visible:ce});Object(s.useEffect)(function(){le(se),se&&Ce&&De(O())},[se,Ce]);var he=Ze?s.createElement(H,Object(f.a)({},ne,{mobile:Ce,ref:He})):s.createElement(U,Object(f.a)({},ne,{ref:He}));return s.createElement("div",null,s.createElement(C,ne),he)});X.displayName="Popup";var K=X,$=s.createContext(null),ie=$;function be(){}function te(){return""}function Te(fe){return fe?fe.ownerDocument:window.document}var Ie=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Fe(fe){var He=function(se){Object(p.a)(mt,se);var Ce=Object(c.a)(mt);function mt(Ne){var ae;Object(x.a)(this,mt),ae=Ce.call(this,Ne),ae.popupRef=s.createRef(),ae.triggerRef=s.createRef(),ae.attachId=void 0,ae.clickOutsideHandler=void 0,ae.touchOutsideHandler=void 0,ae.contextMenuOutsideHandler1=void 0,ae.contextMenuOutsideHandler2=void 0,ae.mouseDownTimeout=void 0,ae.focusTime=void 0,ae.preClickTime=void 0,ae.preTouchTime=void 0,ae.delayTimer=void 0,ae.hasPopupMouseDown=void 0,ae.onMouseEnter=function(le){var je=ae.props.mouseEnterDelay;ae.fireEvents("onMouseEnter",le),ae.delaySetPopupVisible(!0,je,je?null:le)},ae.onMouseMove=function(le){ae.fireEvents("onMouseMove",le),ae.setPoint(le)},ae.onMouseLeave=function(le){ae.fireEvents("onMouseLeave",le),ae.delaySetPopupVisible(!1,ae.props.mouseLeaveDelay)},ae.onPopupMouseEnter=function(){ae.clearDelayTimer()},ae.onPopupMouseLeave=function(le){var je;if(le.relatedTarget&&!le.relatedTarget.setTimeout&&Object(d.a)((je=ae.popupRef.current)===null||je===void 0?void 0:je.getElement(),le.relatedTarget))return;ae.delaySetPopupVisible(!1,ae.props.mouseLeaveDelay)},ae.onFocus=function(le){ae.fireEvents("onFocus",le),ae.clearDelayTimer(),ae.isFocusToShow()&&(ae.focusTime=Date.now(),ae.delaySetPopupVisible(!0,ae.props.focusDelay))},ae.onMouseDown=function(le){ae.fireEvents("onMouseDown",le),ae.preClickTime=Date.now()},ae.onTouchStart=function(le){ae.fireEvents("onTouchStart",le),ae.preTouchTime=Date.now()},ae.onBlur=function(le){ae.fireEvents("onBlur",le),ae.clearDelayTimer(),ae.isBlurToHide()&&ae.delaySetPopupVisible(!1,ae.props.blurDelay)},ae.onContextMenu=function(le){le.preventDefault(),ae.fireEvents("onContextMenu",le),ae.setPopupVisible(!0,le)},ae.onContextMenuClose=function(){ae.isContextMenuToShow()&&ae.close()},ae.onClick=function(le){if(ae.fireEvents("onClick",le),ae.focusTime){var je;if(ae.preClickTime&&ae.preTouchTime?je=Math.min(ae.preClickTime,ae.preTouchTime):ae.preClickTime?je=ae.preClickTime:ae.preTouchTime&&(je=ae.preTouchTime),Math.abs(je-ae.focusTime)<20)return;ae.focusTime=0}ae.preClickTime=0,ae.preTouchTime=0,ae.isClickToShow()&&(ae.isClickToHide()||ae.isBlurToHide())&&le&&le.preventDefault&&le.preventDefault();var Re=!ae.state.popupVisible;(ae.isClickToHide()&&!Re||Re&&ae.isClickToShow())&&ae.setPopupVisible(!ae.state.popupVisible,le)},ae.onPopupMouseDown=function(){if(ae.hasPopupMouseDown=!0,clearTimeout(ae.mouseDownTimeout),ae.mouseDownTimeout=window.setTimeout(function(){ae.hasPopupMouseDown=!1},0),ae.context){var le;(le=ae.context).onPopupMouseDown.apply(le,arguments)}},ae.onDocumentClick=function(le){if(ae.props.mask&&!ae.props.maskClosable)return;var je=le.target,Re=ae.getRootDomNode(),Ze=ae.getPopupDomNode();(!Object(d.a)(Re,je)||ae.isContextMenuOnly())&&!Object(d.a)(Ze,je)&&!ae.hasPopupMouseDown&&ae.close()},ae.getRootDomNode=function(){var le=ae.props.getTriggerDOMNode;if(le)return le(ae.triggerRef.current);try{var je=Object(t.a)(ae.triggerRef.current);if(je)return je}catch(Re){}return n.a.findDOMNode(Object(g.a)(ae))},ae.getPopupClassNameFromAlign=function(le){var je=[],Re=ae.props,Ze=Re.popupPlacement,De=Re.builtinPlacements,ne=Re.prefixCls,he=Re.alignPoint,pe=Re.getPopupClassNameFromAlign;return Ze&&De&&je.push(E(De,ne,le,he)),pe&&je.push(pe(le)),je.join(" ")},ae.getComponent=function(){var le=ae.props,je=le.prefixCls,Re=le.destroyPopupOnHide,Ze=le.popupClassName,De=le.onPopupAlign,ne=le.popupMotion,he=le.popupAnimation,pe=le.popupTransitionName,Xe=le.popupStyle,lt=le.mask,At=le.maskAnimation,Me=le.maskTransitionName,Ht=le.maskMotion,tt=le.zIndex,Mt=le.popup,jt=le.stretch,kt=le.alignPoint,Tt=le.mobile,Dt=le.forceRender,Ue=ae.state,G=Ue.popupVisible,Y=Ue.point,Pe=ae.getPopupAlign(),Be={};return ae.isMouseEnterToShow()&&(Be.onMouseEnter=ae.onPopupMouseEnter),ae.isMouseLeaveToHide()&&(Be.onMouseLeave=ae.onPopupMouseLeave),Be.onMouseDown=ae.onPopupMouseDown,Be.onTouchStart=ae.onPopupMouseDown,s.createElement(K,Object(f.a)({prefixCls:je,destroyPopupOnHide:Re,visible:G,point:kt&&Y,className:Ze,align:Pe,onAlign:De,animation:he,getClassNameFromAlign:ae.getPopupClassNameFromAlign},Be,{stretch:jt,getRootDomNode:ae.getRootDomNode,style:Xe,mask:lt,zIndex:tt,transitionName:pe,maskAnimation:At,maskTransitionName:Me,maskMotion:Ht,ref:ae.popupRef,motion:ne,mobile:Tt,forceRender:Dt}),typeof Mt=="function"?Mt():Mt)},ae.attachParent=function(le){i.a.cancel(ae.attachId);var je=ae.props,Re=je.getPopupContainer,Ze=je.getDocument,De=ae.getRootDomNode(),ne;Re?(De||Re.length===0)&&(ne=Re(De)):ne=Ze(ae.getRootDomNode()).body,ne?ne.appendChild(le):ae.attachId=Object(i.a)(function(){ae.attachParent(le)})},ae.getContainer=function(){var le=ae.props.getDocument,je=le(ae.getRootDomNode()).createElement("div");return je.style.position="absolute",je.style.top="0",je.style.left="0",je.style.width="100%",ae.attachParent(je),je},ae.setPoint=function(le){var je=ae.props.alignPoint;if(!je||!le)return;ae.setState({point:{pageX:le.pageX,pageY:le.pageY}})},ae.handlePortalUpdate=function(){ae.state.prevPopupVisible!==ae.state.popupVisible&&ae.props.afterPopupVisibleChange(ae.state.popupVisible)},ae.triggerContextValue={onPopupMouseDown:ae.onPopupMouseDown};var ce;return"popupVisible"in Ne?ce=!!Ne.popupVisible:ce=!!Ne.defaultPopupVisible,ae.state={prevPopupVisible:ce,popupVisible:ce},Ie.forEach(function(le){ae["fire".concat(le)]=function(je){ae.fireEvents(le,je)}}),ae}return Object(m.a)(mt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ae=this.props,ce=this.state;if(ce.popupVisible){var le;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(le=ae.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(r.a)(le,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(le=le||ae.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(r.a)(le,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(le=le||ae.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(r.a)(le,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(r.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),i.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var ae;return((ae=this.popupRef.current)===null||ae===void 0?void 0:ae.getElement())||null}},{key:"getPopupAlign",value:function(){var ae=this.props,ce=ae.popupPlacement,le=ae.popupAlign,je=ae.builtinPlacements;return ce&&je?b(je,ce,le):le}},{key:"setPopupVisible",value:function(ae,ce){var le=this.props.alignPoint,je=this.state.popupVisible;this.clearDelayTimer(),je!==ae&&("popupVisible"in this.props||this.setState({popupVisible:ae,prevPopupVisible:je}),this.props.onPopupVisibleChange(ae)),le&&ce&&ae&&this.setPoint(ce)}},{key:"delaySetPopupVisible",value:function(ae,ce,le){var je=this,Re=ce*1e3;if(this.clearDelayTimer(),Re){var Ze=le?{pageX:le.pageX,pageY:le.pageY}:null;this.delayTimer=window.setTimeout(function(){je.setPopupVisible(ae,Ze),je.clearDelayTimer()},Re)}else this.setPopupVisible(ae,le)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(ae){var ce=this.props.children.props,le=this.props;return ce[ae]&&le[ae]?this["fire".concat(ae)]:ce[ae]||le[ae]}},{key:"isClickToShow",value:function(){var ae=this.props,ce=ae.action,le=ae.showAction;return ce.indexOf("click")!==-1||le.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var ae=this.props.action;return ae==="contextMenu"||ae.length===1&&ae[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var ae=this.props,ce=ae.action,le=ae.showAction;return ce.indexOf("contextMenu")!==-1||le.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var ae=this.props,ce=ae.action,le=ae.hideAction;return ce.indexOf("click")!==-1||le.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var ae=this.props,ce=ae.action,le=ae.showAction;return ce.indexOf("hover")!==-1||le.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var ae=this.props,ce=ae.action,le=ae.hideAction;return ce.indexOf("hover")!==-1||le.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var ae=this.props,ce=ae.action,le=ae.showAction;return ce.indexOf("focus")!==-1||le.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var ae=this.props,ce=ae.action,le=ae.hideAction;return ce.indexOf("focus")!==-1||le.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var ae;(ae=this.popupRef.current)===null||ae===void 0||ae.forceAlign()}}},{key:"fireEvents",value:function(ae,ce){var le=this.props.children.props[ae];le&&le(ce);var je=this.props[ae];je&&je(ce)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var ae=this.state.popupVisible,ce=this.props,le=ce.children,je=ce.forceRender,Re=ce.alignPoint,Ze=ce.className,De=ce.autoDestroy,ne=s.Children.only(le),he={key:"trigger"};this.isContextMenuToShow()?he.onContextMenu=this.onContextMenu:he.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(he.onClick=this.onClick,he.onMouseDown=this.onMouseDown,he.onTouchStart=this.onTouchStart):(he.onClick=this.createTwoChains("onClick"),he.onMouseDown=this.createTwoChains("onMouseDown"),he.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(he.onMouseEnter=this.onMouseEnter,Re&&(he.onMouseMove=this.onMouseMove)):he.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?he.onMouseLeave=this.onMouseLeave:he.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(he.onFocus=this.onFocus,he.onBlur=this.onBlur):(he.onFocus=this.createTwoChains("onFocus"),he.onBlur=this.createTwoChains("onBlur"));var pe=h()(ne&&ne.props&&ne.props.className,Ze);pe&&(he.className=pe);var Xe=Object(A.a)({},he);Object(l.c)(ne)&&(Xe.ref=Object(l.a)(this.triggerRef,ne.ref));var lt=s.cloneElement(ne,Xe),At;return(ae||this.popupRef.current||je)&&(At=s.createElement(fe,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!ae&&De&&(At=null),s.createElement(ie.Provider,{value:this.triggerContextValue},lt,At)}}],[{key:"getDerivedStateFromProps",value:function(ae,ce){var le=ae.popupVisible,je={};return le!==void 0&&ce.popupVisible!==le&&(je.popupVisible=le,je.prevPopupVisible=ce.popupVisible),je}}]),mt}(s.Component);return He.contextType=ie,He.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:te,getDocument:Te,onPopupVisibleChange:be,afterPopupVisibleChange:be,onPopupAlign:be,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},He}var Qe=N.a=Fe(o.a)},ugBc:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},v56E:function(R,N,e){},v5uJ:function(R,N,e){var A=e("ProS"),f=e("2B6p"),x=f.updateCenterAndZoom;A.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var c=m.dataIndex,s=p.getData().tree,a=s.getNodeByDataIndex(c);a.isExpand=!a.isExpand})}),A.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var c=p.coordinateSystem,s=x(c,m);p.setCenter&&p.setCenter(s.center),p.setZoom&&p.setZoom(s.zoom)})})},"vF/C":function(R,N,e){var A=e("bLfw");A.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(R,N,e){var A=e("SrGk"),f=e("bYtY");function x(p,c){A.call(this,p,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(x,A),x.prototype.addWithoutUpdate=function(p,c){if(c&&m(c.style)){var s;if(c._shadowDom){s=c._shadowDom;var a=this.getDefs(!0);a.contains(c._shadowDom)||this.addDom(s)}else s=this.add(c);this.markUsed(c);var n=s.getAttribute("id");p.style.filter="url(#"+n+")"}},x.prototype.add=function(p){var c=this.createElement("filter");return p._shadowDomId=p._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+p._shadowDomId),this.updateDom(p,c),this.addDom(c),c},x.prototype.update=function(p,c){var s=c.style;if(m(s)){var a=this;A.prototype.update.call(this,c,function(){a.updateDom(c,c._shadowDom)})}else this.remove(p,c)},x.prototype.remove=function(p,c){c._shadowDomId!=null&&(this.removeDom(p),p.style.filter="")},x.prototype.updateDom=function(p,c){var s=c.getElementsByTagName("feDropShadow");s.length===0?s=this.createElement("feDropShadow"):s=s[0];var a=p.style,n=p.scale&&p.scale[0]||1,i=p.scale&&p.scale[1]||1,d,t,l,r;if(a.shadowBlur||a.shadowOffsetX||a.shadowOffsetY)d=a.shadowOffsetX||0,t=a.shadowOffsetY||0,l=a.shadowBlur,r=a.shadowColor;else if(a.textShadowBlur)d=a.textShadowOffsetX||0,t=a.textShadowOffsetY||0,l=a.textShadowBlur,r=a.textShadowColor;else{this.removeDom(c,a);return}s.setAttribute("dx",d/n),s.setAttribute("dy",t/i),s.setAttribute("flood-color",r);var o=l/2/n,u=l/2/i,h=o+" "+u;s.setAttribute("stdDeviation",h),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(s),p._shadowDom=c},x.prototype.markUsed=function(p){p._shadowDom&&A.prototype.markUsed.call(this,p._shadowDom)};function m(p){return p&&(p.shadowBlur||p.shadowOffsetX||p.shadowOffsetY||p.textShadowBlur||p.textShadowOffsetX||p.textShadowOffsetY)}var g=x;R.exports=g},vL6D:function(R,N,e){var A=e("bYtY"),f=e("+rIm"),x=e("IwbS"),m=e("7bkD"),g=e("Znkb"),p=e("WN+l"),c=p.rectCoordAxisBuildSplitArea,s=p.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine"],i=g.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,l,r,o){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new x.Group;var y=m.layout(t),b=new f(t,y);A.each(a,b.add,b),u.add(this._axisGroup),u.add(b.getGroup()),A.each(n,function(E){t.get(E+".show")&&this["_"+E](t)},this),x.groupTransition(h,this._axisGroup,t),i.superCall(this,"render",t,l,r,o)},remove:function(){s(this)},_splitLine:function(t){var l=t.axis;if(l.scale.isBlank())return;var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),u=o.get("width"),h=o.get("color");h=h instanceof Array?h:[h];for(var y=t.coordinateSystem.getRect(),b=l.isHorizontal(),E=[],v=0,w=l.getTicksCoords({tickModel:r}),O=[],T=[],S=0;S<w.length;++S){var C=l.toGlobalCoord(w[S].coord);b?(O[0]=C,O[1]=y.y,T[0]=C,T[1]=y.y+y.height):(O[0]=y.x,O[1]=C,T[0]=y.x+y.width,T[1]=C);var _=v++%h.length;E[_]=E[_]||[],E[_].push(new x.Line({subPixelOptimize:!0,shape:{x1:O[0],y1:O[1],x2:T[0],y2:T[1]},style:{lineWidth:u},silent:!0}))}for(var S=0;S<E.length;++S)this.group.add(x.mergePath(E[S],{style:{stroke:h[S%h.length],lineDash:o.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(t){c(this,this._axisGroup,t,t)}}),d=i;R.exports=d},vWvF:function(R,N,e){var A=e("Bq2U"),f=e("SUKs"),x=e("bYtY"),m=x.isString,g=x.isFunction,p=x.isObject,c=x.isArrayLike,s=x.indexOf,a=function(){this.animators=[]};a.prototype={constructor:a,animate:function(r,o){var u,h=!1,y=this,b=this.__zr;if(r){var E=r.split("."),v=y;h=E[0]==="shape";for(var w=0,O=E.length;w<O;w++){if(!v)continue;v=v[E[w]]}v&&(u=v)}else u=y;if(!u){f('Property "'+r+'" is not existed in element '+y.id);return}var T=y.animators,S=new A(u,o);return S.during(function(C){y.dirty(h)}).done(function(){T.splice(s(T,S),1)}),T.push(S),b&&b.animation.addAnimator(S),S},stopAnimation:function(r){for(var o=this.animators,u=o.length,h=0;h<u;h++)o[h].stop(r);return o.length=0,this},animateTo:function(r,o,u,h,y,b){n(this,r,o,u,h,y,b)},animateFrom:function(r,o,u,h,y,b){n(this,r,o,u,h,y,b,!0)}};function n(l,r,o,u,h,y,b,E){m(u)?(y=h,h=u,u=0):g(h)?(y=h,h="linear",u=0):g(u)?(y=u,u=0):g(o)?(y=o,o=500):o||(o=500),l.stopAnimation(),i(l,"",l,r,o,u,E);var v=l.animators.slice(),w=v.length;function O(){w--,w||y&&y()}w||y&&y();for(var T=0;T<v.length;T++)v[T].done(O).start(h,b)}function i(l,r,o,u,h,y,b){var E={},v=0;for(var w in u){if(!u.hasOwnProperty(w))continue;o[w]!=null?p(u[w])&&!c(u[w])?i(l,r?r+"."+w:w,o[w],u[w],h,y,b):(b?(E[w]=o[w],d(l,r,w,u[w])):E[w]=u[w],v++):u[w]!=null&&!b&&d(l,r,w,u[w])}v>0&&l.animate(r,!1).when(h==null?500:h,E).delay(y||0)}function d(l,r,o,u){if(!r)l.attr(o,u);else{var h={};h[r]={},h[r][o]=u,l.attr(h)}}var t=a;R.exports=t},vZ6x:function(R,N,e){var A=e("Tghj"),f=A.__DEV__,x=e("bYtY"),m=e("IwbS"),g=e("4NO4"),p=e("9KIM"),c=x.each,s=x.indexOf,a=x.curry,n=["dataToPoint","pointToData"],i=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(S,C,_){var I=this._targetInfoList=[],k={},F=r(C,S);c(o,function(B,j){(!_||!_.include||s(_.include,j)>=0)&&B(F,I,k)})}var t=d.prototype;t.setOutputRanges=function(S,C){this.matchOutputRanges(S,C,function(_,I,k){if((_.coordRanges||(_.coordRanges=[])).push(I),!_.coordRange){_.coordRange=I;var F=y[_.brushType](0,k,I);_.__rangeOffset={offset:E[_.brushType](F.values,_.range,[1,1]),xyMinMax:F.xyMinMax}}})},t.matchOutputRanges=function(S,C,_){c(S,function(I){var k=this.findTargetInfo(I,C);k&&k!==!0&&x.each(k.coordSyses,function(F){var B=y[I.brushType](1,F,I.range);_(I,B.values,F,C)})},this)},t.setInputRanges=function(S,C){c(S,function(_){var I=this.findTargetInfo(_,C);if(_.range=_.range||[],I&&I!==!0){_.panelId=I.panelId;var k=y[_.brushType](0,I.coordSys,_.coordRange),F=_.__rangeOffset;_.range=F?E[_.brushType](k.values,F.offset,w(k.xyMinMax,F.xyMinMax)):k.values}},this)},t.makePanelOpts=function(S,C){return x.map(this._targetInfoList,function(_){var I=_.getPanelRect();return{panelId:_.panelId,defaultBrushType:C&&C(_),clipPath:p.makeRectPanelClipPath(I),isTargetByCursor:p.makeRectIsTargetByCursor(I,S,_.coordSysModel),getLinearBrushOtherExtent:p.makeLinearBrushOtherExtent(I)}})},t.controlSeries=function(S,C,_){var I=this.findTargetInfo(S,_);return I===!0||I&&s(I.coordSyses,C.coordinateSystem)>=0},t.findTargetInfo=function(S,C){for(var _=this._targetInfoList,I=r(C,S),k=0;k<_.length;k++){var F=_[k],B=S.panelId;if(B){if(F.panelId===B)return F}else for(var k=0;k<u.length;k++)if(u[k](I,F))return F}return!0};function l(S){return S[0]>S[1]&&S.reverse(),S}function r(S,C){return g.parseFinder(S,C,{includeMainTypes:i})}var o={grid:function(S,C){var _=S.xAxisModels,I=S.yAxisModels,k=S.gridModels,F=x.createHashMap(),B={},j={};if(!_&&!I&&!k)return;c(_,function(z){var M=z.axis.grid.model;F.set(M.id,M),B[M.id]=!0}),c(I,function(z){var M=z.axis.grid.model;F.set(M.id,M),j[M.id]=!0}),c(k,function(z){F.set(z.id,z),B[z.id]=!0,j[z.id]=!0}),F.each(function(z){var M=z.coordinateSystem,U=[];c(M.getCartesians(),function(P,H){(s(_,P.getAxis("x").model)>=0||s(I,P.getAxis("y").model)>=0)&&U.push(P)}),C.push({panelId:"grid--"+z.id,gridModel:z,coordSysModel:z,coordSys:U[0],coordSyses:U,getPanelRect:h.grid,xAxisDeclared:B[z.id],yAxisDeclared:j[z.id]})})},geo:function(S,C){c(S.geoModels,function(_){var I=_.coordinateSystem;C.push({panelId:"geo--"+_.id,geoModel:_,coordSysModel:_,coordSys:I,coordSyses:[I],getPanelRect:h.geo})})}},u=[function(S,C){var _=S.xAxisModel,I=S.yAxisModel,k=S.gridModel;return!k&&_&&(k=_.axis.grid.model),!k&&I&&(k=I.axis.grid.model),k&&k===C.gridModel},function(S,C){var _=S.geoModel;return _&&_===C.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var S=this.coordSys,C=S.getBoundingRect().clone();return C.applyTransform(m.getTransform(S)),C}},y={lineX:a(b,0),lineY:a(b,1),rect:function(S,C,_){var I=C[n[S]]([_[0][0],_[1][0]]),k=C[n[S]]([_[0][1],_[1][1]]),F=[l([I[0],k[0]]),l([I[1],k[1]])];return{values:F,xyMinMax:F}},polygon:function(S,C,_){var I=[[Infinity,-Infinity],[Infinity,-Infinity]],k=x.map(_,function(F){var B=C[n[S]](F);return I[0][0]=Math.min(I[0][0],B[0]),I[1][0]=Math.min(I[1][0],B[1]),I[0][1]=Math.max(I[0][1],B[0]),I[1][1]=Math.max(I[1][1],B[1]),B});return{values:k,xyMinMax:I}}};function b(S,C,_,I){var k=_.getAxis(["x","y"][S]),F=l(x.map([0,1],function(j){return C?k.coordToData(k.toLocalCoord(I[j])):k.toGlobalCoord(k.dataToCoord(I[j]))})),B=[];return B[S]=F,B[1-S]=[NaN,NaN],{values:F,xyMinMax:B}}var E={lineX:a(v,0),lineY:a(v,1),rect:function(S,C,_){return[[S[0][0]-_[0]*C[0][0],S[0][1]-_[0]*C[0][1]],[S[1][0]-_[1]*C[1][0],S[1][1]-_[1]*C[1][1]]]},polygon:function(S,C,_){return x.map(S,function(I,k){return[I[0]-_[0]*C[k][0],I[1]-_[1]*C[k][1]]})}};function v(S,C,_,I){return[C[0]-I[S]*_[0],C[1]-I[S]*_[1]]}function w(S,C){var _=O(S),I=O(C),k=[_[0]/I[0],_[1]/I[1]];return isNaN(k[0])&&(k[0]=1),isNaN(k[1])&&(k[1]=1),k}function O(S){return S?[S[0][1]-S[0][0],S[1][1]-S[1][0]]:[NaN,NaN]}var T=d;R.exports=T},vZI5:function(R,N,e){var A=e("bYtY"),f=e("T4UG"),x=e("5GhG"),m=x.seriesModelMixin,g=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,s,a){var n=s.getItemLayout(c);return n&&a.rect(n.brushRect)}});A.mixin(g,m,!0);var p=g;R.exports=p},vafp:function(R,N,e){var A=e("bYtY"),f=e("8nly");function x(p){if(!p.UTF8Encoding)return p;var c=p.UTF8Scale;c==null&&(c=1024);for(var s=p.features,a=0;a<s.length;a++)for(var n=s[a],i=n.geometry,d=i.coordinates,t=i.encodeOffsets,l=0;l<d.length;l++){var r=d[l];if(i.type==="Polygon")d[l]=m(r,t[l],c);else if(i.type==="MultiPolygon")for(var o=0;o<r.length;o++){var u=r[o];r[o]=m(u,t[l][o],c)}}return p.UTF8Encoding=!1,p}function m(p,c,s){for(var a=[],n=c[0],i=c[1],d=0;d<p.length;d+=2){var t=p.charCodeAt(d)-64,l=p.charCodeAt(d+1)-64;t=t>>1^-(t&1),l=l>>1^-(l&1),t+=n,l+=i,n=t,i=l,a.push([t/s,l/s])}return a}function g(p,c){return x(p),A.map(A.filter(p.features,function(s){return s.geometry&&s.properties&&s.geometry.coordinates.length>0}),function(s){var a=s.properties,n=s.geometry,i=n.coordinates,d=[];n.type==="Polygon"&&d.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),n.type==="MultiPolygon"&&A.each(i,function(l){l[0]&&d.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var t=new f(a[c||"name"],d,a.cp);return t.properties=a,t})}R.exports=g},vcCh:function(R,N,e){var A=e("ProS");e("0qV/"),A.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,x){x.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.getPointerEvent=A,N.stopEvent=f,N.setCapture=s,N.releaseCapture=a;function A(n){return n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:n}function f(n){n.stopPropagation(),n.preventDefault()}var x=!1,m=null;document.captureElement=null;function g(n){if(x)return;var i=new n.constructor(n.type,n);x=!0,document.captureElement?document.captureElement.dispatchEvent(i):m.dispatchEvent(i),x=!1,n.stopPropagation(),i.defaultPrevented&&n.preventDefault(),n.type==="mouseup"&&a()}function p(){var n=document.getElementById("noVNC_mouse_capture_elem");n.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(p);function s(n){if(n.setCapture)n.setCapture(),document.captureElement=n,n.addEventListener("mouseup",a);else{a();var i=document.getElementById("noVNC_mouse_capture_elem");i===null&&(i=document.createElement("div"),i.id="noVNC_mouse_capture_elem",i.style.position="fixed",i.style.top="0px",i.style.left="0px",i.style.width="100%",i.style.height="100%",i.style.zIndex=1e4,i.style.display="none",document.body.appendChild(i),i.addEventListener("contextmenu",g),i.addEventListener("mousemove",g),i.addEventListener("mouseup",g)),document.captureElement=n,c.observe(n,{attributes:!0}),p(),i.style.display="",window.addEventListener("mousemove",g),window.addEventListener("mouseup",g)}}function a(){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",g),window.removeEventListener("mouseup",g)}}},vg9a:function(R,N,e){},"vk+C":function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},w5pM:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="PlusCircleOutlined";var c=N.a=f.forwardRef(p)},w6Tc:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var x=A;N.default=x,R.exports=x},wCAj:function(R,N,e){"use strict";var A=e("cDf5"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("J4zp"),p=e.n(g),c=e("pVnL"),s=e.n(c),a=e("q1tI"),n=e("TSYQ"),i=e.n(n),d=e("BGR+"),t=e("rePB"),l=e("VTBJ"),r=e("KQm4"),o=e("U8pU"),u=e("ODXe"),h=e("Gytx"),y=e.n(h),b=e("Kwbf"),E=e("1OyB"),v=e("vuIU"),w=e("Ji7U"),O=e("LK+K"),T=e("m+aA"),S=e("Zm9Q"),C=e("c+Xe"),_=e("bdgK"),I="rc-observer-key",k=function(Ot){Object(w.a)(vr,Ot);var lr=Object(O.a)(vr);function vr(){var Cr;return Object(E.a)(this,vr),Cr=lr.apply(this,arguments),Cr.resizeObserver=null,Cr.childNode=null,Cr.currentElement=null,Cr.state={width:0,height:0,offsetHeight:0,offsetWidth:0},Cr.onResize=function(Hr){var cn=Cr.props.onResize,Qr=Hr[0].target,gt=Qr.getBoundingClientRect(),Gt=gt.width,Sr=gt.height,Zr=Qr.offsetWidth,en=Qr.offsetHeight,xn=Math.floor(Gt),kn=Math.floor(Sr);if(Cr.state.width!==xn||Cr.state.height!==kn||Cr.state.offsetWidth!==Zr||Cr.state.offsetHeight!==en){var Zn={width:xn,height:kn,offsetWidth:Zr,offsetHeight:en};Cr.setState(Zn),cn&&Promise.resolve().then(function(){cn(Object(l.a)(Object(l.a)({},Zn),{},{offsetWidth:Zr,offsetHeight:en}))})}},Cr.setChildNode=function(Hr){Cr.childNode=Hr},Cr}return Object(v.a)(vr,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var Hr=this.props.disabled;if(Hr){this.destroyObserver();return}var cn=Object(T.a)(this.childNode||this),Qr=cn!==this.currentElement;Qr&&(this.destroyObserver(),this.currentElement=cn),!this.resizeObserver&&cn&&(this.resizeObserver=new _.default(this.onResize),this.resizeObserver.observe(cn))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var Hr=this.props.children,cn=Object(S.a)(Hr);if(cn.length>1)Object(b.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(cn.length===0)return Object(b.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var Qr=cn[0];if(a.isValidElement(Qr)&&Object(C.c)(Qr)){var gt=Qr.ref;cn[0]=a.cloneElement(Qr,{ref:Object(C.a)(gt,this.setChildNode)})}return cn.length===1?cn[0]:cn.map(function(Gt,Sr){return!a.isValidElement(Gt)||"key"in Gt&&Gt.key!==null?Gt:a.cloneElement(Gt,{key:"".concat(I,"-").concat(Sr)})})}}]),vr}(a.Component);k.displayName="ResizeObserver";var F=k,B=e("qx4F");function j(Ot){return null}var z=j;function M(Ot){return null}var U=M,P=e("Ff2n"),H="RC_TABLE_KEY";function W(Ot){return Ot==null?[]:Array.isArray(Ot)?Ot:[Ot]}function X(Ot,lr){if(!lr&&typeof lr!="number")return Ot;for(var vr=W(lr),Cr=Ot,Hr=0;Hr<vr.length;Hr+=1){if(!Cr)return null;var cn=vr[Hr];Cr=Cr[cn]}return Cr}function K(Ot){var lr=[],vr={};return Ot.forEach(function(Cr){for(var Hr=Cr||{},cn=Hr.key,Qr=Hr.dataIndex,gt=cn||W(Qr).join("-")||H;vr[gt];)gt="".concat(gt,"_next");vr[gt]=!0,lr.push(gt)}),lr}function $(){var Ot={};function lr(cn,Qr){Qr&&Object.keys(Qr).forEach(function(gt){var Gt=Qr[gt];Gt&&Object(o.a)(Gt)==="object"?(cn[gt]=cn[gt]||{},lr(cn[gt],Gt)):cn[gt]=Gt})}for(var vr=arguments.length,Cr=new Array(vr),Hr=0;Hr<vr;Hr++)Cr[Hr]=arguments[Hr];return Cr.forEach(function(cn){lr(Ot,cn)}),Ot}function ie(Ot){return Ot!=null}function be(Ot){return Ot&&Object(o.a)(Ot)==="object"&&!Array.isArray(Ot)&&!a.isValidElement(Ot)}function te(Ot){return typeof Ot=="string"?!0:Object(C.c)(Ot)}function Te(Ot,lr){var vr,Cr=Ot.prefixCls,Hr=Ot.className,cn=Ot.record,Qr=Ot.index,gt=Ot.dataIndex,Gt=Ot.render,Sr=Ot.children,Zr=Ot.component,en=Zr===void 0?"td":Zr,xn=Ot.colSpan,kn=Ot.rowSpan,Zn=Ot.fixLeft,ui=Ot.fixRight,ti=Ot.firstFixLeft,Qn=Ot.lastFixLeft,$n=Ot.firstFixRight,Si=Ot.lastFixRight,Ci=Ot.appendNode,vi=Ot.additionalProps,xi=vi===void 0?{}:vi,Ei=Ot.ellipsis,di=Ot.align,pi=Ot.rowType,_i=Ot.isSticky,Ri="".concat(Cr,"-cell"),Vi,Ii;if(Sr)Ii=Sr;else{var ba=X(cn,gt);if(Ii=ba,Gt){var ga=Gt(ba,cn,Qr);be(ga)?(Ii=ga.children,Vi=ga.props):Ii=ga}}Object(o.a)(Ii)==="object"&&!Array.isArray(Ii)&&!a.isValidElement(Ii)&&(Ii=null),Ei&&(Qn||$n)&&(Ii=a.createElement("span",{className:"".concat(Ri,"-content")},Ii));var Aa=Vi||{},ha=Aa.colSpan,vo=Aa.rowSpan,la=Aa.style,Ba=Aa.className,pa=Object(P.a)(Aa,["colSpan","rowSpan","style","className"]),to=ha!==void 0?ha:xn,qa=vo!==void 0?vo:kn;if(to===0||qa===0)return null;var Yi={},oo=typeof Zn=="number",Ya=typeof ui=="number";oo&&(Yi.position="sticky",Yi.left=Zn),Ya&&(Yi.position="sticky",Yi.right=ui);var wa={};di&&(wa.textAlign=di);var $a,Fi=Ei===!0?{showTitle:!0}:Ei;Fi&&(Fi.showTitle||pi==="header")&&(typeof Ii=="string"||typeof Ii=="number"?$a=Ii.toString():a.isValidElement(Ii)&&typeof Ii.props.children=="string"&&($a=Ii.props.children));var Sa=Object(l.a)(Object(l.a)(Object(l.a)({title:$a},pa),xi),{},{colSpan:to&&to!==1?to:null,rowSpan:qa&&qa!==1?qa:null,className:i()(Ri,Hr,(vr={},Object(t.a)(vr,"".concat(Ri,"-fix-left"),oo),Object(t.a)(vr,"".concat(Ri,"-fix-left-first"),ti),Object(t.a)(vr,"".concat(Ri,"-fix-left-last"),Qn),Object(t.a)(vr,"".concat(Ri,"-fix-right"),Ya),Object(t.a)(vr,"".concat(Ri,"-fix-right-first"),$n),Object(t.a)(vr,"".concat(Ri,"-fix-right-last"),Si),Object(t.a)(vr,"".concat(Ri,"-ellipsis"),Ei),Object(t.a)(vr,"".concat(Ri,"-with-append"),Ci),Object(t.a)(vr,"".concat(Ri,"-fix-sticky"),(oo||Ya)&&_i),vr),xi.className,Ba),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},xi.style),wa),Yi),la),ref:te(en)?lr:null});return a.createElement(en,Object.assign({},Sa),Ci,Ii)}var Ie=a.forwardRef(Te);Ie.displayName="Cell";var Fe=a.memo(Ie,function(Ot,lr){return lr.shouldCellUpdate?!lr.shouldCellUpdate(lr.record,Ot.record):!1}),Qe=Fe,fe=a.createContext(null),He=fe;function se(Ot,lr,vr,Cr,Hr){var cn=vr[Ot]||{},Qr=vr[lr]||{},gt,Gt;cn.fixed==="left"?gt=Cr.left[Ot]:Qr.fixed==="right"&&(Gt=Cr.right[lr]);var Sr=!1,Zr=!1,en=!1,xn=!1,kn=vr[lr+1],Zn=vr[Ot-1];if(Hr==="rtl"){if(gt!==void 0){var ui=Zn&&Zn.fixed==="left";xn=!ui}else if(Gt!==void 0){var ti=kn&&kn.fixed==="right";en=!ti}}else if(gt!==void 0){var Qn=kn&&kn.fixed==="left";Sr=!Qn}else if(Gt!==void 0){var $n=Zn&&Zn.fixed==="right";Zr=!$n}return{fixLeft:gt,fixRight:Gt,lastFixLeft:Sr,firstFixRight:Zr,lastFixRight:en,firstFixLeft:xn,isSticky:Cr.isSticky}}function Ce(Ot){var lr=Ot.cells,vr=Ot.stickyOffsets,Cr=Ot.flattenColumns,Hr=Ot.rowComponent,cn=Ot.cellComponent,Qr=Ot.onHeaderRow,gt=Ot.index,Gt=a.useContext(He),Sr=Gt.prefixCls,Zr=Gt.direction,en;Qr&&(en=Qr(lr.map(function(kn){return kn.column}),gt));var xn=K(lr.map(function(kn){return kn.column}));return a.createElement(Hr,Object.assign({},en),lr.map(function(kn,Zn){var ui=kn.column,ti=se(kn.colStart,kn.colEnd,Cr,vr,Zr),Qn;return ui&&ui.onHeaderCell&&(Qn=kn.column.onHeaderCell(ui)),a.createElement(Qe,Object.assign({},kn,{ellipsis:ui.ellipsis,align:ui.align,component:cn,prefixCls:Sr,key:xn[Zn]},ti,{additionalProps:Qn,rowType:"header"}))}))}Ce.displayName="HeaderRow";var mt=Ce;function Ne(Ot){var lr=[];function vr(Qr,gt){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;lr[Gt]=lr[Gt]||[];var Sr=gt,Zr=Qr.filter(Boolean).map(function(en){var xn={key:en.key,className:en.className||"",children:en.title,column:en,colStart:Sr},kn=1,Zn=en.children;return Zn&&Zn.length>0&&(kn=vr(Zn,Sr,Gt+1).reduce(function(ui,ti){return ui+ti},0),xn.hasSubColumns=!0),"colSpan"in en&&(kn=en.colSpan),"rowSpan"in en&&(xn.rowSpan=en.rowSpan),xn.colSpan=kn,xn.colEnd=xn.colStart+kn-1,lr[Gt].push(xn),Sr+=kn,kn});return Zr}vr(Ot,0);for(var Cr=lr.length,Hr=function(gt){lr[gt].forEach(function(Gt){!("rowSpan"in Gt)&&!Gt.hasSubColumns&&(Gt.rowSpan=Cr-gt)})},cn=0;cn<Cr;cn+=1)Hr(cn);return lr}function ae(Ot){var lr=Ot.stickyOffsets,vr=Ot.columns,Cr=Ot.flattenColumns,Hr=Ot.onHeaderRow,cn=a.useContext(He),Qr=cn.prefixCls,gt=cn.getComponent,Gt=a.useMemo(function(){return Ne(vr)},[vr]),Sr=gt(["header","wrapper"],"thead"),Zr=gt(["header","row"],"tr"),en=gt(["header","cell"],"th");return a.createElement(Sr,{className:"".concat(Qr,"-thead")},Gt.map(function(xn,kn){var Zn=a.createElement(mt,{key:kn,flattenColumns:Cr,cells:xn,stickyOffsets:lr,rowComponent:Zr,cellComponent:en,onHeaderRow:Hr,index:kn});return Zn}))}var ce=ae,le="RC_TABLE_INTERNAL_COL_DEFINE";function je(Ot){var lr=Ot.expandable,vr=Object(P.a)(Ot,["expandable"]);return"expandable"in Ot?Object(l.a)(Object(l.a)({},vr),lr):vr}function Re(Ot){return Object.keys(Ot).reduce(function(lr,vr){return(vr.substr(0,5)==="data-"||vr.substr(0,5)==="aria-")&&(lr[vr]=Ot[vr]),lr},{})}function Ze(Ot){for(var lr=Ot.colWidths,vr=Ot.columns,Cr=Ot.columCount,Hr=[],cn=Cr||vr.length,Qr=!1,gt=cn-1;gt>=0;gt-=1){var Gt=lr[gt],Sr=vr&&vr[gt],Zr=Sr&&Sr[le];(Gt||Zr||Qr)&&(Hr.unshift(a.createElement("col",Object.assign({key:gt,style:{width:Gt,minWidth:Gt}},Zr))),Qr=!0)}return a.createElement("colgroup",null,Hr)}var De=Ze;function ne(Ot,lr){return Object(a.useMemo)(function(){for(var vr=[],Cr=0;Cr<lr;Cr+=1){var Hr=Ot[Cr];if(Hr!==void 0)vr[Cr]=Hr;else return null}return vr},[Ot.join("_"),lr])}var he=a.forwardRef(function(Ot,lr){var vr=Ot.noData,Cr=Ot.columns,Hr=Ot.flattenColumns,cn=Ot.colWidths,Qr=Ot.columCount,gt=Ot.stickyOffsets,Gt=Ot.direction,Sr=Ot.fixHeader,Zr=Ot.offsetHeader,en=Ot.stickyClassName,xn=Ot.onScroll,kn=Object(P.a)(Ot,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Zn=a.useContext(He),ui=Zn.prefixCls,ti=Zn.scrollbarSize,Qn=Zn.isSticky,$n=Qn&&!Sr?0:ti,Si=a.useRef(null),Ci=a.useCallback(function(Ri){Object(C.b)(lr,Ri),Object(C.b)(Si,Ri)},[]);a.useEffect(function(){var Ri;function Vi(Ii){var ba=Ii.currentTarget,ga=Ii.deltaX;ga&&(xn({currentTarget:ba,scrollLeft:ba.scrollLeft+ga}),Ii.preventDefault())}return(Ri=Si.current)===null||Ri===void 0||Ri.addEventListener("wheel",Vi),function(){var Ii;(Ii=Si.current)===null||Ii===void 0||Ii.removeEventListener("wheel",Vi)}},[]);var vi=Hr[Hr.length-1],xi={fixed:vi?vi.fixed:null,onHeaderCell:function(){return{className:"".concat(ui,"-cell-scrollbar")}}},Ei=Object(a.useMemo)(function(){return $n?[].concat(Object(r.a)(Cr),[xi]):Cr},[$n,Cr]),di=Object(a.useMemo)(function(){return $n?[].concat(Object(r.a)(Hr),[xi]):Hr},[$n,Hr]),pi=Object(a.useMemo)(function(){var Ri=gt.right,Vi=gt.left;return Object(l.a)(Object(l.a)({},gt),{},{left:Gt==="rtl"?[].concat(Object(r.a)(Vi.map(function(Ii){return Ii+$n})),[0]):Vi,right:Gt==="rtl"?Ri:[].concat(Object(r.a)(Ri.map(function(Ii){return Ii+$n})),[0]),isSticky:Qn})},[$n,gt,Qn]),_i=ne(cn,Qr);return a.createElement("div",{style:Object(l.a)({overflow:"hidden"},Qn?{top:Zr}:{}),ref:Ci,className:i()("".concat(ui,"-header"),Object(t.a)({},en,!!en))},a.createElement("table",{style:{tableLayout:"fixed",visibility:vr||_i?null:"hidden"}},a.createElement(De,{colWidths:_i?[].concat(Object(r.a)(_i),[$n]):[],columCount:Qr+1,columns:di}),a.createElement(ce,Object.assign({},kn,{stickyOffsets:pi,columns:Ei,flattenColumns:di}))))});he.displayName="FixedHeader";var pe=he,Xe=a.createContext(null),lt=Xe;function At(Ot){var lr=Ot.prefixCls,vr=Ot.children,Cr=Ot.component,Hr=Ot.cellComponent,cn=Ot.fixHeader,Qr=Ot.fixColumn,gt=Ot.horizonScroll,Gt=Ot.className,Sr=Ot.expanded,Zr=Ot.componentWidth,en=Ot.colSpan,xn=a.useContext(He),kn=xn.scrollbarSize;return a.useMemo(function(){var Zn=vr;return Qr&&(Zn=a.createElement("div",{style:{width:Zr-(cn?kn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(lr,"-expanded-row-fixed")},Zn)),a.createElement(Cr,{className:Gt,style:{display:Sr?null:"none"}},a.createElement(Qe,{component:Hr,prefixCls:lr,colSpan:en},Zn))},[vr,Cr,cn,gt,Gt,Sr,Zr,en,kn])}var Me=At;function Ht(Ot){var lr=Ot.className,vr=Ot.style,Cr=Ot.record,Hr=Ot.index,cn=Ot.rowKey,Qr=Ot.getRowKey,gt=Ot.rowExpandable,Gt=Ot.expandedKeys,Sr=Ot.onRow,Zr=Ot.indent,en=Zr===void 0?0:Zr,xn=Ot.rowComponent,kn=Ot.cellComponent,Zn=Ot.childrenColumnName,ui=a.useContext(He),ti=ui.prefixCls,Qn=ui.fixedInfoList,$n=a.useContext(lt),Si=$n.fixHeader,Ci=$n.fixColumn,vi=$n.horizonScroll,xi=$n.componentWidth,Ei=$n.flattenColumns,di=$n.expandableType,pi=$n.expandRowByClick,_i=$n.onTriggerExpand,Ri=$n.rowClassName,Vi=$n.expandedRowClassName,Ii=$n.indentSize,ba=$n.expandIcon,ga=$n.expandedRowRender,Aa=$n.expandIconColumnIndex,ha=a.useState(!1),vo=Object(u.a)(ha,2),la=vo[0],Ba=vo[1],pa=Gt&&Gt.has(Ot.recordKey);a.useEffect(function(){pa&&Ba(!0)},[pa]);var to=di==="row"&&(!gt||gt(Cr)),qa=di==="nest",Yi=Zn&&Cr&&Cr[Zn],oo=to||qa,Ya;Sr&&(Ya=Sr(Cr,Hr));var wa=function(Da){if(pi&&oo&&_i(Cr,Da),Ya&&Ya.onClick){for(var va,Di=arguments.length,at=new Array(Di>1?Di-1:0),qt=1;qt<Di;qt++)at[qt-1]=arguments[qt];(va=Ya).onClick.apply(va,[Da].concat(at))}},$a;typeof Ri=="string"?$a=Ri:typeof Ri=="function"&&($a=Ri(Cr,Hr,en));var Fi=K(Ei),Sa=a.createElement(xn,Object.assign({},Ya,{"data-row-key":cn,className:i()(lr,"".concat(ti,"-row"),"".concat(ti,"-row-level-").concat(en),$a,Ya&&Ya.className),style:Object(l.a)(Object(l.a)({},vr),Ya?Ya.style:null),onClick:wa}),Ei.map(function(Xa,Da){var va=Xa.render,Di=Xa.dataIndex,at=Xa.className,qt=Fi[Da],pr=Qn[Da],ur;Da===(Aa||0)&&qa&&(ur=a.createElement(a.Fragment,null,a.createElement("span",{style:{paddingLeft:"".concat(Ii*en,"px")},className:"".concat(ti,"-row-indent indent-level-").concat(en)}),ba({prefixCls:ti,expanded:pa,expandable:Yi,record:Cr,onExpand:_i})));var $r;return Xa.onCell&&($r=Xa.onCell(Cr,Hr)),a.createElement(Qe,Object.assign({className:at,ellipsis:Xa.ellipsis,align:Xa.align,component:kn,prefixCls:ti,key:qt,record:Cr,index:Hr,dataIndex:Di,render:va,shouldCellUpdate:Xa.shouldCellUpdate},pr,{appendNode:ur,additionalProps:$r}))})),Ea;if(to&&(la||pa)){var yo=ga(Cr,Hr,en+1,pa),_a=Vi&&Vi(Cr,Hr,en);Ea=a.createElement(Me,{expanded:pa,className:i()("".concat(ti,"-expanded-row"),"".concat(ti,"-expanded-row-level-").concat(en+1),_a),prefixCls:ti,fixHeader:Si,fixColumn:Ci,horizonScroll:vi,component:xn,componentWidth:xi,cellComponent:kn,colSpan:Ei.length},yo)}var Hi;return Yi&&pa&&(Hi=(Cr[Zn]||[]).map(function(Xa,Da){var va=Qr(Xa,Da);return a.createElement(Ht,Object.assign({},Ot,{key:va,rowKey:va,record:Xa,recordKey:va,index:Da,indent:en+1}))})),a.createElement(a.Fragment,null,Sa,Ea,Hi)}Ht.displayName="BodyRow";var tt=Ht,Mt=a.createContext(null),jt=Mt;function kt(Ot){var lr=Ot.columnKey,vr=Ot.onColumnResize,Cr=a.useRef();return a.useEffect(function(){Cr.current&&vr(lr,Cr.current.offsetWidth)},[]),a.createElement(F,{onResize:function(cn){var Qr=cn.offsetWidth;vr(lr,Qr)}},a.createElement("td",{ref:Cr,style:{padding:0,border:0,height:0}},a.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Tt(Ot){var lr=Ot.data,vr=Ot.getRowKey,Cr=Ot.measureColumnWidth,Hr=Ot.expandedKeys,cn=Ot.onRow,Qr=Ot.rowExpandable,gt=Ot.emptyNode,Gt=Ot.childrenColumnName,Sr=a.useContext(jt),Zr=Sr.onColumnResize,en=a.useContext(He),xn=en.prefixCls,kn=en.getComponent,Zn=a.useContext(lt),ui=Zn.fixHeader,ti=Zn.horizonScroll,Qn=Zn.flattenColumns,$n=Zn.componentWidth;return a.useMemo(function(){var Si=kn(["body","wrapper"],"tbody"),Ci=kn(["body","row"],"tr"),vi=kn(["body","cell"],"td"),xi;lr.length?xi=lr.map(function(di,pi){var _i=vr(di,pi);return a.createElement(tt,{key:_i,rowKey:_i,record:di,recordKey:_i,index:pi,rowComponent:Ci,cellComponent:vi,expandedKeys:Hr,onRow:cn,getRowKey:vr,rowExpandable:Qr,childrenColumnName:Gt})}):xi=a.createElement(Me,{expanded:!0,className:"".concat(xn,"-placeholder"),prefixCls:xn,fixHeader:ui,fixColumn:ti,horizonScroll:ti,component:Ci,componentWidth:$n,cellComponent:vi,colSpan:Qn.length},gt);var Ei=K(Qn);return a.createElement(Si,{className:"".concat(xn,"-tbody")},Cr&&a.createElement("tr",{"aria-hidden":"true",className:"".concat(xn,"-measure-row"),style:{height:0}},Ei.map(function(di){return a.createElement(kt,{key:di,columnKey:di,onColumnResize:Zr})})),xi)},[lr,xn,cn,Cr,Hr,vr,kn,$n,gt,Qn])}var Dt=a.memo(Tt);Dt.displayName="Body";var Ue=Dt;function G(Ot){return Object(S.a)(Ot).filter(function(lr){return a.isValidElement(lr)}).map(function(lr){var vr=lr.key,Cr=lr.props,Hr=Cr.children,cn=Object(P.a)(Cr,["children"]),Qr=Object(l.a)({key:vr},cn);return Hr&&(Qr.children=G(Hr)),Qr})}function Y(Ot){return Ot.reduce(function(lr,vr){var Cr=vr.fixed,Hr=Cr===!0?"left":Cr,cn=vr.children;return cn&&cn.length>0?[].concat(Object(r.a)(lr),Object(r.a)(Y(cn).map(function(Qr){return Object(l.a)({fixed:Hr},Qr)}))):[].concat(Object(r.a)(lr),[Object(l.a)(Object(l.a)({},vr),{},{fixed:Hr})])},[])}function Pe(Ot){for(var lr=!0,vr=0;vr<Ot.length;vr+=1){var Cr=Ot[vr];if(lr&&Cr.fixed!=="left")lr=!1;else if(!lr&&Cr.fixed==="left"){Object(b.a)(!1,"Index ".concat(vr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Hr=!0,cn=Ot.length-1;cn>=0;cn-=1){var Qr=Ot[cn];if(Hr&&Qr.fixed!=="right")Hr=!1;else if(!Hr&&Qr.fixed==="right"){Object(b.a)(!1,"Index ".concat(cn+1," of `columns` missing `fixed='right'` prop."));break}}}function Be(Ot){return Ot.map(function(lr){var vr=lr.fixed,Cr=Object(P.a)(lr,["fixed"]),Hr=vr;return vr==="left"?Hr="right":vr==="right"&&(Hr="left"),Object(l.a)({fixed:Hr},Cr)})}function J(Ot,lr){var vr=Ot.prefixCls,Cr=Ot.columns,Hr=Ot.children,cn=Ot.expandable,Qr=Ot.expandedKeys,gt=Ot.getRowKey,Gt=Ot.onTriggerExpand,Sr=Ot.expandIcon,Zr=Ot.rowExpandable,en=Ot.expandIconColumnIndex,xn=Ot.direction,kn=Ot.expandRowByClick,Zn=a.useMemo(function(){return Cr||G(Hr)},[Cr,Hr]),ui=a.useMemo(function(){if(cn){var $n,Si=en||0,Ci=Zn[Si],vi=($n={},Object(t.a)($n,le,{className:"".concat(vr,"-expand-icon-col")}),Object(t.a)($n,"title",""),Object(t.a)($n,"fixed",Ci?Ci.fixed:null),Object(t.a)($n,"className","".concat(vr,"-row-expand-icon-cell")),Object(t.a)($n,"render",function(di,pi,_i){var Ri=gt(pi,_i),Vi=Qr.has(Ri),Ii=Zr?Zr(pi):!0,ba=Sr({prefixCls:vr,expanded:Vi,expandable:Ii,record:pi,onExpand:Gt});return kn?a.createElement("span",{onClick:function(Aa){return Aa.stopPropagation()}},ba):ba}),$n),xi=Zn.slice();return Si>=0&&xi.splice(Si,0,vi),xi}return Zn},[cn,Zn,gt,Qr,Sr,xn]),ti=a.useMemo(function(){var $n=ui;return lr&&($n=lr($n)),$n.length||($n=[{render:function(){return null}}]),$n},[lr,ui,xn]),Qn=a.useMemo(function(){return xn==="rtl"?Be(Y(ti)):Y(ti)},[ti,xn]);return[ti,Qn]}var St=J,bt=e("xEkU"),nt=e.n(bt);function Rt(Ot){var lr=Object(a.useRef)(Ot),vr=Object(a.useState)({}),Cr=Object(u.a)(vr,2),Hr=Cr[1],cn=Object(a.useRef)(null),Qr=Object(a.useRef)([]);function gt(Gt){cn.current===null&&(Qr.current=[],cn.current=nt()(function(){Qr.current.forEach(function(Sr){lr.current=Sr(lr.current)}),cn.current=null,Hr({})})),Qr.current.push(Gt)}return Object(a.useEffect)(function(){return function(){nt.a.cancel(cn.current)}},[]),[lr.current,gt]}function zt(Ot){var lr=Object(a.useRef)(Ot),vr=Object(a.useRef)(null);function Cr(){window.clearTimeout(vr.current)}function Hr(Qr){lr.current=Qr,Cr(),vr.current=window.setTimeout(function(){lr.current=null,vr.current=null},100)}function cn(){return lr.current}return Object(a.useEffect)(function(){return Cr},[]),[Hr,cn]}function Fr(Ot,lr,vr){var Cr=Object(a.useMemo)(function(){for(var Hr=[],cn=[],Qr=0,gt=0,Gt=0;Gt<lr;Gt+=1)if(vr==="rtl"){cn[Gt]=gt,gt+=Ot[Gt]||0;var Sr=lr-Gt-1;Hr[Sr]=Qr,Qr+=Ot[Sr]||0}else{Hr[Gt]=Qr,Qr+=Ot[Gt]||0;var Zr=lr-Gt-1;cn[Zr]=gt,gt+=Ot[Zr]||0}return{left:Hr,right:cn}},[Ot,lr,vr]);return Cr}var Jt=Fr;function ge(Ot){var lr=Ot.className,vr=Ot.children;return a.createElement("div",{className:lr},vr)}var ye=ge;function Le(Ot){var lr=Ot.className,vr=Ot.index,Cr=Ot.children,Hr=Ot.colSpan,cn=Ot.rowSpan,Qr=a.useContext(He),gt=Qr.prefixCls,Gt=Qr.fixedInfoList,Sr=Gt[vr];return a.createElement(Qe,Object.assign({className:lr,index:vr,component:"td",prefixCls:gt,record:null,dataIndex:null,render:function(){return{children:Cr,props:{colSpan:Hr,rowSpan:cn}}}},Sr))}function we(Ot){return a.createElement("tr",Object.assign({},Ot))}function Ke(Ot){var lr=Ot.children,vr=a.useContext(He),Cr=vr.prefixCls;return a.createElement("tfoot",{className:"".concat(Cr,"-summary")},lr)}var Je=Ke,ut={Cell:Le,Row:we};function vt(Ot){var lr,vr=Ot.prefixCls,Cr=Ot.record,Hr=Ot.onExpand,cn=Ot.expanded,Qr=Ot.expandable,gt="".concat(vr,"-row-expand-icon");if(!Qr)return a.createElement("span",{className:i()(gt,"".concat(vr,"-row-spaced"))});var Gt=function(Zr){Hr(Cr,Zr),Zr.stopPropagation()};return a.createElement("span",{className:i()(gt,(lr={},Object(t.a)(lr,"".concat(vr,"-row-expanded"),cn),Object(t.a)(lr,"".concat(vr,"-row-collapsed"),!cn),lr)),onClick:Gt})}function _t(Ot,lr,vr){var Cr=[];function Hr(cn){(cn||[]).forEach(function(Qr,gt){Cr.push(lr(Qr,gt)),Hr(Qr[vr])})}return Hr(Ot),Cr}var Ut=e("zT1h"),Bt=e("y0+3"),dr=function(lr,vr){var Cr,Hr,cn=lr.scrollBodyRef,Qr=lr.onScroll,gt=lr.offsetScroll,Gt=a.useContext(He),Sr=Gt.prefixCls,Zr=((Cr=cn.current)===null||Cr===void 0?void 0:Cr.scrollWidth)||0,en=((Hr=cn.current)===null||Hr===void 0?void 0:Hr.clientWidth)||0,xn=Zr&&en*(en/Zr),kn=a.useRef(),Zn=Rt({scrollLeft:0,isHiddenScrollBar:!1}),ui=Object(u.a)(Zn,2),ti=ui[0],Qn=ui[1],$n=a.useRef({delta:0,x:0}),Si=a.useState(!1),Ci=Object(u.a)(Si,2),vi=Ci[0],xi=Ci[1],Ei=function(){xi(!1)},di=function(Ii){Ii.persist(),$n.current.delta=Ii.pageX-ti.scrollLeft,$n.current.x=0,xi(!0),Ii.preventDefault()},pi=function(Ii){var ba,ga=Ii||((ba=window)===null||ba===void 0?void 0:ba.event),Aa=ga.buttons;if(!vi||Aa===0){vi&&xi(!1);return}var ha=$n.current.x+Ii.pageX-$n.current.x-$n.current.delta;ha<=0&&(ha=0),ha+xn>=en&&(ha=en-xn),Qr({scrollLeft:ha/en*(Zr+2)}),$n.current.x=Ii.pageX},_i=function(){var Ii=Object(Bt.b)(cn.current).top,ba=Ii+cn.current.offsetHeight,ga=document.documentElement.scrollTop+window.innerHeight;ba-Object(B.a)()<=ga||Ii>=ga-gt?Qn(function(Aa){return Object(l.a)(Object(l.a)({},Aa),{},{isHiddenScrollBar:!0})}):Qn(function(Aa){return Object(l.a)(Object(l.a)({},Aa),{},{isHiddenScrollBar:!1})})},Ri=function(Ii){Qn(function(ba){return Object(l.a)(Object(l.a)({},ba),{},{scrollLeft:Ii/Zr*en||0})})};return a.useImperativeHandle(vr,function(){return{setScrollLeft:Ri}}),a.useEffect(function(){var Vi=Object(Ut.a)(document.body,"mouseup",Ei,!1),Ii=Object(Ut.a)(document.body,"mousemove",pi,!1);return _i(),function(){Vi.remove(),Ii.remove()}},[xn,vi]),a.useEffect(function(){var Vi=Object(Ut.a)(window,"scroll",_i,!1),Ii=Object(Ut.a)(window,"resize",_i,!1);return function(){Vi.remove(),Ii.remove()}},[]),a.useEffect(function(){ti.isHiddenScrollBar||Qn(function(Vi){var Ii,ba;return Object(l.a)(Object(l.a)({},Vi),{},{scrollLeft:cn.current.scrollLeft/((Ii=cn.current)===null||Ii===void 0?void 0:Ii.scrollWidth)*((ba=cn.current)===null||ba===void 0?void 0:ba.clientWidth)})})},[ti.isHiddenScrollBar]),Zr<=en||!xn||ti.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(B.a)(),width:en,bottom:gt},className:"".concat(Sr,"-sticky-scroll")},a.createElement("div",{onMouseDown:di,ref:kn,className:i()("".concat(Sr,"-sticky-scroll-bar"),Object(t.a)({},"".concat(Sr,"-sticky-scroll-bar-active"),vi)),style:{width:"".concat(xn,"px"),transform:"translate3d(".concat(ti.scrollLeft,"px, 0, 0)")}}))},Oe=a.forwardRef(dr);function xe(Ot,lr){return a.useMemo(function(){var vr=!!Ot;return{isSticky:vr,stickyClassName:vr?"".concat(lr,"-sticky-header"):"",offsetHeader:Object(o.a)(Ot)==="object"&&Ot.offsetHeader||0,offsetScroll:Object(o.a)(Ot)==="object"&&Ot.offsetScroll||0}},[Ot,lr])}var V=[],q={},ue="rc-table-internal-hook",me=a.memo(function(Ot){var lr=Ot.children;return lr},function(Ot,lr){return y()(Ot.props,lr.props)?Ot.pingLeft!==lr.pingLeft||Ot.pingRight!==lr.pingRight:!1});function Ee(Ot){var lr,vr=Ot.prefixCls,Cr=Ot.className,Hr=Ot.rowClassName,cn=Ot.style,Qr=Ot.data,gt=Ot.rowKey,Gt=Ot.scroll,Sr=Ot.tableLayout,Zr=Ot.direction,en=Ot.title,xn=Ot.footer,kn=Ot.summary,Zn=Ot.id,ui=Ot.showHeader,ti=Ot.components,Qn=Ot.emptyText,$n=Ot.onRow,Si=Ot.onHeaderRow,Ci=Ot.internalHooks,vi=Ot.transformColumns,xi=Ot.internalRefs,Ei=Ot.sticky,di=Qr||V,pi=!!di.length,_i=a.useState(0),Ri=Object(u.a)(_i,2),Vi=Ri[0],Ii=Ri[1];a.useEffect(function(){Ii(Object(B.a)())});var ba=a.useMemo(function(){return $(ti,{})},[ti]),ga=a.useCallback(function(io,Ga){return X(ba,io)||Ga},[ba]),Aa=a.useMemo(function(){return typeof gt=="function"?gt:function(io){var Ga=io&&io[gt];return Ga}},[gt]),ha=je(Ot),vo=ha.expandIcon,la=ha.expandedRowKeys,Ba=ha.defaultExpandedRowKeys,pa=ha.defaultExpandAllRows,to=ha.expandedRowRender,qa=ha.onExpand,Yi=ha.onExpandedRowsChange,oo=ha.expandRowByClick,Ya=ha.rowExpandable,wa=ha.expandIconColumnIndex,$a=ha.expandedRowClassName,Fi=ha.childrenColumnName,Sa=ha.indentSize,Ea=vo||vt,yo=Fi||"children",_a=a.useMemo(function(){return to?"row":Ot.expandable&&Ci===ue&&Ot.expandable.__PARENT_RENDER_ICON__||di.some(function(io){return io&&Object(o.a)(io)==="object"&&io[yo]})?"nest":!1},[!!to,di]),Hi=a.useState(function(){return Ba||(pa?_t(di,Aa,yo):[])}),Xa=Object(u.a)(Hi,2),Da=Xa[0],va=Xa[1],Di=a.useMemo(function(){return new Set(la||Da||[])},[la,Da]),at=a.useCallback(function(io){var Ga=Aa(io,di.indexOf(io)),Xo,Ho=Di.has(Ga);Ho?(Di.delete(Ga),Xo=Object(r.a)(Di)):Xo=[].concat(Object(r.a)(Di),[Ga]),va(Xo),qa&&qa(!Ho,io),Yi&&Yi(Xo)},[Aa,Di,di,qa,Yi]),qt=a.useState(0),pr=Object(u.a)(qt,2),ur=pr[0],$r=pr[1],Er=St(Object(l.a)(Object(l.a)(Object(l.a)({},Ot),ha),{},{expandable:!!to,expandedKeys:Di,getRowKey:Aa,onTriggerExpand:at,expandIcon:Ea,expandIconColumnIndex:wa,direction:Zr}),Ci===ue?vi:null),sr=Object(u.a)(Er,2),dn=sr[0],wr=sr[1],rn=a.useMemo(function(){return{columns:dn,flattenColumns:wr}},[dn,wr]),Fn=a.useRef(),Bn=a.useRef(),Tn=a.useRef(),Kn=a.useState(!1),Mn=Object(u.a)(Kn,2),Un=Mn[0],Vn=Mn[1],si=a.useState(!1),Jn=Object(u.a)(si,2),Ai=Jn[0],Ji=Jn[1],Oi=Rt(new Map),Mi=Object(u.a)(Oi,2),Li=Mi[0],Ki=Mi[1],so=K(wr),Pa=so.map(function(io){return Li.get(io)}),Xi=a.useMemo(function(){return Pa},[Pa.join("_")]),yi=Jt(Xi,wr.length,Zr),Bi=Gt&&ie(Gt.y),Zi=Gt&&ie(Gt.x),Fa=Zi&&wr.some(function(io){var Ga=io.fixed;return Ga}),ya=a.useRef(),ja=xe(Ei,vr),Wa=ja.isSticky,wo=ja.offsetHeader,Do=ja.offsetScroll,es=ja.stickyClassName,To,So,Ia;Bi&&(So={overflowY:"scroll",maxHeight:Gt.y}),Zi&&(To={overflowX:"auto"},Bi||(So={overflowY:"hidden"}),Ia={width:Gt.x===!0?"auto":Gt.x,minWidth:"100%"});var Ua=a.useCallback(function(io,Ga){Ki(function(Xo){var Ho=new Map(Xo);return Ho.set(io,Ga),Ho})},[]),aa=zt(null),lo=Object(u.a)(aa,2),Qo=lo[0],ro=lo[1];function us(io,Ga){if(!Ga)return;typeof Ga=="function"?Ga(io):Ga.scrollLeft!==io&&(Ga.scrollLeft=io)}var co=function(Ga){var Xo=Ga.currentTarget,Ho=Ga.scrollLeft,Ra=typeof Ho=="number"?Ho:Xo.scrollLeft,Oo=Xo||q;if(!ro()||ro()===Oo){var xs;Qo(Oo),us(Ra,Bn.current),us(Ra,Tn.current),us(Ra,(xs=ya.current)===null||xs===void 0?void 0:xs.setScrollLeft)}if(Xo){var Po=Xo.scrollWidth,Zo=Xo.clientWidth;Vn(Ra>0),Ji(Ra<Po-Zo)}},go=function(){Tn.current&&co({currentTarget:Tn.current})},$o=function(Ga){var Xo=Ga.width;go(),$r(Fn.current?Fn.current.offsetWidth:Xo)};a.useEffect(function(){return go},[]),a.useEffect(function(){Zi&&go()},[Zi]),a.useEffect(function(){Ci===ue&&xi&&(xi.body.current=Tn.current)});var Io=ga(["table"],"table"),Bo=a.useMemo(function(){return Sr||(Fa?Gt.x==="max-content"?"auto":"fixed":Bi||wr.some(function(io){var Ga=io.ellipsis;return Ga})?"fixed":"auto")},[Bi,Fa,wr,Sr]),Wr,hi={colWidths:Xi,columCount:wr.length,stickyOffsets:yi,onHeaderRow:Si,fixHeader:Bi},Ds=a.useMemo(function(){return pi?null:typeof Qn=="function"?Qn():Qn},[pi,Qn]),ds=a.createElement(Ue,{data:di,measureColumnWidth:Bi||Zi||Wa,expandedKeys:Di,rowExpandable:Ya,getRowKey:Aa,onRow:$n,emptyNode:Ds,childrenColumnName:yo}),ts=a.createElement(De,{colWidths:wr.map(function(io){var Ga=io.width;return Ga}),columns:wr}),Ro=kn&&a.createElement(Je,null,kn(di)),is=ga(["body"]);if(Bi||Wa){var vs;typeof is=="function"?(vs=is(di,{scrollbarSize:Vi,ref:Tn,onScroll:co}),hi.colWidths=wr.map(function(io,Ga){var Xo=io.width,Ho=Ga===dn.length-1?Xo-Vi:Xo;return typeof Ho=="number"&&!Number.isNaN(Ho)?Ho:(Object(b.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):vs=a.createElement("div",{style:Object(l.a)(Object(l.a)({},To),So),onScroll:co,ref:Tn,className:i()("".concat(vr,"-body"))},a.createElement(Io,{style:Object(l.a)(Object(l.a)({},Ia),{},{tableLayout:Bo})},ts,ds,Ro),Wa&&a.createElement(Oe,{ref:ya,offsetScroll:Do,scrollBodyRef:Tn,onScroll:co})),Wr=a.createElement(a.Fragment,null,ui!==!1&&a.createElement(pe,Object.assign({noData:!di.length},hi,rn,{direction:Zr,offsetHeader:wo,stickyClassName:es,ref:Bn,onScroll:co})),vs)}else Wr=a.createElement("div",{style:Object(l.a)(Object(l.a)({},To),So),className:i()("".concat(vr,"-content")),onScroll:co,ref:Tn},a.createElement(Io,{style:Object(l.a)(Object(l.a)({},Ia),{},{tableLayout:Bo})},ts,ui!==!1&&a.createElement(ce,Object.assign({},hi,rn)),ds,Ro));var Yo=Re(Ot),Vo=a.createElement("div",Object.assign({className:i()(vr,Cr,(lr={},Object(t.a)(lr,"".concat(vr,"-rtl"),Zr==="rtl"),Object(t.a)(lr,"".concat(vr,"-ping-left"),Un),Object(t.a)(lr,"".concat(vr,"-ping-right"),Ai),Object(t.a)(lr,"".concat(vr,"-layout-fixed"),Sr==="fixed"),Object(t.a)(lr,"".concat(vr,"-fixed-header"),Bi),Object(t.a)(lr,"".concat(vr,"-fixed-column"),Fa),Object(t.a)(lr,"".concat(vr,"-scroll-horizontal"),Zi),Object(t.a)(lr,"".concat(vr,"-has-fix-left"),wr[0]&&wr[0].fixed),Object(t.a)(lr,"".concat(vr,"-has-fix-right"),wr[wr.length-1]&&wr[wr.length-1].fixed==="right"),lr)),style:cn,id:Zn,ref:Fn},Yo),a.createElement(me,{pingLeft:Un,pingRight:Ai,props:Object(l.a)(Object(l.a)({},Ot),{},{stickyOffsets:yi,mergedExpandedKeys:Di})},en&&a.createElement(ye,{className:"".concat(vr,"-title")},en(di)),a.createElement("div",{className:"".concat(vr,"-container")},Wr),xn&&a.createElement(ye,{className:"".concat(vr,"-footer")},xn(di))));Zi&&(Vo=a.createElement(F,{onResize:$o},Vo));var rs=a.useMemo(function(){return{prefixCls:vr,getComponent:ga,scrollbarSize:Vi,direction:Zr,fixedInfoList:wr.map(function(io,Ga){return se(Ga,Ga,wr,yi,Zr)}),isSticky:Wa}},[vr,ga,Vi,Zr,wr,yi,Zr,Wa]),hs=a.useMemo(function(){return Object(l.a)(Object(l.a)({},rn),{},{tableLayout:Bo,rowClassName:Hr,expandedRowClassName:$a,componentWidth:ur,fixHeader:Bi,fixColumn:Fa,horizonScroll:Zi,expandIcon:Ea,expandableType:_a,expandRowByClick:oo,expandedRowRender:to,onTriggerExpand:at,expandIconColumnIndex:wa,indentSize:Sa})},[rn,Bo,Hr,$a,ur,Bi,Fa,Zi,Ea,_a,oo,to,at,wa,Sa]),as=a.useMemo(function(){return{onColumnResize:Ua}},[Ua]);return a.createElement(He.Provider,{value:rs},a.createElement(lt.Provider,{value:hs},a.createElement(jt.Provider,{value:as},Vo)))}Ee.Column=U,Ee.ColumnGroup=z,Ee.Summary=ut,Ee.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Ge=Ee,dt=Ge,Kt=e("W9HT"),tr=e("NUBc"),wt=e("H84U"),It=function(Ot,lr){var vr={};for(var Cr in Ot)Object.prototype.hasOwnProperty.call(Ot,Cr)&&lr.indexOf(Cr)<0&&(vr[Cr]=Ot[Cr]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Hr=0,Cr=Object.getOwnPropertySymbols(Ot);Hr<Cr.length;Hr++)lr.indexOf(Cr[Hr])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Cr[Hr])&&(vr[Cr[Hr]]=Ot[Cr[Hr]]);return vr},Lt=10;function Nt(Ot,lr){var vr={current:lr.current,pageSize:lr.pageSize},Cr=Ot&&f()(Ot)==="object"?Ot:{};return Object.keys(Cr).forEach(function(Hr){var cn=lr[Hr];typeof cn!="function"&&(vr[Hr]=cn)}),vr}function $e(){for(var Ot={},lr=arguments.length,vr=new Array(lr),Cr=0;Cr<lr;Cr++)vr[Cr]=arguments[Cr];return vr.forEach(function(Hr){Hr&&Object.keys(Hr).forEach(function(cn){var Qr=Hr[cn];Qr!==void 0&&(Ot[cn]=Qr)})}),Ot}function ot(Ot,lr,vr){var Cr=lr&&f()(lr)==="object"?lr:{},Hr=Cr.total,cn=Hr===void 0?0:Hr,Qr=It(Cr,["total"]),gt=Object(a.useState)(function(){return{current:"defaultCurrent"in Qr?Qr.defaultCurrent:1,pageSize:"defaultPageSize"in Qr?Qr.defaultPageSize:Lt}}),Gt=p()(gt,2),Sr=Gt[0],Zr=Gt[1],en=$e(Sr,Qr,{total:cn>0?cn:Ot});if(!cn){var xn=Math.ceil(Ot/en.pageSize);xn<en.current&&(en.current=1)}var kn=function(){var ti=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Qn=arguments.length>1?arguments[1]:void 0;Zr(s()(s()({},en),{current:ti,pageSize:Qn||en.pageSize}))},Zn=function(ti,Qn){var $n=en==null?void 0:en.pageSize;Qn&&Qn!==$n&&(ti=1,lr&&lr.onShowSizeChange&&lr.onShowSizeChange(ti,Qn)),lr&&lr.onChange&&lr.onChange(ti,Qn),kn(ti,Qn),vr(ti,Qn||$n)};return lr===!1?[{},function(){}]:[s()(s()({},en),{onChange:Zn}),kn]}function ft(Ot,lr,vr){var Cr=a.useRef({});function Hr(cn){if(!Cr.current||Cr.current.data!==Ot||Cr.current.childrenColumnName!==lr||Cr.current.getRowKey!==vr){var Qr=function Gt(Sr){Sr.forEach(function(Zr,en){var xn=vr(Zr,en);gt.set(xn,Zr),Zr&&f()(Zr)==="object"&&lr in Zr&&Gt(Zr[lr]||[])})},gt=new Map;Qr(Ot),Cr.current={data:Ot,childrenColumnName:lr,kvMap:gt,getRowKey:vr}}return Cr.current.kvMap.get(cn)}return[Hr]}var ze=e("SA+Z"),Ye=e.n(ze),qe=e("RIqP"),rt=e.n(qe),ct=e("HQEm"),st=e.n(ct),et=e("c3jg"),Ft=e("qOx5"),Ct=e("wPhX"),ir=e("6cGi"),Xt=e("kaz8"),_r=e("jsC+"),Br=e("BvKs"),Gr=e("9yH6"),un=e("uaoM"),mn="SELECT_ALL",_n="SELECT_INVERT";function qr(Ot){return Ot&&Ot.fixed}function yn(Ot,lr){var vr=[];return(Ot||[]).forEach(function(Cr){vr.push(Cr),Cr&&f()(Cr)==="object"&&lr in Cr&&(vr=[].concat(rt()(vr),rt()(yn(Cr[lr],lr))))}),vr}function nn(Ot,lr){var vr=Ot||{},Cr=vr.preserveSelectedRowKeys,Hr=vr.selectedRowKeys,cn=vr.getCheckboxProps,Qr=vr.onChange,gt=vr.onSelect,Gt=vr.onSelectAll,Sr=vr.onSelectInvert,Zr=vr.onSelectMultiple,en=vr.columnWidth,xn=vr.type,kn=vr.selections,Zn=vr.fixed,ui=vr.renderCell,ti=vr.hideSelectAll,Qn=vr.checkStrictly,$n=Qn===void 0?!0:Qn,Si=lr.prefixCls,Ci=lr.data,vi=lr.pageData,xi=lr.getRecordByKey,Ei=lr.getRowKey,di=lr.expandType,pi=lr.childrenColumnName,_i=lr.locale,Ri=lr.expandIconColumnIndex,Vi=lr.getPopupContainer,Ii=a.useRef(new Map),ba=Object(ir.a)(Hr||[],{value:Hr}),ga=p()(ba,2),Aa=ga[0],ha=ga[1],vo=Object(a.useMemo)(function(){return $n?{keyEntities:null}:Object(et.a)(Ci,void 0,Ei)},[Ci,Ei,$n]),la=vo.keyEntities,Ba=Object(a.useMemo)(function(){return yn(vi,pi)},[vi,pi]),pa=Object(a.useMemo)(function(){var va=new Map;return Ba.forEach(function(Di,at){var qt=Ei(Di,at),pr=(cn?cn(Di):null)||{};va.set(qt,pr)}),va},[Ba,Ei,cn]),to=Object(a.useCallback)(function(va){var Di;return!!((Di=pa.get(Ei(va)))===null||Di===void 0?void 0:Di.disabled)},[pa,Ei]),qa=Object(a.useMemo)(function(){if($n)return[Aa,[]];var va=Object(Ft.a)(Aa,!0,la,to),Di=va.checkedKeys,at=va.halfCheckedKeys;return[Di,at]},[Aa,$n,la,to]),Yi=p()(qa,2),oo=Yi[0],Ya=Yi[1],wa=Object(a.useMemo)(function(){var va=xn==="radio"?oo.slice(0,1):oo;return new Set(va)},[oo,xn]),$a=Object(a.useMemo)(function(){return xn==="radio"?new Set:new Set(Ya)},[Ya,xn]),Fi=Object(a.useState)(null),Sa=p()(Fi,2),Ea=Sa[0],yo=Sa[1];a.useEffect(function(){Ot||ha([])},[!!Ot]);var _a=Object(a.useCallback)(function(va){var Di,at;if(Cr){var qt=new Map;Di=va,at=va.map(function(pr){var ur=xi(pr);return!ur&&Ii.current.has(pr)&&(ur=Ii.current.get(pr)),qt.set(pr,ur),ur}),Ii.current=qt}else Di=[],at=[],va.forEach(function(pr){var ur=xi(pr);ur!==void 0&&(Di.push(pr),at.push(ur))});ha(Di),Qr&&Qr(Di,at)},[ha,xi,Qr,Cr]),Hi=Object(a.useCallback)(function(va,Di,at,qt){if(gt){var pr=at.map(function(ur){return xi(ur)});gt(xi(va),Di,pr,qt)}_a(at)},[gt,xi,_a]),Xa=Object(a.useMemo)(function(){if(!kn||ti)return null;var va=kn===!0?[mn,_n]:kn;return va.map(function(Di){return Di===mn?{key:"all",text:_i.selectionAll,onSelect:function(){_a(Ci.map(function(qt,pr){return Ei(qt,pr)}))}}:Di===_n?{key:"invert",text:_i.selectInvert,onSelect:function(){var qt=new Set(wa);vi.forEach(function(ur,$r){var Er=Ei(ur,$r);qt.has(Er)?qt.delete(Er):qt.add(Er)});var pr=Array.from(qt);_a(pr),Sr&&(Object(un.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Sr(pr))}}:Di})},[kn,wa,vi,Ei,Sr,_a]),Da=Object(a.useCallback)(function(va){if(!Ot)return va;var Di=new Set(wa),at=Ba.map(Ei).filter(function(Un){return!pa.get(Un).disabled}),qt=at.every(function(Un){return Di.has(Un)}),pr=at.some(function(Un){return Di.has(Un)}),ur=function(){var Vn=[];qt?at.forEach(function(Jn){Di.delete(Jn),Vn.push(Jn)}):at.forEach(function(Jn){Di.has(Jn)||(Di.add(Jn),Vn.push(Jn))});var si=Array.from(Di);_a(si),Gt&&Gt(!qt,si.map(function(Jn){return xi(Jn)}),Vn.map(function(Jn){return xi(Jn)}))},$r;if(xn!=="radio"){var Er;if(Xa){var sr=a.createElement(Br.a,{getPopupContainer:Vi},Xa.map(function(Un,Vn){var si=Un.key,Jn=Un.text,Ai=Un.onSelect;return a.createElement(Br.a.Item,{key:si||Vn,onClick:function(){Ai&&Ai(at)}},Jn)}));Er=a.createElement("div",{className:"".concat(Si,"-selection-extra")},a.createElement(_r.a,{overlay:sr,getPopupContainer:Vi},a.createElement("span",null,a.createElement(st.a,null))))}var dn=Ba.every(function(Un,Vn){var si=Ei(Un,Vn),Jn=pa.get(si)||{};return Jn.disabled});$r=!ti&&a.createElement("div",{className:"".concat(Si,"-selection")},a.createElement(Xt.a,{checked:!dn&&!!Ba.length&&qt,indeterminate:!qt&&pr,onChange:ur,disabled:Ba.length===0||dn}),Er)}var wr;xn==="radio"?wr=function(Vn,si,Jn){var Ai=Ei(si,Jn),Ji=Di.has(Ai);return{node:a.createElement(Gr.a,s()({},pa.get(Ai),{checked:Ji,onClick:function(Mi){return Mi.stopPropagation()},onChange:function(Mi){Di.has(Ai)||Hi(Ai,!0,[Ai],Mi.nativeEvent)}})),checked:Ji}}:wr=function(Vn,si,Jn){var Ai,Ji=Ei(si,Jn),Oi=Di.has(Ji),Mi=$a.has(Ji),Li=pa.get(Ji),Ki;return di==="nest"?(Ki=Mi,Object(un.a)(!(typeof(Li==null?void 0:Li.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Ki=(Ai=Li==null?void 0:Li.indeterminate)!==null&&Ai!==void 0?Ai:Mi,{node:a.createElement(Xt.a,s()({},Li,{indeterminate:Ki,checked:Oi,onClick:function(Pa){return Pa.stopPropagation()},onChange:function(Pa){var Xi=Pa.nativeEvent,yi=Xi.shiftKey,Bi=-1,Zi=-1;if(yi&&$n){var Fa=new Set([Ea,Ji]);at.some(function(aa,lo){if(Fa.has(aa))if(Bi===-1)Bi=lo;else return Zi=lo,!0;return!1})}if(Zi!==-1&&Bi!==Zi&&$n){var ya=at.slice(Bi,Zi+1),ja=[];Oi?ya.forEach(function(aa){Di.has(aa)&&(ja.push(aa),Di.delete(aa))}):ya.forEach(function(aa){Di.has(aa)||(ja.push(aa),Di.add(aa))});var Wa=Array.from(Di);_a(Wa),Zr&&Zr(!Oi,Wa.map(function(aa){return xi(aa)}),ja.map(function(aa){return xi(aa)}))}else{var wo=oo;if($n){var Do=Oi?Object(Ct.b)(wo,Ji):Object(Ct.a)(wo,Ji);Hi(Ji,!Oi,Do,Xi)}else{var es=Object(Ft.a)([].concat(rt()(wo),[Ji]),!0,la,to),To=es.checkedKeys,So=es.halfCheckedKeys,Ia=To;if(Oi){var Ua=new Set(To);Ua.delete(Ji),Ia=Object(Ft.a)(Array.from(Ua),{checked:!1,halfCheckedKeys:So},la,to).checkedKeys}Hi(Ji,!Oi,Ia,Xi)}}yo(Ji)}})),checked:Oi}};var rn=function(Vn,si,Jn){var Ai=wr(Vn,si,Jn),Ji=Ai.node,Oi=Ai.checked;return ui?ui(Oi,si,Jn,Ji):Ji},Fn=m()({width:en,className:"".concat(Si,"-selection-column"),title:Ot.columnTitle||$r,render:rn},le,{className:"".concat(Si,"-selection-col")});if(di==="row"&&va.length&&!Ri){var Bn=Ye()(va),Tn=Bn[0],Kn=Bn.slice(1),Mn=Zn||qr(Kn[0]);return Mn&&(Tn.fixed=Mn),[Tn,s()(s()({},Fn),{fixed:Mn})].concat(rt()(Kn))}return[s()(s()({},Fn),{fixed:Zn||qr(va[0])})].concat(rt()(va))},[Ei,Ba,Ot,oo,wa,$a,en,Xa,di,Ea,pa,Zr,Hi,to]);return[Da,wa]}var cr=e("6SEX"),Pr=e.n(cr),Ar=e("i8CU"),Mr=e.n(Ar),fn=e("3S7+");function En(Ot,lr){return"key"in Ot&&Ot.key!==void 0&&Ot.key!==null?Ot.key:Ot.dataIndex?Array.isArray(Ot.dataIndex)?Ot.dataIndex.join("."):Ot.dataIndex:lr}function Rn(Ot,lr){return lr?"".concat(lr,"-").concat(Ot):"".concat(Ot)}function oi(Ot,lr){return typeof Ot=="function"?Ot(lr):Ot}var An="ascend",mi="descend";function ai(Ot){return f()(Ot.sorter)==="object"&&typeof Ot.sorter.multiple=="number"?Ot.sorter.multiple:!1}function Xr(Ot){return typeof Ot=="function"?Ot:Ot&&f()(Ot)==="object"&&Ot.compare?Ot.compare:!1}function pn(Ot,lr){return lr?Ot[Ot.indexOf(lr)+1]:Ot[0]}function Ln(Ot,lr,vr){var Cr=[];function Hr(cn,Qr){Cr.push({column:cn,key:En(cn,Qr),multiplePriority:ai(cn),sortOrder:cn.sortOrder})}return(Ot||[]).forEach(function(cn,Qr){var gt=Rn(Qr,vr);cn.children?("sortOrder"in cn&&Hr(cn,gt),Cr=[].concat(rt()(Cr),rt()(Ln(cn.children,lr,gt)))):cn.sorter&&("sortOrder"in cn?Hr(cn,gt):lr&&cn.defaultSortOrder&&Cr.push({column:cn,key:En(cn,gt),multiplePriority:ai(cn),sortOrder:cn.defaultSortOrder}))}),Cr}function tn(Ot,lr,vr,Cr,Hr,cn,Qr,gt){return(lr||[]).map(function(Gt,Sr){var Zr=Rn(Sr,gt),en=Gt;if(en.sorter){var xn=en.sortDirections||Hr,kn=en.showSorterTooltip===void 0?Qr:en.showSorterTooltip,Zn=En(en,Zr),ui=vr.find(function(pi){var _i=pi.key;return _i===Zn}),ti=ui?ui.sortOrder:null,Qn=pn(xn,ti),$n=xn.includes(An)&&a.createElement(Mr.a,{className:i()("".concat(Ot,"-column-sorter-up"),{active:ti===An})}),Si=xn.includes(mi)&&a.createElement(Pr.a,{className:i()("".concat(Ot,"-column-sorter-down"),{active:ti===mi})}),Ci=cn||{},vi=Ci.cancelSort,xi=Ci.triggerAsc,Ei=Ci.triggerDesc,di=vi;Qn===mi?di=Ei:Qn===An&&(di=xi),en=s()(s()({},en),{className:i()(en.className,m()({},"".concat(Ot,"-column-sort"),ti)),title:function(_i){var Ri=a.createElement("div",{className:"".concat(Ot,"-column-sorters")},a.createElement("span",null,oi(Gt.title,_i)),a.createElement("span",{className:i()("".concat(Ot,"-column-sorter"),m()({},"".concat(Ot,"-column-sorter-full"),$n&&Si))},a.createElement("span",{className:"".concat(Ot,"-column-sorter-inner")},$n,Si)));return kn?a.createElement(fn.a,{title:di},a.createElement("div",{className:"".concat(Ot,"-column-sorters-with-tooltip")},Ri)):Ri},onHeaderCell:function(_i){var Ri=Gt.onHeaderCell&&Gt.onHeaderCell(_i)||{},Vi=Ri.onClick;return Ri.onClick=function(Ii){Cr({column:Gt,key:Zn,sortOrder:Qn,multiplePriority:ai(Gt)}),Vi&&Vi(Ii)},Ri.className=i()(Ri.className,"".concat(Ot,"-column-has-sorters")),Ri}})}return"children"in en&&(en=s()(s()({},en),{children:tn(Ot,en.children,vr,Cr,Hr,cn,Qr,Zr)})),en})}function $t(Ot){var lr=Ot.column,vr=Ot.sortOrder;return{column:lr,order:vr,field:lr.dataIndex,columnKey:lr.key}}function yr(Ot){var lr=Ot.filter(function(vr){var Cr=vr.sortOrder;return Cr}).map($t);return lr.length===0&&Ot.length?s()(s()({},$t(Ot[Ot.length-1])),{column:void 0}):lr.length<=1?lr[0]||{}:lr}function kr(Ot,lr,vr){var Cr=lr.slice().sort(function(Qr,gt){return gt.multiplePriority-Qr.multiplePriority}),Hr=Ot.slice(),cn=Cr.filter(function(Qr){var gt=Qr.column.sorter,Gt=Qr.sortOrder;return Xr(gt)&&Gt});return cn.length?Hr.sort(function(Qr,gt){for(var Gt=0;Gt<cn.length;Gt+=1){var Sr=cn[Gt],Zr=Sr.column.sorter,en=Sr.sortOrder,xn=Xr(Zr);if(xn&&en){var kn=xn(Qr,gt,en);if(kn!==0)return en===An?kn:-kn}}return 0}).map(function(Qr){var gt=Qr[vr];return gt?s()(s()({},Qr),m()({},vr,kr(gt,lr,vr))):Qr}):Hr}function gr(Ot){var lr=Ot.prefixCls,vr=Ot.mergedColumns,Cr=Ot.onSorterChange,Hr=Ot.sortDirections,cn=Ot.tableLocale,Qr=Ot.showSorterTooltip,gt=a.useState(Ln(vr,!0)),Gt=p()(gt,2),Sr=Gt[0],Zr=Gt[1],en=a.useMemo(function(){var ti=!0,Qn=Ln(vr,!1);if(!Qn.length)return Sr;var $n=[];function Si(vi){ti?$n.push(vi):$n.push(s()(s()({},vi),{sortOrder:null}))}var Ci=null;return Qn.forEach(function(vi){Ci===null?(Si(vi),vi.sortOrder&&(vi.multiplePriority===!1?ti=!1:Ci=!0)):(Ci&&vi.multiplePriority!==!1||(ti=!1),Si(vi))}),$n},[vr,Sr]),xn=a.useMemo(function(){var ti=en.map(function(Qn){var $n=Qn.column,Si=Qn.sortOrder;return{column:$n,order:Si}});return{sortColumns:ti,sortColumn:ti[0]&&ti[0].column,sortOrder:ti[0]&&ti[0].order}},[en]);function kn(ti){var Qn;ti.multiplePriority===!1||!en.length||en[0].multiplePriority===!1?Qn=[ti]:Qn=[].concat(rt()(en.filter(function($n){var Si=$n.key;return Si!==ti.key})),[ti]),Zr(Qn),Cr(yr(Qn),Qn)}var Zn=function(Qn){return tn(lr,Qn,en,kn,Hr,cn,Qr)},ui=function(){return yr(en)};return[Zn,en,xn,ui]}var Kr=e("Y+p1"),sn=e.n(Kr),Ir=e("5Uyt"),Rr=e.n(Ir),ar=e("2/Rp"),Tr=e("ECub"),br=function(lr){return a.createElement("div",{className:lr.className,onClick:function(Cr){return Cr.stopPropagation()}},lr.children)},fr=br,zr=e("sPtV"),wn=Br.a.SubMenu,On=Br.a.Item;function Wn(Ot){return Ot.some(function(lr){var vr=lr.children;return vr})}function Xn(Ot){var lr=Ot.filters,vr=Ot.prefixCls,Cr=Ot.filteredKeys,Hr=Ot.filterMultiple,cn=Ot.locale;return lr.length===0?a.createElement(a.Fragment,null,a.createElement(Tr.a,{image:Tr.a.PRESENTED_IMAGE_SIMPLE,description:cn.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):lr.map(function(Qr,gt){var Gt=String(Qr.value);if(Qr.children)return a.createElement(wn,{key:Gt||gt,title:Qr.text,popupClassName:"".concat(vr,"-dropdown-submenu")},Xn({filters:Qr.children,prefixCls:vr,filteredKeys:Cr,filterMultiple:Hr,locale:cn}));var Sr=Hr?Xt.a:Gr.a;return a.createElement(On,{key:Qr.value!==void 0?Gt:gt},a.createElement(Sr,{checked:Cr.includes(Gt)}),a.createElement("span",null,Qr.text))})}function ii(Ot){var lr,vr=Ot.prefixCls,Cr=Ot.column,Hr=Ot.dropdownPrefixCls,cn=Ot.columnKey,Qr=Ot.filterMultiple,gt=Ot.filterState,Gt=Ot.triggerFilter,Sr=Ot.locale,Zr=Ot.children,en=Ot.getPopupContainer,xn=Cr.filterDropdownVisible,kn=Cr.onFilterDropdownVisibleChange,Zn=a.useState(!1),ui=p()(Zn,2),ti=ui[0],Qn=ui[1],$n=!!(gt&&(((lr=gt.filteredKeys)===null||lr===void 0?void 0:lr.length)||gt.forceFiltered)),Si=function(Sa){Qn(Sa),kn&&kn(Sa)},Ci=typeof xn=="boolean"?xn:ti,vi=gt&>.filteredKeys,xi=Object(zr.a)(vi||[]),Ei=p()(xi,2),di=Ei[0],pi=Ei[1],_i=function(Sa){var Ea=Sa.selectedKeys;pi(Ea)};a.useEffect(function(){_i({selectedKeys:vi||[]})},[vi]);var Ri=a.useState([]),Vi=p()(Ri,2),Ii=Vi[0],ba=Vi[1],ga=a.useRef(),Aa=function(Sa){ga.current=window.setTimeout(function(){ba(Sa)})},ha=function(){window.clearTimeout(ga.current)};a.useEffect(function(){return function(){window.clearTimeout(ga.current)}},[]);var vo=function(Sa){Si(!1);var Ea=Sa&&Sa.length?Sa:null;if(Ea===null&&(!gt||!gt.filteredKeys))return null;if(sn()(Ea,gt==null?void 0:gt.filteredKeys))return null;Gt({column:Cr,key:cn,filteredKeys:Ea})},la=function(){vo(di())},Ba=function(){pi([]),vo([])},pa=function(Sa){Sa&&vi!==void 0&&pi(vi||[]),Si(Sa),!Sa&&!Cr.filterDropdown&&la()},to=i()(m()({},"".concat(Hr,"-menu-without-submenu"),!Wn(Cr.filters||[]))),qa;if(typeof Cr.filterDropdown=="function")qa=Cr.filterDropdown({prefixCls:"".concat(Hr,"-custom"),setSelectedKeys:function(Sa){return _i({selectedKeys:Sa})},selectedKeys:di(),confirm:la,clearFilters:Ba,filters:Cr.filters,visible:Ci});else if(Cr.filterDropdown)qa=Cr.filterDropdown;else{var Yi=di()||[];qa=a.createElement(a.Fragment,null,a.createElement(Br.a,{multiple:Qr,prefixCls:"".concat(Hr,"-menu"),className:to,onClick:ha,onSelect:_i,onDeselect:_i,selectedKeys:Yi,getPopupContainer:en,openKeys:Ii,onOpenChange:Aa},Xn({filters:Cr.filters||[],prefixCls:vr,filteredKeys:di(),filterMultiple:Qr,locale:Sr})),a.createElement("div",{className:"".concat(vr,"-dropdown-btns")},a.createElement(ar.a,{type:"link",size:"small",disabled:Yi.length===0,onClick:Ba},Sr.filterReset),a.createElement(ar.a,{type:"primary",size:"small",onClick:la},Sr.filterConfirm)))}var oo=a.createElement(fr,{className:"".concat(vr,"-dropdown")},qa),Ya;typeof Cr.filterIcon=="function"?Ya=Cr.filterIcon($n):Cr.filterIcon?Ya=Cr.filterIcon:Ya=a.createElement(Rr.a,null);var wa=a.useContext(wt.b),$a=wa.direction;return a.createElement("div",{className:i()("".concat(vr,"-column"))},a.createElement("span",{className:"".concat(vr,"-column-title")},Zr),a.createElement("span",{className:i()("".concat(vr,"-trigger-container"),m()({},"".concat(vr,"-trigger-container-open"),Ci)),onClick:function(Sa){Sa.stopPropagation()}},a.createElement(_r.a,{overlay:oo,trigger:["click"],visible:Ci,onVisibleChange:pa,getPopupContainer:en,placement:$a==="rtl"?"bottomLeft":"bottomRight"},a.createElement("span",{role:"button",tabIndex:-1,className:i()("".concat(vr,"-trigger"),{active:$n})},Ya))))}var li=ii;function bi(Ot,lr,vr){var Cr=[];return(Ot||[]).forEach(function(Hr,cn){var Qr=Rn(cn,vr);"children"in Hr?Cr=[].concat(rt()(Cr),rt()(bi(Hr.children,lr,Qr))):(Hr.filters||"filterDropdown"in Hr||"onFilter"in Hr)&&("filteredValue"in Hr?Cr.push({column:Hr,key:En(Hr,Qr),filteredKeys:Hr.filteredValue,forceFiltered:Hr.filtered}):Cr.push({column:Hr,key:En(Hr,Qr),filteredKeys:lr&&Hr.defaultFilteredValue?Hr.defaultFilteredValue:void 0,forceFiltered:Hr.filtered}))}),Cr}function gi(Ot,lr,vr,Cr,Hr,cn,Qr,gt){return vr.map(function(Gt,Sr){var Zr=Rn(Sr,gt),en=Gt.filterMultiple,xn=en===void 0?!0:en;if(Gt.filters||"filterDropdown"in Gt){var kn=En(Gt,Zr),Zn=Cr.find(function(ui){var ti=ui.key;return kn===ti});return s()(s()({},Gt),{title:function(ti){return a.createElement(li,{prefixCls:"".concat(Ot,"-filter"),dropdownPrefixCls:lr,column:Gt,columnKey:kn,filterState:Zn,filterMultiple:xn,triggerFilter:Hr,locale:Qr,getPopupContainer:cn},oi(Gt.title,ti))}})}return"children"in Gt?s()(s()({},Gt),{children:gi(Ot,lr,Gt.children,Cr,Hr,cn,Qr,Zr)}):Gt})}function Ni(Ot){var lr={};return Ot.forEach(function(vr){var Cr=vr.key,Hr=vr.filteredKeys;lr[Cr]=Hr||null}),lr}function ki(Ot){var lr=[];return(Ot||[]).forEach(function(vr){var Cr=vr.value,Hr=vr.children;lr.push(Cr),Hr&&(lr=[].concat(rt()(lr),rt()(ki(Hr))))}),lr}function sa(Ot,lr){return lr.reduce(function(vr,Cr){var Hr=Cr.column,cn=Hr.onFilter,Qr=Hr.filters,gt=Cr.filteredKeys;return cn&>&>.length?vr.filter(function(Gt){return gt.some(function(Sr){var Zr=ki(Qr),en=Zr.findIndex(function(kn){return String(kn)===String(Sr)}),xn=en!==-1?Zr[en]:Sr;return cn(xn,Gt)})}):vr},Ot)}function Wi(Ot){var lr=Ot.prefixCls,vr=Ot.dropdownPrefixCls,Cr=Ot.mergedColumns,Hr=Ot.onFilterChange,cn=Ot.getPopupContainer,Qr=Ot.locale,gt=a.useState(bi(Cr,!0)),Gt=p()(gt,2),Sr=Gt[0],Zr=Gt[1],en=a.useMemo(function(){var ui=bi(Cr,!1);return ui.every(function(ti){var Qn=ti.filteredKeys;return Qn===void 0})?Sr:ui},[Cr,Sr]),xn=a.useCallback(function(){return Ni(en)},[en]),kn=function(ti){var Qn=en.filter(function($n){var Si=$n.key;return Si!==ti.key});Qn.push(ti),Zr(Qn),Hr(Ni(Qn),Qn)},Zn=function(ti){return gi(lr,vr,ti,en,kn,cn,Qr)};return[Zn,en,xn]}var Ta=Wi;function La(Ot,lr){return Ot.map(function(vr){var Cr=s()({},vr);return Cr.title=oi(vr.title,lr),"children"in Cr&&(Cr.children=La(Cr.children,lr)),Cr})}function ta(Ot){var lr=a.useCallback(function(vr){return La(vr,Ot)},[Ot]);return[lr]}function Ka(Ot){return function(vr){var Cr,Hr=vr.prefixCls,cn=vr.onExpand,Qr=vr.record,gt=vr.expanded,Gt=vr.expandable,Sr="".concat(Hr,"-row-expand-icon");return a.createElement("button",{type:"button",onClick:function(en){cn(Qr,en),en.stopPropagation()},className:i()(Sr,(Cr={},m()(Cr,"".concat(Sr,"-spaced"),!Gt),m()(Cr,"".concat(Sr,"-expanded"),Gt&>),m()(Cr,"".concat(Sr,"-collapsed"),Gt&&!gt),Cr)),"aria-label":gt?Ot.collapse:Ot.expand})}}var ni=Ka,zi=e("zAh6"),Va=e("ZvpZ"),Za=Va.a,Oa=e("3Nzz");function ma(Ot){return null}var xr=ma;function nr(Ot){return null}var ln=nr,er=e("5OYt"),hr=[];function Dr(Ot){var lr,vr=Ot.prefixCls,Cr=Ot.className,Hr=Ot.style,cn=Ot.size,Qr=Ot.bordered,gt=Ot.dropdownPrefixCls,Gt=Ot.dataSource,Sr=Ot.pagination,Zr=Ot.rowSelection,en=Ot.rowKey,xn=Ot.rowClassName,kn=Ot.columns,Zn=Ot.children,ui=Ot.childrenColumnName,ti=Ot.onChange,Qn=Ot.getPopupContainer,$n=Ot.loading,Si=Ot.expandIcon,Ci=Ot.expandable,vi=Ot.expandedRowRender,xi=Ot.expandIconColumnIndex,Ei=Ot.indentSize,di=Ot.scroll,pi=Ot.sortDirections,_i=Ot.locale,Ri=Ot.showSorterTooltip,Vi=Ri===void 0?!0:Ri;Object(un.a)(!(typeof en=="function"&&en.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Ii=Object(er.a)(),ba=a.useMemo(function(){var Ua=new Set(Object.keys(Ii).filter(function(aa){return Ii[aa]}));return(kn||G(Zn)).filter(function(aa){return!aa.responsive||aa.responsive.some(function(lo){return Ua.has(lo)})})},[Zn,kn,Ii]),ga=Object(d.default)(Ot,["className","style","columns"]),Aa=a.useContext(Oa.b),ha=a.useContext(wt.b),vo=ha.locale,la=vo===void 0?Za:vo,Ba=ha.renderEmpty,pa=ha.direction,to=cn||Aa,qa=s()(s()({},la.Table),_i),Yi=Gt||hr,oo=a.useContext(wt.b),Ya=oo.getPrefixCls,wa=Ya("table",vr),$a=Ya("dropdown",gt),Fi=s()({childrenColumnName:ui,expandIconColumnIndex:xi},Ci),Sa=Fi.childrenColumnName,Ea=Sa===void 0?"children":Sa,yo=a.useMemo(function(){return Yi.some(function(Ua){var aa;return(aa=Ua)===null||aa===void 0?void 0:aa[Ea]})?"nest":vi||Ci&&Ci.expandedRowRender?"row":null},[Yi]),_a={body:a.useRef()},Hi=a.useMemo(function(){return typeof en=="function"?en:function(Ua){var aa;return(aa=Ua)===null||aa===void 0?void 0:aa[en]}},[en]),Xa=ft(Yi,Ea,Hi),Da=p()(Xa,1),va=Da[0],Di={},at=function(aa,lo){var Qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=s()(s()({},Di),aa);Qo&&(Di.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Sr&&Sr.onChange&&Sr.onChange(1,ro.pagination.pageSize)),di&&di.scrollToFirstRowOnChange!==!1&&_a.body.current&&Object(zi.a)(0,{getContainer:function(){return _a.body.current}}),ti&&ti(ro.pagination,ro.filters,ro.sorter,{currentDataSource:sa(kr(Yi,ro.sorterStates,Ea),ro.filterStates),action:lo})},qt=function(aa,lo){at({sorter:aa,sorterStates:lo},"sort",!1)},pr=gr({prefixCls:wa,mergedColumns:ba,onSorterChange:qt,sortDirections:pi||["ascend","descend"],tableLocale:qa,showSorterTooltip:Vi}),ur=p()(pr,4),$r=ur[0],Er=ur[1],sr=ur[2],dn=ur[3],wr=a.useMemo(function(){return kr(Yi,Er,Ea)},[Yi,Er]);Di.sorter=dn(),Di.sorterStates=Er;var rn=function(aa,lo){at({filters:aa,filterStates:lo},"filter",!0)},Fn=Ta({prefixCls:wa,locale:qa,dropdownPrefixCls:$a,mergedColumns:ba,onFilterChange:rn,getPopupContainer:Qn}),Bn=p()(Fn,3),Tn=Bn[0],Kn=Bn[1],Mn=Bn[2],Un=sa(wr,Kn);Di.filters=Mn(),Di.filterStates=Kn;var Vn=a.useMemo(function(){return s()({},sr)},[sr]),si=ta(Vn),Jn=p()(si,1),Ai=Jn[0],Ji=function(aa,lo){at({pagination:s()(s()({},Di.pagination),{current:aa,pageSize:lo})},"paginate")},Oi=ot(Un.length,Sr,Ji),Mi=p()(Oi,2),Li=Mi[0],Ki=Mi[1];Di.pagination=Sr===!1?{}:Nt(Sr,Li),Di.resetPagination=Ki;var so=a.useMemo(function(){if(Sr===!1||!Li.pageSize)return Un;var Ua=Li.current,aa=Ua===void 0?1:Ua,lo=Li.total,Qo=Li.pageSize,ro=Qo===void 0?Lt:Qo;return Un.length<lo?Un.length>ro?(Object(un.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."),Un.slice((aa-1)*ro,aa*ro)):Un:Un.slice((aa-1)*ro,aa*ro)},[!!Sr,Un,Li&&Li.current,Li&&Li.pageSize,Li&&Li.total]),Pa=nn(Zr,{prefixCls:wa,data:Un,pageData:so,getRowKey:Hi,getRecordByKey:va,expandType:yo,childrenColumnName:Ea,locale:qa,expandIconColumnIndex:Fi.expandIconColumnIndex,getPopupContainer:Qn}),Xi=p()(Pa,2),yi=Xi[0],Bi=Xi[1],Zi=function(aa,lo,Qo){var ro;return typeof xn=="function"?ro=i()(xn(aa,lo,Qo)):ro=i()(xn),i()(m()({},"".concat(wa,"-row-selected"),Bi.has(Hi(aa,lo))),ro)};Fi.__PARENT_RENDER_ICON__=Fi.expandIcon,Fi.expandIcon=Fi.expandIcon||Si||ni(qa),yo==="nest"&&Fi.expandIconColumnIndex===void 0?Fi.expandIconColumnIndex=Zr?1:0:Fi.expandIconColumnIndex>0&&Zr&&(Fi.expandIconColumnIndex-=1),typeof Fi.indentSize!="number"&&(Fi.indentSize=typeof Ei=="number"?Ei:15);var Fa=a.useCallback(function(Ua){return Ai(yi(Tn($r(Ua))))},[$r,Tn,yi]),ya,ja;if(Sr!==!1){var Wa;Li.size?Wa=Li.size:Wa=to==="small"||to==="middle"?"small":void 0;var wo=function(aa){return a.createElement(tr.a,s()({className:"".concat(wa,"-pagination ").concat(wa,"-pagination-").concat(aa)},Li,{size:Wa}))},Do=pa==="rtl"?"left":"right";if(Li.position!==null&&Array.isArray(Li.position)){var es=Li.position.find(function(Ua){return Ua.indexOf("top")!==-1}),To=Li.position.find(function(Ua){return Ua.indexOf("bottom")!==-1});!es&&!To?ja=wo(Do):(es&&(ya=wo(es.toLowerCase().replace("top",""))),To&&(ja=wo(To.toLowerCase().replace("bottom",""))))}else ja=wo(Do)}var So;typeof $n=="boolean"?So={spinning:$n}:f()($n)==="object"&&(So=s()({spinning:!0},$n));var Ia=i()("".concat(wa,"-wrapper"),Cr,m()({},"".concat(wa,"-wrapper-rtl"),pa==="rtl"));return a.createElement("div",{className:Ia,style:Hr},a.createElement(Kt.a,s()({spinning:!1},So),ya,a.createElement(dt,s()({},ga,{columns:ba,direction:pa,expandable:Fi,prefixCls:wa,className:i()((lr={},m()(lr,"".concat(wa,"-middle"),to==="middle"),m()(lr,"".concat(wa,"-small"),to==="small"),m()(lr,"".concat(wa,"-bordered"),Qr),m()(lr,"".concat(wa,"-empty"),Yi.length===0),lr)),data:so,rowKey:Hi,rowClassName:Zi,emptyText:_i&&_i.emptyText||Ba("Table"),internalHooks:ue,internalRefs:_a,transformColumns:Fa})),Un&&Un.length>0&&ja))}Dr.defaultProps={rowKey:"key"},Dr.SELECTION_ALL=mn,Dr.SELECTION_INVERT=_n,Dr.Column=xr,Dr.ColumnGroup=ln,Dr.Summary=ut;var Vr=Dr,an=N.a=Vr},wDdD:function(R,N,e){var A=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var x=e("d4KN"),m=e("mOdp"),g=e("KS52"),p=e("0/Rx");x("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),A.registerVisual(m("pie")),A.registerLayout(f.curry(g,"pie")),A.registerProcessor(p("pie"))},wOnQ:function(R,N,e){/*!
|
|
|
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(A,f){R.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var A=function(oe,Ae){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,it){_e.__proto__=it}||function(_e,it){for(var Wt in it)Object.prototype.hasOwnProperty.call(it,Wt)&&(_e[Wt]=it[Wt])},A(oe,Ae)};function f(pt,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Class extends value "+String(oe)+" is not a constructor or null");A(pt,oe);function Ae(){this.constructor=pt}pt.prototype=oe===null?Object.create(oe):(Ae.prototype=oe.prototype,new Ae)}var x=function(){return x=Object.assign||function(Ae){for(var _e,it=1,Wt=arguments.length;it<Wt;it++){_e=arguments[it];for(var Lr in _e)Object.prototype.hasOwnProperty.call(_e,Lr)&&(Ae[Lr]=_e[Lr])}return Ae},x.apply(this,arguments)};function m(pt,oe,Ae,_e){function it(Wt){return Wt instanceof Ae?Wt:new Ae(function(Lr){Lr(Wt)})}return new(Ae||(Ae=Promise))(function(Wt,Lr){function jr(qn){try{gn(_e.next(qn))}catch(Gn){Lr(Gn)}}function Jr(qn){try{gn(_e.throw(qn))}catch(Gn){Lr(Gn)}}function gn(qn){qn.done?Wt(qn.value):it(qn.value).then(jr,Jr)}gn((_e=_e.apply(pt,oe||[])).next())})}function g(pt,oe){var Ae={label:0,sent:function(){if(Wt[0]&1)throw Wt[1];return Wt[1]},trys:[],ops:[]},_e,it,Wt,Lr;return Lr={next:jr(0),throw:jr(1),return:jr(2)},typeof Symbol=="function"&&(Lr[Symbol.iterator]=function(){return this}),Lr;function jr(gn){return function(qn){return Jr([gn,qn])}}function Jr(gn){if(_e)throw new TypeError("Generator is already executing.");for(;Ae;)try{if(_e=1,it&&(Wt=gn[0]&2?it.return:gn[0]?it.throw||((Wt=it.return)&&Wt.call(it),0):it.next)&&!(Wt=Wt.call(it,gn[1])).done)return Wt;(it=0,Wt)&&(gn=[gn[0]&2,Wt.value]);switch(gn[0]){case 0:case 1:Wt=gn;break;case 4:return Ae.label++,{value:gn[1],done:!1};case 5:Ae.label++,it=gn[1],gn=[0];continue;case 7:gn=Ae.ops.pop(),Ae.trys.pop();continue;default:if(!(Wt=Ae.trys,Wt=Wt.length>0&&Wt[Wt.length-1])&&(gn[0]===6||gn[0]===2)){Ae=0;continue}if(gn[0]===3&&(!Wt||gn[1]>Wt[0]&&gn[1]<Wt[3])){Ae.label=gn[1];break}if(gn[0]===6&&Ae.label<Wt[1]){Ae.label=Wt[1],Wt=gn;break}if(Wt&&Ae.label<Wt[2]){Ae.label=Wt[2],Ae.ops.push(gn);break}Wt[2]&&Ae.ops.pop(),Ae.trys.pop();continue}gn=oe.call(pt,Ae)}catch(qn){gn=[6,qn],it=0}finally{_e=Wt=0}if(gn[0]&5)throw gn[1];return{value:gn[0]?gn[1]:void 0,done:!0}}}function p(pt,oe,Ae){if(Ae||arguments.length===2)for(var _e=0,it=oe.length,Wt;_e<it;_e++)(Wt||!(_e in oe))&&(Wt||(Wt=Array.prototype.slice.call(oe,0,_e)),Wt[_e]=oe[_e]);return pt.concat(Wt||oe)}for(var c=function(){function pt(oe,Ae,_e,it){this.left=oe,this.top=Ae,this.width=_e,this.height=it}return pt.prototype.add=function(oe,Ae,_e,it){return new pt(this.left+oe,this.top+Ae,this.width+_e,this.height+it)},pt.fromClientRect=function(oe,Ae){return new pt(Ae.left+oe.windowBounds.left,Ae.top+oe.windowBounds.top,Ae.width,Ae.height)},pt.fromDOMRectList=function(oe,Ae){var _e=Ae[0];return _e?new pt(_e.x+oe.windowBounds.left,_e.y+oe.windowBounds.top,_e.width,_e.height):pt.EMPTY},pt.EMPTY=new pt(0,0,0,0),pt}(),s=function(oe,Ae){return c.fromClientRect(oe,Ae.getBoundingClientRect())},a=function(oe){var Ae=oe.body,_e=oe.documentElement;if(!Ae||!_e)throw new Error("Unable to get document size");var it=Math.max(Math.max(Ae.scrollWidth,_e.scrollWidth),Math.max(Ae.offsetWidth,_e.offsetWidth),Math.max(Ae.clientWidth,_e.clientWidth)),Wt=Math.max(Math.max(Ae.scrollHeight,_e.scrollHeight),Math.max(Ae.offsetHeight,_e.offsetHeight),Math.max(Ae.clientHeight,_e.clientHeight));return new c(0,0,it,Wt)},n=function(oe){for(var Ae=[],_e=0,it=oe.length;_e<it;){var Wt=oe.charCodeAt(_e++);if(Wt>=55296&&Wt<=56319&&_e<it){var Lr=oe.charCodeAt(_e++);(Lr&64512)===56320?Ae.push(((Wt&1023)<<10)+(Lr&1023)+65536):(Ae.push(Wt),_e--)}else Ae.push(Wt)}return Ae},i=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,oe);var _e=oe.length;if(!_e)return"";for(var it=[],Wt=-1,Lr="";++Wt<_e;){var jr=oe[Wt];jr<=65535?it.push(jr):(jr-=65536,it.push((jr>>10)+55296,jr%1024+56320)),(Wt+1===_e||it.length>16384)&&(Lr+=String.fromCharCode.apply(String,it),it.length=0)}return Lr},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<d.length;l++)t[d.charCodeAt(l)]=l;var r=function(oe){var Ae=oe.length*.75,_e=oe.length,it,Wt=0,Lr,jr,Jr,gn;oe[oe.length-1]==="="&&(Ae--,oe[oe.length-2]==="="&&Ae--);var qn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Gn=Array.isArray(qn)?qn:new Uint8Array(qn);for(it=0;it<_e;it+=4)Lr=t[oe.charCodeAt(it)],jr=t[oe.charCodeAt(it+1)],Jr=t[oe.charCodeAt(it+2)],gn=t[oe.charCodeAt(it+3)],Gn[Wt++]=Lr<<2|jr>>4,Gn[Wt++]=(jr&15)<<4|Jr>>2,Gn[Wt++]=(Jr&3)<<6|gn&63;return qn},o=function(oe){for(var Ae=oe.length,_e=[],it=0;it<Ae;it+=2)_e.push(oe[it+1]<<8|oe[it]);return _e},u=function(oe){for(var Ae=oe.length,_e=[],it=0;it<Ae;it+=4)_e.push(oe[it+3]<<24|oe[it+2]<<16|oe[it+1]<<8|oe[it]);return _e},h=5,y=6+5,b=2,E=y-h,v=65536>>h,w=1<<h,O=w-1,T=1024>>h,S=v+T,C=S,_=2048>>6,I=C+_,k=65536>>y,F=1<<E,B=F-1,j=function(oe,Ae,_e){return oe.slice?oe.slice(Ae,_e):new Uint16Array(Array.prototype.slice.call(oe,Ae,_e))},z=function(oe,Ae,_e){return oe.slice?oe.slice(Ae,_e):new Uint32Array(Array.prototype.slice.call(oe,Ae,_e))},M=function(oe){var Ae=r(oe),_e=Array.isArray(Ae)?u(Ae):new Uint32Array(Ae),it=Array.isArray(Ae)?o(Ae):new Uint16Array(Ae),Wt=24,Lr=j(it,Wt/2,_e[4]/2),jr=_e[5]===2?j(it,(Wt+_e[4])/2):z(_e,Math.ceil((Wt+_e[4])/4));return new U(_e[0],_e[1],_e[2],_e[3],Lr,jr)},U=function(){function pt(oe,Ae,_e,it,Wt,Lr){this.initialValue=oe,this.errorValue=Ae,this.highStart=_e,this.highValueIndex=it,this.index=Wt,this.data=Lr}return pt.prototype.get=function(oe){var Ae;if(oe>=0){if(oe<55296||oe>56319&&oe<=65535)return Ae=this.index[oe>>h],Ae=(Ae<<b)+(oe&O),this.data[Ae];if(oe<=65535)return Ae=this.index[v+(oe-55296>>h)],Ae=(Ae<<b)+(oe&O),this.data[Ae];if(oe<this.highStart)return Ae=I-k+(oe>>y),Ae=this.index[Ae],Ae+=oe>>h&B,Ae=this.index[Ae],Ae=(Ae<<b)+(oe&O),this.data[Ae];if(oe<=1114111)return this.data[this.highValueIndex]}return this.errorValue},pt}(),P="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",H=50,W=1,X=2,K=3,$=4,ie=5,be=7,te=8,Te=9,Ie=10,Fe=11,Qe=12,fe=13,He=14,se=15,Ce=16,mt=17,Ne=18,ae=19,ce=20,le=21,je=22,Re=23,Ze=24,De=25,ne=26,he=27,pe=28,Xe=29,lt=30,At=31,Me=32,Ht=33,tt=34,Mt=35,jt=36,kt=37,Tt=38,Dt=39,Ue=40,G=41,Y=42,Pe=43,Be=[9001,65288],J="!",St="\xD7",bt="\xF7",nt=M(P),Rt=[lt,jt],zt=[W,X,K,ie],Fr=[Ie,te],Jt=[he,ne],ge=zt.concat(Fr),ye=[Tt,Dt,Ue,tt,Mt],Le=[se,fe],we=function(oe,Ae){Ae===void 0&&(Ae="strict");var _e=[],it=[],Wt=[];return oe.forEach(function(Lr,jr){var Jr=nt.get(Lr);if(Jr>H?(Wt.push(!0),Jr-=H):Wt.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(Lr)!==-1)return it.push(jr),_e.push(Ce);if(Jr===$||Jr===Fe){if(jr===0)return it.push(jr),_e.push(lt);var gn=_e[jr-1];return ge.indexOf(gn)===-1?(it.push(it[jr-1]),_e.push(gn)):(it.push(jr),_e.push(lt))}if(it.push(jr),Jr===At)return _e.push(Ae==="strict"?le:kt);if(Jr===Y)return _e.push(lt);if(Jr===Xe)return _e.push(lt);if(Jr===Pe)return Lr>=131072&&Lr<=196605||Lr>=196608&&Lr<=262141?_e.push(kt):_e.push(lt);_e.push(Jr)}),[it,_e,Wt]},Ke=function(oe,Ae,_e,it){var Wt=it[_e];if(Array.isArray(oe)?oe.indexOf(Wt)!==-1:oe===Wt)for(var Lr=_e;Lr<=it.length;){Lr++;var jr=it[Lr];if(jr===Ae)return!0;if(jr!==Ie)break}if(Wt===Ie)for(var Lr=_e;Lr>0;){Lr--;var Jr=it[Lr];if(Array.isArray(oe)?oe.indexOf(Jr)!==-1:oe===Jr)for(var gn=_e;gn<=it.length;){gn++;var jr=it[gn];if(jr===Ae)return!0;if(jr!==Ie)break}if(Jr!==Ie)break}return!1},Je=function(oe,Ae){for(var _e=oe;_e>=0;){var it=Ae[_e];if(it===Ie)_e--;else return it}return 0},ut=function(oe,Ae,_e,it,Wt){if(_e[it]===0)return St;var Lr=it-1;if(Array.isArray(Wt)&&Wt[Lr]===!0)return St;var jr=Lr-1,Jr=Lr+1,gn=Ae[Lr],qn=jr>=0?Ae[jr]:0,Gn=Ae[Jr];if(gn===X&&Gn===K)return St;if(zt.indexOf(gn)!==-1)return J;if(zt.indexOf(Gn)!==-1)return St;if(Fr.indexOf(Gn)!==-1)return St;if(Je(Lr,Ae)===te)return bt;if(nt.get(oe[Lr])===Fe)return St;if((gn===Me||gn===Ht)&&nt.get(oe[Jr])===Fe)return St;if(gn===be||Gn===be)return St;if(gn===Te)return St;if([Ie,fe,se].indexOf(gn)===-1&&Gn===Te)return St;if([mt,Ne,ae,Ze,pe].indexOf(Gn)!==-1)return St;if(Je(Lr,Ae)===je)return St;if(Ke(Re,je,Lr,Ae))return St;if(Ke([mt,Ne],le,Lr,Ae))return St;if(Ke(Qe,Qe,Lr,Ae))return St;if(gn===Ie)return bt;if(gn===Re||Gn===Re)return St;if(Gn===Ce||gn===Ce)return bt;if([fe,se,le].indexOf(Gn)!==-1||gn===He)return St;if(qn===jt&&Le.indexOf(gn)!==-1)return St;if(gn===pe&&Gn===jt)return St;if(Gn===ce)return St;if(Rt.indexOf(Gn)!==-1&&gn===De||Rt.indexOf(gn)!==-1&&Gn===De)return St;if(gn===he&&[kt,Me,Ht].indexOf(Gn)!==-1||[kt,Me,Ht].indexOf(gn)!==-1&&Gn===ne)return St;if(Rt.indexOf(gn)!==-1&&Jt.indexOf(Gn)!==-1||Jt.indexOf(gn)!==-1&&Rt.indexOf(Gn)!==-1)return St;if([he,ne].indexOf(gn)!==-1&&(Gn===De||[je,se].indexOf(Gn)!==-1&&Ae[Jr+1]===De)||[je,se].indexOf(gn)!==-1&&Gn===De||gn===De&&[De,pe,Ze].indexOf(Gn)!==-1)return St;if([De,pe,Ze,mt,Ne].indexOf(Gn)!==-1)for(var ei=Lr;ei>=0;){var qi=Ae[ei];if(qi===De)return St;if([pe,Ze].indexOf(qi)!==-1)ei--;else break}if([he,ne].indexOf(Gn)!==-1)for(var ei=[mt,Ne].indexOf(gn)!==-1?jr:Lr;ei>=0;){var qi=Ae[ei];if(qi===De)return St;if([pe,Ze].indexOf(qi)!==-1)ei--;else break}if(Tt===gn&&[Tt,Dt,tt,Mt].indexOf(Gn)!==-1||[Dt,tt].indexOf(gn)!==-1&&[Dt,Ue].indexOf(Gn)!==-1||[Ue,Mt].indexOf(gn)!==-1&&Gn===Ue)return St;if(ye.indexOf(gn)!==-1&&[ce,ne].indexOf(Gn)!==-1||ye.indexOf(Gn)!==-1&&gn===he)return St;if(Rt.indexOf(gn)!==-1&&Rt.indexOf(Gn)!==-1)return St;if(gn===Ze&&Rt.indexOf(Gn)!==-1)return St;if(Rt.concat(De).indexOf(gn)!==-1&&Gn===je&&Be.indexOf(oe[Jr])===-1||Rt.concat(De).indexOf(Gn)!==-1&&gn===Ne)return St;if(gn===G&&Gn===G){for(var $i=_e[Lr],da=1;$i>0&&($i--,Ae[$i]===G);)da++;if(da%2!==0)return St}return gn===Me&&Gn===Ht?St:bt},vt=function(oe,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var _e=we(oe,Ae.lineBreak),it=_e[0],Wt=_e[1],Lr=_e[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(Wt=Wt.map(function(Jr){return[De,lt,Y].indexOf(Jr)!==-1?kt:Jr}));var jr=Ae.wordBreak==="keep-all"?Lr.map(function(Jr,gn){return Jr&&oe[gn]>=19968&&oe[gn]<=40959}):void 0;return[it,Wt,jr]},_t=function(){function pt(oe,Ae,_e,it){this.codePoints=oe,this.required=Ae===J,this.start=_e,this.end=it}return pt.prototype.slice=function(){return i.apply(void 0,this.codePoints.slice(this.start,this.end))},pt}(),Ut=function(oe,Ae){var _e=n(oe),it=vt(_e,Ae),Wt=it[0],Lr=it[1],jr=it[2],Jr=_e.length,gn=0,qn=0;return{next:function(){if(qn>=Jr)return{done:!0,value:null};for(var ei=St;qn<Jr&&(ei=ut(_e,Lr,Wt,++qn,jr))===St;);if(ei!==St||qn===Jr){var qi=new _t(_e,ei,gn,qn);return gn=qn,{value:qi,done:!1}}return{done:!0,value:null}}}},Bt=1<<0,dr=1<<1,Oe=1<<2,xe=1<<3,V=10,q=47,ue=92,me=9,Ee=32,Ge=34,dt=61,Kt=35,tr=36,wt=37,It=39,Lt=40,Nt=41,$e=95,ot=45,ft=33,ze=60,Ye=62,qe=64,rt=91,ct=93,st=61,et=123,Ft=63,Ct=125,ir=124,Xt=126,_r=128,Br=65533,Gr=42,un=43,mn=44,_n=58,qr=59,yn=46,nn=0,cr=8,Pr=11,Ar=14,Mr=31,fn=127,En=-1,Rn=48,oi=97,An=101,mi=102,ai=117,Xr=122,pn=65,Ln=69,tn=70,$t=85,yr=90,kr=function(oe){return oe>=Rn&&oe<=57},gr=function(oe){return oe>=55296&&oe<=57343},Kr=function(oe){return kr(oe)||oe>=pn&&oe<=tn||oe>=oi&&oe<=mi},sn=function(oe){return oe>=oi&&oe<=Xr},Ir=function(oe){return oe>=pn&&oe<=yr},Rr=function(oe){return sn(oe)||Ir(oe)},ar=function(oe){return oe>=_r},Tr=function(oe){return oe===V||oe===me||oe===Ee},br=function(oe){return Rr(oe)||ar(oe)||oe===$e},fr=function(oe){return br(oe)||kr(oe)||oe===ot},zr=function(oe){return oe>=nn&&oe<=cr||oe===Pr||oe>=Ar&&oe<=Mr||oe===fn},wn=function(oe,Ae){return oe!==ue?!1:Ae!==V},On=function(oe,Ae,_e){return oe===ot?br(Ae)||wn(Ae,_e):br(oe)?!0:!!(oe===ue&&wn(oe,Ae))},Wn=function(oe,Ae,_e){return oe===un||oe===ot?kr(Ae)?!0:Ae===yn&&kr(_e):oe===yn?kr(Ae):kr(oe)},Xn=function(oe){var Ae=0,_e=1;(oe[Ae]===un||oe[Ae]===ot)&&(oe[Ae]===ot&&(_e=-1),Ae++);for(var it=[];kr(oe[Ae]);)it.push(oe[Ae++]);var Wt=it.length?parseInt(i.apply(void 0,it),10):0;oe[Ae]===yn&&Ae++;for(var Lr=[];kr(oe[Ae]);)Lr.push(oe[Ae++]);var jr=Lr.length,Jr=jr?parseInt(i.apply(void 0,Lr),10):0;(oe[Ae]===Ln||oe[Ae]===An)&&Ae++;var gn=1;(oe[Ae]===un||oe[Ae]===ot)&&(oe[Ae]===ot&&(gn=-1),Ae++);for(var qn=[];kr(oe[Ae]);)qn.push(oe[Ae++]);var Gn=qn.length?parseInt(i.apply(void 0,qn),10):0;return _e*(Wt+Jr*Math.pow(10,-jr))*Math.pow(10,gn*Gn)},ii={type:2},li={type:3},bi={type:4},gi={type:13},Ni={type:8},ki={type:21},sa={type:9},Wi={type:10},Ta={type:11},La={type:12},ta={type:14},Ka={type:23},ni={type:1},zi={type:25},Va={type:24},Za={type:26},Oa={type:27},ma={type:28},xr={type:29},nr={type:31},ln={type:32},er=function(){function pt(){this._value=[]}return pt.prototype.write=function(oe){this._value=this._value.concat(n(oe))},pt.prototype.read=function(){for(var oe=[],Ae=this.consumeToken();Ae!==ln;)oe.push(Ae),Ae=this.consumeToken();return oe},pt.prototype.consumeToken=function(){var oe=this.consumeCodePoint();switch(oe){case Ge:return this.consumeStringToken(Ge);case Kt:var Ae=this.peekCodePoint(0),_e=this.peekCodePoint(1),it=this.peekCodePoint(2);if(fr(Ae)||wn(_e,it)){var Wt=On(Ae,_e,it)?dr:Bt,Lr=this.consumeName();return{type:5,value:Lr,flags:Wt}}break;case tr:if(this.peekCodePoint(0)===dt)return this.consumeCodePoint(),gi;break;case It:return this.consumeStringToken(It);case Lt:return ii;case Nt:return li;case Gr:if(this.peekCodePoint(0)===dt)return this.consumeCodePoint(),ta;break;case un:if(Wn(oe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(oe),this.consumeNumericToken();break;case mn:return bi;case ot:var jr=oe,Jr=this.peekCodePoint(0),gn=this.peekCodePoint(1);if(Wn(jr,Jr,gn))return this.reconsumeCodePoint(oe),this.consumeNumericToken();if(On(jr,Jr,gn))return this.reconsumeCodePoint(oe),this.consumeIdentLikeToken();if(Jr===ot&&gn===Ye)return this.consumeCodePoint(),this.consumeCodePoint(),Va;break;case yn:if(Wn(oe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(oe),this.consumeNumericToken();break;case q:if(this.peekCodePoint(0)===Gr)for(this.consumeCodePoint();;){var qn=this.consumeCodePoint();if(qn===Gr&&(qn=this.consumeCodePoint(),qn===q))return this.consumeToken();if(qn===En)return this.consumeToken()}break;case _n:return Za;case qr:return Oa;case ze:if(this.peekCodePoint(0)===ft&&this.peekCodePoint(1)===ot&&this.peekCodePoint(2)===ot)return this.consumeCodePoint(),this.consumeCodePoint(),zi;break;case qe:var Gn=this.peekCodePoint(0),ei=this.peekCodePoint(1),qi=this.peekCodePoint(2);if(On(Gn,ei,qi)){var Lr=this.consumeName();return{type:7,value:Lr}}break;case rt:return ma;case ue:if(wn(oe,this.peekCodePoint(0)))return this.reconsumeCodePoint(oe),this.consumeIdentLikeToken();break;case ct:return xr;case st:if(this.peekCodePoint(0)===dt)return this.consumeCodePoint(),Ni;break;case et:return Ta;case Ct:return La;case ai:case $t:var $i=this.peekCodePoint(0),da=this.peekCodePoint(1);return $i===un&&(Kr(da)||da===Ft)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(oe),this.consumeIdentLikeToken();case ir:if(this.peekCodePoint(0)===dt)return this.consumeCodePoint(),sa;if(this.peekCodePoint(0)===ir)return this.consumeCodePoint(),ki;break;case Xt:if(this.peekCodePoint(0)===dt)return this.consumeCodePoint(),Wi;break;case En:return ln}return Tr(oe)?(this.consumeWhiteSpace(),nr):kr(oe)?(this.reconsumeCodePoint(oe),this.consumeNumericToken()):br(oe)?(this.reconsumeCodePoint(oe),this.consumeIdentLikeToken()):{type:6,value:i(oe)}},pt.prototype.consumeCodePoint=function(){var oe=this._value.shift();return typeof oe=="undefined"?-1:oe},pt.prototype.reconsumeCodePoint=function(oe){this._value.unshift(oe)},pt.prototype.peekCodePoint=function(oe){return oe>=this._value.length?-1:this._value[oe]},pt.prototype.consumeUnicodeRangeToken=function(){for(var oe=[],Ae=this.consumeCodePoint();Kr(Ae)&&oe.length<6;)oe.push(Ae),Ae=this.consumeCodePoint();for(var _e=!1;Ae===Ft&&oe.length<6;)oe.push(Ae),Ae=this.consumeCodePoint(),_e=!0;if(_e){var it=parseInt(i.apply(void 0,oe.map(function(Jr){return Jr===Ft?Rn:Jr})),16),Wt=parseInt(i.apply(void 0,oe.map(function(Jr){return Jr===Ft?tn:Jr})),16);return{type:30,start:it,end:Wt}}var Lr=parseInt(i.apply(void 0,oe),16);if(this.peekCodePoint(0)===ot&&Kr(this.peekCodePoint(1))){this.consumeCodePoint(),Ae=this.consumeCodePoint();for(var jr=[];Kr(Ae)&&jr.length<6;)jr.push(Ae),Ae=this.consumeCodePoint();var Wt=parseInt(i.apply(void 0,jr),16);return{type:30,start:Lr,end:Wt}}else return{type:30,start:Lr,end:Lr}},pt.prototype.consumeIdentLikeToken=function(){var oe=this.consumeName();return oe.toLowerCase()==="url"&&this.peekCodePoint(0)===Lt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Lt?(this.consumeCodePoint(),{type:19,value:oe}):{type:20,value:oe}},pt.prototype.consumeUrlToken=function(){var oe=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===En)return{type:22,value:""};var Ae=this.peekCodePoint(0);if(Ae===It||Ae===Ge){var _e=this.consumeStringToken(this.consumeCodePoint());return _e.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===En||this.peekCodePoint(0)===Nt)?(this.consumeCodePoint(),{type:22,value:_e.value}):(this.consumeBadUrlRemnants(),Ka)}for(;;){var it=this.consumeCodePoint();if(it===En||it===Nt)return{type:22,value:i.apply(void 0,oe)};if(Tr(it))return this.consumeWhiteSpace(),this.peekCodePoint(0)===En||this.peekCodePoint(0)===Nt?(this.consumeCodePoint(),{type:22,value:i.apply(void 0,oe)}):(this.consumeBadUrlRemnants(),Ka);if(it===Ge||it===It||it===Lt||zr(it))return this.consumeBadUrlRemnants(),Ka;if(it===ue)if(wn(it,this.peekCodePoint(0)))oe.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ka;else oe.push(it)}},pt.prototype.consumeWhiteSpace=function(){for(;Tr(this.peekCodePoint(0));)this.consumeCodePoint()},pt.prototype.consumeBadUrlRemnants=function(){for(;;){var oe=this.consumeCodePoint();if(oe===Nt||oe===En)return;wn(oe,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},pt.prototype.consumeStringSlice=function(oe){for(var Ae=6e4,_e="";oe>0;){var it=Math.min(Ae,oe);_e+=i.apply(void 0,this._value.splice(0,it)),oe-=it}return this._value.shift(),_e},pt.prototype.consumeStringToken=function(oe){var Ae="",_e=0;do{var it=this._value[_e];if(it===En||it===void 0||it===oe)return Ae+=this.consumeStringSlice(_e),{type:0,value:Ae};if(it===V)return this._value.splice(0,_e),ni;if(it===ue){var Wt=this._value[_e+1];Wt!==En&&Wt!==void 0&&(Wt===V?(Ae+=this.consumeStringSlice(_e),_e=-1,this._value.shift()):wn(it,Wt)&&(Ae+=this.consumeStringSlice(_e),Ae+=i(this.consumeEscapedCodePoint()),_e=-1))}_e++}while(!0)},pt.prototype.consumeNumber=function(){var oe=[],Ae=Oe,_e=this.peekCodePoint(0);for((_e===un||_e===ot)&&oe.push(this.consumeCodePoint());kr(this.peekCodePoint(0));)oe.push(this.consumeCodePoint());_e=this.peekCodePoint(0);var it=this.peekCodePoint(1);if(_e===yn&&kr(it))for(oe.push(this.consumeCodePoint(),this.consumeCodePoint()),Ae=xe;kr(this.peekCodePoint(0));)oe.push(this.consumeCodePoint());_e=this.peekCodePoint(0),it=this.peekCodePoint(1);var Wt=this.peekCodePoint(2);if((_e===Ln||_e===An)&&((it===un||it===ot)&&kr(Wt)||kr(it)))for(oe.push(this.consumeCodePoint(),this.consumeCodePoint()),Ae=xe;kr(this.peekCodePoint(0));)oe.push(this.consumeCodePoint());return[Xn(oe),Ae]},pt.prototype.consumeNumericToken=function(){var oe=this.consumeNumber(),Ae=oe[0],_e=oe[1],it=this.peekCodePoint(0),Wt=this.peekCodePoint(1),Lr=this.peekCodePoint(2);if(On(it,Wt,Lr)){var jr=this.consumeName();return{type:15,number:Ae,flags:_e,unit:jr}}return it===wt?(this.consumeCodePoint(),{type:16,number:Ae,flags:_e}):{type:17,number:Ae,flags:_e}},pt.prototype.consumeEscapedCodePoint=function(){var oe=this.consumeCodePoint();if(Kr(oe)){for(var Ae=i(oe);Kr(this.peekCodePoint(0))&&Ae.length<6;)Ae+=i(this.consumeCodePoint());Tr(this.peekCodePoint(0))&&this.consumeCodePoint();var _e=parseInt(Ae,16);return _e===0||gr(_e)||_e>1114111?Br:_e}return oe===En?Br:oe},pt.prototype.consumeName=function(){for(var oe="";;){var Ae=this.consumeCodePoint();if(fr(Ae))oe+=i(Ae);else if(wn(Ae,this.peekCodePoint(0)))oe+=i(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ae),oe}},pt}(),hr=function(){function pt(oe){this._tokens=oe}return pt.create=function(oe){var Ae=new er;return Ae.write(oe),new pt(Ae.read())},pt.parseValue=function(oe){return pt.create(oe).parseComponentValue()},pt.parseValues=function(oe){return pt.create(oe).parseComponentValues()},pt.prototype.parseComponentValue=function(){for(var oe=this.consumeToken();oe.type===31;)oe=this.consumeToken();if(oe.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(oe);var Ae=this.consumeComponentValue();do oe=this.consumeToken();while(oe.type===31);if(oe.type===32)return Ae;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},pt.prototype.parseComponentValues=function(){for(var oe=[];;){var Ae=this.consumeComponentValue();if(Ae.type===32)return oe;oe.push(Ae),oe.push()}},pt.prototype.consumeComponentValue=function(){var oe=this.consumeToken();switch(oe.type){case 11:case 28:case 2:return this.consumeSimpleBlock(oe.type);case 19:return this.consumeFunction(oe)}return oe},pt.prototype.consumeSimpleBlock=function(oe){for(var Ae={type:oe,values:[]},_e=this.consumeToken();;){if(_e.type===32||cn(_e,oe))return Ae;this.reconsumeToken(_e),Ae.values.push(this.consumeComponentValue()),_e=this.consumeToken()}},pt.prototype.consumeFunction=function(oe){for(var Ae={name:oe.value,values:[],type:18};;){var _e=this.consumeToken();if(_e.type===32||_e.type===3)return Ae;this.reconsumeToken(_e),Ae.values.push(this.consumeComponentValue())}},pt.prototype.consumeToken=function(){var oe=this._tokens.shift();return typeof oe=="undefined"?ln:oe},pt.prototype.reconsumeToken=function(oe){this._tokens.unshift(oe)},pt}(),Dr=function(oe){return oe.type===15},Vr=function(oe){return oe.type===17},an=function(oe){return oe.type===20},Ot=function(oe){return oe.type===0},lr=function(oe,Ae){return an(oe)&&oe.value===Ae},vr=function(oe){return oe.type!==31},Cr=function(oe){return oe.type!==31&&oe.type!==4},Hr=function(oe){var Ae=[],_e=[];return oe.forEach(function(it){if(it.type===4){if(_e.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(_e),_e=[];return}it.type!==31&&_e.push(it)}),_e.length&&Ae.push(_e),Ae},cn=function(oe,Ae){return Ae===11&&oe.type===12||Ae===28&&oe.type===29?!0:Ae===2&&oe.type===3},Qr=function(oe){return oe.type===17||oe.type===15},gt=function(oe){return oe.type===16||Qr(oe)},Gt=function(oe){return oe.length>1?[oe[0],oe[1]]:[oe[0]]},Sr={type:17,number:0,flags:Oe},Zr={type:16,number:50,flags:Oe},en={type:16,number:100,flags:Oe},xn=function(oe,Ae,_e){var it=oe[0],Wt=oe[1];return[kn(it,Ae),kn(typeof Wt!="undefined"?Wt:it,_e)]},kn=function(oe,Ae){if(oe.type===16)return oe.number/100*Ae;if(Dr(oe))switch(oe.unit){case"rem":case"em":return 16*oe.number;case"px":default:return oe.number}return oe.number},Zn="deg",ui="grad",ti="rad",Qn="turn",$n={name:"angle",parse:function(oe,Ae){if(Ae.type===15)switch(Ae.unit){case Zn:return Math.PI*Ae.number/180;case ui:return Math.PI/200*Ae.number;case ti:return Ae.number;case Qn:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},Si=function(oe){return oe.type===15&&(oe.unit===Zn||oe.unit===ui||oe.unit===ti||oe.unit===Qn)},Ci=function(oe){var Ae=oe.filter(an).map(function(_e){return _e.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Sr,Sr];case"to top":case"bottom":return vi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Sr,en];case"to right":case"left":return vi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[en,en];case"to bottom":case"top":return vi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[en,Sr];case"to left":case"right":return vi(270)}return 0},vi=function(oe){return Math.PI*oe/180},xi={name:"color",parse:function(oe,Ae){if(Ae.type===18){var _e=ba[Ae.name];if(typeof _e=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return _e(oe,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var it=Ae.value.substring(0,1),Wt=Ae.value.substring(1,2),Lr=Ae.value.substring(2,3);return pi(parseInt(it+it,16),parseInt(Wt+Wt,16),parseInt(Lr+Lr,16),1)}if(Ae.value.length===4){var it=Ae.value.substring(0,1),Wt=Ae.value.substring(1,2),Lr=Ae.value.substring(2,3),jr=Ae.value.substring(3,4);return pi(parseInt(it+it,16),parseInt(Wt+Wt,16),parseInt(Lr+Lr,16),parseInt(jr+jr,16)/255)}if(Ae.value.length===6){var it=Ae.value.substring(0,2),Wt=Ae.value.substring(2,4),Lr=Ae.value.substring(4,6);return pi(parseInt(it,16),parseInt(Wt,16),parseInt(Lr,16),1)}if(Ae.value.length===8){var it=Ae.value.substring(0,2),Wt=Ae.value.substring(2,4),Lr=Ae.value.substring(4,6),jr=Ae.value.substring(6,8);return pi(parseInt(it,16),parseInt(Wt,16),parseInt(Lr,16),parseInt(jr,16)/255)}}if(Ae.type===20){var Jr=Aa[Ae.value.toUpperCase()];if(typeof Jr!="undefined")return Jr}return Aa.TRANSPARENT}},Ei=function(oe){return(255&oe)===0},di=function(oe){var Ae=255&oe,_e=255&oe>>8,it=255&oe>>16,Wt=255&oe>>24;return Ae<255?"rgba("+Wt+","+it+","+_e+","+Ae/255+")":"rgb("+Wt+","+it+","+_e+")"},pi=function(oe,Ae,_e,it){return(oe<<24|Ae<<16|_e<<8|Math.round(it*255)<<0)>>>0},_i=function(oe,Ae){if(oe.type===17)return oe.number;if(oe.type===16){var _e=Ae===3?1:255;return Ae===3?oe.number/100*_e:Math.round(oe.number/100*_e)}return 0},Ri=function(oe,Ae){var _e=Ae.filter(Cr);if(_e.length===3){var it=_e.map(_i),Wt=it[0],Lr=it[1],jr=it[2];return pi(Wt,Lr,jr,1)}if(_e.length===4){var Jr=_e.map(_i),Wt=Jr[0],Lr=Jr[1],jr=Jr[2],gn=Jr[3];return pi(Wt,Lr,jr,gn)}return 0};function Vi(pt,oe,Ae){return Ae<0&&(Ae+=1),Ae>=1&&(Ae-=1),Ae<1/6?(oe-pt)*Ae*6+pt:Ae<1/2?oe:Ae<2/3?(oe-pt)*6*(2/3-Ae)+pt:pt}var Ii=function(oe,Ae){var _e=Ae.filter(Cr),it=_e[0],Wt=_e[1],Lr=_e[2],jr=_e[3],Jr=(it.type===17?vi(it.number):$n.parse(oe,it))/(Math.PI*2),gn=gt(Wt)?Wt.number/100:0,qn=gt(Lr)?Lr.number/100:0,Gn=typeof jr!="undefined"&>(jr)?kn(jr,1):1;if(gn===0)return pi(qn*255,qn*255,qn*255,1);var ei=qn<=.5?qn*(gn+1):qn+gn-qn*gn,qi=qn*2-ei,$i=Vi(qi,ei,Jr+1/3),da=Vi(qi,ei,Jr),fo=Vi(qi,ei,Jr-1/3);return pi($i*255,da*255,fo*255,Gn)},ba={hsl:Ii,hsla:Ii,rgb:Ri,rgba:Ri},ga=function(oe,Ae){return xi.parse(oe,hr.create(Ae).parseComponentValue())},Aa={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},ha;(function(pt){pt[pt.BORDER_BOX=0]="BORDER_BOX",pt[pt.PADDING_BOX=1]="PADDING_BOX",pt[pt.CONTENT_BOX=2]="CONTENT_BOX"})(ha||(ha={}));var vo={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(oe,Ae){return Ae.map(function(_e){if(an(_e))switch(_e.value){case"padding-box":return ha.PADDING_BOX;case"content-box":return ha.CONTENT_BOX}return ha.BORDER_BOX})}},la={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ba=function(oe,Ae){var _e=xi.parse(oe,Ae[0]),it=Ae[1];return it&>(it)?{color:_e,stop:it}:{color:_e,stop:null}},pa=function(oe,Ae){var _e=oe[0],it=oe[oe.length-1];_e.stop===null&&(_e.stop=Sr),it.stop===null&&(it.stop=en);for(var Wt=[],Lr=0,jr=0;jr<oe.length;jr++){var Jr=oe[jr].stop;if(Jr!==null){var gn=kn(Jr,Ae);gn>Lr?Wt.push(gn):Wt.push(Lr),Lr=gn}else Wt.push(null)}for(var qn=null,jr=0;jr<Wt.length;jr++){var Gn=Wt[jr];if(Gn===null)qn===null&&(qn=jr);else if(qn!==null){for(var ei=jr-qn,qi=Wt[qn-1],$i=(Gn-qi)/(ei+1),da=1;da<=ei;da++)Wt[qn+da-1]=$i*da;qn=null}}return oe.map(function(fo,za){var ka=fo.color;return{color:ka,stop:Math.max(Math.min(1,Wt[za]/Ae),0)}})},to=function(oe,Ae,_e){var it=Ae/2,Wt=_e/2,Lr=kn(oe[0],Ae)-it,jr=Wt-kn(oe[1],_e);return(Math.atan2(jr,Lr)+Math.PI*2)%(Math.PI*2)},qa=function(oe,Ae,_e){var it=typeof oe=="number"?oe:to(oe,Ae,_e),Wt=Math.abs(Ae*Math.sin(it))+Math.abs(_e*Math.cos(it)),Lr=Ae/2,jr=_e/2,Jr=Wt/2,gn=Math.sin(it-Math.PI/2)*Jr,qn=Math.cos(it-Math.PI/2)*Jr;return[Wt,Lr-qn,Lr+qn,jr-gn,jr+gn]},Yi=function(oe,Ae){return Math.sqrt(oe*oe+Ae*Ae)},oo=function(oe,Ae,_e,it,Wt){var Lr=[[0,0],[0,Ae],[oe,0],[oe,Ae]];return Lr.reduce(function(jr,Jr){var gn=Jr[0],qn=Jr[1],Gn=Yi(_e-gn,it-qn);return(Wt?Gn<jr.optimumDistance:Gn>jr.optimumDistance)?{optimumCorner:Jr,optimumDistance:Gn}:jr},{optimumDistance:Wt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Ya=function(oe,Ae,_e,it,Wt){var Lr=0,jr=0;switch(oe.size){case Er.CLOSEST_SIDE:oe.shape===$r.CIRCLE?Lr=jr=Math.min(Math.abs(Ae),Math.abs(Ae-it),Math.abs(_e),Math.abs(_e-Wt)):oe.shape===$r.ELLIPSE&&(Lr=Math.min(Math.abs(Ae),Math.abs(Ae-it)),jr=Math.min(Math.abs(_e),Math.abs(_e-Wt)));break;case Er.CLOSEST_CORNER:if(oe.shape===$r.CIRCLE)Lr=jr=Math.min(Yi(Ae,_e),Yi(Ae,_e-Wt),Yi(Ae-it,_e),Yi(Ae-it,_e-Wt));else if(oe.shape===$r.ELLIPSE){var Jr=Math.min(Math.abs(_e),Math.abs(_e-Wt))/Math.min(Math.abs(Ae),Math.abs(Ae-it)),gn=oo(it,Wt,Ae,_e,!0),qn=gn[0],Gn=gn[1];Lr=Yi(qn-Ae,(Gn-_e)/Jr),jr=Jr*Lr}break;case Er.FARTHEST_SIDE:oe.shape===$r.CIRCLE?Lr=jr=Math.max(Math.abs(Ae),Math.abs(Ae-it),Math.abs(_e),Math.abs(_e-Wt)):oe.shape===$r.ELLIPSE&&(Lr=Math.max(Math.abs(Ae),Math.abs(Ae-it)),jr=Math.max(Math.abs(_e),Math.abs(_e-Wt)));break;case Er.FARTHEST_CORNER:if(oe.shape===$r.CIRCLE)Lr=jr=Math.max(Yi(Ae,_e),Yi(Ae,_e-Wt),Yi(Ae-it,_e),Yi(Ae-it,_e-Wt));else if(oe.shape===$r.ELLIPSE){var Jr=Math.max(Math.abs(_e),Math.abs(_e-Wt))/Math.max(Math.abs(Ae),Math.abs(Ae-it)),ei=oo(it,Wt,Ae,_e,!1),qn=ei[0],Gn=ei[1];Lr=Yi(qn-Ae,(Gn-_e)/Jr),jr=Jr*Lr}break}return Array.isArray(oe.size)&&(Lr=kn(oe.size[0],it),jr=oe.size.length===2?kn(oe.size[1],Wt):Lr),[Lr,jr]},wa=function(oe,Ae){var _e=vi(180),it=[];return Hr(Ae).forEach(function(Wt,Lr){if(Lr===0){var jr=Wt[0];if(jr.type===20&&jr.value==="to"){_e=Ci(Wt);return}else if(Si(jr)){_e=$n.parse(oe,jr);return}}var Jr=Ba(oe,Wt);it.push(Jr)}),{angle:_e,stops:it,type:qt.LINEAR_GRADIENT}},$a=function(oe,Ae){var _e=vi(180),it=[];return Hr(Ae).forEach(function(Wt,Lr){if(Lr===0){var jr=Wt[0];if(jr.type===20&&["top","left","right","bottom"].indexOf(jr.value)!==-1){_e=Ci(Wt);return}else if(Si(jr)){_e=($n.parse(oe,jr)+vi(270))%vi(360);return}}var Jr=Ba(oe,Wt);it.push(Jr)}),{angle:_e,stops:it,type:qt.LINEAR_GRADIENT}},Fi=function(oe,Ae){var _e=vi(180),it=[],Wt=qt.LINEAR_GRADIENT,Lr=$r.CIRCLE,jr=Er.FARTHEST_CORNER,Jr=[];return Hr(Ae).forEach(function(gn,qn){var Gn=gn[0];if(qn===0){if(an(Gn)&&Gn.value==="linear"){Wt=qt.LINEAR_GRADIENT;return}else if(an(Gn)&&Gn.value==="radial"){Wt=qt.RADIAL_GRADIENT;return}}if(Gn.type===18){if(Gn.name==="from"){var ei=xi.parse(oe,Gn.values[0]);it.push({stop:Sr,color:ei})}else if(Gn.name==="to"){var ei=xi.parse(oe,Gn.values[0]);it.push({stop:en,color:ei})}else if(Gn.name==="color-stop"){var qi=Gn.values.filter(Cr);if(qi.length===2){var ei=xi.parse(oe,qi[1]),$i=qi[0];Vr($i)&&it.push({stop:{type:16,number:$i.number*100,flags:$i.flags},color:ei})}}}}),Wt===qt.LINEAR_GRADIENT?{angle:(_e+vi(180))%vi(360),stops:it,type:Wt}:{size:jr,shape:Lr,stops:it,position:Jr,type:Wt}},Sa="closest-side",Ea="farthest-side",yo="closest-corner",_a="farthest-corner",Hi="circle",Xa="ellipse",Da="cover",va="contain",Di=function(oe,Ae){var _e=$r.CIRCLE,it=Er.FARTHEST_CORNER,Wt=[],Lr=[];return Hr(Ae).forEach(function(jr,Jr){var gn=!0;if(Jr===0){var qn=!1;gn=jr.reduce(function(ei,qi){if(qn)if(an(qi))switch(qi.value){case"center":return Lr.push(Zr),ei;case"top":case"left":return Lr.push(Sr),ei;case"right":case"bottom":return Lr.push(en),ei}else(gt(qi)||Qr(qi))&&Lr.push(qi);else if(an(qi))switch(qi.value){case Hi:return _e=$r.CIRCLE,!1;case Xa:return _e=$r.ELLIPSE,!1;case"at":return qn=!0,!1;case Sa:return it=Er.CLOSEST_SIDE,!1;case Da:case Ea:return it=Er.FARTHEST_SIDE,!1;case va:case yo:return it=Er.CLOSEST_CORNER,!1;case _a:return it=Er.FARTHEST_CORNER,!1}else if(Qr(qi)||gt(qi))return Array.isArray(it)||(it=[]),it.push(qi),!1;return ei},gn)}if(gn){var Gn=Ba(oe,jr);Wt.push(Gn)}}),{size:it,shape:_e,stops:Wt,position:Lr,type:qt.RADIAL_GRADIENT}},at=function(oe,Ae){var _e=$r.CIRCLE,it=Er.FARTHEST_CORNER,Wt=[],Lr=[];return Hr(Ae).forEach(function(jr,Jr){var gn=!0;if(Jr===0?gn=jr.reduce(function(Gn,ei){if(an(ei))switch(ei.value){case"center":return Lr.push(Zr),!1;case"top":case"left":return Lr.push(Sr),!1;case"right":case"bottom":return Lr.push(en),!1}else if(gt(ei)||Qr(ei))return Lr.push(ei),!1;return Gn},gn):Jr===1&&(gn=jr.reduce(function(Gn,ei){if(an(ei))switch(ei.value){case Hi:return _e=$r.CIRCLE,!1;case Xa:return _e=$r.ELLIPSE,!1;case va:case Sa:return it=Er.CLOSEST_SIDE,!1;case Ea:return it=Er.FARTHEST_SIDE,!1;case yo:return it=Er.CLOSEST_CORNER,!1;case Da:case _a:return it=Er.FARTHEST_CORNER,!1}else if(Qr(ei)||gt(ei))return Array.isArray(it)||(it=[]),it.push(ei),!1;return Gn},gn)),gn){var qn=Ba(oe,jr);Wt.push(qn)}}),{size:it,shape:_e,stops:Wt,position:Lr,type:qt.RADIAL_GRADIENT}},qt;(function(pt){pt[pt.URL=0]="URL",pt[pt.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",pt[pt.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(qt||(qt={}));var pr=function(oe){return oe.type===qt.LINEAR_GRADIENT},ur=function(oe){return oe.type===qt.RADIAL_GRADIENT},$r;(function(pt){pt[pt.CIRCLE=0]="CIRCLE",pt[pt.ELLIPSE=1]="ELLIPSE"})($r||($r={}));var Er;(function(pt){pt[pt.CLOSEST_SIDE=0]="CLOSEST_SIDE",pt[pt.FARTHEST_SIDE=1]="FARTHEST_SIDE",pt[pt.CLOSEST_CORNER=2]="CLOSEST_CORNER",pt[pt.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Er||(Er={}));var sr={name:"image",parse:function(oe,Ae){if(Ae.type===22){var _e={url:Ae.value,type:qt.URL};return oe.cache.addImage(Ae.value),_e}if(Ae.type===18){var it=wr[Ae.name];if(typeof it=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return it(oe,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function dn(pt){return!(pt.type===20&&pt.value==="none")&&(pt.type!==18||!!wr[pt.name])}var wr={"linear-gradient":wa,"-moz-linear-gradient":$a,"-ms-linear-gradient":$a,"-o-linear-gradient":$a,"-webkit-linear-gradient":$a,"radial-gradient":Di,"-moz-radial-gradient":at,"-ms-radial-gradient":at,"-o-radial-gradient":at,"-webkit-radial-gradient":at,"-webkit-gradient":Fi},rn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(oe,Ae){if(Ae.length===0)return[];var _e=Ae[0];return _e.type===20&&_e.value==="none"?[]:Ae.filter(function(it){return Cr(it)&&dn(it)}).map(function(it){return sr.parse(oe,it)})}},Fn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(oe,Ae){return Ae.map(function(_e){if(an(_e))switch(_e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Bn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(oe,Ae){return Hr(Ae).map(function(_e){return _e.filter(gt)}).map(Gt)}},Tn;(function(pt){pt[pt.REPEAT=0]="REPEAT",pt[pt.NO_REPEAT=1]="NO_REPEAT",pt[pt.REPEAT_X=2]="REPEAT_X",pt[pt.REPEAT_Y=3]="REPEAT_Y"})(Tn||(Tn={}));var Kn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(oe,Ae){return Hr(Ae).map(function(_e){return _e.filter(an).map(function(it){return it.value}).join(" ")}).map(Mn)}},Mn=function(oe){switch(oe){case"no-repeat":return Tn.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Tn.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Tn.REPEAT_Y;case"repeat":default:return Tn.REPEAT}},Un;(function(pt){pt.AUTO="auto",pt.CONTAIN="contain",pt.COVER="cover"})(Un||(Un={}));var Vn={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(oe,Ae){return Hr(Ae).map(function(_e){return _e.filter(si)})}},si=function(oe){return an(oe)||gt(oe)},Jn=function(oe){return{name:"border-"+oe+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ai=Jn("top"),Ji=Jn("right"),Oi=Jn("bottom"),Mi=Jn("left"),Li=function(oe){return{name:"border-radius-"+oe,initialValue:"0 0",prefix:!1,type:1,parse:function(_e,it){return Gt(it.filter(gt))}}},Ki=Li("top-left"),so=Li("top-right"),Pa=Li("bottom-right"),Xi=Li("bottom-left"),yi;(function(pt){pt[pt.NONE=0]="NONE",pt[pt.SOLID=1]="SOLID",pt[pt.DASHED=2]="DASHED",pt[pt.DOTTED=3]="DOTTED",pt[pt.DOUBLE=4]="DOUBLE"})(yi||(yi={}));var Bi=function(oe){return{name:"border-"+oe+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(_e,it){switch(it){case"none":return yi.NONE;case"dashed":return yi.DASHED;case"dotted":return yi.DOTTED;case"double":return yi.DOUBLE}return yi.SOLID}}},Zi=Bi("top"),Fa=Bi("right"),ya=Bi("bottom"),ja=Bi("left"),Wa=function(oe){return{name:"border-"+oe+"-width",initialValue:"0",type:0,prefix:!1,parse:function(_e,it){return Dr(it)?it.number:0}}},wo=Wa("top"),Do=Wa("right"),es=Wa("bottom"),To=Wa("left"),So={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ia={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},Ua={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(oe,Ae){return Ae.filter(an).reduce(function(_e,it){return _e|aa(it.value)},0)}},aa=function(oe){switch(oe){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},lo;(function(pt){pt[pt.NONE=0]="NONE",pt[pt.LEFT=1]="LEFT",pt[pt.RIGHT=2]="RIGHT",pt[pt.INLINE_START=3]="INLINE_START",pt[pt.INLINE_END=4]="INLINE_END"})(lo||(lo={}));var Qo={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"left":return lo.LEFT;case"right":return lo.RIGHT;case"inline-start":return lo.INLINE_START;case"inline-end":return lo.INLINE_END}return lo.NONE}},ro={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(oe,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},us;(function(pt){pt.NORMAL="normal",pt.STRICT="strict"})(us||(us={}));var co={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"strict":return us.STRICT;case"normal":default:return us.NORMAL}}},go={name:"line-height",initialValue:"normal",prefix:!1,type:4},$o=function(oe,Ae){return an(oe)&&oe.value==="normal"?1.2*Ae:oe.type===17?Ae*oe.number:gt(oe)?kn(oe,Ae):Ae},Io={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(oe,Ae){return Ae.type===20&&Ae.value==="none"?null:sr.parse(oe,Ae)}},Bo;(function(pt){pt[pt.INSIDE=0]="INSIDE",pt[pt.OUTSIDE=1]="OUTSIDE"})(Bo||(Bo={}));var Wr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"inside":return Bo.INSIDE;case"outside":default:return Bo.OUTSIDE}}},hi;(function(pt){pt[pt.NONE=-1]="NONE",pt[pt.DISC=0]="DISC",pt[pt.CIRCLE=1]="CIRCLE",pt[pt.SQUARE=2]="SQUARE",pt[pt.DECIMAL=3]="DECIMAL",pt[pt.CJK_DECIMAL=4]="CJK_DECIMAL",pt[pt.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",pt[pt.LOWER_ROMAN=6]="LOWER_ROMAN",pt[pt.UPPER_ROMAN=7]="UPPER_ROMAN",pt[pt.LOWER_GREEK=8]="LOWER_GREEK",pt[pt.LOWER_ALPHA=9]="LOWER_ALPHA",pt[pt.UPPER_ALPHA=10]="UPPER_ALPHA",pt[pt.ARABIC_INDIC=11]="ARABIC_INDIC",pt[pt.ARMENIAN=12]="ARMENIAN",pt[pt.BENGALI=13]="BENGALI",pt[pt.CAMBODIAN=14]="CAMBODIAN",pt[pt.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",pt[pt.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",pt[pt.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",pt[pt.DEVANAGARI=18]="DEVANAGARI",pt[pt.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",pt[pt.GEORGIAN=20]="GEORGIAN",pt[pt.GUJARATI=21]="GUJARATI",pt[pt.GURMUKHI=22]="GURMUKHI",pt[pt.HEBREW=22]="HEBREW",pt[pt.HIRAGANA=23]="HIRAGANA",pt[pt.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",pt[pt.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",pt[pt.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",pt[pt.KANNADA=27]="KANNADA",pt[pt.KATAKANA=28]="KATAKANA",pt[pt.KATAKANA_IROHA=29]="KATAKANA_IROHA",pt[pt.KHMER=30]="KHMER",pt[pt.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",pt[pt.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",pt[pt.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",pt[pt.LAO=34]="LAO",pt[pt.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",pt[pt.MALAYALAM=36]="MALAYALAM",pt[pt.MONGOLIAN=37]="MONGOLIAN",pt[pt.MYANMAR=38]="MYANMAR",pt[pt.ORIYA=39]="ORIYA",pt[pt.PERSIAN=40]="PERSIAN",pt[pt.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",pt[pt.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",pt[pt.TAMIL=43]="TAMIL",pt[pt.TELUGU=44]="TELUGU",pt[pt.THAI=45]="THAI",pt[pt.TIBETAN=46]="TIBETAN",pt[pt.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",pt[pt.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",pt[pt.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",pt[pt.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",pt[pt.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(hi||(hi={}));var Ds={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"disc":return hi.DISC;case"circle":return hi.CIRCLE;case"square":return hi.SQUARE;case"decimal":return hi.DECIMAL;case"cjk-decimal":return hi.CJK_DECIMAL;case"decimal-leading-zero":return hi.DECIMAL_LEADING_ZERO;case"lower-roman":return hi.LOWER_ROMAN;case"upper-roman":return hi.UPPER_ROMAN;case"lower-greek":return hi.LOWER_GREEK;case"lower-alpha":return hi.LOWER_ALPHA;case"upper-alpha":return hi.UPPER_ALPHA;case"arabic-indic":return hi.ARABIC_INDIC;case"armenian":return hi.ARMENIAN;case"bengali":return hi.BENGALI;case"cambodian":return hi.CAMBODIAN;case"cjk-earthly-branch":return hi.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return hi.CJK_HEAVENLY_STEM;case"cjk-ideographic":return hi.CJK_IDEOGRAPHIC;case"devanagari":return hi.DEVANAGARI;case"ethiopic-numeric":return hi.ETHIOPIC_NUMERIC;case"georgian":return hi.GEORGIAN;case"gujarati":return hi.GUJARATI;case"gurmukhi":return hi.GURMUKHI;case"hebrew":return hi.HEBREW;case"hiragana":return hi.HIRAGANA;case"hiragana-iroha":return hi.HIRAGANA_IROHA;case"japanese-formal":return hi.JAPANESE_FORMAL;case"japanese-informal":return hi.JAPANESE_INFORMAL;case"kannada":return hi.KANNADA;case"katakana":return hi.KATAKANA;case"katakana-iroha":return hi.KATAKANA_IROHA;case"khmer":return hi.KHMER;case"korean-hangul-formal":return hi.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return hi.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return hi.KOREAN_HANJA_INFORMAL;case"lao":return hi.LAO;case"lower-armenian":return hi.LOWER_ARMENIAN;case"malayalam":return hi.MALAYALAM;case"mongolian":return hi.MONGOLIAN;case"myanmar":return hi.MYANMAR;case"oriya":return hi.ORIYA;case"persian":return hi.PERSIAN;case"simp-chinese-formal":return hi.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return hi.SIMP_CHINESE_INFORMAL;case"tamil":return hi.TAMIL;case"telugu":return hi.TELUGU;case"thai":return hi.THAI;case"tibetan":return hi.TIBETAN;case"trad-chinese-formal":return hi.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return hi.TRAD_CHINESE_INFORMAL;case"upper-armenian":return hi.UPPER_ARMENIAN;case"disclosure-open":return hi.DISCLOSURE_OPEN;case"disclosure-closed":return hi.DISCLOSURE_CLOSED;case"none":default:return hi.NONE}}},ds=function(oe){return{name:"margin-"+oe,initialValue:"0",prefix:!1,type:4}},ts=ds("top"),Ro=ds("right"),is=ds("bottom"),vs=ds("left"),Yo;(function(pt){pt[pt.VISIBLE=0]="VISIBLE",pt[pt.HIDDEN=1]="HIDDEN",pt[pt.SCROLL=2]="SCROLL",pt[pt.CLIP=3]="CLIP",pt[pt.AUTO=4]="AUTO"})(Yo||(Yo={}));var Vo={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(oe,Ae){return Ae.filter(an).map(function(_e){switch(_e.value){case"hidden":return Yo.HIDDEN;case"scroll":return Yo.SCROLL;case"clip":return Yo.CLIP;case"auto":return Yo.AUTO;case"visible":default:return Yo.VISIBLE}})}},rs={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},hs=function(oe){return{name:"padding-"+oe,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},as=hs("top"),io=hs("right"),Ga=hs("bottom"),Xo=hs("left"),Ho;(function(pt){pt[pt.LEFT=0]="LEFT",pt[pt.CENTER=1]="CENTER",pt[pt.RIGHT=2]="RIGHT"})(Ho||(Ho={}));var Ra={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"right":return Ho.RIGHT;case"center":case"justify":return Ho.CENTER;case"left":default:return Ho.LEFT}}},Oo;(function(pt){pt[pt.STATIC=0]="STATIC",pt[pt.RELATIVE=1]="RELATIVE",pt[pt.ABSOLUTE=2]="ABSOLUTE",pt[pt.FIXED=3]="FIXED",pt[pt.STICKY=4]="STICKY"})(Oo||(Oo={}));var xs={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"relative":return Oo.RELATIVE;case"absolute":return Oo.ABSOLUTE;case"fixed":return Oo.FIXED;case"sticky":return Oo.STICKY}return Oo.STATIC}},Po={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(oe,Ae){return Ae.length===1&&lr(Ae[0],"none")?[]:Hr(Ae).map(function(_e){for(var it={color:Aa.TRANSPARENT,offsetX:Sr,offsetY:Sr,blur:Sr},Wt=0,Lr=0;Lr<_e.length;Lr++){var jr=_e[Lr];Qr(jr)?(Wt===0?it.offsetX=jr:Wt===1?it.offsetY=jr:it.blur=jr,Wt++):it.color=xi.parse(oe,jr)}return it})}},Zo;(function(pt){pt[pt.NONE=0]="NONE",pt[pt.LOWERCASE=1]="LOWERCASE",pt[pt.UPPERCASE=2]="UPPERCASE",pt[pt.CAPITALIZE=3]="CAPITALIZE"})(Zo||(Zo={}));var Vt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"uppercase":return Zo.UPPERCASE;case"lowercase":return Zo.LOWERCASE;case"capitalize":return Zo.CAPITALIZE}return Zo.NONE}},re={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(oe,Ae){if(Ae.type===20&&Ae.value==="none")return null;if(Ae.type===18){var _e=We[Ae.name];if(typeof _e=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ae.name+'"');return _e(Ae.values)}return null}},ve=function(oe){var Ae=oe.filter(function(_e){return _e.type===17}).map(function(_e){return _e.number});return Ae.length===6?Ae:null},Se=function(oe){var Ae=oe.filter(function(gn){return gn.type===17}).map(function(gn){return gn.number}),_e=Ae[0],it=Ae[1];Ae[2],Ae[3];var Wt=Ae[4],Lr=Ae[5];Ae[6],Ae[7],Ae[8],Ae[9],Ae[10],Ae[11];var jr=Ae[12],Jr=Ae[13];return Ae[14],Ae[15],Ae.length===16?[_e,it,Wt,Lr,jr,Jr]:null},We={matrix:ve,matrix3d:Se},xt={type:16,number:50,flags:Oe},Qt=[xt,xt],Or={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(oe,Ae){var _e=Ae.filter(gt);return _e.length!==2?Qt:[_e[0],_e[1]]}},Ur;(function(pt){pt[pt.VISIBLE=0]="VISIBLE",pt[pt.HIDDEN=1]="HIDDEN",pt[pt.COLLAPSE=2]="COLLAPSE"})(Ur||(Ur={}));var on={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"hidden":return Ur.HIDDEN;case"collapse":return Ur.COLLAPSE;case"visible":default:return Ur.VISIBLE}}},Dn;(function(pt){pt.NORMAL="normal",pt.BREAK_ALL="break-all",pt.KEEP_ALL="keep-all"})(Dn||(Dn={}));var Hn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"break-all":return Dn.BREAK_ALL;case"keep-all":return Dn.KEEP_ALL;case"normal":default:return Dn.NORMAL}}},jn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(oe,Ae){if(Ae.type===20)return{auto:!0,order:0};if(Vr(Ae))return{auto:!1,order:Ae.number};throw new Error("Invalid z-index number parsed")}},ri={name:"time",parse:function(oe,Ae){if(Ae.type===15)switch(Ae.unit.toLowerCase()){case"s":return 1e3*Ae.number;case"ms":return Ae.number}throw new Error("Unsupported time type")}},wi={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(oe,Ae){return Vr(Ae)?Ae.number:1}},Gi={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xa={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(oe,Ae){return Ae.filter(an).map(function(_e){switch(_e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(_e){return _e!==0})}},no={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(oe,Ae){var _e=[],it=[];return Ae.forEach(function(Wt){switch(Wt.type){case 20:case 0:_e.push(Wt.value);break;case 17:_e.push(Wt.number.toString());break;case 4:it.push(_e.join(" ")),_e.length=0;break}}),_e.length&&it.push(_e.join(" ")),it.map(function(Wt){return Wt.indexOf(" ")===-1?Wt:"'"+Wt+"'"})}},uo={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ja={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(oe,Ae){if(Vr(Ae))return Ae.number;if(an(Ae))switch(Ae.value){case"bold":return 700;case"normal":default:return 400}return 400}},Go={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(oe,Ae){return Ae.filter(an).map(function(_e){return _e.value})}},_o;(function(pt){pt.NORMAL="normal",pt.ITALIC="italic",pt.OBLIQUE="oblique"})(_o||(_o={}));var xo={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(oe,Ae){switch(Ae){case"oblique":return _o.OBLIQUE;case"italic":return _o.ITALIC;case"normal":default:return _o.NORMAL}}},Na=function(oe,Ae){return(oe&Ae)!==0},Ha={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(oe,Ae){if(Ae.length===0)return[];var _e=Ae[0];return _e.type===20&&_e.value==="none"?[]:Ae}},ns={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(oe,Ae){if(Ae.length===0)return null;var _e=Ae[0];if(_e.type===20&&_e.value==="none")return null;for(var it=[],Wt=Ae.filter(vr),Lr=0;Lr<Wt.length;Lr++){var jr=Wt[Lr],Jr=Wt[Lr+1];if(jr.type===20){var gn=Jr&&Vr(Jr)?Jr.number:1;it.push({counter:jr.value,increment:gn})}}return it}},ps={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(oe,Ae){if(Ae.length===0)return[];for(var _e=[],it=Ae.filter(vr),Wt=0;Wt<it.length;Wt++){var Lr=it[Wt],jr=it[Wt+1];if(an(Lr)&&Lr.value!=="none"){var Jr=jr&&Vr(jr)?jr.number:0;_e.push({counter:Lr.value,reset:Jr})}}return _e}},Wo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(oe,Ae){return Ae.filter(Dr).map(function(_e){return ri.parse(oe,_e)})}},Cs={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(oe,Ae){if(Ae.length===0)return null;var _e=Ae[0];if(_e.type===20&&_e.value==="none")return null;var it=[],Wt=Ae.filter(Ot);if(Wt.length%2!==0)return null;for(var Lr=0;Lr<Wt.length;Lr+=2){var jr=Wt[Lr].value,Jr=Wt[Lr+1].value;it.push({open:jr,close:Jr})}return it}},Ts=function(oe,Ae,_e){if(!oe)return"";var it=oe[Math.min(Ae,oe.length-1)];return it?_e?it.open:it.close:""},Os={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(oe,Ae){return Ae.length===1&&lr(Ae[0],"none")?[]:Hr(Ae).map(function(_e){for(var it={color:255,offsetX:Sr,offsetY:Sr,blur:Sr,spread:Sr,inset:!1},Wt=0,Lr=0;Lr<_e.length;Lr++){var jr=_e[Lr];lr(jr,"inset")?it.inset=!0:Qr(jr)?(Wt===0?it.offsetX=jr:Wt===1?it.offsetY=jr:Wt===2?it.blur=jr:it.spread=jr,Wt++):it.color=xi.parse(oe,jr)}return it})}},Mo;(function(pt){pt[pt.FILL=0]="FILL",pt[pt.STROKE=1]="STROKE",pt[pt.MARKERS=2]="MARKERS"})(Mo||(Mo={}));for(var Ps={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(oe,Ae){var _e=[Mo.FILL,Mo.STROKE,Mo.MARKERS],it=[];return Ae.filter(an).forEach(function(Wt){switch(Wt.value){case"stroke":it.push(Mo.STROKE);break;case"fill":it.push(Mo.FILL);break;case"markers":it.push(Mo.MARKERS);break}}),_e.forEach(function(Wt){it.indexOf(Wt)===-1&&it.push(Wt)}),it}},ms={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},wl={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(oe,Ae){return Dr(Ae)?Ae.number:0}},El=function(){function pt(oe,Ae){var _e,it;this.animationDuration=Qi(oe,Wo,Ae.animationDuration),this.backgroundClip=Qi(oe,vo,Ae.backgroundClip),this.backgroundColor=Qi(oe,la,Ae.backgroundColor),this.backgroundImage=Qi(oe,rn,Ae.backgroundImage),this.backgroundOrigin=Qi(oe,Fn,Ae.backgroundOrigin),this.backgroundPosition=Qi(oe,Bn,Ae.backgroundPosition),this.backgroundRepeat=Qi(oe,Kn,Ae.backgroundRepeat),this.backgroundSize=Qi(oe,Vn,Ae.backgroundSize),this.borderTopColor=Qi(oe,Ai,Ae.borderTopColor),this.borderRightColor=Qi(oe,Ji,Ae.borderRightColor),this.borderBottomColor=Qi(oe,Oi,Ae.borderBottomColor),this.borderLeftColor=Qi(oe,Mi,Ae.borderLeftColor),this.borderTopLeftRadius=Qi(oe,Ki,Ae.borderTopLeftRadius),this.borderTopRightRadius=Qi(oe,so,Ae.borderTopRightRadius),this.borderBottomRightRadius=Qi(oe,Pa,Ae.borderBottomRightRadius),this.borderBottomLeftRadius=Qi(oe,Xi,Ae.borderBottomLeftRadius),this.borderTopStyle=Qi(oe,Zi,Ae.borderTopStyle),this.borderRightStyle=Qi(oe,Fa,Ae.borderRightStyle),this.borderBottomStyle=Qi(oe,ya,Ae.borderBottomStyle),this.borderLeftStyle=Qi(oe,ja,Ae.borderLeftStyle),this.borderTopWidth=Qi(oe,wo,Ae.borderTopWidth),this.borderRightWidth=Qi(oe,Do,Ae.borderRightWidth),this.borderBottomWidth=Qi(oe,es,Ae.borderBottomWidth),this.borderLeftWidth=Qi(oe,To,Ae.borderLeftWidth),this.boxShadow=Qi(oe,Os,Ae.boxShadow),this.color=Qi(oe,So,Ae.color),this.direction=Qi(oe,Ia,Ae.direction),this.display=Qi(oe,Ua,Ae.display),this.float=Qi(oe,Qo,Ae.cssFloat),this.fontFamily=Qi(oe,no,Ae.fontFamily),this.fontSize=Qi(oe,uo,Ae.fontSize),this.fontStyle=Qi(oe,xo,Ae.fontStyle),this.fontVariant=Qi(oe,Go,Ae.fontVariant),this.fontWeight=Qi(oe,Ja,Ae.fontWeight),this.letterSpacing=Qi(oe,ro,Ae.letterSpacing),this.lineBreak=Qi(oe,co,Ae.lineBreak),this.lineHeight=Qi(oe,go,Ae.lineHeight),this.listStyleImage=Qi(oe,Io,Ae.listStyleImage),this.listStylePosition=Qi(oe,Wr,Ae.listStylePosition),this.listStyleType=Qi(oe,Ds,Ae.listStyleType),this.marginTop=Qi(oe,ts,Ae.marginTop),this.marginRight=Qi(oe,Ro,Ae.marginRight),this.marginBottom=Qi(oe,is,Ae.marginBottom),this.marginLeft=Qi(oe,vs,Ae.marginLeft),this.opacity=Qi(oe,wi,Ae.opacity);var Wt=Qi(oe,Vo,Ae.overflow);this.overflowX=Wt[0],this.overflowY=Wt[Wt.length>1?1:0],this.overflowWrap=Qi(oe,rs,Ae.overflowWrap),this.paddingTop=Qi(oe,as,Ae.paddingTop),this.paddingRight=Qi(oe,io,Ae.paddingRight),this.paddingBottom=Qi(oe,Ga,Ae.paddingBottom),this.paddingLeft=Qi(oe,Xo,Ae.paddingLeft),this.paintOrder=Qi(oe,Ps,Ae.paintOrder),this.position=Qi(oe,xs,Ae.position),this.textAlign=Qi(oe,Ra,Ae.textAlign),this.textDecorationColor=Qi(oe,Gi,(_e=Ae.textDecorationColor)!==null&&_e!==void 0?_e:Ae.color),this.textDecorationLine=Qi(oe,xa,(it=Ae.textDecorationLine)!==null&&it!==void 0?it:Ae.textDecoration),this.textShadow=Qi(oe,Po,Ae.textShadow),this.textTransform=Qi(oe,Vt,Ae.textTransform),this.transform=Qi(oe,re,Ae.transform),this.transformOrigin=Qi(oe,Or,Ae.transformOrigin),this.visibility=Qi(oe,on,Ae.visibility),this.webkitTextStrokeColor=Qi(oe,ms,Ae.webkitTextStrokeColor),this.webkitTextStrokeWidth=Qi(oe,wl,Ae.webkitTextStrokeWidth),this.wordBreak=Qi(oe,Hn,Ae.wordBreak),this.zIndex=Qi(oe,jn,Ae.zIndex)}return pt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ur.VISIBLE},pt.prototype.isTransparent=function(){return Ei(this.backgroundColor)},pt.prototype.isTransformed=function(){return this.transform!==null},pt.prototype.isPositioned=function(){return this.position!==Oo.STATIC},pt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},pt.prototype.isFloating=function(){return this.float!==lo.NONE},pt.prototype.isInlineLevel=function(){return Na(this.display,4)||Na(this.display,33554432)||Na(this.display,268435456)||Na(this.display,536870912)||Na(this.display,67108864)||Na(this.display,134217728)},pt}(),Qs=function(){function pt(oe,Ae){this.content=Qi(oe,Ha,Ae.content),this.quotes=Qi(oe,Cs,Ae.quotes)}return pt}(),os=function(){function pt(oe,Ae){this.counterIncrement=Qi(oe,ns,Ae.counterIncrement),this.counterReset=Qi(oe,ps,Ae.counterReset)}return pt}(),Qi=function(oe,Ae,_e){var it=new er,Wt=_e!==null&&typeof _e!="undefined"?_e.toString():Ae.initialValue;it.write(Wt);var Lr=new hr(it.read());switch(Ae.type){case 2:var jr=Lr.parseComponentValue();return Ae.parse(oe,an(jr)?jr.value:Ae.initialValue);case 0:return Ae.parse(oe,Lr.parseComponentValue());case 1:return Ae.parse(oe,Lr.parseComponentValues());case 4:return Lr.parseComponentValue();case 3:switch(Ae.format){case"angle":return $n.parse(oe,Lr.parseComponentValue());case"color":return xi.parse(oe,Lr.parseComponentValue());case"image":return sr.parse(oe,Lr.parseComponentValue());case"length":var Jr=Lr.parseComponentValue();return Qr(Jr)?Jr:Sr;case"length-percentage":var gn=Lr.parseComponentValue();return gt(gn)?gn:Sr;case"time":return ri.parse(oe,Lr.parseComponentValue())}break}},nl="data-html2canvas-debug",sl=function(oe){var Ae=oe.getAttribute(nl);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},po=function(oe,Ae){var _e=sl(oe);return _e===1||Ae===_e},Ca=function(){function pt(oe,Ae){if(this.context=oe,this.textNodes=[],this.elements=[],this.flags=0,po(Ae,3))debugger;this.styles=new El(oe,window.getComputedStyle(Ae,null)),ht(Ae)&&(this.styles.animationDuration.some(function(_e){return _e>0})&&(Ae.style.animationDuration="0s"),this.styles.transform!==null&&(Ae.style.transform="none")),this.bounds=s(this.context,Ae),po(Ae,4)&&(this.flags|=16)}return pt}(),Eo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ko="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ko=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ao=0;Ao<ko.length;Ao++)Ko[ko.charCodeAt(Ao)]=Ao;for(var ss=function(oe){var Ae=oe.length*.75,_e=oe.length,it,Wt=0,Lr,jr,Jr,gn;oe[oe.length-1]==="="&&(Ae--,oe[oe.length-2]==="="&&Ae--);var qn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Gn=Array.isArray(qn)?qn:new Uint8Array(qn);for(it=0;it<_e;it+=4)Lr=Ko[oe.charCodeAt(it)],jr=Ko[oe.charCodeAt(it+1)],Jr=Ko[oe.charCodeAt(it+2)],gn=Ko[oe.charCodeAt(it+3)],Gn[Wt++]=Lr<<2|jr>>4,Gn[Wt++]=(jr&15)<<4|Jr>>2,Gn[Wt++]=(Jr&3)<<6|gn&63;return qn},ys=function(oe){for(var Ae=oe.length,_e=[],it=0;it<Ae;it+=2)_e.push(oe[it+1]<<8|oe[it]);return _e},Rs=function(oe){for(var Ae=oe.length,_e=[],it=0;it<Ae;it+=4)_e.push(oe[it+3]<<24|oe[it+2]<<16|oe[it+1]<<8|oe[it]);return _e},Us=5,Ws=6+5,hl=2,ll=Ws-Us,zl=65536>>Us,pu=1<<Us,Bl=pu-1,Pl=1024>>Us,ul=zl+Pl,Cl=ul,Tl=2048>>6,Sl=Cl+Tl,mu=65536>>Ws,gu=1<<ll,js=gu-1,fl=function(oe,Ae,_e){return oe.slice?oe.slice(Ae,_e):new Uint16Array(Array.prototype.slice.call(oe,Ae,_e))},Ol=function(oe,Ae,_e){return oe.slice?oe.slice(Ae,_e):new Uint32Array(Array.prototype.slice.call(oe,Ae,_e))},Au=function(oe,Ae){var _e=ss(oe),it=Array.isArray(_e)?Rs(_e):new Uint32Array(_e),Wt=Array.isArray(_e)?ys(_e):new Uint16Array(_e),Lr=24,jr=fl(Wt,Lr/2,it[4]/2),Jr=it[5]===2?fl(Wt,(Lr+it[4])/2):Ol(it,Math.ceil((Lr+it[4])/4));return new vu(it[0],it[1],it[2],it[3],jr,Jr)},vu=function(){function pt(oe,Ae,_e,it,Wt,Lr){this.initialValue=oe,this.errorValue=Ae,this.highStart=_e,this.highValueIndex=it,this.index=Wt,this.data=Lr}return pt.prototype.get=function(oe){var Ae;if(oe>=0){if(oe<55296||oe>56319&&oe<=65535)return Ae=this.index[oe>>Us],Ae=(Ae<<hl)+(oe&Bl),this.data[Ae];if(oe<=65535)return Ae=this.index[zl+(oe-55296>>Us)],Ae=(Ae<<hl)+(oe&Bl),this.data[Ae];if(oe<this.highStart)return Ae=Sl-mu+(oe>>Ws),Ae=this.index[Ae],Ae+=oe>>Us&js,Ae=this.index[Ae],Ae=(Ae<<hl)+(oe&Bl),this.data[Ae];if(oe<=1114111)return this.data[this.highValueIndex]}return this.errorValue},pt}(),nu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yu=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),_l=0;_l<nu.length;_l++)yu[nu.charCodeAt(_l)]=_l;var Hs=1,Vl=2,iu=3,Xl=4,bu=5,Gl=7,au=8,Ll=9,ou=10,Ul=11,wu=12,il=13,Il=14,xl=15,Nl=function(oe){for(var Ae=[],_e=0,it=oe.length;_e<it;){var Wt=oe.charCodeAt(_e++);if(Wt>=55296&&Wt<=56319&&_e<it){var Lr=oe.charCodeAt(_e++);(Lr&64512)===56320?Ae.push(((Wt&1023)<<10)+(Lr&1023)+65536):(Ae.push(Wt),_e--)}else Ae.push(Wt)}return Ae},al=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,oe);var _e=oe.length;if(!_e)return"";for(var it=[],Wt=-1,Lr="";++Wt<_e;){var jr=oe[Wt];jr<=65535?it.push(jr):(jr-=65536,it.push((jr>>10)+55296,jr%1024+56320)),(Wt+1===_e||it.length>16384)&&(Lr+=String.fromCharCode.apply(String,it),it.length=0)}return Lr},Nu=Au(Eo),zs="\xD7",$s="\xF7",jl=function(oe){return Nu.get(oe)},Su=function(oe,Ae,_e){var it=_e-2,Wt=Ae[it],Lr=Ae[_e-1],jr=Ae[_e];if(Lr===Vl&&jr===iu)return zs;if(Lr===Vl||Lr===iu||Lr===Xl)return $s;if(jr===Vl||jr===iu||jr===Xl)return $s;if(Lr===au&&[au,Ll,Ul,wu].indexOf(jr)!==-1)return zs;if((Lr===Ul||Lr===Ll)&&(jr===Ll||jr===ou))return zs;if((Lr===wu||Lr===ou)&&jr===ou)return zs;if(jr===il||jr===bu)return zs;if(jr===Gl)return zs;if(Lr===Hs)return zs;if(Lr===il&&jr===Il){for(;Wt===bu;)Wt=Ae[--it];if(Wt===Il)return zs}if(Lr===xl&&jr===xl){for(var Jr=0;Wt===xl;)Jr++,Wt=Ae[--it];if(Jr%2===0)return zs}return $s},Ql=function(oe){var Ae=Nl(oe),_e=Ae.length,it=0,Wt=0,Lr=Ae.map(jl);return{next:function(){if(it>=_e)return{done:!0,value:null};for(var Jr=zs;it<_e&&(Jr=Su(Ae,Lr,++it))===zs;);if(Jr!==zs||it===_e){var gn=al.apply(null,Ae.slice(Wt,it));return Wt=it,{value:gn,done:!1}}return{done:!0,value:null}}}},pl=function(oe){for(var Ae=Ql(oe),_e=[],it;!(it=Ae.next()).done;)it.value&&_e.push(it.value.slice());return _e},Js=function(oe){var Ae=123;if(oe.createRange){var _e=oe.createRange();if(_e.getBoundingClientRect){var it=oe.createElement("boundtest");it.style.height=Ae+"px",it.style.display="block",oe.body.appendChild(it),_e.selectNode(it);var Wt=_e.getBoundingClientRect(),Lr=Math.round(Wt.height);if(oe.body.removeChild(it),Lr===Ae)return!0}}return!1},Yl=function(oe){var Ae=oe.createElement("boundtest");Ae.style.width="50px",Ae.style.display="block",Ae.style.fontSize="12px",Ae.style.letterSpacing="0px",Ae.style.wordSpacing="0px",oe.body.appendChild(Ae);var _e=oe.createRange();Ae.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var it=Ae.firstChild,Wt=n(it.data).map(function(gn){return i(gn)}),Lr=0,jr={},Jr=Wt.every(function(gn,qn){_e.setStart(it,Lr),_e.setEnd(it,Lr+gn.length);var Gn=_e.getBoundingClientRect();Lr+=gn.length;var ei=Gn.x>jr.x||Gn.y>jr.y;return jr=Gn,qn===0?!0:ei});return oe.body.removeChild(Ae),Jr},su=function(){return typeof new Image().crossOrigin!="undefined"},lu=function(){return typeof new XMLHttpRequest().responseType=="string"},uu=function(oe){var Ae=new Image,_e=oe.createElement("canvas"),it=_e.getContext("2d");if(!it)return!1;Ae.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{it.drawImage(Ae,0,0),_e.toDataURL()}catch(Wt){return!1}return!0},ml=function(oe){return oe[0]===0&&oe[1]===255&&oe[2]===0&&oe[3]===255},Hl=function(oe){var Ae=oe.createElement("canvas"),_e=100;Ae.width=_e,Ae.height=_e;var it=Ae.getContext("2d");if(!it)return Promise.reject(!1);it.fillStyle="rgb(0, 255, 0)",it.fillRect(0,0,_e,_e);var Wt=new Image,Lr=Ae.toDataURL();Wt.src=Lr;var jr=Dl(_e,_e,0,0,Wt);return it.fillStyle="red",it.fillRect(0,0,_e,_e),Kl(jr).then(function(Jr){it.drawImage(Jr,0,0);var gn=it.getImageData(0,0,_e,_e).data;it.fillStyle="red",it.fillRect(0,0,_e,_e);var qn=oe.createElement("div");return qn.style.backgroundImage="url("+Lr+")",qn.style.height=_e+"px",ml(gn)?Kl(Dl(_e,_e,0,0,qn)):Promise.reject(!1)}).then(function(Jr){return it.drawImage(Jr,0,0),ml(it.getImageData(0,0,_e,_e).data)}).catch(function(){return!1})},Dl=function(oe,Ae,_e,it,Wt){var Lr="http://www.w3.org/2000/svg",jr=document.createElementNS(Lr,"svg"),Jr=document.createElementNS(Lr,"foreignObject");return jr.setAttributeNS(null,"width",oe.toString()),jr.setAttributeNS(null,"height",Ae.toString()),Jr.setAttributeNS(null,"width","100%"),Jr.setAttributeNS(null,"height","100%"),Jr.setAttributeNS(null,"x",_e.toString()),Jr.setAttributeNS(null,"y",it.toString()),Jr.setAttributeNS(null,"externalResourcesRequired","true"),jr.appendChild(Jr),Jr.appendChild(Wt),jr},Kl=function(oe){return new Promise(function(Ae,_e){var it=new Image;it.onload=function(){return Ae(it)},it.onerror=_e,it.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(oe))})},Es={get SUPPORT_RANGE_BOUNDS(){var pt=Js(document);return Object.defineProperty(Es,"SUPPORT_RANGE_BOUNDS",{value:pt}),pt},get SUPPORT_WORD_BREAKING(){var pt=Es.SUPPORT_RANGE_BOUNDS&&Yl(document);return Object.defineProperty(Es,"SUPPORT_WORD_BREAKING",{value:pt}),pt},get SUPPORT_SVG_DRAWING(){var pt=uu(document);return Object.defineProperty(Es,"SUPPORT_SVG_DRAWING",{value:pt}),pt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var pt=typeof Array.from=="function"&&typeof window.fetch=="function"?Hl(document):Promise.resolve(!1);return Object.defineProperty(Es,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:pt}),pt},get SUPPORT_CORS_IMAGES(){var pt=su();return Object.defineProperty(Es,"SUPPORT_CORS_IMAGES",{value:pt}),pt},get SUPPORT_RESPONSE_TYPE(){var pt=lu();return Object.defineProperty(Es,"SUPPORT_RESPONSE_TYPE",{value:pt}),pt},get SUPPORT_CORS_XHR(){var pt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Es,"SUPPORT_CORS_XHR",{value:pt}),pt}},Wl=function(){function pt(oe,Ae){this.text=oe,this.bounds=Ae}return pt}(),Du=function(oe,Ae,_e,it){var Wt=No(Ae,_e),Lr=[],jr=0;return Wt.forEach(function(Jr){if(_e.textDecorationLine.length||Jr.trim().length>0)if(Es.SUPPORT_RANGE_BOUNDS)Es.SUPPORT_WORD_BREAKING?Lr.push(new Wl(Jr,eo(oe,it,jr,Jr.length))):Lr.push(new Wl(Jr,c.fromDOMRectList(oe,ua(it,jr,Jr.length).getClientRects())));else{var gn=it.splitText(Jr.length);Lr.push(new Wl(Jr,bo(oe,it))),it=gn}else Es.SUPPORT_RANGE_BOUNDS||(it=it.splitText(Jr.length));jr+=Jr.length}),Lr},bo=function(oe,Ae){var _e=Ae.ownerDocument;if(_e){var it=_e.createElement("html2canvaswrapper");it.appendChild(Ae.cloneNode(!0));var Wt=Ae.parentNode;if(Wt){Wt.replaceChild(it,Ae);var Lr=s(oe,it);return it.firstChild&&Wt.replaceChild(it.firstChild,it),Lr}}return c.EMPTY},ua=function(oe,Ae,_e){var it=oe.ownerDocument;if(!it)throw new Error("Node has no owner document");var Wt=it.createRange();return Wt.setStart(oe,Ae),Wt.setEnd(oe,Ae+_e),Wt},eo=function(oe,Ae,_e,it){return c.fromClientRect(oe,ua(Ae,_e,it).getBoundingClientRect())},No=function(oe,Ae){return Ae.letterSpacing!==0?pl(oe):gl(oe,Ae)},bs=[32,160,4961,65792,65793,4153,4241],gl=function(oe,Ae){for(var _e=Ut(oe,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),it=[],Wt,Lr=function(){if(Wt.value){var Jr=Wt.value.slice(),gn=n(Jr),qn="";gn.forEach(function(Gn){bs.indexOf(Gn)===-1?qn+=i(Gn):(qn.length&&it.push(qn),it.push(i(Gn)),qn="")}),qn.length&&it.push(qn)}};!(Wt=_e.next()).done;)Lr();return it},cl=function(){function pt(oe,Ae,_e){this.text=Ys(Ae.data,_e.textTransform),this.textBounds=Du(oe,this.text,_e,Ae)}return pt}(),Ys=function(oe,Ae){switch(Ae){case Zo.LOWERCASE:return oe.toLowerCase();case Zo.CAPITALIZE:return oe.replace(el,dl);case Zo.UPPERCASE:return oe.toUpperCase();default:return oe}},el=/(^|\s|:|-|\(|\))([a-z])/g,dl=function(oe,Ae,_e){return oe.length>0?Ae+_e.toUpperCase():oe},Al=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.src=_e.currentSrc||_e.src,it.intrinsicWidth=_e.naturalWidth,it.intrinsicHeight=_e.naturalHeight,it.context.cache.addImage(it.src),it}return oe}(Ca),Ls=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.canvas=_e,it.intrinsicWidth=_e.width,it.intrinsicHeight=_e.height,it}return oe}(Ca),Zl=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this,Wt=new XMLSerializer,Lr=s(Ae,_e);return _e.setAttribute("width",Lr.width+"px"),_e.setAttribute("height",Lr.height+"px"),it.svg="data:image/svg+xml,"+encodeURIComponent(Wt.serializeToString(_e)),it.intrinsicWidth=_e.width.baseVal.value,it.intrinsicHeight=_e.height.baseVal.value,it.context.cache.addImage(it.svg),it}return oe}(Ca),Ku=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.value=_e.value,it}return oe}(Ca),cu=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.start=_e.start,it.reversed=typeof _e.reversed=="boolean"&&_e.reversed===!0,it}return oe}(Ca),Wu=[{type:15,flags:0,unit:"px",number:3}],Qu=[{type:16,flags:0,number:50}],Yu=function(oe){return oe.width>oe.height?new c(oe.left+(oe.width-oe.height)/2,oe.top,oe.height,oe.height):oe.width<oe.height?new c(oe.left,oe.top+(oe.height-oe.width)/2,oe.width,oe.width):oe},Zu=function(oe){var Ae=oe.type===qu?new Array(oe.value.length+1).join("\u2022"):oe.value;return Ae.length===0?oe.placeholder||"":Ae},ql="checkbox",xu="radio",qu="password",Ru=707406591,du=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;it.type=_e.type.toLowerCase(),it.checked=_e.checked,it.value=Zu(_e),(it.type===ql||it.type===xu)&&(it.styles.backgroundColor=3739148031,it.styles.borderTopColor=it.styles.borderRightColor=it.styles.borderBottomColor=it.styles.borderLeftColor=2779096575,it.styles.borderTopWidth=it.styles.borderRightWidth=it.styles.borderBottomWidth=it.styles.borderLeftWidth=1,it.styles.borderTopStyle=it.styles.borderRightStyle=it.styles.borderBottomStyle=it.styles.borderLeftStyle=yi.SOLID,it.styles.backgroundClip=[ha.BORDER_BOX],it.styles.backgroundOrigin=[0],it.bounds=Yu(it.bounds));switch(it.type){case ql:it.styles.borderTopRightRadius=it.styles.borderTopLeftRadius=it.styles.borderBottomRightRadius=it.styles.borderBottomLeftRadius=Wu;break;case xu:it.styles.borderTopRightRadius=it.styles.borderTopLeftRadius=it.styles.borderBottomRightRadius=it.styles.borderBottomLeftRadius=Qu;break}return it}return oe}(Ca),Mu=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this,Wt=_e.options[_e.selectedIndex||0];return it.value=Wt&&Wt.text||"",it}return oe}(Ca),ku=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.value=_e.value,it}return oe}(Ca),Fu=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;it.src=_e.src,it.width=parseInt(_e.width,10)||0,it.height=parseInt(_e.height,10)||0,it.backgroundColor=it.styles.backgroundColor;try{if(_e.contentWindow&&_e.contentWindow.document&&_e.contentWindow.document.documentElement){it.tree=zu(Ae,_e.contentWindow.document.documentElement);var Wt=_e.contentWindow.document.documentElement?ga(Ae,getComputedStyle(_e.contentWindow.document.documentElement).backgroundColor):Aa.TRANSPARENT,Lr=_e.contentWindow.document.body?ga(Ae,getComputedStyle(_e.contentWindow.document.body).backgroundColor):Aa.TRANSPARENT;it.backgroundColor=Ei(Wt)?Ei(Lr)?it.styles.backgroundColor:Lr:Wt}}catch(jr){}return it}return oe}(Ca),$l=["OL","UL","MENU"],Eu=function pt(oe,Ae,_e,it){for(var Wt=Ae.firstChild,Lr=void 0;Wt;Wt=Lr)if(Lr=Wt.nextSibling,gs(Wt)&&Wt.data.trim().length>0)_e.textNodes.push(new cl(oe,Wt,_e.styles));else if(eu(Wt))if(fi(Wt)&&Wt.assignedNodes)Wt.assignedNodes().forEach(function(Jr){return pt(oe,Jr,_e,it)});else{var jr=Jl(oe,Wt);jr.styles.isVisible()&&($u(Wt,jr,it)?jr.flags|=4:Ju(jr.styles)&&(jr.flags|=2),$l.indexOf(Wt.tagName)!==-1&&(jr.flags|=8),_e.elements.push(jr),Wt.slot,Wt.shadowRoot?pt(oe,Wt.shadowRoot,jr,it):!Cn(Wt)&&!mr(Wt)&&!Yn(Wt)&&pt(oe,Wt,jr,it))}},Jl=function(oe,Ae){return In(Ae)?new Al(oe,Ae):Yr(Ae)?new Ls(oe,Ae):mr(Ae)?new Zl(oe,Ae):Ve(Ae)?new Ku(oe,Ae):Et(Ae)?new cu(oe,Ae):Yt(Ae)?new du(oe,Ae):Yn(Ae)?new Mu(oe,Ae):Cn(Ae)?new ku(oe,Ae):Nn(Ae)?new Fu(oe,Ae):new Ca(oe,Ae)},zu=function(oe,Ae){var _e=Jl(oe,Ae);return _e.flags|=4,Eu(oe,Ae,_e,_e),_e},$u=function(oe,Ae,_e){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||Nr(oe)&&_e.styles.isTransparent()},Ju=function(oe){return oe.isPositioned()||oe.isFloating()},gs=function(oe){return oe.nodeType===Node.TEXT_NODE},eu=function(oe){return oe.nodeType===Node.ELEMENT_NODE},ht=function(oe){return eu(oe)&&typeof oe.style!="undefined"&&!de(oe)},de=function(oe){return typeof oe.className=="object"},Ve=function(oe){return oe.tagName==="LI"},Et=function(oe){return oe.tagName==="OL"},Yt=function(oe){return oe.tagName==="INPUT"},or=function(oe){return oe.tagName==="HTML"},mr=function(oe){return oe.tagName==="svg"},Nr=function(oe){return oe.tagName==="BODY"},Yr=function(oe){return oe.tagName==="CANVAS"},In=function(oe){return oe.tagName==="IMG"},Nn=function(oe){return oe.tagName==="IFRAME"},bn=function(oe){return oe.tagName==="STYLE"},vn=function(oe){return oe.tagName==="SCRIPT"},Cn=function(oe){return oe.tagName==="TEXTAREA"},Yn=function(oe){return oe.tagName==="SELECT"},fi=function(oe){return oe.tagName==="SLOT"},Pi=function(){function pt(){this.counters={}}return pt.prototype.getCounterValue=function(oe){var Ae=this.counters[oe];return Ae&&Ae.length?Ae[Ae.length-1]:1},pt.prototype.getCounterValues=function(oe){var Ae=this.counters[oe];return Ae||[]},pt.prototype.pop=function(oe){var Ae=this;oe.forEach(function(_e){return Ae.counters[_e].pop()})},pt.prototype.parse=function(oe){var Ae=this,_e=oe.counterIncrement,it=oe.counterReset,Wt=!0;_e!==null&&_e.forEach(function(jr){var Jr=Ae.counters[jr.counter];Jr&&jr.increment!==0&&(Wt=!1,Jr.length||Jr.push(1),Jr[Math.max(0,Jr.length-1)]+=jr.increment)});var Lr=[];return Wt&&it.forEach(function(jr){var Jr=Ae.counters[jr.counter];Lr.push(jr.counter),Jr||(Jr=Ae.counters[jr.counter]=[]),Jr.push(jr.reset)}),Lr},pt}(),oa={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"]},na={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"]},ho={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"]},ea={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"]},Lo=function(oe,Ae,_e,it,Wt,Lr){return oe<Ae||oe>_e?rr(oe,Wt,Lr.length>0):it.integers.reduce(function(jr,Jr,gn){for(;oe>=Jr;)oe-=Jr,jr+=it.values[gn];return jr},"")+Lr},Co=function(oe,Ae,_e,it){var Wt="";do _e||oe--,Wt=it(oe)+Wt,oe/=Ae;while(oe*Ae>=Ae);return Wt},mo=function(oe,Ae,_e,it,Wt){var Lr=_e-Ae+1;return(oe<0?"-":"")+(Co(Math.abs(oe),Lr,it,function(jr){return i(Math.floor(jr%Lr)+Ae)})+Wt)},ws=function(oe,Ae,_e){_e===void 0&&(_e=". ");var it=Ae.length;return Co(Math.abs(oe),it,!1,function(Wt){return Ae[Math.floor(Wt%it)]})+_e},L=1<<0,D=1<<1,Q=1<<2,Z=1<<3,ee=function(oe,Ae,_e,it,Wt,Lr){if(oe<-9999||oe>9999)return rr(oe,hi.CJK_DECIMAL,Wt.length>0);var jr=Math.abs(oe),Jr=Wt;if(jr===0)return Ae[0]+Jr;for(var gn=0;jr>0&&gn<=4;gn++){var qn=jr%10;qn===0&&Na(Lr,L)&&Jr!==""?Jr=Ae[qn]+Jr:qn>1||qn===1&&gn===0||qn===1&&gn===1&&Na(Lr,D)||qn===1&&gn===1&&Na(Lr,Q)&&oe>100||qn===1&&gn>1&&Na(Lr,Z)?Jr=Ae[qn]+(gn>0?_e[gn-1]:"")+Jr:qn===1&&gn>0&&(Jr=_e[gn-1]+Jr),jr=Math.floor(jr/10)}return(oe<0?it:"")+Jr},ke="\u5341\u767E\u5343\u842C",yt="\u62FE\u4F70\u4EDF\u842C",Pt="\u30DE\u30A4\u30CA\u30B9",Zt="\uB9C8\uC774\uB108\uC2A4",rr=function(oe,Ae,_e){var it=_e?". ":"",Wt=_e?"\u3001":"",Lr=_e?", ":"",jr=_e?" ":"";switch(Ae){case hi.DISC:return"\u2022"+jr;case hi.CIRCLE:return"\u25E6"+jr;case hi.SQUARE:return"\u25FE"+jr;case hi.DECIMAL_LEADING_ZERO:var Jr=mo(oe,48,57,!0,it);return Jr.length<4?"0"+Jr:Jr;case hi.CJK_DECIMAL:return ws(oe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Wt);case hi.LOWER_ROMAN:return Lo(oe,1,3999,oa,hi.DECIMAL,it).toLowerCase();case hi.UPPER_ROMAN:return Lo(oe,1,3999,oa,hi.DECIMAL,it);case hi.LOWER_GREEK:return mo(oe,945,969,!1,it);case hi.LOWER_ALPHA:return mo(oe,97,122,!1,it);case hi.UPPER_ALPHA:return mo(oe,65,90,!1,it);case hi.ARABIC_INDIC:return mo(oe,1632,1641,!0,it);case hi.ARMENIAN:case hi.UPPER_ARMENIAN:return Lo(oe,1,9999,na,hi.DECIMAL,it);case hi.LOWER_ARMENIAN:return Lo(oe,1,9999,na,hi.DECIMAL,it).toLowerCase();case hi.BENGALI:return mo(oe,2534,2543,!0,it);case hi.CAMBODIAN:case hi.KHMER:return mo(oe,6112,6121,!0,it);case hi.CJK_EARTHLY_BRANCH:return ws(oe,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Wt);case hi.CJK_HEAVENLY_STEM:return ws(oe,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Wt);case hi.CJK_IDEOGRAPHIC:case hi.TRAD_CHINESE_INFORMAL:return ee(oe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ke,"\u8CA0",Wt,D|Q|Z);case hi.TRAD_CHINESE_FORMAL:return ee(oe,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",yt,"\u8CA0",Wt,L|D|Q|Z);case hi.SIMP_CHINESE_INFORMAL:return ee(oe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ke,"\u8D1F",Wt,D|Q|Z);case hi.SIMP_CHINESE_FORMAL:return ee(oe,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",yt,"\u8D1F",Wt,L|D|Q|Z);case hi.JAPANESE_INFORMAL:return ee(oe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pt,Wt,0);case hi.JAPANESE_FORMAL:return ee(oe,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pt,Wt,L|D|Q);case hi.KOREAN_HANGUL_FORMAL:return ee(oe,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Zt,Lr,L|D|Q);case hi.KOREAN_HANJA_INFORMAL:return ee(oe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Zt,Lr,0);case hi.KOREAN_HANJA_FORMAL:return ee(oe,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Zt,Lr,L|D|Q);case hi.DEVANAGARI:return mo(oe,2406,2415,!0,it);case hi.GEORGIAN:return Lo(oe,1,19999,ea,hi.DECIMAL,it);case hi.GUJARATI:return mo(oe,2790,2799,!0,it);case hi.GURMUKHI:return mo(oe,2662,2671,!0,it);case hi.HEBREW:return Lo(oe,1,10999,ho,hi.DECIMAL,it);case hi.HIRAGANA:return ws(oe,"\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 hi.HIRAGANA_IROHA:return ws(oe,"\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 hi.KANNADA:return mo(oe,3302,3311,!0,it);case hi.KATAKANA:return ws(oe,"\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",Wt);case hi.KATAKANA_IROHA:return ws(oe,"\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",Wt);case hi.LAO:return mo(oe,3792,3801,!0,it);case hi.MONGOLIAN:return mo(oe,6160,6169,!0,it);case hi.MYANMAR:return mo(oe,4160,4169,!0,it);case hi.ORIYA:return mo(oe,2918,2927,!0,it);case hi.PERSIAN:return mo(oe,1776,1785,!0,it);case hi.TAMIL:return mo(oe,3046,3055,!0,it);case hi.TELUGU:return mo(oe,3174,3183,!0,it);case hi.THAI:return mo(oe,3664,3673,!0,it);case hi.TIBETAN:return mo(oe,3872,3881,!0,it);case hi.DECIMAL:default:return mo(oe,48,57,!0,it)}},hn="data-html2canvas-ignore",Sn=function(){function pt(oe,Ae,_e){if(this.context=oe,this.options=_e,this.scrolledElements=[],this.referenceElement=Ae,this.counters=new Pi,this.quoteDepth=0,!Ae.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ae.ownerDocument.documentElement)}return pt.prototype.toIFrame=function(oe,Ae){var _e=this,it=zn(oe,Ae);if(!it.contentWindow)return Promise.reject("Unable to find iframe window");var Wt=oe.defaultView.pageXOffset,Lr=oe.defaultView.pageYOffset,jr=it.contentWindow,Jr=jr.document,gn=ji(it).then(function(){return m(_e,void 0,void 0,function(){var qn,Gn;return g(this,function(ei){switch(ei.label){case 0:return this.scrolledElements.forEach(ao),jr&&(jr.scrollTo(Ae.left,Ae.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jr.scrollY!==Ae.top||jr.scrollX!==Ae.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jr.scrollX-Ae.left,jr.scrollY-Ae.top,0,0))),qn=this.options.onclone,Gn=this.clonedReferenceElement,typeof Gn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Jr.fonts&&Jr.fonts.ready?[4,Jr.fonts.ready]:[3,2];case 1:ei.sent(),ei.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ti(Jr)]:[3,4];case 3:ei.sent(),ei.label=4;case 4:return typeof qn=="function"?[2,Promise.resolve().then(function(){return qn(Jr,Gn)}).then(function(){return it})]:[2,it]}})})});return Jr.open(),Jr.write(ia(document.doctype)+"<html></html>"),fa(this.referenceElement.ownerDocument,Wt,Lr),Jr.replaceChild(Jr.adoptNode(this.documentElement),Jr.documentElement),Jr.close(),gn},pt.prototype.createElementClone=function(oe){if(po(oe,2))debugger;if(Yr(oe))return this.createCanvasClone(oe);if(bn(oe))return this.createStyleClone(oe);var Ae=oe.cloneNode(!1);return In(Ae)&&(In(oe)&&oe.currentSrc&&oe.currentSrc!==oe.src&&(Ae.src=oe.currentSrc,Ae.srcset=""),Ae.loading==="lazy"&&(Ae.loading="eager")),Ae},pt.prototype.createStyleClone=function(oe){try{var Ae=oe.sheet;if(Ae&&Ae.cssRules){var _e=[].slice.call(Ae.cssRules,0).reduce(function(Wt,Lr){return Lr&&typeof Lr.cssText=="string"?Wt+Lr.cssText:Wt},""),it=oe.cloneNode(!1);return it.textContent=_e,it}}catch(Wt){if(this.context.logger.error("Unable to access cssRules property",Wt),Wt.name!=="SecurityError")throw Wt}return oe.cloneNode(!1)},pt.prototype.createCanvasClone=function(oe){var Ae;if(this.options.inlineImages&&oe.ownerDocument){var _e=oe.ownerDocument.createElement("img");try{return _e.src=oe.toDataURL(),_e}catch(gn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",oe)}}var it=oe.cloneNode(!1);try{it.width=oe.width,it.height=oe.height;var Wt=oe.getContext("2d"),Lr=it.getContext("2d");if(Lr)if(!this.options.allowTaint&&Wt)Lr.putImageData(Wt.getImageData(0,0,oe.width,oe.height),0,0);else{var jr=(Ae=oe.getContext("webgl2"))!==null&&Ae!==void 0?Ae:oe.getContext("webgl");if(jr){var Jr=jr.getContextAttributes();(Jr==null?void 0:Jr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",oe)}Lr.drawImage(oe,0,0)}return it}catch(gn){this.context.logger.info("Unable to clone canvas as it is tainted",oe)}return it},pt.prototype.cloneNode=function(oe){if(gs(oe))return document.createTextNode(oe.data);if(!oe.ownerDocument)return oe.cloneNode(!1);var Ae=oe.ownerDocument.defaultView;if(Ae&&eu(oe)&&(ht(oe)||de(oe))){var _e=this.createElementClone(oe);_e.style.transitionProperty="none";var it=Ae.getComputedStyle(oe),Wt=Ae.getComputedStyle(oe,":before"),Lr=Ae.getComputedStyle(oe,":after");this.referenceElement===oe&&ht(_e)&&(this.clonedReferenceElement=_e),Nr(_e)&&Zs(_e);for(var jr=this.counters.parse(new os(this.context,it)),Jr=this.resolvePseudoContent(oe,_e,Wt,Pn.BEFORE),gn=oe.firstChild;gn;gn=gn.nextSibling)(!eu(gn)||!vn(gn)&&!gn.hasAttribute(hn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(gn)))&&((!this.options.copyStyles||!eu(gn)||!bn(gn))&&_e.appendChild(this.cloneNode(gn)));Jr&&_e.insertBefore(Jr,_e.firstChild);var qn=this.resolvePseudoContent(oe,_e,Lr,Pn.AFTER);return qn&&_e.appendChild(qn),this.counters.pop(jr),it&&(this.options.copyStyles||de(oe))&&!Nn(oe)&&ra(it,_e),(oe.scrollTop!==0||oe.scrollLeft!==0)&&this.scrolledElements.push([_e,oe.scrollLeft,oe.scrollTop]),(Cn(oe)||Yn(oe))&&(Cn(_e)||Yn(_e))&&(_e.value=oe.value),_e}return oe.cloneNode(!1)},pt.prototype.resolvePseudoContent=function(oe,Ae,_e,it){var Wt=this;if(!_e)return;var Lr=_e.content,jr=Ae.ownerDocument;if(!jr||!Lr||Lr==="none"||Lr==="-moz-alt-content"||_e.display==="none")return;this.counters.parse(new os(this.context,_e));var Jr=new Qs(this.context,_e),gn=jr.createElement("html2canvaspseudoelement");ra(_e,gn),Jr.content.forEach(function(Gn){if(Gn.type===0)gn.appendChild(jr.createTextNode(Gn.value));else if(Gn.type===22){var ei=jr.createElement("img");ei.src=Gn.value,ei.style.opacity="1",gn.appendChild(ei)}else if(Gn.type===18){if(Gn.name==="attr"){var qi=Gn.values.filter(an);qi.length&&gn.appendChild(jr.createTextNode(oe.getAttribute(qi[0].value)||""))}else if(Gn.name==="counter"){var $i=Gn.values.filter(Cr),da=$i[0],fo=$i[1];if(da&&an(da)){var za=Wt.counters.getCounterValue(da.value),ka=fo&&an(fo)?Ds.parse(Wt.context,fo.value):hi.DECIMAL;gn.appendChild(jr.createTextNode(rr(za,ka,!1)))}}else if(Gn.name==="counters"){var zo=Gn.values.filter(Cr),da=zo[0],Jo=zo[1],fo=zo[2];if(da&&an(da)){var Uo=Wt.counters.getCounterValues(da.value),Ma=fo&&an(fo)?Ds.parse(Wt.context,fo.value):hi.DECIMAL,cs=Jo&&Jo.type===0?Jo.value:"",fs=Uo.map(function(Fl){return rr(Fl,Ma,!1)}).join(cs);gn.appendChild(jr.createTextNode(fs))}}}else if(Gn.type===20)switch(Gn.value){case"open-quote":gn.appendChild(jr.createTextNode(Ts(Jr.quotes,Wt.quoteDepth++,!0)));break;case"close-quote":gn.appendChild(jr.createTextNode(Ts(Jr.quotes,--Wt.quoteDepth,!1)));break;default:gn.appendChild(jr.createTextNode(Gn.value))}}),gn.className=qo+" "+ks;var qn=it===Pn.BEFORE?" "+qo:" "+ks;return de(Ae)?Ae.className.baseValue+=qn:Ae.className+=qn,gn},pt.destroy=function(oe){return oe.parentNode?(oe.parentNode.removeChild(oe),!0):!1},pt}(),Pn;(function(pt){pt[pt.BEFORE=0]="BEFORE",pt[pt.AFTER=1]="AFTER"})(Pn||(Pn={}));var zn=function(oe,Ae){var _e=oe.createElement("iframe");return _e.className="html2canvas-container",_e.style.visibility="hidden",_e.style.position="fixed",_e.style.left="-10000px",_e.style.top="0px",_e.style.border="0",_e.width=Ae.width.toString(),_e.height=Ae.height.toString(),_e.scrolling="no",_e.setAttribute(hn,"true"),oe.body.appendChild(_e),_e},ci=function(oe){return new Promise(function(Ae){if(oe.complete){Ae();return}if(!oe.src){Ae();return}oe.onload=Ae,oe.onerror=Ae})},Ti=function(oe){return Promise.all([].slice.call(oe.images,0).map(ci))},ji=function(oe){return new Promise(function(Ae,_e){var it=oe.contentWindow;if(!it)return _e("No window assigned for iframe");var Wt=it.document;it.onload=oe.onload=function(){it.onload=oe.onload=null;var Lr=setInterval(function(){Wt.body.childNodes.length>0&&Wt.readyState==="complete"&&(clearInterval(Lr),Ae(oe))},50)}})},Ui=["all","d","content"],ra=function(oe,Ae){for(var _e=oe.length-1;_e>=0;_e--){var it=oe.item(_e);Ui.indexOf(it)===-1&&Ae.style.setProperty(it,oe.getPropertyValue(it))}return Ae},ia=function(oe){var Ae="";return oe&&(Ae+="<!DOCTYPE ",oe.name&&(Ae+=oe.name),oe.internalSubset&&(Ae+=oe.internalSubset),oe.publicId&&(Ae+='"'+oe.publicId+'"'),oe.systemId&&(Ae+='"'+oe.systemId+'"'),Ae+=">"),Ae},fa=function(oe,Ae,_e){oe&&oe.defaultView&&(Ae!==oe.defaultView.pageXOffset||_e!==oe.defaultView.pageYOffset)&&oe.defaultView.scrollTo(Ae,_e)},ao=function(oe){var Ae=oe[0],_e=oe[1],it=oe[2];Ae.scrollLeft=_e,Ae.scrollTop=it},Qa=":before",Fo=":after",qo="___html2canvas___pseudoelement_before",ks="___html2canvas___pseudoelement_after",As=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Zs=function(oe){tl(oe,"."+qo+Qa+As+`
|
|
|
.`+ks+Fo+As)},tl=function(oe,Ae){var _e=oe.ownerDocument;if(_e){var it=_e.createElement("style");it.textContent=Ae,oe.appendChild(it)}},Is=function(){function pt(){}return pt.getOrigin=function(oe){var Ae=pt._link;return Ae?(Ae.href=oe,Ae.href=Ae.href,Ae.protocol+Ae.hostname+Ae.port):"about:blank"},pt.isSameOrigin=function(oe){return pt.getOrigin(oe)===pt._origin},pt.setContext=function(oe){pt._link=oe.document.createElement("a"),pt._origin=pt.getOrigin(oe.location.href)},pt._origin="about:blank",pt}(),rl=function(){function pt(oe,Ae){this.context=oe,this._options=Ae,this._cache={}}return pt.prototype.addImage=function(oe){var Ae=Promise.resolve();return this.has(oe)||(Rl(oe)||_s(oe))&&(this._cache[oe]=this.loadImage(oe)).catch(function(){}),Ae},pt.prototype.match=function(oe){return this._cache[oe]},pt.prototype.loadImage=function(oe){return m(this,void 0,void 0,function(){var Ae,_e,it,Wt,Lr=this;return g(this,function(jr){switch(jr.label){case 0:return Ae=Is.isSameOrigin(oe),_e=!Vs(oe)&&this._options.useCORS===!0&&Es.SUPPORT_CORS_IMAGES&&!Ae,it=!Vs(oe)&&!Ae&&!Rl(oe)&&typeof this._options.proxy=="string"&&Es.SUPPORT_CORS_XHR&&!_e,!Ae&&this._options.allowTaint===!1&&!Vs(oe)&&!Rl(oe)&&!it&&!_e?[2]:(Wt=oe,it?[4,this.proxy(Wt)]:[3,2]);case 1:Wt=jr.sent(),jr.label=2;case 2:return this.context.logger.debug("Added image "+oe.substring(0,256)),[4,new Promise(function(Jr,gn){var qn=new Image;qn.onload=function(){return Jr(qn)},qn.onerror=gn,(Cu(Wt)||_e)&&(qn.crossOrigin="anonymous"),qn.src=Wt,qn.complete===!0&&setTimeout(function(){return Jr(qn)},500),Lr._options.imageTimeout>0&&setTimeout(function(){return gn("Timed out ("+Lr._options.imageTimeout+"ms) loading image")},Lr._options.imageTimeout)})];case 3:return[2,jr.sent()]}})})},pt.prototype.has=function(oe){return typeof this._cache[oe]!="undefined"},pt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},pt.prototype.proxy=function(oe){var Ae=this,_e=this._options.proxy;if(!_e)throw new Error("No proxy defined");var it=oe.substring(0,256);return new Promise(function(Wt,Lr){var jr=Es.SUPPORT_RESPONSE_TYPE?"blob":"text",Jr=new XMLHttpRequest;Jr.onload=function(){if(Jr.status===200)if(jr==="text")Wt(Jr.response);else{var Gn=new FileReader;Gn.addEventListener("load",function(){return Wt(Gn.result)},!1),Gn.addEventListener("error",function(ei){return Lr(ei)},!1),Gn.readAsDataURL(Jr.response)}else Lr("Failed to proxy resource "+it+" with status code "+Jr.status)},Jr.onerror=Lr;var gn=_e.indexOf("?")>-1?"&":"?";if(Jr.open("GET",""+_e+gn+"url="+encodeURIComponent(oe)+"&responseType="+jr),jr!=="text"&&Jr instanceof XMLHttpRequest&&(Jr.responseType=jr),Ae._options.imageTimeout){var qn=Ae._options.imageTimeout;Jr.timeout=qn,Jr.ontimeout=function(){return Lr("Timed out ("+qn+"ms) proxying "+it)}}Jr.send()})},pt}(),Ks=/^data:image\/svg\+xml/i,Fs=/^data:image\/.*;base64,/i,Ms=/^data:image\/.*/i,_s=function(oe){return Es.SUPPORT_SVG_DRAWING||!Xs(oe)},Vs=function(oe){return Ms.test(oe)},Cu=function(oe){return Fs.test(oe)},Rl=function(oe){return oe.substr(0,4)==="blob"},Xs=function(oe){return oe.substr(-3).toLowerCase()==="svg"||Ks.test(oe)},ol;(function(pt){pt[pt.VECTOR=0]="VECTOR",pt[pt.BEZIER_CURVE=1]="BEZIER_CURVE"})(ol||(ol={}));var Bs=function(oe,Ae){return oe.length===Ae.length?oe.some(function(_e,it){return _e===Ae[it]}):!1},ec=function(oe,Ae,_e,it,Wt){return oe.map(function(Lr,jr){switch(jr){case 0:return Lr.add(Ae,_e);case 1:return Lr.add(Ae+it,_e);case 2:return Lr.add(Ae+it,_e+Wt);case 3:return Lr.add(Ae,_e+Wt)}return Lr})},ca=function(){function pt(oe,Ae){this.type=ol.VECTOR,this.x=oe,this.y=Ae}return pt.prototype.add=function(oe,Ae){return new pt(this.x+oe,this.y+Ae)},pt}(),vl=function(oe,Ae,_e){return new ca(oe.x+(Ae.x-oe.x)*_e,oe.y+(Ae.y-oe.y)*_e)},Ml=function(){function pt(oe,Ae,_e,it){this.type=ol.BEZIER_CURVE,this.start=oe,this.startControl=Ae,this.endControl=_e,this.end=it}return pt.prototype.subdivide=function(oe,Ae){var _e=vl(this.start,this.startControl,oe),it=vl(this.startControl,this.endControl,oe),Wt=vl(this.endControl,this.end,oe),Lr=vl(_e,it,oe),jr=vl(it,Wt,oe),Jr=vl(Lr,jr,oe);return Ae?new pt(this.start,_e,Lr,Jr):new pt(Jr,jr,Wt,this.end)},pt.prototype.add=function(oe,Ae){return new pt(this.start.add(oe,Ae),this.startControl.add(oe,Ae),this.endControl.add(oe,Ae),this.end.add(oe,Ae))},pt.prototype.reverse=function(){return new pt(this.end,this.endControl,this.startControl,this.start)},pt}(),Ss=function(oe){return oe.type===ol.BEZIER_CURVE},Tu=function(){function pt(oe){var Ae=oe.styles,_e=oe.bounds,it=xn(Ae.borderTopLeftRadius,_e.width,_e.height),Wt=it[0],Lr=it[1],jr=xn(Ae.borderTopRightRadius,_e.width,_e.height),Jr=jr[0],gn=jr[1],qn=xn(Ae.borderBottomRightRadius,_e.width,_e.height),Gn=qn[0],ei=qn[1],qi=xn(Ae.borderBottomLeftRadius,_e.width,_e.height),$i=qi[0],da=qi[1],fo=[];fo.push((Wt+Jr)/_e.width),fo.push(($i+Gn)/_e.width),fo.push((Lr+da)/_e.height),fo.push((gn+ei)/_e.height);var za=Math.max.apply(Math,fo);za>1&&(Wt/=za,Lr/=za,Jr/=za,gn/=za,Gn/=za,ei/=za,$i/=za,da/=za);var ka=_e.width-Jr,zo=_e.height-ei,Jo=_e.width-Gn,Uo=_e.height-da,Ma=Ae.borderTopWidth,cs=Ae.borderRightWidth,fs=Ae.borderBottomWidth,jo=Ae.borderLeftWidth,yl=kn(Ae.paddingTop,oe.bounds.width),Fl=kn(Ae.paddingRight,oe.bounds.width),bl=kn(Ae.paddingBottom,oe.bounds.width),Gs=kn(Ae.paddingLeft,oe.bounds.width);this.topLeftBorderDoubleOuterBox=Wt>0||Lr>0?Ns(_e.left+jo/3,_e.top+Ma/3,Wt-jo/3,Lr-Ma/3,ls.TOP_LEFT):new ca(_e.left+jo/3,_e.top+Ma/3),this.topRightBorderDoubleOuterBox=Wt>0||Lr>0?Ns(_e.left+ka,_e.top+Ma/3,Jr-cs/3,gn-Ma/3,ls.TOP_RIGHT):new ca(_e.left+_e.width-cs/3,_e.top+Ma/3),this.bottomRightBorderDoubleOuterBox=Gn>0||ei>0?Ns(_e.left+Jo,_e.top+zo,Gn-cs/3,ei-fs/3,ls.BOTTOM_RIGHT):new ca(_e.left+_e.width-cs/3,_e.top+_e.height-fs/3),this.bottomLeftBorderDoubleOuterBox=$i>0||da>0?Ns(_e.left+jo/3,_e.top+Uo,$i-jo/3,da-fs/3,ls.BOTTOM_LEFT):new ca(_e.left+jo/3,_e.top+_e.height-fs/3),this.topLeftBorderDoubleInnerBox=Wt>0||Lr>0?Ns(_e.left+jo*2/3,_e.top+Ma*2/3,Wt-jo*2/3,Lr-Ma*2/3,ls.TOP_LEFT):new ca(_e.left+jo*2/3,_e.top+Ma*2/3),this.topRightBorderDoubleInnerBox=Wt>0||Lr>0?Ns(_e.left+ka,_e.top+Ma*2/3,Jr-cs*2/3,gn-Ma*2/3,ls.TOP_RIGHT):new ca(_e.left+_e.width-cs*2/3,_e.top+Ma*2/3),this.bottomRightBorderDoubleInnerBox=Gn>0||ei>0?Ns(_e.left+Jo,_e.top+zo,Gn-cs*2/3,ei-fs*2/3,ls.BOTTOM_RIGHT):new ca(_e.left+_e.width-cs*2/3,_e.top+_e.height-fs*2/3),this.bottomLeftBorderDoubleInnerBox=$i>0||da>0?Ns(_e.left+jo*2/3,_e.top+Uo,$i-jo*2/3,da-fs*2/3,ls.BOTTOM_LEFT):new ca(_e.left+jo*2/3,_e.top+_e.height-fs*2/3),this.topLeftBorderStroke=Wt>0||Lr>0?Ns(_e.left+jo/2,_e.top+Ma/2,Wt-jo/2,Lr-Ma/2,ls.TOP_LEFT):new ca(_e.left+jo/2,_e.top+Ma/2),this.topRightBorderStroke=Wt>0||Lr>0?Ns(_e.left+ka,_e.top+Ma/2,Jr-cs/2,gn-Ma/2,ls.TOP_RIGHT):new ca(_e.left+_e.width-cs/2,_e.top+Ma/2),this.bottomRightBorderStroke=Gn>0||ei>0?Ns(_e.left+Jo,_e.top+zo,Gn-cs/2,ei-fs/2,ls.BOTTOM_RIGHT):new ca(_e.left+_e.width-cs/2,_e.top+_e.height-fs/2),this.bottomLeftBorderStroke=$i>0||da>0?Ns(_e.left+jo/2,_e.top+Uo,$i-jo/2,da-fs/2,ls.BOTTOM_LEFT):new ca(_e.left+jo/2,_e.top+_e.height-fs/2),this.topLeftBorderBox=Wt>0||Lr>0?Ns(_e.left,_e.top,Wt,Lr,ls.TOP_LEFT):new ca(_e.left,_e.top),this.topRightBorderBox=Jr>0||gn>0?Ns(_e.left+ka,_e.top,Jr,gn,ls.TOP_RIGHT):new ca(_e.left+_e.width,_e.top),this.bottomRightBorderBox=Gn>0||ei>0?Ns(_e.left+Jo,_e.top+zo,Gn,ei,ls.BOTTOM_RIGHT):new ca(_e.left+_e.width,_e.top+_e.height),this.bottomLeftBorderBox=$i>0||da>0?Ns(_e.left,_e.top+Uo,$i,da,ls.BOTTOM_LEFT):new ca(_e.left,_e.top+_e.height),this.topLeftPaddingBox=Wt>0||Lr>0?Ns(_e.left+jo,_e.top+Ma,Math.max(0,Wt-jo),Math.max(0,Lr-Ma),ls.TOP_LEFT):new ca(_e.left+jo,_e.top+Ma),this.topRightPaddingBox=Jr>0||gn>0?Ns(_e.left+Math.min(ka,_e.width-cs),_e.top+Ma,ka>_e.width+cs?0:Math.max(0,Jr-cs),Math.max(0,gn-Ma),ls.TOP_RIGHT):new ca(_e.left+_e.width-cs,_e.top+Ma),this.bottomRightPaddingBox=Gn>0||ei>0?Ns(_e.left+Math.min(Jo,_e.width-jo),_e.top+Math.min(zo,_e.height-fs),Math.max(0,Gn-cs),Math.max(0,ei-fs),ls.BOTTOM_RIGHT):new ca(_e.left+_e.width-cs,_e.top+_e.height-fs),this.bottomLeftPaddingBox=$i>0||da>0?Ns(_e.left+jo,_e.top+Math.min(Uo,_e.height-fs),Math.max(0,$i-jo),Math.max(0,da-fs),ls.BOTTOM_LEFT):new ca(_e.left+jo,_e.top+_e.height-fs),this.topLeftContentBox=Wt>0||Lr>0?Ns(_e.left+jo+Gs,_e.top+Ma+yl,Math.max(0,Wt-(jo+Gs)),Math.max(0,Lr-(Ma+yl)),ls.TOP_LEFT):new ca(_e.left+jo+Gs,_e.top+Ma+yl),this.topRightContentBox=Jr>0||gn>0?Ns(_e.left+Math.min(ka,_e.width+jo+Gs),_e.top+Ma+yl,ka>_e.width+jo+Gs?0:Jr-jo+Gs,gn-(Ma+yl),ls.TOP_RIGHT):new ca(_e.left+_e.width-(cs+Fl),_e.top+Ma+yl),this.bottomRightContentBox=Gn>0||ei>0?Ns(_e.left+Math.min(Jo,_e.width-(jo+Gs)),_e.top+Math.min(zo,_e.height+Ma+yl),Math.max(0,Gn-(cs+Fl)),ei-(fs+bl),ls.BOTTOM_RIGHT):new ca(_e.left+_e.width-(cs+Fl),_e.top+_e.height-(fs+bl)),this.bottomLeftContentBox=$i>0||da>0?Ns(_e.left+jo+Gs,_e.top+Uo,Math.max(0,$i-(jo+Gs)),da-(fs+bl),ls.BOTTOM_LEFT):new ca(_e.left+jo+Gs,_e.top+_e.height-(fs+bl))}return pt}(),ls;(function(pt){pt[pt.TOP_LEFT=0]="TOP_LEFT",pt[pt.TOP_RIGHT=1]="TOP_RIGHT",pt[pt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",pt[pt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ls||(ls={}));var Ns=function(oe,Ae,_e,it,Wt){var Lr=4*((Math.sqrt(2)-1)/3),jr=_e*Lr,Jr=it*Lr,gn=oe+_e,qn=Ae+it;switch(Wt){case ls.TOP_LEFT:return new Ml(new ca(oe,qn),new ca(oe,qn-Jr),new ca(gn-jr,Ae),new ca(gn,Ae));case ls.TOP_RIGHT:return new Ml(new ca(oe,Ae),new ca(oe+jr,Ae),new ca(gn,qn-Jr),new ca(gn,qn));case ls.BOTTOM_RIGHT:return new Ml(new ca(gn,Ae),new ca(gn,Ae+Jr),new ca(oe+jr,qn),new ca(oe,qn));case ls.BOTTOM_LEFT:default:return new Ml(new ca(gn,qn),new ca(gn-jr,qn),new ca(oe,Ae+Jr),new ca(oe,Ae))}},rc=function(oe){return[oe.topLeftBorderBox,oe.topRightBorderBox,oe.bottomRightBorderBox,oe.bottomLeftBorderBox]},Ac=function(oe){return[oe.topLeftContentBox,oe.topRightContentBox,oe.bottomRightContentBox,oe.bottomLeftContentBox]},nc=function(oe){return[oe.topLeftPaddingBox,oe.topRightPaddingBox,oe.bottomRightPaddingBox,oe.bottomLeftPaddingBox]},vc=function(){function pt(oe,Ae,_e){this.offsetX=oe,this.offsetY=Ae,this.matrix=_e,this.type=0,this.target=2|4}return pt}(),ic=function(){function pt(oe,Ae){this.path=oe,this.target=Ae,this.type=1}return pt}(),yc=function(){function pt(oe){this.opacity=oe,this.type=2,this.target=2|4}return pt}(),bc=function(oe){return oe.type===0},uc=function(oe){return oe.type===1},wc=function(oe){return oe.type===2},cc=function(){function pt(oe){this.element=oe,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return pt}(),dc=function(){function pt(oe,Ae){if(this.container=oe,this.parent=Ae,this.effects=[],this.curves=new Tu(this.container),this.container.styles.opacity<1&&this.effects.push(new yc(this.container.styles.opacity)),this.container.styles.transform!==null){var _e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,it=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Wt=this.container.styles.transform;this.effects.push(new vc(_e,it,Wt))}if(this.container.styles.overflowX!==Yo.VISIBLE){var Lr=rc(this.curves),jr=nc(this.curves);Bs(Lr,jr)?this.effects.push(new ic(Lr,2|4)):(this.effects.push(new ic(Lr,2)),this.effects.push(new ic(jr,4)))}}return pt.prototype.getEffects=function(oe){for(var Ae=[Oo.ABSOLUTE,Oo.FIXED].indexOf(this.container.styles.position)===-1,_e=this.parent,it=this.effects.slice(0);_e;){var Wt=_e.effects.filter(function(Jr){return!uc(Jr)});if(Ae||_e.container.styles.position!==Oo.STATIC||!_e.parent){if(it.unshift.apply(it,Wt),Ae=[Oo.ABSOLUTE,Oo.FIXED].indexOf(_e.container.styles.position)===-1,_e.container.styles.overflowX!==Yo.VISIBLE){var Lr=rc(_e.curves),jr=nc(_e.curves);Bs(Lr,jr)||it.unshift(new ic(jr,2|4))}}else it.unshift.apply(it,Wt);_e=_e.parent}return it.filter(function(Jr){return Na(Jr.target,oe)})},pt}(),Sc=function pt(oe,Ae,_e,it){oe.container.elements.forEach(function(Wt){var Lr=Na(Wt.flags,4),jr=Na(Wt.flags,2),Jr=new dc(Wt,oe);Na(Wt.styles.display,2048)&&it.push(Jr);var gn=Na(Wt.flags,8)?[]:it;if(Lr||jr){var qn=Lr||Wt.styles.isPositioned()?_e:Ae,Gn=new cc(Jr);if(Wt.styles.isPositioned()||Wt.styles.opacity<1||Wt.styles.isTransformed()){var ei=Wt.styles.zIndex.order;if(ei<0){var qi=0;qn.negativeZIndex.some(function(da,fo){return ei>da.element.container.styles.zIndex.order?(qi=fo,!1):qi>0}),qn.negativeZIndex.splice(qi,0,Gn)}else if(ei>0){var $i=0;qn.positiveZIndex.some(function(da,fo){return ei>=da.element.container.styles.zIndex.order?($i=fo+1,!1):$i>0}),qn.positiveZIndex.splice($i,0,Gn)}else qn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Gn)}else Wt.styles.isFloating()?qn.nonPositionedFloats.push(Gn):qn.nonPositionedInlineLevel.push(Gn);pt(Jr,Gn,Lr?Gn:_e,gn)}else Wt.styles.isInlineLevel()?Ae.inlineLevel.push(Jr):Ae.nonInlineLevel.push(Jr),pt(Jr,Ae,_e,gn);Na(Wt.flags,8)&&hc(Wt,gn)})},hc=function(oe,Ae){for(var _e=oe instanceof cu?oe.start:1,it=oe instanceof cu?oe.reversed:!1,Wt=0;Wt<Ae.length;Wt++){var Lr=Ae[Wt];Lr.container instanceof Ku&&typeof Lr.container.value=="number"&&Lr.container.value!==0&&(_e=Lr.container.value),Lr.listValue=rr(_e,Lr.container.styles.listStyleType,!0),_e+=it?-1:1}},xc=function(oe){var Ae=new dc(oe,null),_e=new cc(Ae),it=[];return Sc(Ae,_e,_e,it),hc(Ae.container,it),_e},fc=function(oe,Ae){switch(Ae){case 0:return kl(oe.topLeftBorderBox,oe.topLeftPaddingBox,oe.topRightBorderBox,oe.topRightPaddingBox);case 1:return kl(oe.topRightBorderBox,oe.topRightPaddingBox,oe.bottomRightBorderBox,oe.bottomRightPaddingBox);case 2:return kl(oe.bottomRightBorderBox,oe.bottomRightPaddingBox,oe.bottomLeftBorderBox,oe.bottomLeftPaddingBox);case 3:default:return kl(oe.bottomLeftBorderBox,oe.bottomLeftPaddingBox,oe.topLeftBorderBox,oe.topLeftPaddingBox)}},Ec=function(oe,Ae){switch(Ae){case 0:return kl(oe.topLeftBorderBox,oe.topLeftBorderDoubleOuterBox,oe.topRightBorderBox,oe.topRightBorderDoubleOuterBox);case 1:return kl(oe.topRightBorderBox,oe.topRightBorderDoubleOuterBox,oe.bottomRightBorderBox,oe.bottomRightBorderDoubleOuterBox);case 2:return kl(oe.bottomRightBorderBox,oe.bottomRightBorderDoubleOuterBox,oe.bottomLeftBorderBox,oe.bottomLeftBorderDoubleOuterBox);case 3:default:return kl(oe.bottomLeftBorderBox,oe.bottomLeftBorderDoubleOuterBox,oe.topLeftBorderBox,oe.topLeftBorderDoubleOuterBox)}},Cc=function(oe,Ae){switch(Ae){case 0:return kl(oe.topLeftBorderDoubleInnerBox,oe.topLeftPaddingBox,oe.topRightBorderDoubleInnerBox,oe.topRightPaddingBox);case 1:return kl(oe.topRightBorderDoubleInnerBox,oe.topRightPaddingBox,oe.bottomRightBorderDoubleInnerBox,oe.bottomRightPaddingBox);case 2:return kl(oe.bottomRightBorderDoubleInnerBox,oe.bottomRightPaddingBox,oe.bottomLeftBorderDoubleInnerBox,oe.bottomLeftPaddingBox);case 3:default:return kl(oe.bottomLeftBorderDoubleInnerBox,oe.bottomLeftPaddingBox,oe.topLeftBorderDoubleInnerBox,oe.topLeftPaddingBox)}},Tc=function(oe,Ae){switch(Ae){case 0:return ac(oe.topLeftBorderStroke,oe.topRightBorderStroke);case 1:return ac(oe.topRightBorderStroke,oe.bottomRightBorderStroke);case 2:return ac(oe.bottomRightBorderStroke,oe.bottomLeftBorderStroke);case 3:default:return ac(oe.bottomLeftBorderStroke,oe.topLeftBorderStroke)}},ac=function(oe,Ae){var _e=[];return Ss(oe)?_e.push(oe.subdivide(.5,!1)):_e.push(oe),Ss(Ae)?_e.push(Ae.subdivide(.5,!0)):_e.push(Ae),_e},kl=function(oe,Ae,_e,it){var Wt=[];return Ss(oe)?Wt.push(oe.subdivide(.5,!1)):Wt.push(oe),Ss(_e)?Wt.push(_e.subdivide(.5,!0)):Wt.push(_e),Ss(it)?Wt.push(it.subdivide(.5,!0).reverse()):Wt.push(it),Ss(Ae)?Wt.push(Ae.subdivide(.5,!1).reverse()):Wt.push(Ae),Wt},pc=function(oe){var Ae=oe.bounds,_e=oe.styles;return Ae.add(_e.borderLeftWidth,_e.borderTopWidth,-(_e.borderRightWidth+_e.borderLeftWidth),-(_e.borderTopWidth+_e.borderBottomWidth))},oc=function(oe){var Ae=oe.styles,_e=oe.bounds,it=kn(Ae.paddingLeft,_e.width),Wt=kn(Ae.paddingRight,_e.width),Lr=kn(Ae.paddingTop,_e.width),jr=kn(Ae.paddingBottom,_e.width);return _e.add(it+Ae.borderLeftWidth,Lr+Ae.borderTopWidth,-(Ae.borderRightWidth+Ae.borderLeftWidth+it+Wt),-(Ae.borderTopWidth+Ae.borderBottomWidth+Lr+jr))},Oc=function(oe,Ae){return oe===0?Ae.bounds:oe===2?oc(Ae):pc(Ae)},_c=function(oe,Ae){return oe===ha.BORDER_BOX?Ae.bounds:oe===ha.CONTENT_BOX?oc(Ae):pc(Ae)},lc=function(oe,Ae,_e){var it=Oc(Xu(oe.styles.backgroundOrigin,Ae),oe),Wt=_c(Xu(oe.styles.backgroundClip,Ae),oe),Lr=Lc(Xu(oe.styles.backgroundSize,Ae),_e,it),jr=Lr[0],Jr=Lr[1],gn=xn(Xu(oe.styles.backgroundPosition,Ae),it.width-jr,it.height-Jr),qn=Ic(Xu(oe.styles.backgroundRepeat,Ae),gn,Lr,it,Wt),Gn=Math.round(it.left+gn[0]),ei=Math.round(it.top+gn[1]);return[qn,Gn,ei,jr,Jr]},Vu=function(oe){return an(oe)&&oe.value===Un.AUTO},sc=function(oe){return typeof oe=="number"},Lc=function(oe,Ae,_e){var it=Ae[0],Wt=Ae[1],Lr=Ae[2],jr=oe[0],Jr=oe[1];if(!jr)return[0,0];if(gt(jr)&&Jr&>(Jr))return[kn(jr,_e.width),kn(Jr,_e.height)];var gn=sc(Lr);if(an(jr)&&(jr.value===Un.CONTAIN||jr.value===Un.COVER)){if(sc(Lr)){var qn=_e.width/_e.height;return qn<Lr!==(jr.value===Un.COVER)?[_e.width,_e.width/Lr]:[_e.height*Lr,_e.height]}return[_e.width,_e.height]}var Gn=sc(it),ei=sc(Wt),qi=Gn||ei;if(Vu(jr)&&(!Jr||Vu(Jr))){if(Gn&&ei)return[it,Wt];if(!gn&&!qi)return[_e.width,_e.height];if(qi&&gn){var $i=Gn?it:Wt*Lr,da=ei?Wt:it/Lr;return[$i,da]}var fo=Gn?it:_e.width,za=ei?Wt:_e.height;return[fo,za]}if(gn){var ka=0,zo=0;return gt(jr)?ka=kn(jr,_e.width):gt(Jr)&&(zo=kn(Jr,_e.height)),Vu(jr)?ka=zo*Lr:(!Jr||Vu(Jr))&&(zo=ka/Lr),[ka,zo]}var Jo=null,Uo=null;if(gt(jr)?Jo=kn(jr,_e.width):Jr&>(Jr)&&(Uo=kn(Jr,_e.height)),Jo!==null&&(!Jr||Vu(Jr))&&(Uo=Gn&&ei?Jo/it*Wt:_e.height),Uo!==null&&Vu(jr)&&(Jo=Gn&&ei?Uo/Wt*it:_e.width),Jo!==null&&Uo!==null)return[Jo,Uo];throw new Error("Unable to calculate background-size for element")},Xu=function(oe,Ae){var _e=oe[Ae];return typeof _e=="undefined"?oe[0]:_e},Ic=function(oe,Ae,_e,it,Wt){var Lr=Ae[0],jr=Ae[1],Jr=_e[0],gn=_e[1];switch(oe){case Tn.REPEAT_X:return[new ca(Math.round(it.left),Math.round(it.top+jr)),new ca(Math.round(it.left+it.width),Math.round(it.top+jr)),new ca(Math.round(it.left+it.width),Math.round(gn+it.top+jr)),new ca(Math.round(it.left),Math.round(gn+it.top+jr))];case Tn.REPEAT_Y:return[new ca(Math.round(it.left+Lr),Math.round(it.top)),new ca(Math.round(it.left+Lr+Jr),Math.round(it.top)),new ca(Math.round(it.left+Lr+Jr),Math.round(it.height+it.top)),new ca(Math.round(it.left+Lr),Math.round(it.height+it.top))];case Tn.NO_REPEAT:return[new ca(Math.round(it.left+Lr),Math.round(it.top+jr)),new ca(Math.round(it.left+Lr+Jr),Math.round(it.top+jr)),new ca(Math.round(it.left+Lr+Jr),Math.round(it.top+jr+gn)),new ca(Math.round(it.left+Lr),Math.round(it.top+jr+gn))];default:return[new ca(Math.round(Wt.left),Math.round(Wt.top)),new ca(Math.round(Wt.left+Wt.width),Math.round(Wt.top)),new ca(Math.round(Wt.left+Wt.width),Math.round(Wt.height+Wt.top)),new ca(Math.round(Wt.left),Math.round(Wt.height+Wt.top))]}},Nc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",mc="Hidden Text",Dc=function(){function pt(oe){this._data={},this._document=oe}return pt.prototype.parseMetrics=function(oe,Ae){var _e=this._document.createElement("div"),it=this._document.createElement("img"),Wt=this._document.createElement("span"),Lr=this._document.body;_e.style.visibility="hidden",_e.style.fontFamily=oe,_e.style.fontSize=Ae,_e.style.margin="0",_e.style.padding="0",Lr.appendChild(_e),it.src=Nc,it.width=1,it.height=1,it.style.margin="0",it.style.padding="0",it.style.verticalAlign="baseline",Wt.style.fontFamily=oe,Wt.style.fontSize=Ae,Wt.style.margin="0",Wt.style.padding="0",Wt.appendChild(this._document.createTextNode(mc)),_e.appendChild(Wt),_e.appendChild(it);var jr=it.offsetTop-Wt.offsetTop+2;_e.removeChild(Wt),_e.appendChild(this._document.createTextNode(mc)),_e.style.lineHeight="normal",it.style.verticalAlign="super";var Jr=it.offsetTop-_e.offsetTop+2;return Lr.removeChild(_e),{baseline:jr,middle:Jr}},pt.prototype.getMetrics=function(oe,Ae){var _e=oe+" "+Ae;return typeof this._data[_e]=="undefined"&&(this._data[_e]=this.parseMetrics(oe,Ae)),this._data[_e]},pt}(),gc=function(){function pt(oe,Ae){this.context=oe,this.options=Ae}return pt}(),Rc=1e4,Mc=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it._activeEffects=[],it.canvas=_e.canvas?_e.canvas:document.createElement("canvas"),it.ctx=it.canvas.getContext("2d"),_e.canvas||(it.canvas.width=Math.floor(_e.width*_e.scale),it.canvas.height=Math.floor(_e.height*_e.scale),it.canvas.style.width=_e.width+"px",it.canvas.style.height=_e.height+"px"),it.fontMetrics=new Dc(document),it.ctx.scale(it.options.scale,it.options.scale),it.ctx.translate(-_e.x,-_e.y),it.ctx.textBaseline="bottom",it._activeEffects=[],it.context.logger.debug("Canvas renderer initialized ("+_e.width+"x"+_e.height+") with scale "+_e.scale),it}return oe.prototype.applyEffects=function(Ae){for(var _e=this;this._activeEffects.length;)this.popEffect();Ae.forEach(function(it){return _e.applyEffect(it)})},oe.prototype.applyEffect=function(Ae){this.ctx.save(),wc(Ae)&&(this.ctx.globalAlpha=Ae.opacity),bc(Ae)&&(this.ctx.translate(Ae.offsetX,Ae.offsetY),this.ctx.transform(Ae.matrix[0],Ae.matrix[1],Ae.matrix[2],Ae.matrix[3],Ae.matrix[4],Ae.matrix[5]),this.ctx.translate(-Ae.offsetX,-Ae.offsetY)),uc(Ae)&&(this.path(Ae.path),this.ctx.clip()),this._activeEffects.push(Ae)},oe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},oe.prototype.renderStack=function(Ae){return m(this,void 0,void 0,function(){var _e;return g(this,function(it){switch(it.label){case 0:return _e=Ae.element.container.styles,_e.isVisible()?[4,this.renderStackContent(Ae)]:[3,2];case 1:it.sent(),it.label=2;case 2:return[2]}})})},oe.prototype.renderNode=function(Ae){return m(this,void 0,void 0,function(){return g(this,function(_e){switch(_e.label){case 0:if(Na(Ae.container.flags,16))debugger;return Ae.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ae)]:[3,3];case 1:return _e.sent(),[4,this.renderNodeContent(Ae)];case 2:_e.sent(),_e.label=3;case 3:return[2]}})})},oe.prototype.renderTextWithLetterSpacing=function(Ae,_e,it){var Wt=this;if(_e===0)this.ctx.fillText(Ae.text,Ae.bounds.left,Ae.bounds.top+it);else{var Lr=pl(Ae.text);Lr.reduce(function(jr,Jr){return Wt.ctx.fillText(Jr,jr,Ae.bounds.top+it),jr+Wt.ctx.measureText(Jr).width},Ae.bounds.left)}},oe.prototype.createFontStyle=function(Ae){var _e=Ae.fontVariant.filter(function(Lr){return Lr==="normal"||Lr==="small-caps"}).join(""),it=Ae.fontFamily.join(", "),Wt=Dr(Ae.fontSize)?""+Ae.fontSize.number+Ae.fontSize.unit:Ae.fontSize.number+"px";return[[Ae.fontStyle,_e,Ae.fontWeight,Wt,it].join(" "),it,Wt]},oe.prototype.renderTextNode=function(Ae,_e){return m(this,void 0,void 0,function(){var it,Wt,Lr,jr,Jr,gn,qn,Gn,ei=this;return g(this,function(qi){return it=this.createFontStyle(_e),Wt=it[0],Lr=it[1],jr=it[2],this.ctx.font=Wt,this.ctx.direction=_e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Jr=this.fontMetrics.getMetrics(Lr,jr),gn=Jr.baseline,qn=Jr.middle,Gn=_e.paintOrder,Ae.textBounds.forEach(function($i){Gn.forEach(function(da){switch(da){case Mo.FILL:ei.ctx.fillStyle=di(_e.color),ei.renderTextWithLetterSpacing($i,_e.letterSpacing,gn);var fo=_e.textShadow;fo.length&&$i.text.trim().length&&(fo.slice(0).reverse().forEach(function(za){ei.ctx.shadowColor=di(za.color),ei.ctx.shadowOffsetX=za.offsetX.number*ei.options.scale,ei.ctx.shadowOffsetY=za.offsetY.number*ei.options.scale,ei.ctx.shadowBlur=za.blur.number,ei.renderTextWithLetterSpacing($i,_e.letterSpacing,gn)}),ei.ctx.shadowColor="",ei.ctx.shadowOffsetX=0,ei.ctx.shadowOffsetY=0,ei.ctx.shadowBlur=0),_e.textDecorationLine.length&&(ei.ctx.fillStyle=di(_e.textDecorationColor||_e.color),_e.textDecorationLine.forEach(function(za){switch(za){case 1:ei.ctx.fillRect($i.bounds.left,Math.round($i.bounds.top+gn),$i.bounds.width,1);break;case 2:ei.ctx.fillRect($i.bounds.left,Math.round($i.bounds.top),$i.bounds.width,1);break;case 3:ei.ctx.fillRect($i.bounds.left,Math.ceil($i.bounds.top+qn),$i.bounds.width,1);break}}));break;case Mo.STROKE:_e.webkitTextStrokeWidth&&$i.text.trim().length&&(ei.ctx.strokeStyle=di(_e.webkitTextStrokeColor),ei.ctx.lineWidth=_e.webkitTextStrokeWidth,ei.ctx.lineJoin=window.chrome?"miter":"round",ei.ctx.strokeText($i.text,$i.bounds.left,$i.bounds.top+gn)),ei.ctx.strokeStyle="",ei.ctx.lineWidth=0,ei.ctx.lineJoin="miter";break}})}),[2]})})},oe.prototype.renderReplacedElement=function(Ae,_e,it){if(it&&Ae.intrinsicWidth>0&&Ae.intrinsicHeight>0){var Wt=oc(Ae),Lr=nc(_e);this.path(Lr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(it,0,0,Ae.intrinsicWidth,Ae.intrinsicHeight,Wt.left,Wt.top,Wt.width,Wt.height),this.ctx.restore()}},oe.prototype.renderNodeContent=function(Ae){return m(this,void 0,void 0,function(){var _e,it,Wt,Lr,jr,Jr,gn,gn,qn,Gn,ei,qi,$i,da,fo,za,ka,zo,Jo,gn,Uo,$i,za;return g(this,function(Ma){switch(Ma.label){case 0:this.applyEffects(Ae.getEffects(4)),_e=Ae.container,it=Ae.curves,Wt=_e.styles,Lr=0,jr=_e.textNodes,Ma.label=1;case 1:return Lr<jr.length?(Jr=jr[Lr],[4,this.renderTextNode(Jr,Wt)]):[3,4];case 2:Ma.sent(),Ma.label=3;case 3:return Lr++,[3,1];case 4:if(!(_e instanceof Al))return[3,8];Ma.label=5;case 5:return Ma.trys.push([5,7,,8]),[4,this.context.cache.match(_e.src)];case 6:return gn=Ma.sent(),this.renderReplacedElement(_e,it,gn),[3,8];case 7:return Ma.sent(),this.context.logger.error("Error loading image "+_e.src),[3,8];case 8:if(_e instanceof Ls&&this.renderReplacedElement(_e,it,_e.canvas),!(_e instanceof Zl))return[3,12];Ma.label=9;case 9:return Ma.trys.push([9,11,,12]),[4,this.context.cache.match(_e.svg)];case 10:return gn=Ma.sent(),this.renderReplacedElement(_e,it,gn),[3,12];case 11:return Ma.sent(),this.context.logger.error("Error loading svg "+_e.svg.substring(0,255)),[3,12];case 12:return _e instanceof Fu&&_e.tree?(qn=new oe(this.context,{scale:this.options.scale,backgroundColor:_e.backgroundColor,x:0,y:0,width:_e.width,height:_e.height}),[4,qn.render(_e.tree)]):[3,14];case 13:Gn=Ma.sent(),_e.width&&_e.height&&this.ctx.drawImage(Gn,0,0,_e.width,_e.height,_e.bounds.left,_e.bounds.top,_e.bounds.width,_e.bounds.height),Ma.label=14;case 14:if(_e instanceof du&&(ei=Math.min(_e.bounds.width,_e.bounds.height),_e.type===ql?_e.checked&&(this.ctx.save(),this.path([new ca(_e.bounds.left+ei*.39363,_e.bounds.top+ei*.79),new ca(_e.bounds.left+ei*.16,_e.bounds.top+ei*.5549),new ca(_e.bounds.left+ei*.27347,_e.bounds.top+ei*.44071),new ca(_e.bounds.left+ei*.39694,_e.bounds.top+ei*.5649),new ca(_e.bounds.left+ei*.72983,_e.bounds.top+ei*.23),new ca(_e.bounds.left+ei*.84,_e.bounds.top+ei*.34085),new ca(_e.bounds.left+ei*.39363,_e.bounds.top+ei*.79)]),this.ctx.fillStyle=di(Ru),this.ctx.fill(),this.ctx.restore()):_e.type===xu&&(_e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(_e.bounds.left+ei/2,_e.bounds.top+ei/2,ei/4,0,Math.PI*2,!0),this.ctx.fillStyle=di(Ru),this.ctx.fill(),this.ctx.restore()))),kc(_e)&&_e.value.length){qi=this.createFontStyle(Wt),$i=qi[0],da=qi[1],fo=this.fontMetrics.getMetrics($i,da).baseline,this.ctx.font=$i,this.ctx.fillStyle=di(Wt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Bc(_e.styles.textAlign),za=oc(_e),ka=0;switch(_e.styles.textAlign){case Ho.CENTER:ka+=za.width/2;break;case Ho.RIGHT:ka+=za.width;break}zo=za.add(ka,0,0,-za.height/2+1),this.ctx.save(),this.path([new ca(za.left,za.top),new ca(za.left+za.width,za.top),new ca(za.left+za.width,za.top+za.height),new ca(za.left,za.top+za.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Wl(_e.value,zo),Wt.letterSpacing,fo),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Na(_e.styles.display,2048))return[3,20];if(!(_e.styles.listStyleImage!==null))return[3,19];if(Jo=_e.styles.listStyleImage,!(Jo.type===qt.URL))return[3,18];gn=void 0,Uo=Jo.url,Ma.label=15;case 15:return Ma.trys.push([15,17,,18]),[4,this.context.cache.match(Uo)];case 16:return gn=Ma.sent(),this.ctx.drawImage(gn,_e.bounds.left-(gn.width+10),_e.bounds.top),[3,18];case 17:return Ma.sent(),this.context.logger.error("Error loading list-style-image "+Uo),[3,18];case 18:return[3,20];case 19:Ae.listValue&&_e.styles.listStyleType!==hi.NONE&&($i=this.createFontStyle(Wt)[0],this.ctx.font=$i,this.ctx.fillStyle=di(Wt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",za=new c(_e.bounds.left,_e.bounds.top+kn(_e.styles.paddingTop,_e.bounds.width),_e.bounds.width,$o(Wt.lineHeight,Wt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Wl(Ae.listValue,za),Wt.letterSpacing,$o(Wt.lineHeight,Wt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ma.label=20;case 20:return[2]}})})},oe.prototype.renderStackContent=function(Ae){return m(this,void 0,void 0,function(){var _e,it,Wt,Lr,jr,Wt,Jr,gn,Wt,qn,Gn,Wt,ei,qi,Wt,$i,da,Wt,fo,za,Wt;return g(this,function(ka){switch(ka.label){case 0:if(Na(Ae.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ae.element)];case 1:ka.sent(),_e=0,it=Ae.negativeZIndex,ka.label=2;case 2:return _e<it.length?(Wt=it[_e],[4,this.renderStack(Wt)]):[3,5];case 3:ka.sent(),ka.label=4;case 4:return _e++,[3,2];case 5:return[4,this.renderNodeContent(Ae.element)];case 6:ka.sent(),Lr=0,jr=Ae.nonInlineLevel,ka.label=7;case 7:return Lr<jr.length?(Wt=jr[Lr],[4,this.renderNode(Wt)]):[3,10];case 8:ka.sent(),ka.label=9;case 9:return Lr++,[3,7];case 10:Jr=0,gn=Ae.nonPositionedFloats,ka.label=11;case 11:return Jr<gn.length?(Wt=gn[Jr],[4,this.renderStack(Wt)]):[3,14];case 12:ka.sent(),ka.label=13;case 13:return Jr++,[3,11];case 14:qn=0,Gn=Ae.nonPositionedInlineLevel,ka.label=15;case 15:return qn<Gn.length?(Wt=Gn[qn],[4,this.renderStack(Wt)]):[3,18];case 16:ka.sent(),ka.label=17;case 17:return qn++,[3,15];case 18:ei=0,qi=Ae.inlineLevel,ka.label=19;case 19:return ei<qi.length?(Wt=qi[ei],[4,this.renderNode(Wt)]):[3,22];case 20:ka.sent(),ka.label=21;case 21:return ei++,[3,19];case 22:$i=0,da=Ae.zeroOrAutoZIndexOrTransformedOrOpacity,ka.label=23;case 23:return $i<da.length?(Wt=da[$i],[4,this.renderStack(Wt)]):[3,26];case 24:ka.sent(),ka.label=25;case 25:return $i++,[3,23];case 26:fo=0,za=Ae.positiveZIndex,ka.label=27;case 27:return fo<za.length?(Wt=za[fo],[4,this.renderStack(Wt)]):[3,30];case 28:ka.sent(),ka.label=29;case 29:return fo++,[3,27];case 30:return[2]}})})},oe.prototype.mask=function(Ae){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(Ae.slice(0).reverse()),this.ctx.closePath()},oe.prototype.path=function(Ae){this.ctx.beginPath(),this.formatPath(Ae),this.ctx.closePath()},oe.prototype.formatPath=function(Ae){var _e=this;Ae.forEach(function(it,Wt){var Lr=Ss(it)?it.start:it;Wt===0?_e.ctx.moveTo(Lr.x,Lr.y):_e.ctx.lineTo(Lr.x,Lr.y),Ss(it)&&_e.ctx.bezierCurveTo(it.startControl.x,it.startControl.y,it.endControl.x,it.endControl.y,it.end.x,it.end.y)})},oe.prototype.renderRepeat=function(Ae,_e,it,Wt){this.path(Ae),this.ctx.fillStyle=_e,this.ctx.translate(it,Wt),this.ctx.fill(),this.ctx.translate(-it,-Wt)},oe.prototype.resizeImage=function(Ae,_e,it){var Wt;if(Ae.width===_e&&Ae.height===it)return Ae;var Lr=(Wt=this.canvas.ownerDocument)!==null&&Wt!==void 0?Wt:document,jr=Lr.createElement("canvas");jr.width=Math.max(1,_e),jr.height=Math.max(1,it);var Jr=jr.getContext("2d");return Jr.drawImage(Ae,0,0,Ae.width,Ae.height,0,0,_e,it),jr},oe.prototype.renderBackgroundImage=function(Ae){return m(this,void 0,void 0,function(){var _e,it,Wt,Lr,jr,Jr;return g(this,function(gn){switch(gn.label){case 0:_e=Ae.styles.backgroundImage.length-1,it=function(Gn){var ei,qi,$i,da,fo,za,ka,zo,Jo,Uo,da,fo,za,ka,zo,Ma,cs,fs,jo,yl,Fl,bl,Gs,Bu,Jo,tu,da,Ou,_u,ka,zo,Lu,fo,za,Pu,ru,Iu,Uu,ju,hu,Hu,fu;return g(this,function(Gu){switch(Gu.label){case 0:if(!(Gn.type===qt.URL))return[3,5];ei=void 0,qi=Gn.url,Gu.label=1;case 1:return Gu.trys.push([1,3,,4]),[4,Wt.context.cache.match(qi)];case 2:return ei=Gu.sent(),[3,4];case 3:return Gu.sent(),Wt.context.logger.error("Error loading background-image "+qi),[3,4];case 4:return ei&&($i=lc(Ae,_e,[ei.width,ei.height,ei.width/ei.height]),da=$i[0],fo=$i[1],za=$i[2],ka=$i[3],zo=$i[4],Jo=Wt.ctx.createPattern(Wt.resizeImage(ei,ka,zo),"repeat"),Wt.renderRepeat(da,Jo,fo,za)),[3,6];case 5:pr(Gn)?(Uo=lc(Ae,_e,[null,null,null]),da=Uo[0],fo=Uo[1],za=Uo[2],ka=Uo[3],zo=Uo[4],Ma=qa(Gn.angle,ka,zo),cs=Ma[0],fs=Ma[1],jo=Ma[2],yl=Ma[3],Fl=Ma[4],bl=document.createElement("canvas"),bl.width=ka,bl.height=zo,Gs=bl.getContext("2d"),Bu=Gs.createLinearGradient(fs,yl,jo,Fl),pa(Gn.stops,cs).forEach(function(tc){return Bu.addColorStop(tc.stop,di(tc.color))}),Gs.fillStyle=Bu,Gs.fillRect(0,0,ka,zo),ka>0&&zo>0&&(Jo=Wt.ctx.createPattern(bl,"repeat"),Wt.renderRepeat(da,Jo,fo,za))):ur(Gn)&&(tu=lc(Ae,_e,[null,null,null]),da=tu[0],Ou=tu[1],_u=tu[2],ka=tu[3],zo=tu[4],Lu=Gn.position.length===0?[Zr]:Gn.position,fo=kn(Lu[0],ka),za=kn(Lu[Lu.length-1],zo),Pu=Ya(Gn,fo,za,ka,zo),ru=Pu[0],Iu=Pu[1],ru>0&&Iu>0&&(Uu=Wt.ctx.createRadialGradient(Ou+fo,_u+za,0,Ou+fo,_u+za,ru),pa(Gn.stops,ru*2).forEach(function(tc){return Uu.addColorStop(tc.stop,di(tc.color))}),Wt.path(da),Wt.ctx.fillStyle=Uu,ru!==Iu?(ju=Ae.bounds.left+.5*Ae.bounds.width,hu=Ae.bounds.top+.5*Ae.bounds.height,Hu=Iu/ru,fu=1/Hu,Wt.ctx.save(),Wt.ctx.translate(ju,hu),Wt.ctx.transform(1,0,0,Hu,0,0),Wt.ctx.translate(-ju,-hu),Wt.ctx.fillRect(Ou,fu*(_u-hu)+hu,ka,zo*fu),Wt.ctx.restore()):Wt.ctx.fill())),Gu.label=6;case 6:return _e--,[2]}})},Wt=this,Lr=0,jr=Ae.styles.backgroundImage.slice(0).reverse(),gn.label=1;case 1:return Lr<jr.length?(Jr=jr[Lr],[5,it(Jr)]):[3,4];case 2:gn.sent(),gn.label=3;case 3:return Lr++,[3,1];case 4:return[2]}})})},oe.prototype.renderSolidBorder=function(Ae,_e,it){return m(this,void 0,void 0,function(){return g(this,function(Wt){return this.path(fc(it,_e)),this.ctx.fillStyle=di(Ae),this.ctx.fill(),[2]})})},oe.prototype.renderDoubleBorder=function(Ae,_e,it,Wt){return m(this,void 0,void 0,function(){var Lr,jr;return g(this,function(Jr){switch(Jr.label){case 0:return _e<3?[4,this.renderSolidBorder(Ae,it,Wt)]:[3,2];case 1:return Jr.sent(),[2];case 2:return Lr=Ec(Wt,it),this.path(Lr),this.ctx.fillStyle=di(Ae),this.ctx.fill(),jr=Cc(Wt,it),this.path(jr),this.ctx.fill(),[2]}})})},oe.prototype.renderNodeBackgroundAndBorders=function(Ae){return m(this,void 0,void 0,function(){var _e,it,Wt,Lr,jr,Jr,gn,qn,Gn=this;return g(this,function(ei){switch(ei.label){case 0:return this.applyEffects(Ae.getEffects(2)),_e=Ae.container.styles,it=!Ei(_e.backgroundColor)||_e.backgroundImage.length,Wt=[{style:_e.borderTopStyle,color:_e.borderTopColor,width:_e.borderTopWidth},{style:_e.borderRightStyle,color:_e.borderRightColor,width:_e.borderRightWidth},{style:_e.borderBottomStyle,color:_e.borderBottomColor,width:_e.borderBottomWidth},{style:_e.borderLeftStyle,color:_e.borderLeftColor,width:_e.borderLeftWidth}],Lr=Fc(Xu(_e.backgroundClip,0),Ae.curves),it||_e.boxShadow.length?(this.ctx.save(),this.path(Lr),this.ctx.clip(),Ei(_e.backgroundColor)||(this.ctx.fillStyle=di(_e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ae.container)]):[3,2];case 1:ei.sent(),this.ctx.restore(),_e.boxShadow.slice(0).reverse().forEach(function(qi){Gn.ctx.save();var $i=rc(Ae.curves),da=qi.inset?0:Rc,fo=ec($i,-da+(qi.inset?1:-1)*qi.spread.number,(qi.inset?1:-1)*qi.spread.number,qi.spread.number*(qi.inset?-2:2),qi.spread.number*(qi.inset?-2:2));qi.inset?(Gn.path($i),Gn.ctx.clip(),Gn.mask(fo)):(Gn.mask($i),Gn.ctx.clip(),Gn.path(fo)),Gn.ctx.shadowOffsetX=qi.offsetX.number+da,Gn.ctx.shadowOffsetY=qi.offsetY.number,Gn.ctx.shadowColor=di(qi.color),Gn.ctx.shadowBlur=qi.blur.number,Gn.ctx.fillStyle=qi.inset?di(qi.color):"rgba(0,0,0,1)",Gn.ctx.fill(),Gn.ctx.restore()}),ei.label=2;case 2:jr=0,Jr=0,gn=Wt,ei.label=3;case 3:return Jr<gn.length?(qn=gn[Jr],qn.style!==yi.NONE&&!Ei(qn.color)&&qn.width>0?qn.style===yi.DASHED?[4,this.renderDashedDottedBorder(qn.color,qn.width,jr,Ae.curves,yi.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return ei.sent(),[3,11];case 5:return qn.style===yi.DOTTED?[4,this.renderDashedDottedBorder(qn.color,qn.width,jr,Ae.curves,yi.DOTTED)]:[3,7];case 6:return ei.sent(),[3,11];case 7:return qn.style===yi.DOUBLE?[4,this.renderDoubleBorder(qn.color,qn.width,jr,Ae.curves)]:[3,9];case 8:return ei.sent(),[3,11];case 9:return[4,this.renderSolidBorder(qn.color,jr,Ae.curves)];case 10:ei.sent(),ei.label=11;case 11:jr++,ei.label=12;case 12:return Jr++,[3,3];case 13:return[2]}})})},oe.prototype.renderDashedDottedBorder=function(Ae,_e,it,Wt,Lr){return m(this,void 0,void 0,function(){var jr,Jr,gn,qn,Gn,ei,qi,$i,da,fo,za,ka,zo,Jo,Uo,Ma,Uo,Ma;return g(this,function(cs){return this.ctx.save(),jr=Tc(Wt,it),Jr=fc(Wt,it),Lr===yi.DASHED&&(this.path(Jr),this.ctx.clip()),Ss(Jr[0])?(gn=Jr[0].start.x,qn=Jr[0].start.y):(gn=Jr[0].x,qn=Jr[0].y),Ss(Jr[1])?(Gn=Jr[1].end.x,ei=Jr[1].end.y):(Gn=Jr[1].x,ei=Jr[1].y),it===0||it===2?qi=Math.abs(gn-Gn):qi=Math.abs(qn-ei),this.ctx.beginPath(),Lr===yi.DOTTED?this.formatPath(jr):this.formatPath(Jr.slice(0,2)),$i=_e<3?_e*3:_e*2,da=_e<3?_e*2:_e,Lr===yi.DOTTED&&($i=_e,da=_e),fo=!0,qi<=$i*2?fo=!1:qi<=$i*2+da?(za=qi/(2*$i+da),$i*=za,da*=za):(ka=Math.floor((qi+da)/($i+da)),zo=(qi-ka*$i)/(ka-1),Jo=(qi-(ka+1)*$i)/ka,da=Jo<=0||Math.abs(da-zo)<Math.abs(da-Jo)?zo:Jo),fo&&(Lr===yi.DOTTED?this.ctx.setLineDash([0,$i+da]):this.ctx.setLineDash([$i,da])),Lr===yi.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=_e):this.ctx.lineWidth=_e*2+1.1,this.ctx.strokeStyle=di(Ae),this.ctx.stroke(),this.ctx.setLineDash([]),Lr===yi.DASHED&&(Ss(Jr[0])&&(Uo=Jr[3],Ma=Jr[0],this.ctx.beginPath(),this.formatPath([new ca(Uo.end.x,Uo.end.y),new ca(Ma.start.x,Ma.start.y)]),this.ctx.stroke()),Ss(Jr[1])&&(Uo=Jr[1],Ma=Jr[2],this.ctx.beginPath(),this.formatPath([new ca(Uo.end.x,Uo.end.y),new ca(Ma.start.x,Ma.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},oe.prototype.render=function(Ae){return m(this,void 0,void 0,function(){var _e;return g(this,function(it){switch(it.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=di(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),_e=xc(Ae),[4,this.renderStack(_e)];case 1:return it.sent(),this.applyEffects([]),[2,this.canvas]}})})},oe}(gc),kc=function(oe){return oe instanceof ku||oe instanceof Mu?!0:oe instanceof du&&oe.type!==xu&&oe.type!==ql},Fc=function(oe,Ae){switch(oe){case ha.BORDER_BOX:return rc(Ae);case ha.CONTENT_BOX:return Ac(Ae);case ha.PADDING_BOX:default:return nc(Ae)}},Bc=function(oe){switch(oe){case Ho.CENTER:return"center";case Ho.RIGHT:return"right";case Ho.LEFT:default:return"left"}},Pc=function(pt){f(oe,pt);function oe(Ae,_e){var it=pt.call(this,Ae,_e)||this;return it.canvas=_e.canvas?_e.canvas:document.createElement("canvas"),it.ctx=it.canvas.getContext("2d"),it.options=_e,it.canvas.width=Math.floor(_e.width*_e.scale),it.canvas.height=Math.floor(_e.height*_e.scale),it.canvas.style.width=_e.width+"px",it.canvas.style.height=_e.height+"px",it.ctx.scale(it.options.scale,it.options.scale),it.ctx.translate(-_e.x,-_e.y),it.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+_e.width+"x"+_e.height+" at "+_e.x+","+_e.y+") with scale "+_e.scale),it}return oe.prototype.render=function(Ae){return m(this,void 0,void 0,function(){var _e,it;return g(this,function(Wt){switch(Wt.label){case 0:return _e=Dl(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ae),[4,Uc(_e)];case 1:return it=Wt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=di(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(it,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},oe}(gc),Uc=function(oe){return new Promise(function(Ae,_e){var it=new Image;it.onload=function(){Ae(it)},it.onerror=_e,it.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(oe))})},jc=function(){function pt(oe){var Ae=oe.id,_e=oe.enabled;this.id=Ae,this.enabled=_e,this.start=Date.now()}return pt.prototype.debug=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,p([this.id,this.getTime()+"ms"],oe)):this.info.apply(this,oe))},pt.prototype.getTime=function(){return Date.now()-this.start},pt.prototype.info=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,p([this.id,this.getTime()+"ms"],oe)))},pt.prototype.warn=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,p([this.id,this.getTime()+"ms"],oe)):this.info.apply(this,oe))},pt.prototype.error=function(){for(var oe=[],Ae=0;Ae<arguments.length;Ae++)oe[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,p([this.id,this.getTime()+"ms"],oe)):this.info.apply(this,oe))},pt.instances={},pt}(),Hc=function(){function pt(oe,Ae){var _e;this.windowBounds=Ae,this.instanceName="#"+pt.instanceCount++,this.logger=new jc({id:this.instanceName,enabled:oe.logging}),this.cache=(_e=oe.cache)!==null&&_e!==void 0?_e:new rl(this,oe)}return pt.instanceCount=1,pt}(),Kc=function(oe,Ae){return Ae===void 0&&(Ae={}),Wc(oe,Ae)};typeof window!="undefined"&&Is.setContext(window);var Wc=function(oe,Ae){return m(void 0,void 0,void 0,function(){var _e,it,Wt,Lr,jr,Jr,gn,qn,Gn,ei,qi,$i,da,fo,za,ka,zo,Jo,Uo,Ma,cs,fs,cs,jo,yl,Fl,bl,Gs,Bu,tu,Ou,_u,Lu,Pu,ru,Iu,Uu,ju,hu,Hu;return g(this,function(fu){switch(fu.label){case 0:if(!oe||typeof oe!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(_e=oe.ownerDocument,!_e)throw new Error("Element is not attached to a Document");if(it=_e.defaultView,!it)throw new Error("Document is not attached to a Window");return Wt={allowTaint:(jo=Ae.allowTaint)!==null&&jo!==void 0?jo:!1,imageTimeout:(yl=Ae.imageTimeout)!==null&&yl!==void 0?yl:15e3,proxy:Ae.proxy,useCORS:(Fl=Ae.useCORS)!==null&&Fl!==void 0?Fl:!1},Lr=x({logging:(bl=Ae.logging)!==null&&bl!==void 0?bl:!0,cache:Ae.cache},Wt),jr={windowWidth:(Gs=Ae.windowWidth)!==null&&Gs!==void 0?Gs:it.innerWidth,windowHeight:(Bu=Ae.windowHeight)!==null&&Bu!==void 0?Bu:it.innerHeight,scrollX:(tu=Ae.scrollX)!==null&&tu!==void 0?tu:it.pageXOffset,scrollY:(Ou=Ae.scrollY)!==null&&Ou!==void 0?Ou:it.pageYOffset},Jr=new c(jr.scrollX,jr.scrollY,jr.windowWidth,jr.windowHeight),gn=new Hc(Lr,Jr),qn=(_u=Ae.foreignObjectRendering)!==null&&_u!==void 0?_u:!1,Gn={allowTaint:(Lu=Ae.allowTaint)!==null&&Lu!==void 0?Lu:!1,onclone:Ae.onclone,ignoreElements:Ae.ignoreElements,inlineImages:qn,copyStyles:qn},gn.logger.debug("Starting document clone with size "+Jr.width+"x"+Jr.height+" scrolled to "+-Jr.left+","+-Jr.top),ei=new Sn(gn,oe,Gn),qi=ei.clonedReferenceElement,qi?[4,ei.toIFrame(_e,Jr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return $i=fu.sent(),da=Nr(qi)||or(qi)?a(qi.ownerDocument):s(gn,qi),fo=da.width,za=da.height,ka=da.left,zo=da.top,Jo=zc(gn,qi,Ae.backgroundColor),Uo={canvas:Ae.canvas,backgroundColor:Jo,scale:(ru=(Pu=Ae.scale)!==null&&Pu!==void 0?Pu:it.devicePixelRatio)!==null&&ru!==void 0?ru:1,x:((Iu=Ae.x)!==null&&Iu!==void 0?Iu:0)+ka,y:((Uu=Ae.y)!==null&&Uu!==void 0?Uu:0)+zo,width:(ju=Ae.width)!==null&&ju!==void 0?ju:Math.ceil(fo),height:(hu=Ae.height)!==null&&hu!==void 0?hu:Math.ceil(za)},qn?(gn.logger.debug("Document cloned, using foreign object rendering"),cs=new Pc(gn,Uo),[4,cs.render(qi)]):[3,3];case 2:return Ma=fu.sent(),[3,5];case 3:return gn.logger.debug("Document cloned, element located at "+ka+","+zo+" with size "+fo+"x"+za+" using computed rendering"),gn.logger.debug("Starting DOM parsing"),fs=zu(gn,qi),Jo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Aa.TRANSPARENT),gn.logger.debug("Starting renderer for element at "+Uo.x+","+Uo.y+" with size "+Uo.width+"x"+Uo.height),cs=new Mc(gn,Uo),[4,cs.render(fs)];case 4:Ma=fu.sent(),fu.label=5;case 5:return((Hu=Ae.removeContainer)!==null&&Hu!==void 0?Hu:!0)&&(Sn.destroy($i)||gn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),gn.logger.debug("Finished rendering"),[2,Ma]}})})},zc=function(oe,Ae,_e){var it=Ae.ownerDocument,Wt=it.documentElement?ga(oe,getComputedStyle(it.documentElement).backgroundColor):Aa.TRANSPARENT,Lr=it.body?ga(oe,getComputedStyle(it.body).backgroundColor):Aa.TRANSPARENT,jr=typeof _e=="string"?ga(oe,_e):_e===null?Aa.TRANSPARENT:4294967295;return Ae===it.documentElement?Ei(Wt)?Ei(Lr)?jr:Lr:Wt:jr};return Kc})},wPhX:function(R,N,e){"use strict";e.d(N,"b",function(){return n}),e.d(N,"a",function(){return i}),e.d(N,"k",function(){return d}),e.d(N,"h",function(){return t}),e.d(N,"i",function(){return l}),e.d(N,"g",function(){return r}),e.d(N,"c",function(){return o}),e.d(N,"d",function(){return u}),e.d(N,"j",function(){return b}),e.d(N,"e",function(){return E}),e.d(N,"f",function(){return v});var A=e("KQm4"),f=e("U8pU"),x=e("Ff2n"),m=e("q1tI"),g=e.n(m),p=e("Kwbf"),c=e("lr6o"),s=.25,a=2;function n(w,O){var T=w.slice(),S=T.indexOf(O);return S>=0&&T.splice(S,1),T}function i(w,O){var T=w.slice();return T.indexOf(O)===-1&&T.push(O),T}function d(w){return w.split("-")}function t(w,O){return"".concat(w,"-").concat(O)}function l(w){return w&&w.type&&w.type.isTreeNode}function r(w,O){var T=[w],S=O[w];function C(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_.forEach(function(I){var k=I.key,F=I.children;T.push(k),C(F)})}return C(S.children),T}function o(w,O){var T=w.clientY,S=O.selectHandle.getBoundingClientRect(),C=S.top,_=S.bottom,I=S.height,k=Math.max(I*s,a);return T<=C+k?-1:T>=_-k?1:0}function u(w,O){if(!w)return;var T=O.multiple;return T?w.slice():w.length?[w[0]]:w}var h=function(O){return O};function y(w,O){if(!w)return[];var T=O||{},S=T.processProps,C=S===void 0?h:S,_=Array.isArray(w)?w:[w];return _.map(function(I){var k=I.children,F=Object(x.a)(I,["children"]),B=y(k,O);return g.a.createElement(c.a,Object.assign({},C(F)),B)})}function b(w){if(!w)return null;var O;if(Array.isArray(w))O={checkedKeys:w,halfCheckedKeys:void 0};else if(Object(f.a)(w)==="object")O={checkedKeys:w.checked||void 0,halfCheckedKeys:w.halfChecked||void 0};else return Object(p.a)(!1,"`checkedKeys` is not an array or an object"),null;return O}function E(w,O){var T=new Set;function S(C){if(T.has(C))return;var _=O[C];if(!_)return;T.add(C);var I=_.parent,k=_.node;if(k.disabled)return;I&&S(I.key)}return(w||[]).forEach(function(C){S(C)}),Object(A.a)(T)}function v(w){var O={};return Object.keys(w).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(O[T]=w[T])}),O}},wXyp:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("ygfH")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="CheckOutlined";var s=m.forwardRef(c);N.default=s},wYyv:function(R,N,e){"use strict";var A=e("R5yR"),f=e("5wUe"),x=function(p,c,s){var a=c<0?p.length+c:c;if(a>=0&&a<p.length){var n=s<0?p.length+s:s,i=p.splice(c,1),d=f(i,1),t=d[0];p.splice(n,0,t)}},m=function(p,c,s){return p=A(p),x(p,c,s),p};R.exports=m,R.exports.mutate=x},wgjA:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},whVF:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=e("lNSK"),f=x(e("1q3G"));function x(s){return s&&s.__esModule?s:{default:s}}function m(s,a){if(!(s instanceof a))throw new TypeError("Cannot call a class as a function")}function g(s,a){for(var n=0;n<a.length;n++){var i=a[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(s,i.key,i)}}function p(s,a,n){return a&&g(s.prototype,a),n&&g(s,n),s}var c=function(){function s(){m(this,s),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,A.deflateInit)(this.strm,this.windowBits)}return p(s,[{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 i=(0,A.deflate)(this.strm,A.Z_FULL_FLUSH),d=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(i<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var t=[d],l=d.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,i=(0,A.deflate)(this.strm,A.Z_FULL_FLUSH),i<0)throw new Error("zlib deflate failed");var r=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=r.length,t.push(r)}while(this.strm.avail_in>0);for(var o=new Uint8Array(l),u=0,h=0;h<t.length;h++)o.set(t[h],u),u+=t[h].length;d=o}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,d}}]),s}();N.default=c},wlus:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="MinusCircleOutlined";var c=N.a=f.forwardRef(p)},wr5s:function(R,N,e){var A=e("IwbS"),f=A.extendShape,x=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,g){var p=g.cx,c=g.cy,s=Math.max(g.r0||0,0),a=Math.max(g.r,0),n=(a-s)*.5,i=s+n,d=g.startAngle,t=g.endAngle,l=g.clockwise,r=Math.cos(d),o=Math.sin(d),u=Math.cos(t),h=Math.sin(t),y=l?t-d<Math.PI*2:d-t<Math.PI*2;y&&(m.moveTo(r*s+p,o*s+c),m.arc(r*i+p,o*i+c,n,-Math.PI+d,d,!l)),m.arc(p,c,a,d,t,!l),m.moveTo(u*a+p,h*a+c),m.arc(u*i+p,h*i+c,n,t-Math.PI*2,t-Math.PI,!l),s!==0&&(m.arc(p,c,s,t,d,l),m.moveTo(r*s+p,h*s+c)),m.closePath()}});R.exports=x},wt3j:function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("/IIm"),m=e("EMyp"),g=m.layoutCovers,p=A.extendComponentView({type:"brush",init:function(s,a){this.ecModel=s,this.api=a,this.model,(this._brushController=new x(a.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(s){return this.model=s,c.apply(this,arguments)},updateTransform:function(s,a){return g(a),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(s,a){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(s,this.ecModel),(!a.isEnd||a.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:f.clone(s),$from:n}),a.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:f.clone(s),$from:n})}});function c(s,a,n,i){(!i||i.$from!==s.id)&&this._brushController.setPanels(s.brushTargetManager.makePanelOpts(n)).enableBrush(s.brushOption).updateCovers(s.areas.slice())}R.exports=p},wy8a:function(R,N,e){var A=e("KxBF");function f(x,m,g){var p=x.length;return g=g===void 0?p:g,!m&&g>=p?x:A(x,m,g)}R.exports=f},x1Ya:function(R,N,e){"use strict";var A=e("wx14"),f=e("rePB"),x=e("Ff2n"),m=e("VTBJ"),g=e("1OyB"),p=e("vuIU"),c=e("Ji7U"),s=e("LK+K"),a=e("q1tI"),n=e.n(a),i=e("TSYQ"),d=e.n(i),t=function(l){Object(c.a)(o,l);var r=Object(s.a)(o);function o(u){var h;Object(g.a)(this,o),h=r.call(this,u),h.handleChange=function(b){var E=h.props,v=E.disabled,w=E.onChange;if(v)return;"checked"in h.props||h.setState({checked:b.target.checked}),w&&w({target:Object(m.a)(Object(m.a)({},h.props),{},{checked:b.target.checked}),stopPropagation:function(){b.stopPropagation()},preventDefault:function(){b.preventDefault()},nativeEvent:b.nativeEvent})},h.saveInput=function(b){h.input=b};var y="checked"in u?u.checked:u.defaultChecked;return h.state={checked:y},h}return Object(p.a)(o,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var h,y=this.props,b=y.prefixCls,E=y.className,v=y.style,w=y.name,O=y.id,T=y.type,S=y.disabled,C=y.readOnly,_=y.tabIndex,I=y.onClick,k=y.onFocus,F=y.onBlur,B=y.onKeyDown,j=y.onKeyPress,z=y.onKeyUp,M=y.autoFocus,U=y.value,P=y.required,H=Object(x.a)(y,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),W=Object.keys(H).reduce(function($,ie){return(ie.substr(0,5)==="aria-"||ie.substr(0,5)==="data-"||ie==="role")&&($[ie]=H[ie]),$},{}),X=this.state.checked,K=d()(b,E,(h={},Object(f.a)(h,"".concat(b,"-checked"),X),Object(f.a)(h,"".concat(b,"-disabled"),S),h));return n.a.createElement("span",{className:K,style:v},n.a.createElement("input",Object(A.a)({name:w,id:O,type:T,required:P,readOnly:C,disabled:S,tabIndex:_,className:"".concat(b,"-input"),checked:!!X,onClick:I,onFocus:k,onBlur:F,onKeyUp:z,onKeyDown:B,onKeyPress:j,onChange:this.handleChange,autoFocus:M,ref:this.saveInput,value:U},W)),n.a.createElement("span",{className:"".concat(b,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(h,y){return"checked"in h?Object(m.a)(Object(m.a)({},y),{},{checked:h.checked}):null}}]),o}(a.Component);t.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},N.a=t},x3X8:function(R,N,e){var A=e("KxfA"),f=A.retrieveRawValue;function x(m,g){var p=m.mapDimension("defaultedLabel",!0),c=p.length;if(c===1)return f(m,g,p[0]);if(c){for(var s=[],a=0;a<p.length;a++){var n=f(m,g,p[a]);s.push(n)}return s.join(" ")}}N.getDefaultLabel=x},x54q:function(R,N,e){},x6Kt:function(R,N,e){var A=e("y+Vt"),f=e("VpOo"),x=e("nPnh"),m=x.subPixelOptimizeRect,g={},p=A.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(s,a){var n,i,d,t;this.subPixelOptimize?(m(g,a,this.style),n=g.x,i=g.y,d=g.width,t=g.height,g.r=a.r,a=g):(n=a.x,i=a.y,d=a.width,t=a.height),a.r?f.buildPath(s,a):s.rect(n,i,d,t),s.closePath();return}});R.exports=p},xGfz:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="PlusSquareOutlined";var c=N.a=f.forwardRef(p)},xKMd:function(R,N){function e(f,x){this.getAllNames=function(){var m=x();return m.mapArray(m.getName)},this.containName=function(m){var g=x();return g.indexOfName(m)>=0},this.indexOfName=function(m){var g=f();return g.indexOfName(m)},this.getItemVisual=function(m,g){var p=f();return p.getItemVisual(m,g)}}var A=e;R.exports=A},xO64:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A=f(e("8K/p"));function f(r){return r&&r.__esModule?r:{default:r}}function x(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(u){return typeof u}:x=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},x(r)}function m(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function g(r,o){for(var u=0;u<o.length;u++){var h=o[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}function p(r,o,u){return o&&g(r.prototype,o),u&&g(r,u),r}function c(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),o&&s(r,o)}function s(r,o){return s=Object.setPrototypeOf||function(h,y){return h.__proto__=y,h},s(r,o)}function a(r){var o=d();return function(){var h=t(r),y;if(o){var b=t(this).constructor;y=Reflect.construct(h,arguments,b)}else y=h.apply(this,arguments);return n(this,y)}}function n(r,o){return o&&(x(o)==="object"||typeof o=="function")?o:i(r)}function i(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function d(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(r){return!1}}function t(r){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},t(r)}var l=function(r){c(u,r);var o=a(u);function u(){return m(this,u),o.apply(this,arguments)}return p(u,[{key:"_pngRect",value:function(y,b,E,v,w,O,T){var S=this._readData(w);return S===null?!1:(O.imageRect(y,b,E,v,"image/png",S),!0)}},{key:"_basicRect",value:function(y,b,E,v,w,O,T,S){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(A.default);N.default=l},xRUu:function(R,N,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var A={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"};N.default=A},xSat:function(R,N){var e={axisPointer:1,tooltip:1,brush:1};function A(f,x,m){var g=x.getComponentByElement(f.topTarget),p=g&&g.coordinateSystem;return g&&g!==m&&!e[g.mainType]&&p&&p.model!==m}N.onIrrelevantElement=A},xTNl:function(R,N){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],A={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};R.exports=A},xb2K:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("5yev")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="RedoOutlined";var s=m.forwardRef(c);N.default=s},xiyX:function(R,N,e){var A=e("bYtY"),f=e("bLfw"),x=e("nkfE"),m=e("ICMv"),g=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),p={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(a,n){return n.type||(n.data?"category":"value")}A.merge(g.prototype,m),x("single",g,c,p);var s=g;R.exports=s},xlC8:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=A;function A(f,x,m,g){for(var p=f&65535|0,c=f>>>16&65535|0,s=0;m!==0;){s=m>2e3?2e3:m,m-=s;do p=p+x[g++]|0,c=c+p|0;while(--s);p%=65521,c%=65521}return p|c<<16|0}},xzDV:function(R,N,e){},"y+Vt":function(R,N,e){var A=e("Gev7"),f=e("bYtY"),x=e("IMiH"),m=e("2DNl"),g=e("3C/r"),p=g.prototype.getCanvasPattern,c=Math.abs,s=new x(!0);function a(i){A.call(this,i),this.path=null}a.prototype={constructor:a,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(d,t){var l=this.style,r=this.path||s,o=l.hasStroke(),u=l.hasFill(),h=l.fill,y=l.stroke,b=u&&!!h.colorStops,E=o&&!!y.colorStops,v=u&&!!h.image,w=o&&!!y.image;if(l.bind(d,this,t),this.setTransform(d),this.__dirty){var O;b&&(O=O||this.getBoundingRect(),this._fillGradient=l.getGradient(d,h,O)),E&&(O=O||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,y,O))}b?d.fillStyle=this._fillGradient:v&&(d.fillStyle=p.call(h,d)),E?d.strokeStyle=this._strokeGradient:w&&(d.strokeStyle=p.call(y,d));var T=l.lineDash,S=l.lineDashOffset,C=!!d.setLineDash,_=this.getGlobalScale();if(r.setScale(_[0],_[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!C&&o?(r.beginPath(d),T&&!C&&(r.setLineDash(T),r.setLineDashOffset(S)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),u)if(l.fillOpacity!=null){var I=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,r.fill(d),d.globalAlpha=I}else r.fill(d);if(T&&C&&(d.setLineDash(T),d.lineDashOffset=S),o)if(l.strokeOpacity!=null){var I=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,r.stroke(d),d.globalAlpha=I}else r.stroke(d);T&&C&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,t,l){},createPathProxy:function(){this.path=new x},getBoundingRect:function(){var d=this._rect,t=this.style,l=!d;if(l){var r=this.path;r||(r=this.path=new x),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),d=r.getBoundingRect()}if(this._rect=d,t.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=d.clone());if(this.__dirty||l){o.copy(d);var u=t.lineWidth,h=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),h>1e-10&&(o.width+=u/h,o.height+=u/h,o.x-=u/h/2,o.y-=u/h/2)}return o}return d},contain:function(d,t){var l=this.transformCoordToLocal(d,t),r=this.getBoundingRect(),o=this.style;if(d=l[0],t=l[1],r.contain(d,t)){var u=this.path.data;if(o.hasStroke()){var h=o.lineWidth,y=o.strokeNoScale?this.getLineScale():1;if(y>1e-10&&(o.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),m.containStroke(u,h/y,d,t)))return!0}if(o.hasFill())return m.contain(u,d,t)}return!1},dirty:function(d){d==null&&(d=!0),d&&(this.__dirtyPath=d,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(d){return this.animate("shape",d)},attrKV:function(d,t){d==="shape"?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):A.prototype.attrKV.call(this,d,t)},setShape:function(d,t){var l=this.shape;if(l){if(f.isObject(d))for(var r in d)d.hasOwnProperty(r)&&(l[r]=d[r]);else l[d]=t;this.dirty(!0)}return this},getLineScale:function(){var d=this.transform;return d&&c(d[0]-1)>1e-10&&c(d[3]-1)>1e-10?Math.sqrt(c(d[0]*d[3]-d[2]*d[1])):1}},a.extend=function(i){var d=function(r){a.call(this,r),i.style&&this.style.extendFrom(i.style,!1);var o=i.shape;if(o){this.shape=this.shape||{};var u=this.shape;for(var h in o)!u.hasOwnProperty(h)&&o.hasOwnProperty(h)&&(u[h]=o[h])}i.init&&i.init.call(this,r)};f.inherits(d,a);for(var t in i)t!=="style"&&t!=="shape"&&(d.prototype[t]=i[t]);return d},f.inherits(a,A);var n=a;R.exports=n},"y+lR":function(R,N,e){var A=e("bYtY"),f=e("mFDi"),x=e("z35g");function m(p){x.call(this,p)}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(p){var c=this.getAxis("x"),s=this.getAxis("y");return c.contain(c.toLocalCoord(p[0]))&&s.contain(s.toLocalCoord(p[1]))},containData:function(p){return this.getAxis("x").containData(p[0])&&this.getAxis("y").containData(p[1])},dataToPoint:function(p,c,s){var a=this.getAxis("x"),n=this.getAxis("y");return s=s||[],s[0]=a.toGlobalCoord(a.dataToCoord(p[0])),s[1]=n.toGlobalCoord(n.dataToCoord(p[1])),s},clampData:function(p,c){var s=this.getAxis("x").scale,a=this.getAxis("y").scale,n=s.getExtent(),i=a.getExtent(),d=s.parse(p[0]),t=a.parse(p[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(n[0],n[1]),d),Math.max(n[0],n[1])),c[1]=Math.min(Math.max(Math.min(i[0],i[1]),t),Math.max(i[0],i[1])),c},pointToData:function(p,c){var s=this.getAxis("x"),a=this.getAxis("y");return c=c||[],c[0]=s.coordToData(s.toLocalCoord(p[0])),c[1]=a.coordToData(a.toLocalCoord(p[1])),c},getOtherAxis:function(p){return this.getAxis(p.dim==="x"?"y":"x")},getArea:function(){var p=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),s=Math.min(p[0],p[1]),a=Math.min(c[0],c[1]),n=Math.max(p[0],p[1])-s,i=Math.max(c[0],c[1])-a,d=new f(s,a,n,i);return d}},A.inherits(m,x);var g=m;R.exports=g},"y0+3":function(R,N,e){"use strict";e.d(N,"a",function(){return i}),e.d(N,"b",function(){return t});var A=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},x={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function g(l,r,o){if(r=r.toLowerCase(),o==="auto"){if(r==="height")return l.offsetHeight;if(r==="width")return l.offsetWidth}return r in f||(f[r]=A.test(r)),f[r]?parseFloat(o)||0:o}function p(l,r){var o=arguments.length,u=m(l);return r=x[r]?"cssFloat"in l.style?"cssFloat":"styleFloat":r,o===1?u:g(l,r,u[r]||l.style[r])}function c(l,r,o){var u=arguments.length;if(r=x[r]?"cssFloat"in l.style?"cssFloat":"styleFloat":r,u===3)return typeof o=="number"&&A.test(r)&&(o="".concat(o,"px")),l.style[r]=o,o;for(var h in r)r.hasOwnProperty(h)&&c(l,h,r[h]);return m(l)}function s(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function a(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function n(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:r}}function i(){var l=document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:r}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function t(l){var r=l.getBoundingClientRect(),o=document.documentElement;return{left:r.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||document.body.clientLeft||0),top:r.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||document.body.clientTop||0)}}},y23F:function(R,N){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 g=m.target;g&&!g.draggable;)g=g.parent;g&&(this._draggingTarget=g,g.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(A(g,m),"dragstart",m.event))},_drag:function(m){var g=this._draggingTarget;if(g){var p=m.offsetX,c=m.offsetY,s=p-this._x,a=c-this._y;this._x=p,this._y=c,g.drift(s,a,m),this.dispatchToElement(A(g,m),"drag",m.event);var n=this.findHover(p,c,g).target,i=this._dropTarget;this._dropTarget=n,g!==n&&(i&&n!==i&&this.dispatchToElement(A(i,m),"dragleave",m.event),n&&n!==i&&this.dispatchToElement(A(n,m),"dragenter",m.event))}},_dragEnd:function(m){var g=this._draggingTarget;g&&(g.dragging=!1),this.dispatchToElement(A(g,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(A(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function A(x,m){return{target:x,topTarget:m&&m.topTarget}}var f=e;R.exports=f},y2l5:function(R,N,e){var A=e("MwEJ"),f=e("T4UG"),x=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,g){return A(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});R.exports=x},y3Kf:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="UpOutlined";var c=N.a=f.forwardRef(p)},y3NT:function(R,N,e){var A=e("OELB"),f=A.parsePercent,x=e("bYtY"),m=Math.PI/180;function g(s,a,n,i){a.eachSeriesByType(s,function(d){var t=d.get("center"),l=d.get("radius");x.isArray(l)||(l=[0,l]),x.isArray(t)||(t=[t,t]);var r=n.getWidth(),o=n.getHeight(),u=Math.min(r,o),h=f(t[0],r),y=f(t[1],o),b=f(l[0],u/2),E=f(l[1],u/2),v=-d.get("startAngle")*m,w=d.get("minAngle")*m,O=d.getData().tree.root,T=d.getViewRoot(),S=T.depth,C=d.get("sort");C!=null&&p(T,C);var _=0;x.each(T.children,function(K){!isNaN(K.getValue())&&_++});var I=T.getValue(),k=Math.PI/(I||_)*2,F=T.depth>0,B=T.height-(F?-1:1),j=(E-b)/(B||1),z=d.get("clockwise"),M=d.get("stillShowZeroSum"),U=z?1:-1,P=function(K,$){if(!K)return;var ie=$;if(K!==O){var be=K.getValue(),te=I===0&&M?k:be*k;te<w&&(te=w),ie=$+U*te;var Te=K.depth-S-(F?-1:1),Ie=b+j*Te,Fe=b+j*(Te+1),Qe=K.getModel();Qe.get("r0")!=null&&(Ie=f(Qe.get("r0"),u/2)),Qe.get("r")!=null&&(Fe=f(Qe.get("r"),u/2)),K.setLayout({angle:te,startAngle:$,endAngle:ie,clockwise:z,cx:h,cy:y,r0:Ie,r:Fe})}if(K.children&&K.children.length){var fe=0;x.each(K.children,function(He){fe+=P(He,$+fe)})}return ie-$};if(F){var H=b,W=b+j,X=Math.PI*2;O.setLayout({angle:X,startAngle:v,endAngle:v+X,clockwise:z,cx:h,cy:y,r0:H,r:W})}P(T,v)})}function p(s,a){var n=s.children||[];s.children=c(n,a),n.length&&x.each(s.children,function(i){p(i,a)})}function c(s,a){if(typeof a=="function")return s.sort(a);var n=a==="asc";return s.sort(function(i,d){var t=(i.getValue()-d.getValue())*(n?1:-1);return t===0?(i.dataIndex-d.dataIndex)*(n?-1:1):t})}R.exports=g},y3Yb:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("HBhm")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="PaperClipOutlined";var s=m.forwardRef(c);N.default=s},"y4/Y":function(R,N,e){var A=e("ProS"),f=e("bYtY"),x=e("zTMp"),m=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),A.registerPreprocessor(function(g){if(g){(!g.axisPointer||g.axisPointer.length===0)&&(g.axisPointer={});var p=g.axisPointer.link;p&&!f.isArray(p)&&(g.axisPointer.link=[p])}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,function(g,p){g.getComponent("axisPointer").coordSysAxesInfo=x.collect(g,p)}),A.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(R,N,e){var A=e("bYtY"),f=e("+TT/"),x=f.getLayoutRect;function m(p,c,s){var a=p.option,n=a.align;if(n!=null&&n!=="auto")return n;for(var i={width:c.getWidth(),height:c.getHeight()},d=a.orient==="horizontal"?1:0,t=[["left","right","width"],["top","bottom","height"]],l=t[d],r=[0,null,10],o={},u=0;u<3;u++)o[t[1-d][u]]=r[u],o[l[u]]=u===2?s[0]:a[l[u]];var h=[["x","width",3],["y","height",0]][d],y=x(o,i,a.padding);return l[(y.margin[h[2]]||0)+y[h[0]]+y[h[1]]*.5<i[h[1]]*.5?0:1]}function g(p,c){return A.each(p||[],function(s){s.dataIndex!=null&&(s.dataIndexInside=s.dataIndex,s.dataIndex=null),s.highlightKey="visualMap"+(c?c.componentIndex:"")}),p}N.getItemAlign=m,N.makeHighDownBatch=g},y8nQ:function(R,N,e){"use strict";var A=e("cIOH"),f=e.n(A),x=e("gwTy"),m=e.n(x),g=e("1GLa")},yEEn:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="ArrowDownOutlined";var c=N.a=f.forwardRef(p)},yO87:function(R,N,e){var A=e("bYtY"),f=e("oVpE"),x=f.createSymbol,m=e("IwbS"),g=m.Group,p=e("OELB"),c=p.parsePercent,s=e("FBjb"),a=3;function n(r){return A.isArray(r)||(r=[+r,+r]),r}function i(r,o){var u=o.rippleEffectColor||o.color;r.eachChild(function(h){h.attr({z:o.z,zlevel:o.zlevel,style:{stroke:o.brushType==="stroke"?u:null,fill:o.brushType==="fill"?u:null}})})}function d(r,o){g.call(this);var u=new s(r,o),h=new g;this.add(u),this.add(h),h.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(r,o)}var t=d.prototype;t.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.startEffectAnimation=function(r){for(var o=r.symbolType,u=r.color,h=this.childAt(1),y=0;y<a;y++){var b=x(o,-1,-1,2,2,u);b.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var E=-y/a*r.period+r.effectOffset;b.animate("",!0).when(r.period,{scale:[r.rippleScale/2,r.rippleScale/2]}).delay(E).start(),b.animateStyle(!0).when(r.period,{opacity:0}).delay(E).start(),h.add(b)}i(h,r)},t.updateEffectAnimation=function(r){for(var o=this._effectCfg,u=this.childAt(1),h=["symbolType","period","rippleScale"],y=0;y<h.length;y++){var b=h[y];if(o[b]!==r[b]){this.stopEffectAnimation(),this.startEffectAnimation(r);return}}i(u,r)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateData=function(r,o){var u=r.hostModel;this.childAt(0).updateData(r,o);var h=this.childAt(1),y=r.getItemModel(o),b=r.getItemVisual(o,"symbol"),E=n(r.getItemVisual(o,"symbolSize")),v=r.getItemVisual(o,"color");h.attr("scale",E),h.traverse(function(k){k.attr({fill:v})});var w=y.getShallow("symbolOffset");if(w){var O=h.position;O[0]=c(w[0],E[0]),O[1]=c(w[1],E[1])}var T=r.getItemVisual(o,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var S={};if(S.showEffectOn=u.get("showEffectOn"),S.rippleScale=y.get("rippleEffect.scale"),S.brushType=y.get("rippleEffect.brushType"),S.period=y.get("rippleEffect.period")*1e3,S.effectOffset=o/r.count(),S.z=y.getShallow("z")||0,S.zlevel=y.getShallow("zlevel")||0,S.symbolType=b,S.color=v,S.rippleEffectColor=y.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),S.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(S):this.startEffectAnimation(S),this._effectCfg=S;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),_=function(){C.highlight(),S.showEffectOn!=="render"&&this.startEffectAnimation(S)},I=function(){C.downplay(),S.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",_,this).on("mouseout",I,this).on("emphasis",_,this).on("normal",I,this)}this._effectCfg=S},t.fadeOut=function(r){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),r&&r()},A.inherits(d,g);var l=d;R.exports=l},yS9w:function(R,N,e){var A=e("MEGo"),f=A.parseSVG,x=A.makeViewBoxTransform,m=e("4fz+"),g=e("x6Kt"),p=e("bYtY"),c=p.assert,s=p.createHashMap,a=e("mFDi"),n=e("4NO4"),i=n.makeInner,d=i(),t={load:function(r,o){var u=d(o).originRoot;if(u)return{root:u,boundingRect:d(o).boundingRect};var h=l(o);return d(o).originRoot=h.root,d(o).boundingRect=h.boundingRect,h},makeGraphic:function(r,o,u){var h=d(o),y=h.rootMap||(h.rootMap=s()),b=y.get(u);if(b)return b;var E=h.originRoot,v=h.boundingRect;return h.originRootHostKey?b=l(o,v).root:(h.originRootHostKey=u,b=E),y.set(u,b)},removeGraphic:function(r,o,u){var h=d(o),y=h.rootMap;y&&y.removeKey(u),u===h.originRootHostKey&&(h.originRootHostKey=null)}};function l(r,o){var u=r.svgXML,h,y;try{h=u&&f(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},y=h.root,c(y!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var b=h.width,E=h.height,v=h.viewBoxRect;if(o||(o=b==null||E==null?y.getBoundingRect():new a(0,0,0,0),b!=null&&(o.width=b),E!=null&&(o.height=E)),v){var w=x(v,o.width,o.height),O=y;y=new m,y.add(O),O.scale=w.scale,O.position=w.position}return y.setClipPath(new g({shape:o.plain()})),{root:y,boundingRect:o}}R.exports=t},yWXo:function(R,N,e){var A=e("IwbS"),f=e("oVpE"),x=f.createSymbol,m=e("OS9S"),g=4,p=A.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(n,i){var d=i.points,t=i.size,l=this.symbolProxy,r=l.shape,o=n.getContext?n.getContext():n,u=o&&t[0]<g;if(u)return;for(var h=0;h<d.length;){var y=d[h++],b=d[h++];if(isNaN(y)||isNaN(b))continue;if(this.softClipShape&&!this.softClipShape.contain(y,b))continue;r.x=y-t[0]/2,r.y=b-t[1]/2,r.width=t[0],r.height=t[1],l.buildPath(n,r,!0)}},afterBrush:function(n){var i=this.shape,d=i.points,t=i.size,l=t[0]<g;if(!l)return;this.setTransform(n);for(var r=0;r<d.length;){var o=d[r++],u=d[r++];if(isNaN(o)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(o,u))continue;n.fillRect(o-t[0]/2,u-t[1]/2,t[0],t[1])}this.restoreTransform(n)},findDataIndex:function(n,i){for(var d=this.shape,t=d.points,l=d.size,r=Math.max(l[0],4),o=Math.max(l[1],4),u=t.length/2-1;u>=0;u--){var h=u*2,y=t[h]-r/2,b=t[h+1]-o/2;if(n>=y&&i>=b&&n<=y+r&&i<=b+o)return u}return-1}});function c(){this.group=new A.Group}var s=c.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(n,i){this.group.removeAll();var d=new p({rectHover:!0,cursor:"default"});d.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(d,n,!1,i),this.group.add(d),this._incremental=null},s.updateLayout=function(n){if(this._incremental)return;var i=n.getLayout("symbolPoints");this.group.eachChild(function(d){if(d.startIndex!=null){var t=(d.endIndex-d.startIndex)*2,l=d.startIndex*4*2;i=new Float32Array(i.buffer,l,t)}d.setShape("points",i)})},s.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},s.incrementalUpdate=function(n,i,d){var t;this._incremental?(t=new p,this._incremental.addDisplayable(t,!0)):(t=new p({rectHover:!0,cursor:"default",startIndex:n.start,endIndex:n.end}),t.incremental=!0,this.group.add(t)),t.setShape({points:i.getLayout("symbolPoints")}),this._setCommon(t,i,!!this._incremental,d)},s._setCommon=function(n,i,d,t){var l=i.hostModel;t=t||{};var r=i.getVisual("symbolSize");n.setShape("size",r instanceof Array?r:[r,r]),n.softClipShape=t.clipShape||null,n.symbolProxy=x(i.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var o=n.shape.size[0]<g;n.useStyle(l.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var u=i.getVisual("color");u&&n.setColor(u),d||(n.seriesIndex=l.seriesIndex,n.on("mousemove",function(h){n.dataIndex=null;var y=n.findDataIndex(h.offsetX,h.offsetY);y>=0&&(n.dataIndex=y+(n.startIndex||0))}))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var a=c;R.exports=a},ycre:function(R,N,e){var A=e("711d"),f=A("length");R.exports=f},ye1Q:function(R,N,e){"use strict";var A=e("VTBJ"),f=e("q1tI"),x={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"},m=x,g=e("6VBw"),p=function(a,n){return f.createElement(g.a,Object(A.a)(Object(A.a)({},a),{},{ref:n,icon:m}))};p.displayName="LoadingOutlined";var c=N.a=f.forwardRef(p)},ygfH:function(R,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var A={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"};N.default=A},yik8:function(R,N,e){var A=e("bZqE"),f=A.eachAfter,x=A.eachBefore,m=e("Itpr"),g=m.init,p=m.firstWalk,c=m.secondWalk,s=m.separation,a=m.radialCoordinate,n=m.getViewRect;function i(t,l){t.eachSeriesByType("tree",function(r){d(r,l)})}function d(t,l){var r=n(t,l);t.layoutInfo=r;var o=t.get("layout"),u=0,h=0,y=null;o==="radial"?(u=2*Math.PI,h=Math.min(r.height,r.width)/2,y=s(function(B,j){return(B.parentNode===j.parentNode?1:2)/B.depth})):(u=r.width,h=r.height,y=s());var b=t.getData().tree.root,E=b.children[0];if(E){g(b),f(E,p,y),b.hierNode.modifier=-E.hierNode.prelim,x(E,c);var v=E,w=E,O=E;x(E,function(B){var j=B.getLayout().x;j<v.getLayout().x&&(v=B),j>w.getLayout().x&&(w=B),B.depth>O.depth&&(O=B)});var T=v===w?1:y(v,w)/2,S=T-v.getLayout().x,C=0,_=0,I=0,k=0;if(o==="radial")C=u/(w.getLayout().x+T+S),_=h/(O.depth-1||1),x(E,function(B){I=(B.getLayout().x+S)*C,k=(B.depth-1)*_;var j=a(I,k);B.setLayout({x:j.x,y:j.y,rawX:I,rawY:k},!0)});else{var F=t.getOrient();F==="RL"||F==="LR"?(_=h/(w.getLayout().x+T+S),C=u/(O.depth-1||1),x(E,function(B){k=(B.getLayout().x+S)*_,I=F==="LR"?(B.depth-1)*C:u-(B.depth-1)*C,B.setLayout({x:I,y:k},!0)})):(F==="TB"||F==="BT")&&(C=u/(w.getLayout().x+T+S),_=h/(O.depth-1||1),x(E,function(B){I=(B.getLayout().x+S)*C,k=F==="TB"?(B.depth-1)*_:h-(B.depth-1)*_,B.setLayout({x:I,y:k},!0)}))}}}R.exports=i},ynwM:function(R,N,e){var A=e("MFOe"),f=A.Global;R.exports={name:"oldFF-globalStorage",read:m,write:g,each:p,remove:c,clearAll:s};var x=f.globalStorage;function m(a){return x[a]}function g(a,n){x[a]=n}function p(a){for(var n=x.length-1;n>=0;n--){var i=x.key(n);a(x[i],i)}}function c(a){return x.removeItem(a)}function s(){p(function(a,n){delete x[a]})}},ypgQ:function(R,N,e){var A=e("bYtY"),f=e("4NO4"),x=e("bLfw"),m=A.each,g=A.clone,p=A.map,c=A.merge,s=/^(min|max)?(.+)$/;function a(o){this._api=o,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}a.prototype={constructor:a,setOption:function(o,u){o&&A.each(f.normalizeToArray(o.series),function(b){b&&b.data&&A.isTypedArray(b.data)&&A.setAsPrimitive(b.data)}),o=g(o);var h=this._optionBackup,y=n.call(this,o,u,!h);this._newBaseOption=y.baseOption,h?(l(h.baseOption,y.baseOption),y.timelineOptions.length&&(h.timelineOptions=y.timelineOptions),y.mediaList.length&&(h.mediaList=y.mediaList),y.mediaDefault&&(h.mediaDefault=y.mediaDefault)):this._optionBackup=y},mountOption:function(o){var u=this._optionBackup;return this._timelineOptions=p(u.timelineOptions,g),this._mediaList=p(u.mediaList,g),this._mediaDefault=g(u.mediaDefault),this._currentMediaIndices=[],g(o?u.baseOption:this._newBaseOption)},getTimelineOption:function(o){var u,h=this._timelineOptions;if(h.length){var y=o.getComponent("timeline");y&&(u=g(h[y.getCurrentIndex()],!0))}return u},getMediaOption:function(o){var u=this._api.getWidth(),h=this._api.getHeight(),y=this._mediaList,b=this._mediaDefault,E=[],v=[];if(!y.length&&!b)return v;for(var w=0,O=y.length;w<O;w++)i(y[w].query,u,h)&&E.push(w);return!E.length&&b&&(E=[-1]),E.length&&!t(E,this._currentMediaIndices)&&(v=p(E,function(T){return g(T===-1?b.option:y[T].option)})),this._currentMediaIndices=E,v}};function n(o,u,h){var y=[],b=[],E,v,w=o.timeline;if(o.baseOption&&(v=o.baseOption),(w||o.options)&&(v=v||{},y=(o.options||[]).slice()),o.media){v=v||{};var O=o.media;m(O,function(T){T&&T.option&&(T.query?b.push(T):E||(E=T))})}return v||(v=o),v.timeline||(v.timeline=w),m([v].concat(y).concat(A.map(b,function(T){return T.option})),function(T){m(u,function(S){S(T,h)})}),{baseOption:v,timelineOptions:y,mediaDefault:E,mediaList:b}}function i(o,u,h){var y={width:u,height:h,aspectratio:u/h},b=!0;return A.each(o,function(E,v){var w=v.match(s);if(!w||!w[1]||!w[2])return;var O=w[1],T=w[2].toLowerCase();d(y[T],E,O)||(b=!1)}),b}function d(o,u,h){return h==="min"?o>=u:h==="max"?o<=u:o===u}function t(o,u){return o.join(",")===u.join(",")}function l(o,u){u=u||{},m(u,function(h,y){if(h==null)return;var b=o[y];if(!x.hasClass(y))o[y]=c(b,h,!0);else{h=f.normalizeToArray(h),b=f.normalizeToArray(b);var E=f.mappingToExists(b,h);o[y]=p(E,function(v){return v.option&&v.exist?c(v.exist,v.option,!0):v.exist||v.option})}})}var r=a;R.exports=r},yxFR:function(R,N,e){var A=e("y+Vt"),f=e("nPnh"),x=f.subPixelOptimizeLine,m={},g=A.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,s){var a,n,i,d;this.subPixelOptimize?(x(m,s,this.style),a=m.x1,n=m.y1,i=m.x2,d=m.y2):(a=s.x1,n=s.y1,i=s.x2,d=s.y2);var t=s.percent;if(t===0)return;c.moveTo(a,n),t<1&&(i=a*(1-t)+i*t,d=n*(1-t)+d*t),c.lineTo(i,d)},pointAt:function(c){var s=this.shape;return[s.x1*(1-c)+s.x2*c,s.y1*(1-c)+s.y2*c]}});R.exports=g},z35g:function(R,N,e){var A=e("bYtY");function f(g){return this._axes[g]}var x=function(g){this._axes={},this._dimList=[],this.name=g||""};x.prototype={constructor:x,type:"cartesian",getAxis:function(g){return this._axes[g]},getAxes:function(){return A.map(this._dimList,f,this)},getAxesByScale:function(g){return g=g.toLowerCase(),A.filter(this.getAxes(),function(p){return p.scale.type===g})},addAxis:function(g){var p=g.dim;this._axes[p]=g,this._dimList.push(p)},dataToCoord:function(g){return this._dataCoordConvert(g,"dataToCoord")},coordToData:function(g){return this._dataCoordConvert(g,"coordToData")},_dataCoordConvert:function(g,p){for(var c=this._dimList,s=g instanceof Array?[]:{},a=0;a<c.length;a++){var n=c[a],i=this._axes[n];s[n]=i[p](g[n])}return s}};var m=x;R.exports=m},zAh6:function(R,N,e){"use strict";e.d(N,"a",function(){return g});var A=e("xEkU"),f=e.n(A),x=e("i6bk");function m(p,c,s,a){var n=s-c;return p/=a/2,p<1?n/2*p*p*p+c:n/2*((p-=2)*p*p+2)+c}function g(p){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=c.getContainer,a=s===void 0?function(){return window}:s,n=c.callback,i=c.duration,d=i===void 0?450:i,t=a(),l=Object(x.a)(t,!0),r=Date.now(),o=function u(){var h=Date.now(),y=h-r,b=m(y>d?d:y,l,p,d);Object(x.b)(t)?t.scrollTo(window.pageXOffset,b):t instanceof HTMLDocument||t.constructor.name==="HTMLDocument"?t.documentElement.scrollTop=b:t.scrollTop=b,y<d?f()(u):typeof n=="function"&&n()};f()(o)}},zDms:function(R,N,e){var A=e("bYtY"),f=e("OELB"),x=e("UOVi"),m=e("72pK"),g=A.each,p=f.asc,c=function(t,l,r,o){this._dimName=t,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=o,this._dataZoomModel=r};c.prototype={constructor:c,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],l=this.ecModel;return l.eachSeries(function(r){if(x.isCoordSupported(r.get("coordinateSystem"))){var o=this._dimName,u=l.queryComponents({mainType:o+"Axis",index:r.get(o+"AxisIndex"),id:r.get(o+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&t.push(r)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t=this._dimName,l=this.ecModel,r=this.getAxisModel(),o=t==="x"||t==="y",u,h;o?(h="gridIndex",u=t==="x"?"y":"x"):(h="polarIndex",u=t==="angle"?"radius":"angle");var y;return l.eachComponent(u+"Axis",function(b){(b.get(h)||0)===(r.get(h)||0)&&(y=b)}),y},getMinMaxSpan:function(){return A.clone(this._minMaxSpan)},calculateDataWindow:function(t){var l=this._dataExtent,r=this.getAxisModel(),o=r.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],y=[],b=[],E;g(["start","end"],function(O,T){var S=t[O],C=t[O+"Value"];u[T]==="percent"?(S==null&&(S=h[T]),C=o.parse(f.linearMap(S,h,l))):(E=!0,C=C==null?l[T]:o.parse(C),S=f.linearMap(C,l,h)),b[T]=C,y[T]=S}),p(b),p(y);var v=this._minMaxSpan;E?w(b,y,l,h,!1):w(y,b,h,l,!0);function w(O,T,S,C,_){var I=_?"Span":"ValueSpan";m(0,O,S,"all",v["min"+I],v["max"+I]);for(var k=0;k<2;k++)T[k]=f.linearMap(O[k],S,C,!0),_&&(T[k]=o.parse(T[k]))}return{valueWindow:b,percentWindow:y}},reset:function(t){if(t!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=s(this,this._dimName,l),i(this);var r=this.calculateDataWindow(t.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,n(this)},restore:function(t){if(t!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,n(this,!0)},filterData:function(t,l){if(t!==this._dataZoomModel)return;var r=this._dimName,o=this.getTargetSeriesModels(),u=t.get("filterMode"),h=this._valueWindow;if(u==="none")return;g(o,function(b){var E=b.getData(),v=E.mapDimension(r,!0);if(!v.length)return;u==="weakFilter"?E.filterSelf(function(w){for(var O,T,S,C=0;C<v.length;C++){var _=E.get(v[C],w),I=!isNaN(_),k=_<h[0],F=_>h[1];if(I&&!k&&!F)return!0;I&&(S=!0),k&&(O=!0),F&&(T=!0)}return S&&O&&T}):g(v,function(w){if(u==="empty")b.setData(E=E.map(w,function(T){return y(T)?T:NaN}));else{var O={};O[w]=h,E.selectRange(O)}}),g(v,function(w){E.setApproximateExtent(h,w)})});function y(b){return b>=h[0]&&b<=h[1]}}};function s(t,l,r){var o=[Infinity,-Infinity];return g(r,function(u){var h=u.getData();h&&g(h.mapDimension(l,!0),function(y){var b=h.getApproximateExtent(y);b[0]<o[0]&&(o[0]=b[0]),b[1]>o[1]&&(o[1]=b[1])})}),o[1]<o[0]&&(o=[NaN,NaN]),a(t,o),o}function a(t,l){var r=t.getAxisModel(),o=r.getMin(!0),u=r.get("type")==="category",h=u&&r.getCategories().length;o!=null&&o!=="dataMin"&&typeof o!="function"?l[0]=o:u&&(l[0]=h>0?0:NaN);var y=r.getMax(!0);return y!=null&&y!=="dataMax"&&typeof y!="function"?l[1]=y:u&&(l[1]=h>0?h-1:NaN),r.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function n(t,l){var r=t.getAxisModel(),o=t._percentWindow,u=t._valueWindow;if(!o)return;var h=f.getPixelPrecision(u,[0,500]);h=Math.min(h,20);var y=l||o[0]===0&&o[1]===100;r.setRange(y?null:+u[0].toFixed(h),y?null:+u[1].toFixed(h))}function i(t){var l=t._minMaxSpan={},r=t._dataZoomModel,o=t._dataExtent;g(["min","max"],function(u){var h=r.get(u+"Span"),y=r.get(u+"ValueSpan");y!=null&&(y=t.getAxisModel().axis.scale.parse(y)),y!=null?h=f.linearMap(o[0]+y,o,[0,100],!0):h!=null&&(y=f.linearMap(h,[0,100],o,!0)-o[0]),l[u+"Span"]=h,l[u+"ValueSpan"]=y})}var d=c;R.exports=d},zM3Q:function(R,N,e){var A=e("4NO4"),f=A.makeInner;function x(){var m=f();return function(g){var p=m(g),c=g.pipelineContext,s=p.large,a=p.progressiveRender,n=p.large=c&&c.large,i=p.progressiveRender=c&&c.progressiveRender;return!!(s^n||a^i)&&"reset"}}R.exports=x},zRKj:function(R,N,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(R,N,e){var A=e("bYtY"),f=e("Qxkt"),x=A.each,m=A.curry;function g(o,u){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return p(h,o,u),h.seriesInvolved&&s(h,o),h}function p(o,u,h){var y=u.getComponent("tooltip"),b=u.getComponent("axisPointer"),E=b.get("link",!0)||[],v=[];x(h.getCoordinateSystems(),function(w){if(!w.axisPointerEnabled)return;var O=r(w.model),T=o.coordSysAxesInfo[O]={};o.coordSysMap[O]=w;var S=w.model,C=S.getModel("tooltip",y);if(x(w.getAxes(),m(F,!1,null)),w.getTooltipAxes&&y&&C.get("show")){var _=C.get("trigger")==="axis",I=C.get("axisPointer.type")==="cross",k=w.getTooltipAxes(C.get("axisPointer.axis"));(_||I)&&x(k.baseAxes,m(F,I?"cross":!0,_)),I&&x(k.otherAxes,m(F,"cross",!1))}function F(B,j,z){var M=z.model.getModel("axisPointer",b),U=M.get("show");if(!U||U==="auto"&&!B&&!l(M))return;j==null&&(j=M.get("triggerTooltip")),M=B?c(z,C,b,u,B,j):M;var P=M.get("snap"),H=r(z.model),W=j||P||z.type==="category",X=o.axesInfo[H]={key:H,axis:z,coordSys:w,axisPointerModel:M,triggerTooltip:j,involveSeries:W,snap:P,useHandle:l(M),seriesModels:[]};T[H]=X,o.seriesInvolved|=W;var K=a(E,z);if(K!=null){var $=v[K]||(v[K]={axesInfo:{}});$.axesInfo[H]=X,$.mapper=E[K].mapper,X.linkGroup=$}}})}function c(o,u,h,y,b,E){var v=u.getModel("axisPointer"),w={};x(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){w[C]=A.clone(v.get(C))}),w.snap=o.type!=="category"&&!!E,v.get("type")==="cross"&&(w.type="line");var O=w.label||(w.label={});if(O.show==null&&(O.show=!1),b==="cross"){var T=v.get("label.show");if(O.show=T!=null?T:!0,!E){var S=w.lineStyle=v.get("crossStyle");S&&A.defaults(O,S.textStyle)}}return o.model.getModel("axisPointer",new f(w,h,y))}function s(o,u){u.eachSeries(function(h){var y=h.coordinateSystem,b=h.get("tooltip.trigger",!0),E=h.get("tooltip.show",!0);if(!y||b==="none"||b===!1||b==="item"||E===!1||h.get("axisPointer.show",!0)===!1)return;x(o.coordSysAxesInfo[r(y.model)],function(v){var w=v.axis;y.getAxis(w.dim)===w&&(v.seriesModels.push(h),v.seriesDataCount==null&&(v.seriesDataCount=0),v.seriesDataCount+=h.getData().count())})},this)}function a(o,u){for(var h=u.model,y=u.dim,b=0;b<o.length;b++){var E=o[b]||{};if(n(E[y+"AxisId"],h.id)||n(E[y+"AxisIndex"],h.componentIndex)||n(E[y+"AxisName"],h.name))return b}}function n(o,u){return o==="all"||A.isArray(o)&&A.indexOf(o,u)>=0||o===u}function i(o){var u=d(o);if(!u)return;var h=u.axisPointerModel,y=u.axis.scale,b=h.option,E=h.get("status"),v=h.get("value");v!=null&&(v=y.parse(v));var w=l(h);E==null&&(b.status=w?"show":"hide");var O=y.getExtent().slice();O[0]>O[1]&&O.reverse(),(v==null||v>O[1])&&(v=O[1]),v<O[0]&&(v=O[0]),b.value=v,w&&(b.status=u.axis.scale.isBlank()?"hide":"show")}function d(o){var u=(o.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[r(o)]}function t(o){var u=d(o);return u&&u.axisPointerModel}function l(o){return!!o.get("handle.show")}function r(o){return o.type+"||"+o.id}N.collect=g,N.fixValue=i,N.getAxisInfo=d,N.getAxisPointerModel=t,N.makeKey=r},zYTA:function(R,N,e){var A=e("bYtY"),f=256;function x(){var g=A.createCanvas();this.canvas=g,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}x.prototype={update:function(g,p,c,s,a,n){var i=this._getBrush(),d=this._getGradient(g,a,"inRange"),t=this._getGradient(g,a,"outOfRange"),l=this.pointSize+this.blurSize,r=this.canvas,o=r.getContext("2d"),u=g.length;r.width=p,r.height=c;for(var h=0;h<u;++h){var y=g[h],b=y[0],E=y[1],v=y[2],w=s(v);o.globalAlpha=w,o.drawImage(i,b-l,E-l)}if(!r.width||!r.height)return r;for(var O=o.getImageData(0,0,r.width,r.height),T=O.data,S=0,C=T.length,_=this.minOpacity,I=this.maxOpacity,k=I-_;S<C;){var w=T[S+3]/256,F=Math.floor(w*(f-1))*4;if(w>0){var B=n(w)?d:t;w>0&&(w=w*k+_),T[S++]=B[F],T[S++]=B[F+1],T[S++]=B[F+2],T[S++]=B[F+3]*w*256}else S+=4}return o.putImageData(O,0,0),r},_getBrush:function(){var g=this._brushCanvas||(this._brushCanvas=A.createCanvas()),p=this.pointSize+this.blurSize,c=p*2;g.width=c,g.height=c;var s=g.getContext("2d");return s.clearRect(0,0,c,c),s.shadowOffsetX=c,s.shadowBlur=this.blurSize,s.shadowColor="#000",s.beginPath(),s.arc(-p,p,this.pointSize,0,Math.PI*2,!0),s.closePath(),s.fill(),g},_getGradient:function(g,p,c){for(var s=this._gradientPixels,a=s[c]||(s[c]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],i=0,d=0;d<256;d++)p[c](d/255,!0,n),a[i++]=n[0],a[i++]=n[1],a[i++]=n[2],a[i++]=n[3];return a}};var m=x;R.exports=m},zarK:function(R,N,e){var A=e("YH21"),f=A.addEventListener,x=A.removeEventListener,m=A.normalizeEvent,g=A.getNativeEvent,p=e("bYtY"),c=e("H6uX"),s=e("ItGF"),a=300,n=s.domSupported,i=function(){var B=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],j=["touchstart","touchend","touchmove"],z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},M=p.map(B,function(U){var P=U.replace("mouse","pointer");return z.hasOwnProperty(P)?P:U});return{mouse:B,touch:j,pointer:M}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function t(B){return B==="mousewheel"&&s.browser.firefox?"DOMMouseScroll":B}function l(B){var j=B.pointerType;return j==="pen"||j==="touch"}function r(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 o(B){B&&(B.zrByTouch=!0)}function u(B,j){return m(B.dom,new y(B,j),!0)}function h(B,j){for(var z=j,M=!1;z&&z.nodeType!==9&&!(M=z.domBelongToZr||z!==j&&z===B.painterRoot);)z=z.parentNode;return M}function y(B,j){this.type=j.type,this.target=this.currentTarget=B.dom,this.pointerType=j.pointerType,this.clientX=j.clientX,this.clientY=j.clientY}var b=y.prototype;b.stopPropagation=b.stopImmediatePropagation=b.preventDefault=p.noop;var E={mousedown:function(j){j=m(this.dom,j),this._mayPointerCapture=[j.zrX,j.zrY],this.trigger("mousedown",j)},mousemove:function(j){j=m(this.dom,j);var z=this._mayPointerCapture;z&&(j.zrX!==z[0]||j.zrY!==z[1])&&C(this,!0),this.trigger("mousemove",j)},mouseup:function(j){j=m(this.dom,j),C(this,!1),this.trigger("mouseup",j)},mouseout:function(j){j=m(this.dom,j),this._pointerCapturing&&(j.zrEventControl="no_globalout");var z=j.toElement||j.relatedTarget;j.zrIsToLocalDOM=h(this,z),this.trigger("mouseout",j)},touchstart:function(j){j=m(this.dom,j),o(j),this._lastTouchMoment=new Date,this.handler.processGesture(j,"start"),E.mousemove.call(this,j),E.mousedown.call(this,j)},touchmove:function(j){j=m(this.dom,j),o(j),this.handler.processGesture(j,"change"),E.mousemove.call(this,j)},touchend:function(j){j=m(this.dom,j),o(j),this.handler.processGesture(j,"end"),E.mouseup.call(this,j),+new Date-this._lastTouchMoment<a&&E.click.call(this,j)},pointerdown:function(j){E.mousedown.call(this,j)},pointermove:function(j){l(j)||E.mousemove.call(this,j)},pointerup:function(j){E.mouseup.call(this,j)},pointerout:function(j){l(j)||E.mouseout.call(this,j)}};p.each(["click","mousewheel","dblclick","contextmenu"],function(B){E[B]=function(j){j=m(this.dom,j),this.trigger(B,j)}});var v={pointermove:function(j){l(j)||v.mousemove.call(this,j)},pointerup:function(j){v.mouseup.call(this,j)},mousemove:function(j){this.trigger("mousemove",j)},mouseup:function(j){var z=this._pointerCapturing;C(this,!1),this.trigger("mouseup",j),z&&(j.zrEventControl="only_globalout",this.trigger("mouseout",j))}};function w(B,j){var z=j.domHandlers;s.pointerEventsSupported?p.each(i.pointer,function(M){T(j,M,function(U){z[M].call(B,U)})}):(s.touchEventsSupported&&p.each(i.touch,function(M){T(j,M,function(U){z[M].call(B,U),r(j)})}),p.each(i.mouse,function(M){T(j,M,function(U){U=g(U),j.touching||z[M].call(B,U)})}))}function O(B,j){s.pointerEventsSupported?p.each(d.pointer,z):s.touchEventsSupported||p.each(d.mouse,z);function z(M){function U(P){P=g(P),h(B,P.target)||(P=u(B,P),j.domHandlers[M].call(B,P))}T(j,M,U,{capture:!0})}}function T(B,j,z,M){B.mounted[j]=z,B.listenerOpts[j]=M,f(B.domTarget,t(j),z,M)}function S(B){var j=B.mounted;for(var z in j)j.hasOwnProperty(z)&&x(B.domTarget,t(z),j[z],B.listenerOpts[z]);B.mounted={}}function C(B,j){if(B._mayPointerCapture=null,n&&B._pointerCapturing^j){B._pointerCapturing=j;var z=B._globalHandlerScope;j?O(B,z):S(z)}}function _(B,j){this.domTarget=B,this.domHandlers=j,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function I(B,j){c.call(this),this.dom=B,this.painterRoot=j,this._localHandlerScope=new _(B,E),n&&(this._globalHandlerScope=new _(document,v)),this._pointerCapturing=!1,this._mayPointerCapture=null,w(this,this._localHandlerScope)}var k=I.prototype;k.dispose=function(){S(this._localHandlerScope),n&&S(this._globalHandlerScope)},k.setCursor=function(B){this.dom.style&&(this.dom.style.cursor=B||"default")},p.mixin(I,c);var F=I;R.exports=F},zdCA:function(R,N,e){"use strict";var A=e("284h"),f=e("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var x=f(e("3tO9")),m=A(e("q1tI")),g=f(e("PSzr")),p=f(e("KQxl")),c=function(n,i){return m.createElement(p.default,(0,x.default)((0,x.default)({},n),{},{ref:i,icon:g.default}))};c.displayName="BarsOutlined";var s=m.forwardRef(c);N.default=s},zeV3:function(R,N,e){"use strict";var A=e("pVnL"),f=e.n(A),x=e("lSNA"),m=e.n(x),g=e("q1tI"),p=e.n(g),c=e("TSYQ"),s=e.n(c),a=e("H84U"),n=function(t,l){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&l.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(t);u<o.length;u++)l.indexOf(o[u])<0&&Object.prototype.propertyIsEnumerable.call(t,o[u])&&(r[o[u]]=t[o[u]]);return r},i={small:8,middle:16,large:24},d=function(l){var r,o=g.useContext(a.b),u=o.getPrefixCls,h=o.space,y=o.direction,b=l.size,E=b===void 0?(h==null?void 0:h.size)||"small":b,v=l.align,w=l.className,O=l.children,T=l.direction,S=T===void 0?"horizontal":T,C=l.prefixCls,_=n(l,["size","align","className","children","direction","prefixCls"]),I=g.Children.count(O);if(I===0)return null;var k=v===void 0&&S==="horizontal"?"center":v,F=u("space",C),B=s()(F,"".concat(F,"-").concat(S),(r={},m()(r,"".concat(F,"-rtl"),y==="rtl"),m()(r,"".concat(F,"-align-").concat(k),k),r),w),j="".concat(F,"-item"),z=y==="rtl"?"marginLeft":"marginRight";return g.createElement("div",f()({className:B},_),g.Children.map(O,function(M,U){return g.createElement("div",{className:j,key:"".concat(j,"-").concat(U),style:U===I-1||M===null||M===void 0?{}:m()({},S==="vertical"?"marginBottom":z,typeof E=="string"?i[E]:E)},M)}))};N.a=d},zoYe:function(R,N,e){var A=e("nmnc"),f=e("eUgh"),x=e("Z0cm"),m=e("/9aa"),g=1/0,p=A?A.prototype:void 0,c=p?p.toString:void 0;function s(a){if(typeof a=="string")return a;if(x(a))return f(a,s)+"";if(m(a))return c?c.call(a):"";var n=a+"";return n=="0"&&1/a==-g?"-0":n}R.exports=s},zuHt:function(R,N,e){var A=e("bYtY");function f(x){var m={};x.eachSeriesByType("map",function(g){var p=g.getMapType();if(g.getHostGeoModel()||m[p])return;var c={};A.each(g.seriesGroup,function(a){var n=a.coordinateSystem,i=a.originalData;a.get("showLegendSymbol")&&x.getComponent("legend")&&i.each(i.mapDimension("value"),function(d,t){var l=i.getName(t),r=n.getRegion(l);if(!r||isNaN(d))return;var o=c[l]||0,u=n.dataToPoint(r.center);c[l]=o+1,i.setItemLayout(t,{point:u,offset:o})})});var s=g.getData();s.each(function(a){var n=s.getName(a),i=s.getItemLayout(a)||{};i.showLabel=!c[n],s.setItemLayout(a,i)}),m[p]=!0})}R.exports=f}}]);
|